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
Download checkpoints/config.json from ccccsc/preview_model: direct link, hf CLI and curl.
- Browser
- Download file 1.16 kB
-
https://huggingface.co/ccccsc/preview_model/resolve/main/checkpoints/config.json
- Command line
-
hf download hf://ccccsc/preview_model/checkpoints/config.json
-
curl -L -o config.json https://huggingface.co/ccccsc/preview_model/resolve/main/checkpoints/config.json
1.16 kB
| { | |
| "_class_name": "LTXVideoTransformer3DModel", | |
| "_diffusers_version": "0.35.2", | |
| "action_expert": false, | |
| "activation_fn": "gelu-approximate", | |
| "attention_bias": true, | |
| "attention_head_dim": 64, | |
| "attention_out_bias": true, | |
| "caption_channels": 4096, | |
| "cross_attention_dim": 2048, | |
| "frame_concat_conditioning": false, | |
| "frame_concat_mode_dim": 32, | |
| "goal_mode_null_text_tokens": 0, | |
| "in_channels": 512, | |
| "max_view": 3, | |
| "norm_elementwise_affine": false, | |
| "norm_eps": 1e-06, | |
| "num_attention_heads": 32, | |
| "num_layers": 28, | |
| "num_view_identities": 8, | |
| "out_channels": 512, | |
| "patch_size": 1, | |
| "patch_size_t": 1, | |
| "qk_norm": "rms_norm_across_heads", | |
| "spatial_rope_grid_mode": "legacy", | |
| "t2v_mode": false, | |
| "time_embed_zero_init": true, | |
| "use_fla_kernels": false, | |
| "use_t_and_r_embedding": true, | |
| "use_view_embed": true, | |
| "v_head_depth": 8, | |
| "vlm_fixed_sequence_length": 192, | |
| "vlm_head_view_index": 0, | |
| "vlm_head_view_only": true, | |
| "vlm_interface_class_name": "_QWen3_5_Interface", | |
| "vlm_interface_class_path": "qwen3_5_interface", | |
| "vlm_layer_ids": null, | |
| "vlm_model_id": "path_to_qwen", | |
| "vlm_text_tokens_only": true | |
| } | |