Image-Text-to-Video
Diffusers
Safetensors
bernini
bernini-v2
int8
convrot
quantized
text-to-video
image-to-video
video-editing
lightx2v
lora
Instructions to use attashe/Bernini-2-INT8-ConvRot with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use attashe/Bernini-2-INT8-ConvRot with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("ByteDance/Bernini-Diffusers-v2", dtype=torch.bfloat16, device_map="cuda") pipe.load_lora_weights("attashe/Bernini-2-INT8-ConvRot") 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
Download bernini_quantized.json from attashe/Bernini-2-INT8-ConvRot: direct link, hf CLI and curl.
- Browser
- Download file 2.67 kB
-
https://huggingface.co/attashe/Bernini-2-INT8-ConvRot/resolve/main/bernini_quantized.json
- Command line
-
hf download hf://attashe/Bernini-2-INT8-ConvRot/bernini_quantized.json
-
curl -L -o bernini_quantized.json https://huggingface.co/attashe/Bernini-2-INT8-ConvRot/resolve/main/bernini_quantized.json
2.67 kB
| { | |
| "complete": true, | |
| "components": { | |
| "glue": "glue", | |
| "high_noise": "high_noise", | |
| "low_noise": "low_noise", | |
| "mllm": "mllm" | |
| }, | |
| "consolidated_components": { | |
| "glue": { | |
| "file": "glue/model.safetensors", | |
| "quantized_layers": 0, | |
| "sha256": "9628db238bace844d825ca5a3e098b27c6a051754bb906a1943b948856cd6055", | |
| "size": 3045585544, | |
| "tensor_bytes": 3045567488 | |
| }, | |
| "high_noise": { | |
| "file": "high_noise/model.safetensors", | |
| "quantized_layers": 400, | |
| "sha256": "ff28b5cc132312baba0d3ed04aa1b66cb9eca44bb6985f54066e75013f044512", | |
| "size": 14535881896, | |
| "tensor_bytes": 14535685008 | |
| }, | |
| "low_noise": { | |
| "file": "low_noise/model.safetensors", | |
| "quantized_layers": 400, | |
| "sha256": "4a710e75604212bdcc5923c2ef7eb8e607c34ff7ff81de69df6dfb745b5a9e7f", | |
| "size": 14535882520, | |
| "tensor_bytes": 14535685008 | |
| }, | |
| "mllm": { | |
| "file": "mllm/model.safetensors", | |
| "quantized_layers": 0, | |
| "sha256": "ad19f02491ff3dec300792e0c7d58fb80f0088ccdbef679c55bba2f7473cd89a", | |
| "size": 16584415720, | |
| "tensor_bytes": 16584333312 | |
| }, | |
| "t5_text_encoder": { | |
| "file": "t5_text_encoder/model.safetensors", | |
| "quantized_layers": 0, | |
| "sha256": "1dcca0fe39fd03606e29079efa03845c16412172890d6d6aec6ac3737564b004", | |
| "size": 11361851320, | |
| "tensor_bytes": 11361820672 | |
| } | |
| }, | |
| "files": [ | |
| { | |
| "file": "high_noise/model.safetensors", | |
| "quantized_layers": 400, | |
| "sha256": "ff28b5cc132312baba0d3ed04aa1b66cb9eca44bb6985f54066e75013f044512", | |
| "size": 14535881896, | |
| "tensor_bytes": 14535685008 | |
| }, | |
| { | |
| "file": "low_noise/model.safetensors", | |
| "quantized_layers": 400, | |
| "sha256": "4a710e75604212bdcc5923c2ef7eb8e607c34ff7ff81de69df6dfb745b5a9e7f", | |
| "size": 14535882520, | |
| "tensor_bytes": 14535685008 | |
| }, | |
| { | |
| "file": "mllm/model.safetensors", | |
| "quantized_layers": 0, | |
| "sha256": "ad19f02491ff3dec300792e0c7d58fb80f0088ccdbef679c55bba2f7473cd89a", | |
| "size": 16584415720, | |
| "tensor_bytes": 16584333312 | |
| }, | |
| { | |
| "file": "glue/model.safetensors", | |
| "quantized_layers": 0, | |
| "sha256": "9628db238bace844d825ca5a3e098b27c6a051754bb906a1943b948856cd6055", | |
| "size": 3045585544, | |
| "tensor_bytes": 3045567488 | |
| } | |
| ], | |
| "format_version": 1, | |
| "group_size": 256, | |
| "layout": "single-file-components", | |
| "model_version": "v2", | |
| "quantized_layers": 800, | |
| "repo": "ByteDance/Bernini-Diffusers-v2", | |
| "reused_files": {}, | |
| "revision": "399cf6a18a4c523b367b2b1ac25a2a61009e7df3", | |
| "selection": "wan-block-linears", | |
| "weight_bytes": 48701765680 | |
| } | |