Diffusers
Safetensors
Cosmos3OmniPipeline
cosmos3_edge
cosmos3
world-model
video-diffusion
mixture-of-transformers
Instructions to use mwnuk/Cosmos3-Edge-severed with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mwnuk/Cosmos3-Edge-severed with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mwnuk/Cosmos3-Edge-severed", 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 processor_config.json from mwnuk/Cosmos3-Edge-severed: direct link, hf CLI and curl.
- Browser
- Download file 875 Bytes
-
https://huggingface.co/mwnuk/Cosmos3-Edge-severed/resolve/main/processor_config.json
- Command line
-
hf download hf://mwnuk/Cosmos3-Edge-severed/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/mwnuk/Cosmos3-Edge-severed/resolve/main/processor_config.json
875 Bytes
| { | |
| "image_processor": { | |
| "do_resize": true, | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_processor_type": "Cosmos3EdgeImageProcessor", | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "merge_size": 2, | |
| "patch_size": 16, | |
| "processor_class": "Cosmos3EdgeProcessor", | |
| "size": { | |
| "longest_edge": 16777216, | |
| "shortest_edge": 65536 | |
| } | |
| }, | |
| "processor_class": "Cosmos3EdgeProcessor", | |
| "video_processor": { | |
| "image_mean": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "image_std": [ | |
| 0.5, | |
| 0.5, | |
| 0.5 | |
| ], | |
| "merge_size": 2, | |
| "patch_size": 16, | |
| "processor_class": "Cosmos3EdgeProcessor", | |
| "return_metadata": true, | |
| "size": { | |
| "longest_edge": 25165824, | |
| "shortest_edge": 4096 | |
| }, | |
| "temporal_patch_size": 1, | |
| "video_processor_type": "Cosmos3EdgeVideoProcessor" | |
| } | |
| } | |