Instructions to use alkyum/neverseen-trellis2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use alkyum/neverseen-trellis2 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("alkyum/neverseen-trellis2", 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
Trellis2/encoders/shape_enc_next_dc_f16c32_fp16.json from Aero-Ex/Trellis2-GGUF
Browse files
Trellis2/encoders/shape_enc_next_dc_f16c32_fp16.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "FlexiDualGridVaeEncoder",
|
| 3 |
+
"args": {
|
| 4 |
+
"model_channels": [64, 128, 256, 512, 1024],
|
| 5 |
+
"latent_channels": 32,
|
| 6 |
+
"num_blocks": [0, 4, 8, 16, 4],
|
| 7 |
+
"block_type": [
|
| 8 |
+
"SparseConvNeXtBlock3d",
|
| 9 |
+
"SparseConvNeXtBlock3d",
|
| 10 |
+
"SparseConvNeXtBlock3d",
|
| 11 |
+
"SparseConvNeXtBlock3d",
|
| 12 |
+
"SparseConvNeXtBlock3d"
|
| 13 |
+
],
|
| 14 |
+
"down_block_type": [
|
| 15 |
+
"SparseResBlockS2C3d",
|
| 16 |
+
"SparseResBlockS2C3d",
|
| 17 |
+
"SparseResBlockS2C3d",
|
| 18 |
+
"SparseResBlockS2C3d"
|
| 19 |
+
],
|
| 20 |
+
"block_args": [{}, {}, {}, {}, {}],
|
| 21 |
+
"use_fp16": true
|
| 22 |
+
}
|
| 23 |
+
}
|