Instructions to use raisahil/scunge-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use raisahil/scunge-model with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("raisahil/scunge-model", 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
Download environment.yaml from raisahil/scunge-model: direct link, hf CLI and curl.
- Browser
- Download file 613 Bytes
-
https://huggingface.co/raisahil/scunge-model/resolve/main/environment.yaml
- Command line
-
hf download hf://raisahil/scunge-model/environment.yaml
-
curl -L -o environment.yaml https://huggingface.co/raisahil/scunge-model/resolve/main/environment.yaml
613 Bytes
| name: ldm | |
| channels: | |
| - pytorch | |
| - defaults | |
| dependencies: | |
| - python=3.8.5 | |
| - pip=20.3 | |
| - cudatoolkit=11.3 | |
| - pytorch=1.12.1 | |
| - torchvision=0.13.1 | |
| - numpy=1.23.1 | |
| - pip: | |
| - albumentations==1.3.0 | |
| - opencv-python==4.6.0.66 | |
| - imageio==2.9.0 | |
| - imageio-ffmpeg==0.4.2 | |
| - pytorch-lightning==1.4.2 | |
| - omegaconf==2.1.1 | |
| - test-tube>=0.7.5 | |
| - streamlit==1.12.1 | |
| - einops==0.3.0 | |
| - transformers==4.19.2 | |
| - webdataset==0.2.5 | |
| - kornia==0.6 | |
| - open_clip_torch==2.0.2 | |
| - invisible-watermark>=0.1.5 | |
| - streamlit-drawable-canvas==0.8.0 | |
| - torchmetrics==0.6.0 | |
| - -e . | |