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
8 lines
266 B
Python
8 lines
266 B
Python
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} |