Instructions to use AiArtLab/ra with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiArtLab/ra with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("AiArtLab/ra", 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
add sdxs VAE weights; drop .gitignore (it blocked weight uploads)
Browse files- .gitignore +0 -33
- probe.txt +0 -1
.gitignore
DELETED
|
@@ -1,33 +0,0 @@
|
|
| 1 |
-
# python
|
| 2 |
-
__pycache__/
|
| 3 |
-
*.py[cod]
|
| 4 |
-
|
| 5 |
-
# прогоны обучения, чекпойнты, сэмплы
|
| 6 |
-
tmp/
|
| 7 |
-
runs/
|
| 8 |
-
*.pt
|
| 9 |
-
nohup.out
|
| 10 |
-
*.log
|
| 11 |
-
|
| 12 |
-
# локальная постановка задачи (не для публикации)
|
| 13 |
-
task.md
|
| 14 |
-
|
| 15 |
-
# jupyter
|
| 16 |
-
.ipynb_checkpoints/
|
| 17 |
-
|
| 18 |
-
# кэши моделей и окружение
|
| 19 |
-
.hf_home/
|
| 20 |
-
.cache/
|
| 21 |
-
text_encoder/.cache/
|
| 22 |
-
.env
|
| 23 |
-
|
| 24 |
-
# системное
|
| 25 |
-
.DS_Store
|
| 26 |
-
|
| 27 |
-
# веса (живут на хабе AiArtLab/Ra)
|
| 28 |
-
transformer/*.safetensors
|
| 29 |
-
vae/*.safetensors
|
| 30 |
-
vae_sdxs/*.safetensors
|
| 31 |
-
text_encoder/*.bin
|
| 32 |
-
text_encoder/*.safetensors
|
| 33 |
-
graft*.out
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
probe.txt
DELETED
|
@@ -1 +0,0 @@
|
|
| 1 |
-
probe
|
|
|
|
|
|