Skip to content

Find pip-installed tileiras across namespace directories - #152

Open
ylwang0701 wants to merge 1 commit into
NVIDIA:mainfrom
ylwang0701:ylwang0701/bug-find-pip-tileiras
Open

ylwang0701 wants to merge 1 commit into
NVIDIA:mainfrom
ylwang0701:ylwang0701/bug-find-pip-tileiras

Conversation

@ylwang0701

Copy link
Copy Markdown

Description

Closes #131.

An environment can contain several directories that contribute to nvidia.cu13. If the first directory contains another NVIDIA wheel and the second contains tileiras, cuTile currently skips the installed compiler and falls back to the system toolkit.

Search the namespace directories in order for the wheel's executable. If the compiler packages are installed with matching versions but the executable is missing from every directory, warn before falling back. Environments without the optional wheels still use the system lookup quietly.

The regression covers the executable in the second directory, in both directories, and in neither. On Linux with an RTX 5090, I also used the 13.5.37 wheels in a split namespace to compile and run a small kernel. All four outputs matched the host calculation. The related tests had 52 passes and 5 skips.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

Signed-off-by: ylwang0701 <88826857+ylwang0701@users.noreply.github.com>
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.

[BUG]: _find_pip_tileiras checks only nvidia.cu13.__path__[0], so a split namespace silently falls back to the system tileiras

1 participant