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

The pip command install dali 0.27.0 on python-3.11-conda environment #4417

Closed
songyuc opened this issue Nov 5, 2022 · 9 comments
Closed
Assignees
Labels
question Further information is requested

Comments

@songyuc
Copy link

songyuc commented Nov 5, 2022

Hi, guys,
I am trying to install the latest dali release on my python-3.11-conda environment, and I run the pip-command in the doc.
But I found that the dali 0.27.0 had been installed as:
image

So, does dali support python 3.11 now?

Your answer and guide will be appreciated!

#4417 (comment)

@JanuszL
Copy link
Contributor

JanuszL commented Nov 7, 2022

Hi @songyuc,

I'm sorry but DALI doesn't support python 3.11 yet. Version 0.27 is installed as before 0.28 there was no proper python version specifier in the wheel manifest. It was added in 0.28 - see this line.

@JanuszL JanuszL added the question Further information is requested label Nov 7, 2022
@songyuc
Copy link
Author

songyuc commented Nov 7, 2022

Hi, @JanuszL,
Will the support of python 3.11 be added to the following visible roadmap, like [DALI 2022 roadmap]?

@JanuszL
Copy link
Contributor

JanuszL commented Nov 7, 2022

We don't plan to support python 3.11 yet. Maybe next year as an experimental feature, as just 3.10 has been widely adopted by the available frameworks.

@songyuc
Copy link
Author

songyuc commented Nov 7, 2022

Thanks sincerely for your response, and look forward to the future support🥳

@songyuc songyuc closed this as completed Nov 7, 2022
@songyuc songyuc reopened this Mar 15, 2023
@songyuc
Copy link
Author

songyuc commented Mar 15, 2023

Hi, guys!
Will the support of python 3.11 be added to the following roadmap, like [DALI 2023 roadmap]?

@JanuszL
Copy link
Contributor

JanuszL commented Mar 15, 2023

Hi @songyuc,

The latest DALI version should support python 3.11 (experimentally as we don't run full test sweep but still).

@songyuc
Copy link
Author

songyuc commented Mar 15, 2023

I tried the pip command of CUDA 11 on my Ubuntu, which has a strange behavior of downloading every historical dalis.
And here is the screenshot as
image

@JanuszL
Copy link
Contributor

JanuszL commented Mar 15, 2023

@songyuc,

I just checked on my side and it works fine:

python3.11 -m pip install --extra-index-url https://developer.download.nvidia.com/compute/redist --upgrade nvidia-dali-cuda110
Looking in indexes: https://pypi.org/simple, https://developer.download.nvidia.com/compute/redist
Collecting nvidia-dali-cuda110
  Downloading https://developer.download.nvidia.com/compute/redist/nvidia-dali-cuda110/nvidia_dali_cuda110-1.23.0-7355173-py3-none-manylinux2014_x86_64.whl (485.4 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 485.4/485.4 MB 4.5 MB/s eta 0:00:00
Collecting astunparse>=1.6.0
  Downloading astunparse-1.6.3-py2.py3-none-any.whl (12 kB)
Collecting gast<=0.4.0,>=0.2.1
  Downloading gast-0.4.0-py3-none-any.whl (9.8 kB)
Requirement already satisfied: wheel<1.0,>=0.23.0 in /usr/lib/python3/dist-packages (from astunparse>=1.6.0->nvidia-dali-cuda110) (0.37.1)
Collecting six<2.0,>=1.6.1
  Downloading six-1.16.0-py2.py3-none-any.whl (11 kB)
Installing collected packages: six, gast, astunparse, nvidia-dali-cuda110
Successfully installed astunparse-1.6.3 gast-0.4.0 nvidia-dali-cuda110-1.23.0 six-1.16.0

The way I tested it:

docker run --rm -ti ubuntu:22.10

apt update && apt install -y python3.11 wget -y && \
wget https://bootstrap.pypa.io/get-pip.py && \
python3.11 get-pip.py && \
python3.11 -m pip install --extra-index-url https://developer.download.nvidia.com/compute/redist --upgrade nvidia-dali-cuda110 && \
python3.11 -c "import nvidia.dali"

@songyuc
Copy link
Author

songyuc commented Mar 15, 2023

Thanks sincerely for your information. The issue does not appear now.

@songyuc songyuc closed this as completed Mar 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants