Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions vllm_plugin/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ def register_vibevoice():
slow_tokenizer_class=Qwen2Tokenizer,
fast_tokenizer_class=VibeVoiceASRTextTokenizerFast,
)
except Exception:
pass # May already be registered
except ValueError:
pass # Already registered

# Register the processor with transformers
try:
AutoProcessor.register(VibeVoiceConfig, processor_class=Qwen2AudioProcessor)
except Exception:
pass # May already be registered
except ValueError:
pass # Already registered

# Register the model class with the architecture name "VibeVoice"
# This name must match the "architectures" list in config.json
Expand Down