Skip to content
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

TypeError: '>=' not supported between instances of 'str' and 'Version' (CUDA_VERSION not set) #623

Open
tokk-nv opened this issue Sep 6, 2024 · 0 comments

Comments

@tokk-nv
Copy link
Contributor

tokk-nv commented Sep 6, 2024

This is a known issue, so I'm filing this just for tracking purposes.

When you only install nvidia-container package and docker on a fresh Jetson Linux (L4T) setup, jetson-container will run into this error.

  File "/home/jetson/jetson-containers_tokknv/packages/cuda/cudnn/config.py", line 11, in <module>
    if CUDA_VERSION >= Version('12.6'):
TypeError: '>=' not supported between instances of 'str' and 'Version'

A workaround would be to set CUDA_VERSION in an environment variable, like

export CUDA_VERSION=12.4

but perhaps we may want to auto-set the expected CUDA_VERSION by default based on the L4T revision number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant