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,157 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 | {
"_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
}
|