-
Notifications
You must be signed in to change notification settings - Fork 634
Limit the upper versions of DALI wheel installation dependencies #5710
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
Conversation
!build |
cmake/Dependencies.common.cmake
Outdated
@@ -303,7 +304,7 @@ if(BUILD_NVIMAGECODEC) | |||
message(STATUS "NVIMGCODEC_DEFAULT_INSTALL_PATH=${NVIMGCODEC_DEFAULT_INSTALL_PATH}") | |||
add_definitions(-DNVIMGCODEC_DEFAULT_INSTALL_PATH=\"${NVIMGCODEC_DEFAULT_INSTALL_PATH}\") | |||
|
|||
set(DALI_INSTALL_REQUIRES_NVIMGCODEC "\'nvidia-nvimgcodec-cu${CUDA_VERSION_MAJOR} >= ${NVIMGCODEC_REQ_VERSION}',") | |||
set(DALI_INSTALL_REQUIRES_NVIMGCODEC "\'nvidia-nvimgcodec-cu${CUDA_VERSION_MAJOR} >= ${NVIMGCODEC_REQ_MIN_VERSION}, <= ${NVIMGCODEC_REQ_MAX_VERSION}',") |
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.
set(DALI_INSTALL_REQUIRES_NVIMGCODEC "\'nvidia-nvimgcodec-cu${CUDA_VERSION_MAJOR} >= ${NVIMGCODEC_REQ_MIN_VERSION}, <= ${NVIMGCODEC_REQ_MAX_VERSION}',") | |
set(DALI_INSTALL_REQUIRES_NVIMGCODEC "\'nvidia-nvimgcodec-cu${CUDA_VERSION_MAJOR} >= ${NVIMGCODEC_REQ_MIN_VERSION}, < ${NVIMGCODEC_REQ_MAX_VERSION}',") |
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 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 agree; we know which version doesn't work. I doubt the version with the new API will appear as a patch for 0.3.
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.
Sure. I just cherry-picked @jantonguirao PR and added other bounds on top of it.
cmake/Dependencies.common.cmake
Outdated
@@ -274,7 +274,8 @@ endif() | |||
################################################################## | |||
set(DALI_INSTALL_REQUIRES_NVIMGCODEC "") | |||
if(BUILD_NVIMAGECODEC) | |||
set(NVIMGCODEC_REQ_VERSION "0.3.0") | |||
set(NVIMGCODEC_REQ_MIN_VERSION "0.3.0") | |||
set(NVIMGCODEC_REQ_MAX_VERSION "0.3.0.5") |
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.
set(NVIMGCODEC_REQ_MAX_VERSION "0.3.0.5") | |
set(NVIMGCODEC_REQ_MAX_VERSION "0.4") |
CI MESSAGE: [20352442]: BUILD STARTED |
Signed-off-by: Joaquin Anton Guirao <janton@nvidia.com>
Signed-off-by: Kamil Tokarski <ktokarski@nvidia.com>
6446067
to
5f1623e
Compare
CI MESSAGE: [20353711]: BUILD STARTED |
* Limit the maximum version of nvimagecodec for current DALI * Limit the upper versions of DALI wheel installation dependencies --------- Signed-off-by: Joaquin Anton Guirao <janton@nvidia.com> Signed-off-by: Kamil Tokarski <ktokarski@nvidia.com> Co-authored-by: Joaquin Anton Guirao <janton@nvidia.com>
CI MESSAGE: [20353711]: BUILD PASSED |
Category: Bug fix / Other
Description:
Additional information:
Affected modules and functionalities:
Key points relevant for the review:
Tests:
Checklist
Documentation
DALI team only
Requirements
REQ IDs: N/A
JIRA TASK: N/A