Instructions to use mirroring/civitai_mirror with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use mirroring/civitai_mirror with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("mirroring/civitai_mirror", 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
- Local Apps Settings
- Draw Things
- DiffusionBee
Commit ·
decefcb
1
Parent(s): cd27b64
Add script to estimate LFS storage usage
Browse files- storage-estimator.sh +5 -0
storage-estimator.sh
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# needs numfmt, bc, paste, rev, sed. all but bc are installed on colab
|
| 2 |
+
#
|
| 3 |
+
# GIT_LFS_SKIP_SMUDGE git clone https://huggingface.co/anonderpling/civitai_mirror
|
| 4 |
+
# cd civitai_mirror
|
| 5 |
+
it lfs ls-files -san|rev|cut -d'(' -f1|cut -d')' -f2|rev|sed -E 's/ |B$//g'|numfmt --from=iec |paste -sd+ -|bc|numfmt --to=iec
|