Instructions to use Alpha-VLLM/Lumina-Next-T2I with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Alpha-VLLM/Lumina-Next-T2I with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Alpha-VLLM/Lumina-Next-T2I", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Create config.json
Browse files- config.json +9 -0
config.json
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
'model': 'NextDiT_2B_patch2',
|
| 3 |
+
'image_size': 1024,
|
| 4 |
+
'vae': 'sdxl',
|
| 5 |
+
'model_parallel_size': 1,
|
| 6 |
+
'qk_norm': true,
|
| 7 |
+
'lm': 'google/gemma-2b',
|
| 8 |
+
'tokenizer_path': 'google/gemma-2b',
|
| 9 |
+
}
|