-
Notifications
You must be signed in to change notification settings - Fork 611
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
Enable CUDA 11 compatibility mode #2356
Conversation
CI MESSAGE: [1700565]: BUILD STARTED |
CI MESSAGE: [1700749]: BUILD STARTED |
CI MESSAGE: [1700756]: BUILD STARTED |
CI MESSAGE: [1700756]: BUILD FAILED |
CI MESSAGE: [1700756]: BUILD PASSED |
cmake/Utils.cmake
Outdated
set(${CUDA_VERSION_SHORT_VAR} "${${CUDA_VERSION_MAJOR_VAR}}.${${CUDA_VERSION_MINOR_VAR}}" PARENT_SCOPE) | ||
set(${CUDA_VERSION_SHORT_DIGIT_ONLY_VAR} "${${CUDA_VERSION_MAJOR_VAR}}${${CUDA_VERSION_MINOR_VAR}}" PARENT_SCOPE) | ||
|
||
message(STATUS "CUDA version: ${CUDA_VERSION}, major: ${${CUDA_VERSION_MAJOR_VAR}}, minor: ${${CUDA_VERSION_MINOR_VAR}}, patch: ${${CUDA_VERSION_PATCH_VAR}}, short: ${${CUDA_VERSION_SHORT_VAR}}, digit-only: ${${CUDA_VERSION_SHORT_DIGIT_ONLY_VAR}}") | ||
message(STATUS "CUDA version compatibile: major: ${${CUDA_VERSION_MAJOR_VAR}}, minor: ${${CUDA_VERSION_MINOR_VAR}}, patch: ${${CUDA_VERSION_PATCH_VAR}}, short: ${${CUDA_VERSION_SHORT_VAR}}, digit-only: ${${CUDA_VERSION_SHORT_DIGIT_ONLY_VAR}}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
message(STATUS "CUDA version compatibile: major: ${${CUDA_VERSION_MAJOR_VAR}}, minor: ${${CUDA_VERSION_MINOR_VAR}}, patch: ${${CUDA_VERSION_PATCH_VAR}}, short: ${${CUDA_VERSION_SHORT_VAR}}, digit-only: ${${CUDA_VERSION_SHORT_DIGIT_ONLY_VAR}}") | |
message(STATUS "Compatible CUDA version: major: ${${CUDA_VERSION_MAJOR_VAR}}, minor: ${${CUDA_VERSION_MINOR_VAR}}, patch: ${${CUDA_VERSION_PATCH_VAR}}, short: ${${CUDA_VERSION_SHORT_VAR}}, digit-only: ${${CUDA_VERSION_SHORT_DIGIT_ONLY_VAR}}") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/compilation.rst
Outdated
``.XX.Y`` can be passed, script check for the supported version is bypased and the user needs | ||
to make sure that Dockerfile.cudaXXY.deps is present in `docker/` directory. | ||
| The default is ``11.1``. Thanks to CUDA extended compatibility mode CUDA 11.1 wheel is named as | ||
CUDA 11.0 because it can work with the CUDA 11.0 R450.x driver family (please update to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CUDA 11.0 because it can work with the CUDA 11.0 R450.x driver family (please update to the | |
CUDA 11.0 because it can work with the CUDA 11.0 R450.x driver family. Please update to the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/compilation.rst
Outdated
to make sure that Dockerfile.cudaXXY.deps is present in `docker/` directory. | ||
| The default is ``11.1``. Thanks to CUDA extended compatibility mode CUDA 11.1 wheel is named as | ||
CUDA 11.0 because it can work with the CUDA 11.0 R450.x driver family (please update to the | ||
latest recommended driver version in that family). If the value of the version is prefixed with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latest recommended driver version in that family). If the value of the version is prefixed with | |
latest recommended driver version in that family. If the value of the version is prefixed with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/compilation.rst
Outdated
| The default is ``11.1``. Thanks to CUDA extended compatibility mode CUDA 11.1 wheel is named as | ||
CUDA 11.0 because it can work with the CUDA 11.0 R450.x driver family (please update to the | ||
latest recommended driver version in that family). If the value of the version is prefixed with | ||
`.` then any value ``.XX.Y`` can be passed, script check for the supported version is bypassed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`.` then any value ``.XX.Y`` can be passed, script check for the supported version is bypassed | |
`.` then any value ``.XX.Y`` can be passed, and in that case the supported version check is bypassed |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/compilation.rst
Outdated
CUDA 11.0 because it can work with the CUDA 11.0 R450.x driver family (please update to the | ||
latest recommended driver version in that family). If the value of the version is prefixed with | ||
`.` then any value ``.XX.Y`` can be passed, script check for the supported version is bypassed | ||
and the user needs to make sure that Dockerfile.cudaXXY.deps is present in `docker/` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and the user needs to make sure that Dockerfile.cudaXXY.deps is present in `docker/` directory. | |
and the user needs to make sure that Dockerfile.cudaXXY.deps is present in the `docker/` directory. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
docs/installation.rst
Outdated
additional functionalities. | ||
CUDA 11.0 build uses CUDA toolkit enhanced compatibility. It is built with the latest CUDA 11.x | ||
toolkit while it can run on the latest, stable CUDA 11.0 capable drivers (450.80 or later). | ||
Using the newest driver (455.x for example) may enable additional functionalities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using the newest driver (455.x for example) may enable additional functionalities. | |
Using the newest driver (455.x, for example) may enable additional functionalities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
f071a05
to
ae2ce9c
Compare
docs/compilation.rst
Outdated
| The default is ``11.1``. Thanks to CUDA extended compatibility mode CUDA 11.1 wheel is named as | ||
CUDA 11.0 because it can work with the CUDA 11.0 R450.x driver family. Please update to the | ||
latest recommended driver version in that family. If the value of the version is prefixed with | ||
`.` then any value ``.XX.Y`` can be passed, and in that case the supported version check is |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is some issue with wording here, I think. the supported version check is and user ...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done... I think
- makes CUDA 11.1 builds to be named as CUDA 11.0 because due to the CUDA enhanced compatibility of the build with the latest toolkit version will run on the latest CUDA 11.0 capable driver Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
ae2ce9c
to
878b9f7
Compare
CI MESSAGE: [1707617]: BUILD STARTED |
docs/installation.rst
Outdated
additional functionalities. | ||
CUDA 11.0 build uses CUDA toolkit enhanced compatibility. It is built with the latest CUDA 11.x | ||
toolkit while it can run on the latest, stable CUDA 11.0 capable drivers (450.80 or later). | ||
Using the newest driver (455.x, for example) may enable additional functionalities. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't think that we need to put an "example" of latest driver - that's bound to go stale.
Using the newest driver (455.x, for example) may enable additional functionalities. | |
Using the latest driver may enable additional functionality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
Signed-off-by: Janusz Lisiecki <jlisiecki@nvidia.com>
CI MESSAGE: [1707770]: BUILD STARTED |
CI MESSAGE: [1707770]: BUILD FAILED |
edbc238
to
385b512
Compare
CI MESSAGE: [1707896]: BUILD STARTED |
CI MESSAGE: [1707896]: BUILD FAILED |
385b512
to
730e638
Compare
CI MESSAGE: [1708117]: BUILD STARTED |
CI MESSAGE: [1708117]: BUILD PASSED |
Signed-off-by: Janusz Lisiecki jlisiecki@nvidia.com
Why we need this PR?
Pick one, remove the rest
What happened in this PR?
Fill relevant points, put NA otherwise. Replace anything inside []
makes CUDA 11.1 builds to be named as CUDA 11.0 because due to the CUDA enhanced compatibility of the build with the latest toolkit version will run on the latest CUDA 11.0 capable driver
plain and conda build
if it is the right way?
CI
compilation/installation instruction is updated
JIRA TASK: [NA]