Skip to content

Align uv toolchain with the pinned Mojo and MAX nightly - #274

Draft
nikhilJain17 wants to merge 3 commits into
modular:mainfrom
nikhilJain17:fix/p04-row-major-import
Draft

nikhilJain17 wants to merge 3 commits into
modular:mainfrom
nikhilJain17:fix/p04-row-major-import

Conversation

@nikhilJain17

@nikhilJain17 nikhilJain17 commented Nov 11, 2026 •

Copy link
Copy Markdown

The main branch uses the renamed layout.layout module, but its uv configuration still installs Mojo 1.2.0 and MAX 26.7.0. As a result, uv run poe p04_tile_tensor fails to import row_major before reaching the puzzle code.

Align the uv dependencies with the nightly versions in pixi.lock: Mojo 1.3.0.dev2026111105 and MAX 26.8.0.dev2026111105. Configure the Modular nightly index and enable prerelease resolution so the matching transitive toolchain packages resolve as well. The existing puzzle imports remain unchanged.

Validation on Apple silicon:

  • uv lock and uv sync --locked resolve and install the matching nightly toolchain.
  • A minimal from layout.layout import row_major program compiles.
  • mojo -I . solutions/p04/p04_tile_tensor.mojo passes with output [10.0, 11.0, 12.0, 13.0].
  • git diff --check passes.

The local uv.lock was regenerated for validation; it remains untracked in accordance with the repository's existing ignore rules. The full puzzle suite was not run.

@nikhilJain17 nikhilJain17 changed the title Fix row_major import across all puzzles Align uv toolchain with the pinned Mojo and MAX nightly Nov 11, 2026

This branch has not been deployed

No deployments
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