Instructions to use deepsafe/deepsafe-services with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use deepsafe/deepsafe-services with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("deepsafe/deepsafe-services", 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
Download image/aide/weights/GenImage_train.pth from deepsafe/deepsafe-services: direct link, hf CLI and curl.
- Browser
- Download file 3.59 GB
-
https://huggingface.co/deepsafe/deepsafe-services/resolve/main/image/aide/weights/GenImage_train.pth
- Command line
-
hf download hf://deepsafe/deepsafe-services/image/aide/weights/GenImage_train.pth
-
curl -L -o GenImage_train.pth https://huggingface.co/deepsafe/deepsafe-services/resolve/main/image/aide/weights/GenImage_train.pth
3.59 GB
- Xet hash:
- 137776b6d5c0dd4d3915816cd2fbd356d5a5ee76b01253ebaffd0d74a453b6c7
- Size of remote file:
- 3.59 GB
- SHA256:
- f084346dfb0cd05ab4201fe82a62d4f1b4381ee28f2c8295d6cb14d559a9ff16
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.