Instructions to use TencentARC/ColorFlow with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use TencentARC/ColorFlow with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("TencentARC/ColorFlow", 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
Download shading/MultiResNetModel.bin from TencentARC/ColorFlow: direct link, hf CLI and curl.
- Browser
- Download file 340 MB
-
https://huggingface.co/TencentARC/ColorFlow/resolve/refs%2Fpr%2F1/shading/MultiResNetModel.bin
- Command line
-
hf download hf://TencentARC/ColorFlow@refs/pr/1/shading/MultiResNetModel.bin
-
curl -L -o MultiResNetModel.bin https://huggingface.co/TencentARC/ColorFlow/resolve/refs%2Fpr%2F1/shading/MultiResNetModel.bin
340 MB
- Xet hash:
- d49b7c668008b05378bb57cd2e40368432d88940b21c557aeea3d0c85a021409
- Size of remote file:
- 340 MB
- SHA256:
- a574c08bb0dc2fb4bfda308fb69f0dca00ac92af9e6128b13ac5f45cfffb7e2b
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.