Skip to content

Replace references to model_creation_utils.create_nnx_model.#3720

Open
copybara-service[bot] wants to merge 1 commit intomainfrom
test_903919298
Open

Replace references to model_creation_utils.create_nnx_model.#3720
copybara-service[bot] wants to merge 1 commit intomainfrom
test_903919298

Conversation

@copybara-service
Copy link
Copy Markdown
Contributor

@copybara-service copybara-service Bot commented Apr 22, 2026

Replace references to model_creation_utils.create_nnx_model.

The function was removed as part of a previous refactoring.

Tests

  • Ran the post-train GRPO and the training doesn't fail on this anymore.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@copybara-service copybara-service Bot changed the title Replace references to model_creation_utils.create_nnx_model. # Description Apr 22, 2026
The function was removed as part of a previous refactoring.

# Tests

* Ran the post-train GRPO and the training doesn't fail on this anymore.

# Checklist

Before submitting this PR, please make sure (put X in square brackets):
- [x] I have performed a self-review of my code. For an optional AI review, add the `gemini-review` label.
- [x] I have necessary comments in my code, particularly in hard-to-understand areas.
- [x] I have run end-to-end tests tests and provided workload links above if applicable.
- [x] I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in [our documentation](https://maxtext.readthedocs.io/en/latest/development.html#adding-new-documentation-files).

PiperOrigin-RevId: 903919298
@copybara-service copybara-service Bot changed the title # Description Replace references to model_creation_utils.create_nnx_model. Apr 22, 2026
@niting
Copy link
Copy Markdown
Collaborator

niting commented Apr 22, 2026

This is fixed in #3718, so I will withdraw this in favor of that PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant