Instructions to use launch-calcium/N1GHT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use launch-calcium/N1GHT with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("OnomaAIResearch/Illustrious-xl-early-release-v0", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("launch-calcium/N1GHT") prompt = "Cat, blue fur, no humans,furry, masterpiece, best quality, newest, detailed background" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Upload folder using huggingface_hub
Browse files- .gitattributes +2 -0
- README.md +53 -0
- ema.pt +3 -0
- my-illustrious-lora.safetensors +3 -0
- my-illustrious-lora_000000010.safetensors +3 -0
- optimizer.pt +3 -0
- samples/.thumbs/1793454879636__000000010_0.jpg.jpg +0 -0
- samples/.thumbs/1793454883851__000000010_1.jpg.jpg +0 -0
- samples/1793454879636__000000010_0.jpg +3 -0
- samples/1793454883851__000000010_1.jpg +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
samples/1793454879636__000000010_0.jpg filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
samples/1793454883851__000000010_1.jpg filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
tags:
|
| 3 |
+
- text-to-image
|
| 4 |
+
- stable-diffusion-xl
|
| 5 |
+
- illustrious
|
| 6 |
+
- lora
|
| 7 |
+
- diffusers
|
| 8 |
+
- template:sd-lora
|
| 9 |
+
- ai-toolkit
|
| 10 |
+
widget:
|
| 11 |
+
- text: Cat, blue fur, no humans,furry, masterpiece, best quality, newest, detailed
|
| 12 |
+
background
|
| 13 |
+
output:
|
| 14 |
+
url: samples/1793454879636__000000010_0.jpg
|
| 15 |
+
- text: Cat, blue fur, no humans,furry, portrait, dramatic lighting, looking at
|
| 16 |
+
viewer
|
| 17 |
+
output:
|
| 18 |
+
url: samples/1793454883851__000000010_1.jpg
|
| 19 |
+
base_model: OnomaAIResearch/Illustrious-xl-early-release-v0
|
| 20 |
+
instance_prompt: Cat, blue fur, no humans,furry
|
| 21 |
+
license: creativeml-openrail-m
|
| 22 |
+
|
| 23 |
+
|
| 24 |
+
---
|
| 25 |
+
|
| 26 |
+
# my-illustrious-lora
|
| 27 |
+
Model trained with [AI Toolkit by Ostris](https://github.com/ostris/ai-toolkit)
|
| 28 |
+
<Gallery />
|
| 29 |
+
|
| 30 |
+
## Trigger words
|
| 31 |
+
|
| 32 |
+
You should use `Cat, blue fur, no humans,furry` to trigger the image generation.
|
| 33 |
+
|
| 34 |
+
## Download model and use it with ComfyUI, AUTOMATIC1111, SD.Next, Invoke AI, etc.
|
| 35 |
+
|
| 36 |
+
Weights for this model are available in Safetensors format.
|
| 37 |
+
|
| 38 |
+
[Download](/launch-calcium/N1GHT/tree/main) them in the Files & versions tab.
|
| 39 |
+
|
| 40 |
+
## Use it with the [🧨 diffusers library](https://github.com/huggingface/diffusers)
|
| 41 |
+
|
| 42 |
+
```py
|
| 43 |
+
from diffusers import AutoPipelineForText2Image
|
| 44 |
+
import torch
|
| 45 |
+
|
| 46 |
+
pipeline = AutoPipelineForText2Image.from_pretrained('OnomaAIResearch/Illustrious-xl-early-release-v0', torch_dtype=torch.float16).to('cuda')
|
| 47 |
+
pipeline.load_lora_weights('launch-calcium/N1GHT', weight_name='my-illustrious-lora.safetensors')
|
| 48 |
+
image = pipeline('Cat, blue fur, no humans,furry, masterpiece, best quality, newest, detailed background').images[0]
|
| 49 |
+
image.save("my_image.png")
|
| 50 |
+
```
|
| 51 |
+
|
| 52 |
+
For more details, including weighting, merging and fusing LoRAs, check the [documentation on loading LoRAs in diffusers](https://huggingface.co/docs/diffusers/main/en/using-diffusers/loading_adapters)
|
| 53 |
+
|
ema.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2ee384505fb99a75a599345e6a694a722ebde471e5ac26754ecaa6cc8c8747ea
|
| 3 |
+
size 456918135
|
my-illustrious-lora.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8cb4350d450a0ee1f3feaeb5da8b414a22fcc6b93b9a285f551d0351cecb68f9
|
| 3 |
+
size 114446620
|
my-illustrious-lora_000000010.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9f3dc45a81de28c59ff5344e6681295280c654e8727bc1185f1bfc2e38fb8916
|
| 3 |
+
size 114446620
|
optimizer.pt
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:49786b448fba6445788bd918385aed16267b8b607800869394f13bc732971b35
|
| 3 |
+
size 117646533
|
samples/.thumbs/1793454879636__000000010_0.jpg.jpg
ADDED
|
|
samples/.thumbs/1793454883851__000000010_1.jpg.jpg
ADDED
|
|
samples/1793454879636__000000010_0.jpg
ADDED
|
Git LFS Details
|
samples/1793454883851__000000010_1.jpg
ADDED
|
Git LFS Details
|