Qwen2.5-Omni: squash 5 commits (add components, refactor, load thinker embedding from weights, remove unused code)

Squashed commits:\n- 4e2d812 Add Qwen2.5-Omni model components\n- 351f833 load the thinker embedding from the weights, not rely on local .pt files\n- 2c32533 Refactor Qwen2.5-Omni model files\n- 9163a60 remove unused codes\n- 192bdf8 remove
This commit is contained in:
tzhouam committed 2025-10-23 14:24:03 +08:00
1 parent 7a85034d9b
commit a3a77b6cc4
8 files changed
+4770

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
from vllm.model_executor.models.utils import maybe_prefix
def add_prefix_to_loaded_weights(weights: set[str], prefix: str) -> set[str]:
"""
Add a prefix to the names of the loaded weights.
"""
return {maybe_prefix(prefix, name) for name in weights}