Skip to content

Add randomtemp to build scripts #448

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

Merged
merged 1 commit into from
May 29, 2020
Merged

Conversation

peterjc123
Copy link
Contributor

Unverified

This user has not yet uploaded their public signing key.
Comment on lines +78 to +79
set RANDOMTEMP_EXECUTABLE=%SRC_DIR%\tmp_bin\nvcc.exe
set CUDA_NVCC_EXECUTABLE=%SRC_DIR%\tmp_bin\randomtemp.exe
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't this be other way around?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Could you please give an example?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Currently, we can only workground this issue by retrying it several times.

Copy link
Contributor

Choose a reason for hiding this comment

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

Why RANDOMTEMP_EXECUTABLE is points to nvcc and CUDA_NVCC_EXECUTABLE poitns to randomtemp.exe?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Because randomtemp.exe acts like a shim exectuable, it just passes the argument to the actual program, which is specified by the variable RANDOMTEMP_EXECUTABLE.

Copy link
Member

Choose a reason for hiding this comment

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

Yea I agree with @malfet this does seem a bit confusing when you look at it.

Maybe it'd be better to add a comment here explaining why they point where they point to.

Copy link
Contributor

Choose a reason for hiding this comment

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

I think I understand how it works, but naming of variables is a bit confusing, but indeed it matches one on master

@peterjc123
Copy link
Contributor Author

The cuda builds in nightly jobs seem to be more flaky with the new circleci image which has VS 16.6 installed. So I hope that we could land this asap.

@malfet malfet merged commit 191b23d into pytorch:master May 29, 2020
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.

Windows CI intermittent error: C2993: 'Derived': illegal type for non-type template parameter '__formal
3 participants