Downloads · 30 days
85
7% of all-time downloads
SomeoneSomething/VibeVoice7b-low-vram-4bit
VibeVoice7b-low-vram-4bit is a machine learning model from SomeoneSomething. Use it for the machine learning task on the model card, and read the license before you ship it in a product.
Optimized for RTX 3060/4060 and similar 12GB VRAM GPUs.
Downloads · 30 days
85
7% of all-time downloads
All-time downloads
1.2K
Public
Parameters
9.6B
6.6 GB on disk
Likes
10
Public
Click a slice to open those files.
.safetensors6.6 GB · 100%
How the weights are stored.
U88.4B · 87%
From the Hugging Face model README
Optimized for RTX 3060/4060 and similar 12GB VRAM GPUs.
from vibevoice.modular.modeling_vibevoice_inference import VibeVoiceForConditionalGenerationInference
from vibevoice.processor.vibevoice_processor import VibeVoiceProcessor
model = VibeVoiceForConditionalGenerationInference.from_pretrained(
"Dannidee/VibeVoice7b-low-vram/4bit",
device_map='cuda',
torch_dtype=torch.bfloat16,
)
processor = VibeVoiceProcessor.from_pretrained("Dannidee/VibeVoice7b-low-vram/4bit")
# Generate speech
text = "Speaker 1: Hello! Speaker 2: Hi there!"
inputs = processor(
text=[text],
voice_samples=[["voice1.wav", "voice2.wav"]],
padding=True,
return_tensors="pt",
)
outputs = model.generate(**inputs)
processor.save_audio(outputs.speech_outputs[0], "output.wav")