-
Notifications
You must be signed in to change notification settings - Fork 161
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
fix build break on windows #14
Open
fo40225
wants to merge
9
commits into
NVIDIA:r1.15.4+nv20.12
Choose a base branch
from
fo40225:r1.15.4+nv20.12-win
base: r1.15.4+nv20.12
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This lays some ground work for correctly dealing with paths on Windows. PiperOrigin-RevId: 295859552 Change-Id: I72eb50f69c33df0916bd68e90196819f7b22ed2c
Handle '64_' prefix in the cuDNN version for Windows. PiperOrigin-RevId: 314385732 Change-Id: I9b36497dbe460e2e7cad3d755cf9ce8d41647ce3
…ericFunction. See tensorflow/tensorflow#40688, tensorflow/tensorflow#40654. PiperOrigin-RevId: 318452381 Change-Id: Icc5152f2b020ef19882a49e3c86ac80bbe048d64
…not implicitly convertible. In the latest dev version of Eigen, `Eigen::half` is implicitly convertible to float. This makes `std::is_constructible<AlphaNum,Eigen::half>` true (using the float constructor), but since `Eigen::half` is not implicitly convertible to `AlphaNum` directly, this leads to the compile error: ``` ./third_party/tensorflow/core/platform/errors.h:107:1: error: no matching function for call to 'PrepareForStrCat' ... ./third_party/tensorflow/core/platform/errors.h:54:33: note: candidate function not viable: no known conversion from 'Eigen::half' to 'const strings::AlphaNum' for 1st argument inline const strings::AlphaNum& PrepareForStrCat(const strings::AlphaNum& a) { ^ ./third_party/tensorflow/core/platform/errors.h:49:1: note: candidate template ignored: requirement '!std::is_constructible_v<tensorflow::strings::AlphaNum, Eigen::half>' was not satisfied [with T = Eigen::half] PrepareForStrCat(const T& t) { ^ ``` The same error occurs for any type implicitly convertible to int/float/double/string/etc... To fix this, we need to change the condition to `!is_convertible<T, AlphaNum>`, so that if `T` *is* implicitly convertible to `AlphaNum`, it will use the `AlphaNum` version, otherwise it will use the stream operator version. See [MR !278](https://gitlab.com/libeigen/eigen/-/merge_requests/278). PiperOrigin-RevId: 343357980 Change-Id: Ibad29a54105a70c473ca4c9b205fce8356d155ab
fo40225
force-pushed
the
r1.15.4+nv20.12-win
branch
from
January 26, 2021 04:59
9bfc56d
to
db691ba
Compare
pull |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
.whl file here https://github.com/fo40225/tensorflow-windows-wheel/tree/master/1.15.4+nv20.12/
build environment:
visual studio 2019 16.8
cuda 11.1.1
cudnn 8.0.5.39