Instructions to use AiArtLab/sdxs-1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use AiArtLab/sdxs-1b 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/sdxs-1b", dtype=torch.bfloat16, device_map="cuda") prompt = "sdxs-1b" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
qwen35
Browse files- samples/unet_1024x1280_0.jpg +3 -0
- samples/unet_1088x1280_0.jpg +3 -0
- samples/unet_1152x1280_0.jpg +3 -0
- samples/unet_1216x1280_0.jpg +3 -0
- samples/unet_1280x1024_0.jpg +3 -0
- samples/unet_1280x1088_0.jpg +3 -0
- samples/unet_1280x1152_0.jpg +3 -0
- samples/unet_1280x1216_0.jpg +3 -0
- samples/unet_1280x1280_0.jpg +3 -0
- samples/unet_1280x640_0.jpg +3 -0
- samples/unet_1280x704_0.jpg +3 -0
- samples/unet_1280x768_0.jpg +3 -0
- samples/unet_1280x832_0.jpg +3 -0
- samples/unet_1280x896_0.jpg +3 -0
- samples/unet_1280x960_0.jpg +3 -0
- samples/unet_640x1280_0.jpg +3 -0
- samples/unet_704x1280_0.jpg +3 -0
- samples/unet_768x1280_0.jpg +3 -0
- samples/unet_832x1280_0.jpg +3 -0
- samples/unet_896x1280_0.jpg +3 -0
- samples/unet_960x1280_0.jpg +3 -0
- train.py +4 -4
- unet/diffusion_pytorch_model.safetensors +1 -1
samples/unet_1024x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1088x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1152x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1216x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x1024_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x1088_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x1152_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x1216_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x640_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x704_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x768_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x832_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x896_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_1280x960_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_640x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_704x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_768x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_832x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_896x1280_0.jpg
ADDED
|
Git LFS Details
|
samples/unet_960x1280_0.jpg
ADDED
|
Git LFS Details
|
train.py
CHANGED
|
@@ -30,14 +30,14 @@ from collections import deque
|
|
| 30 |
from transformers import CLIPTokenizer, CLIPTextModel, Qwen3_5Tokenizer, Qwen3_5ForConditionalGeneration
|
| 31 |
|
| 32 |
# --------------------------- Параметры ---------------------------
|
| 33 |
-
ds_path = "/workspace/sdxs-1b/datasets/
|
| 34 |
project = "unet"
|
| 35 |
## total batch (split // num `GPU)
|
| 36 |
batch_size = 12
|
| 37 |
base_learning_rate = 3e-5
|
| 38 |
min_learning_rate = 3e-6
|
| 39 |
num_epochs = 4
|
| 40 |
-
sample_interval_share =
|
| 41 |
cfg_dropout = 0.10
|
| 42 |
max_length = 248
|
| 43 |
use_wandb = False
|
|
@@ -49,8 +49,8 @@ optimizer_type = "adam8bit"
|
|
| 49 |
torch_compile = False
|
| 50 |
unet_gradient = True
|
| 51 |
loss_normalize = False
|
| 52 |
-
fixed_seed =
|
| 53 |
-
shuffle =
|
| 54 |
comet_ml_api_key = "Agctp26mbqnoYrrlvQuKSTk6r"
|
| 55 |
comet_ml_workspace = "recoilme"
|
| 56 |
torch.backends.cuda.matmul.allow_tf32 = True
|
|
|
|
| 30 |
from transformers import CLIPTokenizer, CLIPTextModel, Qwen3_5Tokenizer, Qwen3_5ForConditionalGeneration
|
| 31 |
|
| 32 |
# --------------------------- Параметры ---------------------------
|
| 33 |
+
ds_path = "/workspace/sdxs-1b/datasets/ds1234_1280"
|
| 34 |
project = "unet"
|
| 35 |
## total batch (split // num `GPU)
|
| 36 |
batch_size = 12
|
| 37 |
base_learning_rate = 3e-5
|
| 38 |
min_learning_rate = 3e-6
|
| 39 |
num_epochs = 4
|
| 40 |
+
sample_interval_share = 20
|
| 41 |
cfg_dropout = 0.10
|
| 42 |
max_length = 248
|
| 43 |
use_wandb = False
|
|
|
|
| 49 |
torch_compile = False
|
| 50 |
unet_gradient = True
|
| 51 |
loss_normalize = False
|
| 52 |
+
fixed_seed = True
|
| 53 |
+
shuffle = True
|
| 54 |
comet_ml_api_key = "Agctp26mbqnoYrrlvQuKSTk6r"
|
| 55 |
comet_ml_workspace = "recoilme"
|
| 56 |
torch.backends.cuda.matmul.allow_tf32 = True
|
unet/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 5960474736
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:624985101aa385798ef44b202a80bc06a54f0cb3763662099920e52cbdde2445
|
| 3 |
size 5960474736
|