Skip to content

test(pathfinder): place Windows arm64 cudart test fixtures under bin/arm64 - #2528

Open
rluo8 wants to merge 2 commits into
NVIDIA:mainfrom
rluo8:fix/pathfinder-woa-ctk-root-test-fixture
Open

test(pathfinder): place Windows arm64 cudart test fixtures under bin/arm64#2528
rluo8 wants to merge 2 commits into
NVIDIA:mainfrom
rluo8:fix/pathfinder-woa-ctk-root-test-fixture

Conversation

@rluo8

@rluo8 rluo8 commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

Description

This is to fix test case test_try_via_ctk_root_regular_lib failure on native win-arm64.

Root cause: After pathfinder became architecture-aware, native ARM64 Python only searches CTK cudart under bin/arm64 (no flat bin/ fallback). The test helper_create_cudart_in_ctk still always wrote bin/cudart64_12.dll, so find_via_ctk_root
returned None and the assert failed for arm64.

The fix is to make _create_cudart_in_ctk place the fake DLL under bin/arm64 when windows_python_arch() == "arm64".

@github-actions github-actions Bot added the cuda.pathfinder Everything related to the cuda.pathfinder module label Aug 7, 2026
@rluo8 rluo8 self-assigned this Aug 7, 2026
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

@rwgk rwgk added this to the cuda.pathfinder next milestone Aug 8, 2026
@rwgk rwgk added the P0 High priority - Must do! label Aug 8, 2026
@rwgk
rwgk enabled auto-merge (squash) August 8, 2026 01:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cuda.pathfinder Everything related to the cuda.pathfinder module P0 High priority - Must do!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants