-
Notifications
You must be signed in to change notification settings - Fork 26
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
chore(runner): remove duplicate pynvml dep #319
base: main
Are you sure you want to change the base?
Conversation
fa47156
to
0b1fb07
Compare
This commit removes the duplicate pynvml dependency.
0b1fb07
to
2ff0f77
Compare
@@ -35,14 +35,14 @@ RUN cd /comfyui/custom_nodes && \ | |||
cd ComfyUI-Misc-Effects && \ | |||
git checkout c6b360c78611134c3723388170475eb4898ff6b7 | |||
|
|||
RUN pip install torch==2.5.1 torchvision torchaudio tqdm nvidia-ml-py==12.560.30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@leszko The only scenario where hardcoding this in the Dockerfile seems necessary is when a dependency chain installs an incorrect version of nvidia-ml-py
before the requirements.txt
file is processed. If this is the case we should remove it from the requirements so that we don't have two definitions that can conflict. Can you check that it works without hardcoding it in the docker?
@victorges this was a part duplicate of #323. Maybe we can add the comment so engineers know that the library is already included under a different name. |
@rickstaa hmmm that's super weird then, do you have an idea why were we getting errors when importing pynvml on some images like liveportrait? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As stated by @mjh1 this breaks the streamdiffusion + TRT runtime.
This pull request removes the duplicate pynvml dependency.