Skip to content

Conversation

@cdinea
Copy link
Contributor

@cdinea cdinea commented Dec 19, 2025

No description provided.

- Pin nvimgcodec/nvimagecodec deps to 0.7.0 in deps/conda/pyproject

- Make cuslide2 plugin a MODULE + add linkable core lib for tests

- Avoid global include_directories; use target_include_directories
Make nvimgcodec dynlink include path PUBLIC on cuslide2_core so the MODULE plugin target can compile cuslide.cpp (includes headers that include <nvimgcodec.h>).
PyPI provides nvidia-nvimgcodec-cu13 as 0.7.0.11
@cdinea cdinea requested review from a team as code owners December 19, 2025 00:44
@cdinea cdinea requested a review from jameslamb December 19, 2025 00:44
@copy-pr-bot
Copy link

copy-pr-bot bot commented Dec 19, 2025

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@cdinea cdinea changed the title Feature/nvimagecodec070 decoding [WIP] nvImageCodec v0.7.0 decoding Dec 19, 2025
@cdinea cdinea self-assigned this Dec 19, 2025
@cdinea cdinea added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Dec 19, 2025
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

I see that this has [WIP] but since it was opened as a non-draft PR I assumed you wanted a review. Sorry if that's not true.

I left one small comment on the pinning changes. Please note you'll also have to manually update the conda recipes for libcucim:

nvimgcodec_version:
- "0.6.0"

Could you also add a brief description to the PR explaining the goal? That'd help reviewers... I'm unsure about the purpose of some of the cucim.kit.cuslide2/CMakeLists.txt changes.

- cuda-cudart-dev
- libnvjpeg-dev
- libnvimgcodec-dev>=0.6.0,<0.7.0
- libnvimgcodec-dev==0.7.0
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
- libnvimgcodec-dev==0.7.0
- libnvimgcodec-dev>=0.7.0,<0.8.0

Is it necessary to pin so tightly (==0.7.0 here and ==0.7.0.11 further down in the file)? Generally I think we'd prefer to have looser constraints... that reduces the risk of conflicts when cucim is installed alongside other software.

Would you consider something like this? (here and in every other place touched in this file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants