Instructions to use ccccsc/preview_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use ccccsc/preview_model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ccccsc/preview_model", 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
File size: 1,677 Bytes
24e3a25 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | # Preview Model Weights
This directory contains the local weights required by the Preview Model.
## Weight Mapping
| Component | Local path | Description |
| --- | --- | --- |
| Video generation model (VGen) | `checkpoints/diffusion_pytorch_model.bin` | Main video diffusion model. |
| Action Expert | `checkpoints/action_model/diffusion_pytorch_model.bin` | Action prediction model. |
| VAE | `vae/diffusion_pytorch_model.safetensors` | Video latent encoder and decoder. |
| VAE latent statistics | `vae/latent_stats.pth` | Latent normalization statistics used by the VAE. |
| Qwen3.5 VLM | [Qwen/Qwen3.5-2B](https://huggingface.co/Qwen/Qwen3.5-2B) | Vision-language model used for instruction and image conditioning. |
The `config.json` files next to each model define the corresponding model
architecture.
## Expected Layout
```text
preview_model/
βββ checkpoints/
β βββ config.json
β βββ diffusion_pytorch_model.bin
β βββ action_model/
β βββ config.json
β βββ diffusion_pytorch_model.bin
βββ vae/
β βββ config.json
β βββ diffusion_pytorch_model.safetensors
β βββ latent_stats.pth
βββ stats.json
```
`stats.json` contains the state and action normalization statistics used during
policy inference.
## Runtime Paths
Use `preview_model/checkpoints` as the `CKPT` directory, use
`preview_model/vae` as the configured VAE path, and set the VAE statistics path
to `preview_model/vae/latent_stats.pth`. Download Qwen3.5-2B from the link above
and set `vlm_model_id` to its local directory or directly to
`Qwen/Qwen3.5-2B` when Hugging Face downloads are available.
|