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

./reinstall.sh crashes due to not being able to uninstall llvmlite #3613

Closed
itzsimpl opened this issue Feb 5, 2022 · 1 comment · Fixed by #3614
Closed

./reinstall.sh crashes due to not being able to uninstall llvmlite #3613

itzsimpl opened this issue Feb 5, 2022 · 1 comment · Fixed by #3614
Labels
bug Something isn't working

Comments

@itzsimpl
Copy link
Contributor

itzsimpl commented Feb 5, 2022

Starting off of nemo:1.5.1 container, cloning the NeMo repo to a folder inside of it and calling ./reinstall.sh fails with

ERROR: Cannot uninstall 'llvmlite'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.

pip install -e on the other hand succeeds installing nemo:1.7.0rc0 and numpy:1.22.2, the rest of the packages remain untouched.

It seems that ./reinstall.sh which used to work fine, a week or so ago when following the same procedure to upgrade to nemo:1.6.0rc redeveloped issue #841. The solution remains the same, first call

pip install --ignore-installed llvmlite

followed by ./reinstall.sh. In this case, apart llvml, the following packages are updated

ftfy-6.0.3 nemo-toolkit-1.7.0rc0 numba-0.55.1 pytorch-lightning-1.5.9 sacrebleu-2.0.0 setuptools-59.5.0

Interestingly numpy in this case is left at 1.21.5.

@Oktai15
Copy link
Contributor

Oktai15 commented Feb 8, 2022

@titu1994, please, take a look at this issue

titu1994 pushed a commit that referenced this issue Feb 8, 2022
Update/install numba if `NVIDIA_PYTORCH_VERSION` is not equal to the one in `Dockerfile`. Resolves #3613  

Signed-off-by: Iztok Lebar Bajec <[email protected]>

Co-authored-by: Oleksii Kuchaiev <[email protected]>
fayejf pushed a commit that referenced this issue Mar 2, 2022
Update/install numba if `NVIDIA_PYTORCH_VERSION` is not equal to the one in `Dockerfile`. Resolves #3613  

Signed-off-by: Iztok Lebar Bajec <[email protected]>

Co-authored-by: Oleksii Kuchaiev <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants