Skip to content

Commit d340aa1

Browse files
Merge pull request #3234 from AI-Hypercomputer:gpt-fix-2
PiperOrigin-RevId: 874726042
2 parents 912bc56 + 1c4eec2 commit d340aa1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/maxtext/integration/tunix/weight_mapping

src/maxtext/integration/tunix/weight_mapping/gpt_oss.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def to_hf_mapping(
8080
target_indices = range(start, start + layers_per_block)
8181

8282
regex_indices = "|".join(map(str, target_indices))
83-
layer_regex = f"layers\.({regex_indices})"
83+
layer_regex = rf"layers\.({regex_indices})"
8484

8585
# --- 3. Block Mappings (Standard) ---
8686
mapping.update(

0 commit comments

Comments
 (0)