πŸ“‹ Model Description


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
basemodelrelation: quantized

GGUF models of ANIMA

How to use

  • Update ComfyUI to v0.14.1 or above. (You don't need custom script.)
  • Download GGUF you want. (Recommend at least Q5KM)
  • Use ComfyUI-GGUF custom node to load the model.

Generation speed

Tested on

  • RTX5090(400W), ComfyUI with --fast option and Patch Sage Attention KJ node(AUTO).
  • 832x1216, cfg 5.0, 50steps

Quantit/sTime (s)Speed vs BF16 (%)
BF164.6511.700.00%
Q8_04.4612.07-4.09%
Q6_K3.6014.91-22.58%
Q5KS3.3515.94-28.03%
Q5KM3.4115.67-26.67%
Q5_13.4215.24-26.45%
Q5_03.4015.73-26.88%
Q4KS3.5515.12-23.66%
Q4KM3.5914.98-22.80%
Q4_14.0113.46-13.76%
Q4_03.9713.50-14.62%

Sample

!AnimaGGUF_Comparison

How to reproduce

  1. Convert BF16 model to FP32
import torch
import safetensors.torch
import os
import sys

def converttofp32(inputpath, outputpath):
statedict = safetensors.torch.loadfile(input_path)

newstatedict = {}
for key, tensor in state_dict.items():
print(f"{key} ({tensor.dtype}) -> torch.float32")
new_tensor = tensor.to(torch.float32)
newstatedict[key] = new_tensor

safetensors.torch.savefile(newstatedict, outputpath)
print(f"outputpath: {outputpath}")

if name == "main":
assert len(sys.argv) == 3, f"usage: {sys.argv[0]} SOURCE TARGET"
inputpath, outputpath = sys.argv[1:3]

converttofp32(inputpath, outputpath)

  1. Read this manual.
  2. make F32 GGUF using https://github.com/city96/ComfyUI-GGUF/blob/main/tools/convert.py#L258
  3. Run llama-quantize.

πŸ“‚ GGUF File List

πŸ“ Filename πŸ“¦ Size ⚑ Download
anima-preview-Q3_K_L.gguf
LFS Q3
1.07 GB Download
anima-preview-Q4_0.gguf
Recommended LFS Q4
1.19 GB Download
anima-preview-Q4_1.gguf
LFS Q4
1.28 GB Download
anima-preview-Q4_K_M.gguf
LFS Q4
1.32 GB Download
anima-preview-Q4_K_S.gguf
LFS Q4
1.22 GB Download
anima-preview-Q5_0.gguf
LFS Q5
1.43 GB Download
anima-preview-Q5_1.gguf
LFS Q5
1.52 GB Download
anima-preview-Q5_K_M.gguf
LFS Q5
1.48 GB Download
anima-preview-Q5_K_S.gguf
LFS Q5
1.4 GB Download
anima-preview-Q6_K.gguf
LFS Q6
1.65 GB Download
anima-preview-Q8_0.gguf
LFS Q8
2.12 GB Download