Instructions to use dylanebert/InstantMesh with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use dylanebert/InstantMesh with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("dylanebert/InstantMesh", 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
Update model_index.json
Browse files- model_index.json +5 -1
model_index.json
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "InstantMeshPipeline",
|
| 3 |
"_diffusers_version": "0.30.3",
|
| 4 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "InstantMeshPipeline",
|
| 3 |
"_diffusers_version": "0.30.3",
|
| 4 |
+
"_name_or_path": "tmp/pipeline_instantmesh",
|
| 5 |
+
"lrm": [
|
| 6 |
+
"InstantMesh_pipeline.pipeline",
|
| 7 |
+
"LRM"
|
| 8 |
+
]
|
| 9 |
}
|