Instructions to use Bedovyy/Anima-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusion Single File
How to use Bedovyy/Anima-FP8 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
File size: 2,706 Bytes
0ca7492 cab6908 776d100 0ca7492 c1998fa 0ca7492 c1998fa b3b5635 c1998fa 8f000df c1998fa 8f000df c1998fa 9625f2a 8f000df c1998fa c136c60 9f44a8d 9625f2a f6435fa 9625f2a 8f000df 0ca7492 b3b5635 02a0f75 b3b5635 0ca7492 9625f2a 0ca7492 02a0f75 0ca7492 9625f2a b3b5635 02a0f75 b3b5635 776d100 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | ---
license: other
license_name: circlestone-labs-non-commercial-license
license_link: https://huggingface.co/circlestone-labs/Anima/blob/main/LICENSE.md
base_model:
- circlestone-labs/Anima
base_model_relation: quantized
tags:
- comfyui
- diffusion-single-file
pipeline_tag: text-to-image
---
# FP8/MXFP8 Quantized model of ANIMA
To use torch.compile on FP8/MXFP8 models, set to `max-autotune-no-cudagraphs` mode and dynamic to `false`.

## Generation speed
Tested on
- RTX5090 (400W), ComfyUI(commit id `c96fcdd`) with `--fast` option, torch2.12.0+cu130
- Generates 832x1216, 30steps, cfg 5.0, er_sde, simple
| quant | sage+torch.compile |
|-------|---------------------|
| bf16 | 5.03s, 6.15it/s |
| fp8 | **4.52s, 6.88it/s** |
| mxfp8 | 4.71s, 6.58it/s |
## Sample
### anima-base-v1.0

### anima-preview3-base

### anima-preview2

### anima-preview
| quant | sample |
|------------|----------------------|
| **bf16** |  |
| **fp8** |  |
| **nvfp4mixed** |  |
## Quantized layers
quantized by [comfy-dit-quantizer](https://github.com/bedovyy/comfy-dit-quantizer)
### fp8
```json
{
"format": "comfy_quant",
"block_names": ["net.blocks."],
"rules": [
{ "policy": "keep", "match": ["blocks.0.", "blocks.1.", "blocks.27.", "adaln_modulation"] },
{ "policy": "float8_e4m3fn", "match": ["q_proj", "k_proj", "v_proj", "output_proj", ".mlp"] },
{ "policy": "nvfp4", "match": [] }
]
}
```
### nvfp4mixed
```json
{
"format": "comfy_quant",
"block_names": ["net.blocks."],
"rules": [
{ "policy": "keep", "match": ["blocks.0.", "blocks.1.", "blocks.27.", "adaln_modulation"] },
{ "policy": "mxfp8", "match": ["q_proj", "k_proj", "v_proj", "output_proj", ".mlp"] },
{ "policy": "nvfp4", "match": [] }
]
}
``` |