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
4 changes: 2 additions & 2 deletions src/MaxText/integration/tunix/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@

import re

import maxtext.src.maxtext.integration.tunix.weight_mapping as weight_mapping # pylint: disable=consider-using-from-import
from MaxText.integration.tunix.weight_mapping import StandaloneVllmWeightMapping
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do you know why this happened with copybara?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abhinavclemson you would need to update the copybara script otherwise this PR will not be useful

Also there are other places where this is broken, so other files need to be added to the copybara
https://github.com/AI-Hypercomputer/maxtext/compare/anisha-fix-trainrl?expand=1

from MaxText.utils.ckpt_conversion.utils.param_mapping import PARAM_MAPPING
from MaxText.utils.ckpt_conversion.utils.param_mapping import VLLM_HOOK_FNS

STANDALONE_VLLM_WEIGHT_MAPPING = weight_mapping.StandaloneVllmWeightMapping()
STANDALONE_VLLM_WEIGHT_MAPPING = StandaloneVllmWeightMapping()

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