Closed feitreim closed 3 months ago
This also happens with CPU_ONLY backend, as well as example images from this repo.
Actually this appears to be an issue with using symlink as the link-mode with UV. fixed.
Actually this appears to be an issue with using symlink as the link-mode with UV. fixed.
I am happy to see you were able to resolve the issue. Thanks for letting us know.
Version
0.3.0
Describe the bug.
Issue started with DALI, but after testing I realized my minimal reproduction is just nvimgcodec. Just trying to decode jpeg images. Every time I just get the message
[ERROR] [nvimgcodec] Could not create decoder
Minimum reproducible example
from nvidia import nvimgcodec paths = ['./img1.jpg', './img2.jpg'] dec = nvimgcodec.Decoder() dec.read(paths)
Environment details
Click here to see environment details
Relevant log output
[INFO] [nvimgcodec] Registering extension nvimgcodec_builtin_parsers version:0.3.0 [INFO] [nvimgcodec] Framework is registering parser (id:bmp_parser codec:bmp) [INFO] [nvimgcodec] Codec bmp not yet registered, registering for first time [INFO] [nvimgcodec] Framework is registering parser (id:jpeg_parser codec:jpeg) [INFO] [nvimgcodec] Codec jpeg not yet registered, registering for first time [INFO] [nvimgcodec] Framework is registering parser (id:jpeg2k_parser codec:jpeg2k) [INFO] [nvimgcodec] Codec jpeg2k not yet registered, registering for first time [INFO] [nvimgcodec] Framework is registering parser (id:png_parser codec:png) [INFO] [nvimgcodec] Codec png not yet registered, registering for first time [INFO] [nvimgcodec] Framework is registering parser (id:pnm_parser codec:pnm) [INFO] [nvimgcodec] Codec pnm not yet registered, registering for first time [INFO] [nvimgcodec] Framework is registering parser (id:tiff_parser codec:tiff) [INFO] [nvimgcodec] Codec tiff not yet registered, registering for first time [INFO] [nvimgcodec] Framework is registering parser (id:webp_parser codec:webp) [INFO] [nvimgcodec] Codec webp not yet registered, registering for first time [ERROR] [nvimgcodec] Could not create decoder [WARNING] [pynvimgcodec] Something went wrong during decoding image #0 it will not be included in output [WARNING] [pynvimgcodec] Something went wrong during decoding image #1 it will not be included in output [INFO] [nvimgcodec] Unregistering extension nvimgcodec_builtin_parsers version:0.3.0 [INFO] [nvimgcodec] Framework is unregistering parser (id:bmp_parser codec:bmp) [INFO] [nvimgcodec] Framework is unregistering parser (id:jpeg_parser codec:jpeg) [INFO] [nvimgcodec] Framework is unregistering parser (id:jpeg2k_parser codec:jpeg2k) [INFO] [nvimgcodec] Framework is unregistering parser (id:png_parser codec:png) [INFO] [nvimgcodec] Framework is unregistering parser (id:pnm_parser codec:pnm) [INFO] [nvimgcodec] Framework is unregistering parser (id:tiff_parser codec:tiff) [INFO] [nvimgcodec] Framework is unregistering parser (id:webp_parser codec:webp)
Other/Misc.
Reproduced this across both H100 and 2080ti, which is what I have access to. print_env.sh doesnt gather my python packages for some reason but I was to repro with
uv run --isolated --with nvidia-nvimgcodec-cu12 minimal.py
Check for duplicates