Instructions to use void-lab/MOSS-SFT-uint4-fix with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use void-lab/MOSS-SFT-uint4-fix with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("void-lab/MOSS-SFT-uint4-fix", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
|
Download README.md from void-lab/MOSS-SFT-uint4-fix: direct link, hf CLI and curl.
- Browser
- Download file 155 Bytes
-
https://huggingface.co/void-lab/MOSS-SFT-uint4-fix/resolve/main/README.md
- Command line
-
hf download hf://void-lab/MOSS-SFT-uint4-fix/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/void-lab/MOSS-SFT-uint4-fix/resolve/main/README.md
155 Bytes
metadata
pipeline_tag: text-to-image
library_name: diffusers
UINT4 quantization of MOSS-Image-SFT
- includes patched pipeline and excluded-layers policy.