8000 [CD] Fix slim-wheel nvjit-link import problem by malfet · Pull Request #141063 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[CD] Fix slim-wheel nvjit-link import problem #141063

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Pacify lint
  • Loading branch information
malfet committed Jan 14, 2025
commit a26c88f8d313a76bb9f2c3ca3fcc45ad0888ffad
2 changes: 1 addition & 1 deletion < 8000 a title="torch/__init__.py" class="Link--primary Truncate-text" href="#diff-c8835eba8562819a44e70a30545213c96e68c588a2cfa673fa495b187b1ea8df">torch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@
# shipped as wheel, which results in OS picking wrong/older version of nvjitlink library
# if `LD_LIBRARY_PATH` is defined
# See https://github.com/pytorch/pytorch/issues/138460
if version.cuda not in ["12.4", "12.6"]:
if version.cuda not in ["12.4", "12.6"]: # typing: ignore[name-defined]

Check failure on line 324 in torch/__init__.py

View workflow job for this annotation

GitHub Actions / lintrunner-noclang / linux-job

MYPY [name-defined]

Name "version" is not defined
return
try:
with open("/proc/self/maps") as f:
Expand Down
Loading
0