Instructions to use freestuff2875/GLM-Image-bnb-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use freestuff2875/GLM-Image-bnb-4bit with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("freestuff2875/GLM-Image-bnb-4bit", 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 vision_language_encoder/model.safetensors from freestuff2875/GLM-Image-bnb-4bit: direct link, hf CLI and curl.
- Browser
- Download file 6.64 GB
-
https://huggingface.co/freestuff2875/GLM-Image-bnb-4bit/resolve/main/vision_language_encoder/model.safetensors
- Command line
-
hf download hf://freestuff2875/GLM-Image-bnb-4bit/vision_language_encoder/model.safetensors
-
curl -L -o model.safetensors https://huggingface.co/freestuff2875/GLM-Image-bnb-4bit/resolve/main/vision_language_encoder/model.safetensors
6.64 GB
- Xet hash:
- efec85bbf61a1ddb8b685d6e87480a88104b7f999e4fff5770881f633bca5145
- Size of remote file:
- 6.64 GB
- SHA256:
- 2036b43cbeeaafc62c6cc72b90a805030dbef935cfb4360a14cf0f1248f43403
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.