Instructions to use harshee77/bin-file-conversion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use harshee77/bin-file-conversion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("harshee77/bin-file-conversion", 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
Commit History
-
Adding `safetensors` variant of this model
Verified signatureThis is an automated PR created with https://huggingface.co/spaces/safetensors/convert This new file is equivalent to `pytorch_model.bin` but safe in the sense that no arbitrary code can be put into it. These files also happen to load much faster than their pytorch counterpart: https://colab.research.google.com/github/huggingface/notebooks/blob/main/safetensors_doc/en/speed.ipynb The widgets on your model page will run using this model even if this is not merged making sure the file actually works. If you find any issues: please report here: https://huggingface.co/spaces/safetensors/convert/discussions Feel free to ignore this PR.f62a0e0 -
Upload diffusion_pytorch_model.bin with huggingface_hub
Verified signature342ba83 -
Delete pytorch_model (1).bin
Verified signature31206d1 -
Delete pytorch_model (1).safetensors
Verified signaturefc0df0f -
Adding `safetensors` variant of this model (#2)
Verified signature- Adding `safetensors` variant of this model (64651d4dadf1cc89fe1ee3428c51cfb40a43bd43) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>cf57a74 -
Upload pytorch_model (1).bin
Verified signature8a8101e -
Delete diffusion_pytorch_model (1).safetensors
Verified signature2b7e006 -
Delete diffusion_pytorch_model (1).bin
Verified signaturef29d801 -
Adding `safetensors` variant of this model (#1)
Verified signature- Adding `safetensors` variant of this model (7cbfe8d44c233235b66f6a44e3044056a13c6fb7) Co-authored-by: Safetensors convertbot <SFconvertbot@users.noreply.huggingface.co>8c4eb2e -
Upload diffusion_pytorch_model (1).bin
Verified signatureaad0361 -
initial commit
Verified signature0eaefa5