Instructions to use bbbboiwow/cocccck with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use bbbboiwow/cocccck with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("bbbboiwow/cocccck", 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
| git clone https://github.com/comfyanonymous/ComfyUI | |
| cd ComfyUI/custom_nodes | |
| git clone https://github.com/ltdrdata/ComfyUI-Manager comfyui-manager | |
| cd .. | |
| python -m venv venv | |
| source venv/bin/activate | |
| python -m pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu130 | |
| python -m pip install -r requirements.txt | |
| python -m pip install -r custom_nodes/comfyui-manager/requirements.txt | |
| cd .. | |
| echo "#!/bin/bash" > run_gpu.sh | |
| echo "cd ComfyUI" >> run_gpu.sh | |
| echo "source venv/bin/activate" >> run_gpu.sh | |
| echo "python main.py --preview-method auto" >> run_gpu.sh | |
| chmod +x run_gpu.sh | |
| echo "#!/bin/bash" > run_cpu.sh | |
| echo "cd ComfyUI" >> run_cpu.sh | |
| echo "source venv/bin/activate" >> run_cpu.sh | |
| echo "python main.py --preview-method auto --cpu" >> run_cpu.sh | |
| chmod +x run_cpu.sh | |