-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Error when deploying to Sagemaker starting from release 0.3.0 #3212
Comments
miko7879
changed the title
Error when deploying to Sagemaker
Error when deploying to Sagemaker starting from release 0.3.0
Mar 5, 2024
This might be fixed by #3176 |
I believe this will be resolved by #2961 |
I got the same error. |
same error, even the 8.8.8.8 is unreachable in my env. |
Confirmed that this issue is fixed starting 0.4.0. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since release 0.3.0 we have been unable to deploy vLLM containers to Sagemaker. It has to do with the
get_ip()
function call inutils.py
. In release 0.3.0 we got an OS error, and with 0.3.3 we are getting the following:socket.gaierror: [Errno -2] Name or service not known
, when making the following call:s.connect(("dns.google", 80))
. Could you please add something to make theget_ip()
function fall back to what was there in release0.2.7
if all else fails?For reference, here is the function call in
0.2.7
: https://github.com/vllm-project/vllm/blob/v0.2.7/vllm/utils.py#L60In
0.3.0
it was changed to the following, and stopped working on Sagemaker: https://github.com/vllm-project/vllm/blob/v0.3.0/vllm/utils.py#L164It is now as follows: https://github.com/vllm-project/vllm/blob/v0.3.3/vllm/utils.py#L172
The text was updated successfully, but these errors were encountered: