Instructions to use camenduru/InstantIR with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use camenduru/InstantIR with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("camenduru/InstantIR", 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
thanks to instantX ❤
Browse files- InstantIR/adapter.pt +3 -0
- InstantIR/aggregator.pt +3 -0
- InstantIR/previewer_lora_weights.bin +3 -0
InstantIR/adapter.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:db88531801d0f2da8d0b26ceb7a45417b6accc1b486aa240e4b94e519c32a488
|
| 3 |
+
size 3399380107
|
InstantIR/aggregator.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6620aba5fbb9c19f4e251492cfffb85ffe05acf3b5bf4422b71ac4734c36897
|
| 3 |
+
size 4019521754
|
InstantIR/previewer_lora_weights.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a5d73819966571b83fdfa976244d30cce506a3433e49a08522ea7afc2349274c
|
| 3 |
+
size 929420238
|