Instructions to use exact-railcar/nvidia with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use exact-railcar/nvidia with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("exact-railcar/nvidia", 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
Upload model
Browse files- config.json +58 -0
- diffusion_pytorch_model.safetensors +3 -0
config.json
ADDED
|
@@ -0,0 +1,58 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_class_name": "WanVACETransformer3DModel",
|
| 3 |
+
"_diffusers_version": "0.41.0",
|
| 4 |
+
"_name_or_path": "/tmp/kaggle",
|
| 5 |
+
"added_kv_proj_dim": null,
|
| 6 |
+
"attention_head_dim": 128,
|
| 7 |
+
"cross_attn_norm": true,
|
| 8 |
+
"eps": 1e-06,
|
| 9 |
+
"ffn_dim": 13824,
|
| 10 |
+
"freq_dim": 256,
|
| 11 |
+
"image_dim": null,
|
| 12 |
+
"in_channels": 16,
|
| 13 |
+
"num_attention_heads": 40,
|
| 14 |
+
"num_layers": 40,
|
| 15 |
+
"out_channels": 16,
|
| 16 |
+
"patch_size": [
|
| 17 |
+
1,
|
| 18 |
+
2,
|
| 19 |
+
2
|
| 20 |
+
],
|
| 21 |
+
"pos_embed_seq_len": null,
|
| 22 |
+
"qk_norm": "rms_norm_across_heads",
|
| 23 |
+
"quantization_config": {
|
| 24 |
+
"modules_to_not_convert": null,
|
| 25 |
+
"quant_method": "torchao",
|
| 26 |
+
"quant_type": {
|
| 27 |
+
"default": {
|
| 28 |
+
"_data": {
|
| 29 |
+
"group_size": 128,
|
| 30 |
+
"int4_choose_qparams_algorithm": {
|
| 31 |
+
"_data": "TINYGEMM",
|
| 32 |
+
"_type": "Int4ChooseQParamsAlgorithm"
|
| 33 |
+
},
|
| 34 |
+
"int4_packing_format": {
|
| 35 |
+
"_data": "PLAIN",
|
| 36 |
+
"_type": "Int4PackingFormat"
|
| 37 |
+
},
|
| 38 |
+
"set_inductor_config": true
|
| 39 |
+
},
|
| 40 |
+
"_type": "Int4WeightOnlyConfig",
|
| 41 |
+
"_version": 2
|
| 42 |
+
}
|
| 43 |
+
}
|
| 44 |
+
},
|
| 45 |
+
"rope_max_seq_len": 1024,
|
| 46 |
+
"text_dim": 4096,
|
| 47 |
+
"vace_in_channels": 96,
|
| 48 |
+
"vace_layers": [
|
| 49 |
+
0,
|
| 50 |
+
5,
|
| 51 |
+
10,
|
| 52 |
+
15,
|
| 53 |
+
20,
|
| 54 |
+
25,
|
| 55 |
+
30,
|
| 56 |
+
35
|
| 57 |
+
]
|
| 58 |
+
}
|
diffusion_pytorch_model.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6f6de2a8146fc4050b8be15d6e0d46695e0b13ec8cd1eca0ab0afb238e378760
|
| 3 |
+
size 9322578488
|