Instructions to use wfen/Cosmos3-Nano-NVFP4 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use wfen/Cosmos3-Nano-NVFP4 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("wfen/Cosmos3-Nano-NVFP4", 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
remove the repeative transformer folder
Browse files
transformer/{transformer/config.json → config.json}
RENAMED
|
File without changes
|
transformer/{transformer/diffusion_pytorch_model.safetensors → diffusion_pytorch_model.safetensors}
RENAMED
|
File without changes
|
transformer/{transformer/modelopt_state.pt → modelopt_state.pt}
RENAMED
|
File without changes
|