Views
No views yet
1model = AutoModel.from_pretrained("Nvidia-CMU25/AutoregressiveFutureWorld",
2 ar_model_dir = "Cosmos-1.0-Autoregressive-4B",
3 offload_guardrail_models = True,
4 trust_remote_code = True)
5
6model(input_type = "video",
7 input_image_or_video_path = "/some/path/Cosmos/cosmos1/models/autoregressive/assets/v1p0/input.mp4",
8 )
| Model name | Description | Try it out |
|---|---|---|
| Cosmos-1.0-Diffusion-7B-Text2World | Text to visual world generation | Inference |
| Cosmos-1.0-Diffusion-14B-Text2World | Text to visual world generation | Inference |
| Cosmos-1.0-Diffusion-7B-Video2World | Video + Text based future visual world generation | Inference |
| Cosmos-1.0-Diffusion-14B-Video2World | Video + Text based future visual world generation | Inference |
| Cosmos-1.0-Autoregressive-4B | Future visual world generation | Inference |
| Cosmos-1.0-Autoregressive-12B | Future visual world generation | Inference |
| Cosmos-1.0-Autoregressive-5B-Video2World | Video + Text based future visual world generation | Inference |
| Cosmos-1.0-Autoregressive-13B-Video2World | Video + Text based future visual world generation | Inference |
| Cosmos-1.0-Guardrail | Guardrail contains pre-Guard and post-Guard for safe use | Embedded in model inference scripts |
1PROMPT="A sleek, humanoid robot stands in a vast warehouse filled with neatly stacked cardboard boxes on industrial shelves. \
2The robot's metallic body gleams under the bright, even lighting, highlighting its futuristic design and intricate joints. \
3A glowing blue light emanates from its chest, adding a touch of advanced technology. The background is dominated by rows of boxes, \
4suggesting a highly organized storage system. The floor is lined with wooden pallets, enhancing the industrial setting. \
5The camera remains static, capturing the robot's poised stance amidst the orderly environment, with a shallow depth of \
6field that keeps the focus on the robot while subtly blurring the background for a cinematic effect."
7
8# Example using 7B model
9PYTHONPATH=$(pwd) python cosmos1/models/diffusion/inference/text2world.py \
10 --checkpoint_dir checkpoints \
11 --diffusion_transformer_dir Cosmos-1.0-Diffusion-7B-Text2World \
12 --prompt "$PROMPT" \
13 --offload_prompt_upsampler \
14 --video_save_name Cosmos-1.0-Diffusion-7B-Text2World