Remove even more unnecessary load_weights methods (#48496)

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-07-18 08:40:27 +00:00
committed by GitHub
parent d96aee0951
commit c233d90aa8
44 changed files with 636 additions and 2073 deletions
+5 -2
View File
@@ -33,9 +33,12 @@ from .deepseek_v2 import (
DeepseekV2MixtureOfExperts,
DeepseekV2MoE,
_try_load_fp8_indexer_wk,
get_spec_layer_idx_from_weight_name,
)
from .utils import get_pp_missing_layer_names, maybe_prefix
from .utils import (
get_pp_missing_layer_names,
get_spec_layer_idx_from_weight_name,
maybe_prefix,
)
def _restore_full_token_layout_if_needed(