Instructions to use hlwang06/LeviTor with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hlwang06/LeviTor with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hlwang06/LeviTor", 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
Upload 3 files
Browse files- random_states_0.pkl +3 -0
- scaler.pt +3 -0
- scheduler.bin +3 -0
random_states_0.pkl
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aa012dccdc06eb5f6a0b4d473b0f864e2b70f94086390ab7e2e99e2f77cd4b70
|
| 3 |
+
size 21795
|
scaler.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a36ad378524dd2899a6874521ca69e98cc238dd45ffbb662ed170db87d3f8e95
|
| 3 |
+
size 557
|
scheduler.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8ca823f2ebc4759ca96cfc876edfb23f8b2b510d155ab67564faa9a7786a9016
|
| 3 |
+
size 563
|