Skip to content

Commit 1bed9fa

Browse files
Fix vllm weight mapping import issue.
1 parent be7c2de commit 1bed9fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/MaxText/integration/tunix/utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@
1616

1717
import re
1818

19-
import maxtext.src.maxtext.integration.tunix.weight_mapping as weight_mapping # pylint: disable=consider-using-from-import
19+
from MaxText.integration.tunix.weight_mapping import StandaloneVllmWeightMapping
2020
from MaxText.utils.ckpt_conversion.utils.param_mapping import PARAM_MAPPING
2121
from MaxText.utils.ckpt_conversion.utils.param_mapping import VLLM_HOOK_FNS
2222

23-
STANDALONE_VLLM_WEIGHT_MAPPING = weight_mapping.StandaloneVllmWeightMapping()
23+
STANDALONE_VLLM_WEIGHT_MAPPING = StandaloneVllmWeightMapping()
2424

2525
# This static map provides the architectural knowledge (sharding) that is
2626
# not present in the original HF mapping.

0 commit comments

Comments
 (0)