Skip to content

BUG: Fix typo in xinference/deploy/docker/Dockerfile.cu128#4350

Merged
qinxuye merged 1 commit intoxorbitsai:mainfrom
hubutui:main
Dec 10, 2025
Merged

BUG: Fix typo in xinference/deploy/docker/Dockerfile.cu128#4350
qinxuye merged 1 commit intoxorbitsai:mainfrom
hubutui:main

Conversation

@hubutui
Copy link
Copy Markdown
Contributor

@hubutui hubutui commented Dec 10, 2025

fix LD_LIBRARY_PATH typo.

Signed-off-by: Hu Butui <hot123tea123@gmail.com>
@XprobeBot XprobeBot added the bug Something isn't working label Dec 10, 2025
@XprobeBot XprobeBot added this to the v1.x milestone Dec 10, 2025
@qinxuye
Copy link
Copy Markdown
Contributor

qinxuye commented Dec 10, 2025

You seemed remove some path for LD_LIBRARY_PATH, why did you remove them?

@hubutui
Copy link
Copy Markdown
Contributor Author

hubutui commented Dec 10, 2025

I just follow

ENV LD_LIBRARY_PATH $LD_LIBRARY_PATH:/usr/local/lib/python3.10/dist-packages/nvidia/cublas/lib

Do we need to add /usr/local/lib/python3.12/dist-packages/torch/lib to LD_LIBRARY_PATH?

@qinxuye
Copy link
Copy Markdown
Contributor

qinxuye commented Dec 10, 2025

I need to confirm why this added for cu128, should be for some purpose.

@zwt-1234 please take a look at it.

@qinxuye
Copy link
Copy Markdown
Contributor

qinxuye commented Dec 10, 2025

Did you encounter any problem?

I just want to know other than refer to dockerfile, what issue did you find?

@hubutui
Copy link
Copy Markdown
Contributor Author

hubutui commented Dec 10, 2025

nothing. without this change, in the container:

echo $LD_LIBRARY_PATH 
/usr/local/cuda/lib64:/usr/local/lib/python3.10/dist-packages/nvidia/cublas/lib:LD_LIBRARY_PATH=/usr/local/lib/python3.12/dist-packages/torch/lib:/usr/local/cuda/lib64

/usr/local/lib/python3.12/dist-packages/torch/lib is not added to LD_LIBRARY_PATH.

@qinxuye
Copy link
Copy Markdown
Contributor

qinxuye commented Dec 10, 2025

Oh, you are right, the $LD_LIBRARY_PATH is wrong and actually takes no effect.

@zwt-1234
Copy link
Copy Markdown
Collaborator

没有这个改动,容器里什么都没有:

echo $LD_LIBRARY_PATH 
/usr/local/cuda/lib64:/usr/local/lib/python3.10/dist-packages/nvidia/cublas/lib:LD_LIBRARY_PATH=/usr/local/lib/python3.12/dist-packages/torch/lib:/usr/local/cuda/lib64

/usr/local/lib/python3.12/dist-packages/torch/lib未添加到LD_LIBRARY_PATH

是有因为这个配置遇到什么报错问题嘛

Copy link
Copy Markdown
Contributor

@qinxuye qinxuye left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@qinxuye
Copy link
Copy Markdown
Contributor

qinxuye commented Dec 10, 2025

I think you are right, approved.

@qinxuye qinxuye merged commit fde6964 into xorbitsai:main Dec 10, 2025
3 checks passed
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 this pull request may close these issues.

4 participants