Views
No views yet
--int8 --t5-int4) runs the full segmentation pipeline in
~21 GiB peak VRAM at 1024² (~18.4 GiB at 512²) — it fits a 24 GB card, which the
bf16 pipeline (~35 GiB peak) does not. Quantizing this checkpoint yourself requires
loading the bf16 transformer, so a 24 GB card also cannot produce it locally —
hence this pre-quantized upload.double_blocks/single_blocks linear layers quantized to INT8
(row-wise scales, ConvRot group size 256, rotations pre-applied to weights);
input/modulation/final layers kept in bf16.flowdis/quant.py in the repo above — uses the fused
comfy-kitchen INT8 kernel when available (quantized linears ~1.5× faster
than bf16), otherwise a torch.compile fallback.1pip install convert-to-quant
2ctq -i flowdis-transformer.safetensors \
3 -o flowdis-transformer-int8-convrot.safetensors \
4 --comfy_quant --int8 --convrot --convrot-group-size 256 \
5 --exclude-layers "img_in|txt_in|time_in|vector_in|mod|final_layer" \
6 --save-quant-metadata1# place it next to the other FlowDIS weights:
2hf download Albertchen96/FlowDIS-int8-convrot flowdis-transformer-int8-convrot.safetensors \
3 --local-dir <root_model_dir>
4
5# then, in the any-prompt-dis repo:
6python inference_si.py --root-model-dir <root_model_dir> --int8 \
7 --image-path input.jpg --prompt "dog" --output-path mask.png