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: 868 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 | {
"_class_name": "ActionExpert",
"_diffusers_version": "0.35.2",
"action_attention_head_dim": 72,
"action_in_channels": 32,
"action_num_attention_heads": 16,
"activation_fn": "gelu-approximate",
"adapter_depth": 4,
"attention_bias": true,
"attention_out_bias": true,
"body_embedding_dim": null,
"body_embedding_enabled": true,
"body_embedding_zero_init": true,
"chunkwise_causal": false,
"is_causal": false,
"latent_base_f": 9,
"latent_base_h": 4,
"latent_base_w": 6,
"max_action_length": 64,
"n_view": 3,
"norm_elementwise_affine": false,
"norm_eps": 1e-06,
"num_body_embeddings": 12,
"num_layers": 28,
"num_view_identities": 8,
"qk_norm": "rms_norm_across_heads",
"residual_scale": 0.0,
"state_dim": 30,
"use_complex_adapter": false,
"use_state_direct": true,
"visible_chunk": 32,
"vision_in_dim": 512
}
|