Just standard diffusers via Hugging Face. You can load it with from diffusers import AutoPipelineForText2Image or whatever pipeline class it maps to.
Nicht ganz für dieses spezifische Repo. Unlimited-SVG ist ein Code-/Textgenerierungsmodell, kein Latent Diffusion Model, daher wird AutoPipelineForText2Image komplett fehlschlagen. Es gibt rohen SVG-Code direkt aus Text-Prompts aus.
Du lädst es eigentlich wie ein standardmäßiges Causal-LM mit AutoModelForCausalLM.from_pretrained("baidu/Unlimited-SVG"), da es Markup-Text ausgibt. Stell aber sicher, dass dein num_ctx oder die maximale Länge hochgedreht ist, da rohe SVG-Strings verdammt schnell lang werden.