Instructions to use mingyi456/Anima-DF11-ComfyUI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use mingyi456/Anima-DF11-ComfyUI with Diffusion Single File:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files10 unmodified lines1112131410 unmodified linesbase_model:- circlestone-labs/Animabase_model_relation: quantized---10 unmodified lines111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717210 unmodified linesbase_model:- circlestone-labs/Animabase_model_relation: quantized---For more information (including how to compress models yourself), check out https://huggingface.co/DFloat11 and https://github.com/LeanModels/DFloat11Feel free to request for other models for compression as well, although models whose architecture I am unfamiliar with might be slightly tricky for me.### How to Use#### ComfyUIInstall the ComfyUI DFloat11 Extended node via the ComfyUI manager. After installing, use the provided workflow [json](anima-preview-DF11-workflow.json), or simply replace the "Load Diffusion Model" node of an existing workflow with the "Load Diffusion Model" node. If you run into any issues, feel free to leave a comment. The workflow is also embedded in the below [png](anima-preview-DF11-workflow.png) image.#### `diffusers`As far as I know, this model is not implemented in `diffusers` yet.### Compression DetailsThis is the `pattern_dict` for compressing Anima-based models in ComfyUI:```pythonpattern_dict_comfyui = {r"t_embedder\.1" : ("linear_1","linear_2",),r"blocks\.\d+" : ("self_attn.q_proj","self_attn.k_proj","self_attn.v_proj","self_attn.output_proj","cross_attn.q_proj","cross_attn.k_proj","cross_attn.v_proj","cross_attn.output_proj","mlp.layer1","mlp.layer2","adaln_modulation_self_attn.1","adaln_modulation_self_attn.2","adaln_modulation_cross_attn.1","adaln_modulation_cross_attn.2","adaln_modulation_mlp.1","adaln_modulation_mlp.2",),r"llm_adapter\.embed": [],r"llm_adapter\.blocks\.\d+" : ("self_attn.q_proj","self_attn.k_proj","self_attn.v_proj","self_attn.o_proj","cross_attn.q_proj","cross_attn.k_proj","cross_attn.v_proj","cross_attn.o_proj","mlp.0","mlp.2",),},```
README.md+59-1