Skip to content
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

Fixed error with cuda_ver in cpp_extension.py #113555

Closed
wants to merge 2 commits into from

Conversation

vfdev-5
Copy link
Collaborator

@vfdev-5 vfdev-5 commented Nov 13, 2023

Copy link

pytorch-bot bot commented Nov 13, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/113555

Note: Links to docs will display an error until the docs builds have been completed.

✅ You can merge normally! (1 Unrelated Failure)

As of commit b21fce2 with merge base 2bcff4d (image):

FLAKY - The following job failed but was likely due to flakiness present on trunk:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

vfdev-5 referenced this pull request Nov 13, 2023
…13023)

Usage of `from pkg_resources import packaging` leads to a deprecation warning:
```
DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
```
and in strict tests where warnings are errors, this leads to CI breaks, e.g.: pytorch/vision#8092

Replacing `pkg_resources.package` with `package` as it is now a pytorch dependency:
https://github.com/pytorch/pytorch/blob/fa9045a8725214c05ae4dcec5a855820b861155e/requirements.txt#L19
Pull Request resolved: #113023
Approved by: https://github.com/Skylion007, https://github.com/malfet
@@ -1450,8 +1451,8 @@ def build_precompile_header(pch_cmd):
raise RuntimeError(f"Compile PreCompile Header fail, command: {pch_cmd}") from e

extra_cflags_str = listToString(extra_cflags)
extra_include_paths_str = (
"" if extra_include_paths is None else " ".join([f"-I{include}" for include in extra_include_paths])
extra_include_paths_str = " ".join(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied suggestion from #113023 (comment)

@vfdev-5 vfdev-5 added the topic: not user facing topic category label Nov 13, 2023
@vfdev-5 vfdev-5 marked this pull request as ready for review November 13, 2023 14:25
@vfdev-5 vfdev-5 requested review from malfet and removed request for ezyang, soumith and fmassa November 13, 2023 14:25
@ezyang
Copy link
Contributor

ezyang commented Nov 13, 2023

@pytorchbot merge

@pytorch-bot pytorch-bot bot added the ciflow/trunk Trigger trunk jobs on your pull request label Nov 13, 2023
@pytorchmergebot
Copy link
Collaborator

Merge started

Your change will be merged once all checks pass (ETA 0-4 Hours).

Learn more about merging in the wiki.

Questions? Feedback? Please reach out to the PyTorch DevX Team

Advanced Debugging
Check the merge workflow status
here

Skylion007 pushed a commit to Skylion007/pytorch that referenced this pull request Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ciflow/trunk Trigger trunk jobs on your pull request Merged open source topic: not user facing topic category
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants