Instructions to use darwinkernelpanic/DiffReaper-5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use darwinkernelpanic/DiffReaper-5 with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("darwinkernelpanic/DiffReaper-5", 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 train_autogrow.py with huggingface_hub
Browse files- train_autogrow.py +1 -1
train_autogrow.py
CHANGED
|
@@ -126,7 +126,7 @@ if __name__ == "__main__":
|
|
| 126 |
api = HfApi()
|
| 127 |
start_time = time.time()
|
| 128 |
step = 0
|
| 129 |
-
while True:
|
| 130 |
for batch in dataloader:
|
| 131 |
optimizer.zero_grad()
|
| 132 |
input_ids = batch["input_ids"].to("cuda")
|
|
|
|
| 126 |
api = HfApi()
|
| 127 |
start_time = time.time()
|
| 128 |
step = 0
|
| 129 |
+
while True: # UNLIMITED STEPS - Let him grow!
|
| 130 |
for batch in dataloader:
|
| 131 |
optimizer.zero_grad()
|
| 132 |
input_ids = batch["input_ids"].to("cuda")
|