Instructions to use TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- BiRefNet
How to use TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME with BiRefNet:
# Option 1: use with transformers from transformers import AutoModelForImageSegmentation birefnet = AutoModelForImageSegmentation.from_pretrained("TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME", trust_remote_code=True)# Option 2: use with BiRefNet # Install from https://github.com/ZhengPeng7/BiRefNet from models.birefnet import BiRefNet model = BiRefNet.from_pretrained("TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME") - Notebooks
- Google Colab
- Kaggle
Download vae/flux2-vae.safetensors from TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME: direct link, hf CLI and curl.
- Browser
- Download file 336 MB
-
https://huggingface.co/TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME/resolve/main/vae/flux2-vae.safetensors
- Command line
-
hf download hf://TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME/vae/flux2-vae.safetensors
-
curl -L -o flux2-vae.safetensors https://huggingface.co/TurboGhoster/FLUX2-KLEIN-4B-BIREFNET-RUNTIME/resolve/main/vae/flux2-vae.safetensors
336 MB
- Xet hash:
- 2d2ae7a1e3d7d2ee7da6bbe58d555a9a9d7c1909db79adaa1ecf75a67367536f
- Size of remote file:
- 336 MB
- SHA256:
- 868fe7b343cc8f3a19dbcfcafbc3d5f888802be3f89bd81b65b3621a066ce8f3
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.