Instructions to use Evil-Cookie/PhotoAI with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use Evil-Cookie/PhotoAI with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("black-forest-labs/FLUX.1-dev", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("Evil-Cookie/PhotoAI") prompt = "TOK" image = pipe(prompt).images[0] - Inference
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload folder using huggingface_hub
Browse files- config.yaml +3 -3
- lora.safetensors +2 -2
config.yaml
CHANGED
|
@@ -8,8 +8,8 @@ config:
|
|
| 8 |
trigger_word: TOK
|
| 9 |
network:
|
| 10 |
type: lora
|
| 11 |
-
linear:
|
| 12 |
-
linear_alpha:
|
| 13 |
save:
|
| 14 |
dtype: float16
|
| 15 |
save_every: 2501
|
|
@@ -35,7 +35,7 @@ config:
|
|
| 35 |
gradient_checkpointing: true
|
| 36 |
noise_scheduler: flowmatch
|
| 37 |
optimizer: adamw8bit
|
| 38 |
-
lr: 0.
|
| 39 |
ema_config:
|
| 40 |
use_ema: true
|
| 41 |
ema_decay: 0.99
|
|
|
|
| 8 |
trigger_word: TOK
|
| 9 |
network:
|
| 10 |
type: lora
|
| 11 |
+
linear: 16
|
| 12 |
+
linear_alpha: 16
|
| 13 |
save:
|
| 14 |
dtype: float16
|
| 15 |
save_every: 2501
|
|
|
|
| 35 |
gradient_checkpointing: true
|
| 36 |
noise_scheduler: flowmatch
|
| 37 |
optimizer: adamw8bit
|
| 38 |
+
lr: 0.0009
|
| 39 |
ema_config:
|
| 40 |
use_ema: true
|
| 41 |
ema_decay: 0.99
|
lora.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f1d99adde416e45de9a580debc8dfa2ca583f35e91eff034fde6d2a2bf452221
|
| 3 |
+
size 171969416
|