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
dylanebert commited on
Commit ·
043e597
1
Parent(s): e5771cc
update
Browse files- lrm/config.json +1 -2
- model_index.json +1 -2
lrm/config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "LRM",
|
| 3 |
-
"_diffusers_version": "0.30.3"
|
| 4 |
-
"_name_or_path": "tmp/pipeline_instantmesh/lrm"
|
| 5 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "LRM",
|
| 3 |
+
"_diffusers_version": "0.30.3"
|
|
|
|
| 4 |
}
|
model_index.json
CHANGED
|
@@ -1,9 +1,8 @@
|
|
| 1 |
{
|
| 2 |
"_class_name": "InstantMeshPipeline",
|
| 3 |
"_diffusers_version": "0.30.3",
|
| 4 |
-
"_name_or_path": "tmp/pipeline_instantmesh",
|
| 5 |
"lrm": [
|
| 6 |
-
"
|
| 7 |
"LRM"
|
| 8 |
]
|
| 9 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"_class_name": "InstantMeshPipeline",
|
| 3 |
"_diffusers_version": "0.30.3",
|
|
|
|
| 4 |
"lrm": [
|
| 5 |
+
"pipeline",
|
| 6 |
"LRM"
|
| 7 |
]
|
| 8 |
}
|