-
Notifications
You must be signed in to change notification settings - Fork 94
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
cuda version is very old: updating to 11.4or newer to allow python installs of cuda-toolkit #94
Comments
Hi @nimzodisaster I managed to run the scripts in the newer versions with minimal changes. For more information, see the discussion at #90, and the upgraded code is in https://github.com/MGH-LEMoN/Photo-SynthSeg/tree/synthseg_tf2.15 |
Awesome, thanks! |
Correct. With the changes I made, you should able to move your work to your preferred (newer) versions of python and tensorflow (until 2.15) based on your driver version. |
Sorry for the late answer (I took some holidays), but tit sounds like @hvgazula was able to point you in the right direction! :) |
just a clarification, the commit master...MGH-LEMoN:Photo-SynthSeg:synthseg_tf2.15 Would you recommend using that requirements file rather than the one you posted in the other thread? |
The two rek files you are referring to (in the thread and the commit) are the same. |
and not just for python...but also optimized for newer versions of TF (with explicit garbage collection) |
ahh. I am having the hardest time getting those packages installed. Its always dying on tensorrt-lib not finding a compatible version (with pip).
Unfortunately, when I try to pip install that requirement file its get hung up on tensorrt and tensorrt-libsn with either an Bad Params error or a message about no compatible version available. Im using pyenv for a 3.11.0 python install. Not sure whats going on, but I've been trying this or that for several hours now with no luck. |
Hi @nimzodisaster! I am sorry you are having issues with installing the modules. It wasn't clear to me what OS you are working in. Also, I don't use
Once again, I am sorry about your experience. I shall update the README.md (in my fork) to reflect this installation step. |
@nimzodisaster I updated the requirements file as well. So, a simple |
Thanks! I've just relied on pip, pyenv, and venv, not conda. FYI: Ubuntu 24.04 Nvidia 560 open kernel No need to say sorry. You are offering help for free and version hell is just part of python |
I cloned your branch (for simplicity's sake) installed anaconda, created the conda environment, activated it, then pip installed the requirement file. And it installed! THANK YOU! In your opinion is anaconda better for data science installs than venv (virtualenv) for resolving complex dependencies? And I used pip this time, but would it have been better (generally) to use conda install? |
Hello! With my updated requirements file, I hoped you would simply run Coming to your question- when I first started in data science, I used virtualenv/venv/pyenv but it felt too cumbersome. Then anaconda came along and made life easy with the environment handling, package management, etc. and I stuck with it since then. (I could be wrong but) I also remember conflicts with Bottomline: With my current experiment using If your issue is resolved, please consider closing this. If you have issues with the updated fork, don't hesitate to open a new one (in the fork) and I will respond from there. Good luck. 👍 |
Thanks for the solid practical info. Very useful. |
The cuda version doesnt suppoort some newer gpus, ant 10.1 is not as easy to install as the newer versions of cuda which allow conda environment installs of specific cuda versions. e.g. https://anaconda.org/nvidia/cuda-toolkit
How dependent is the code onthsoe specific versions of cuda, and would upgrading the scripts require take much?
The text was updated successfully, but these errors were encountered: