-
Notifications
You must be signed in to change notification settings - Fork 86
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
JVM detect the CPU count as 1 when more CPUs are available for the container. #82
Comments
@amaharek We had the same issue and fixed with this TOOLKIT_PATH= Add the following to the Dockerfile and build a new image based on the above Single-modelRUN echo "vmargs=-XX:-UseContainerSupport" >> $TOOLKIT_PATH/etc/default-mms.properties Multi-modelRUN echo "vmargs=-XX:-UseContainerSupport" >> $TOOLKIT_PATH/etc/mme-mms.properties About
|
PR 83 has been merged |
Describe the bug
This issue is related to the issue aws/sagemaker-python-sdk#1275
JVM detect the CPU count as 1 when more CPUs are available for the container.
To reproduce
Number of CPUs: 1
Expected behavior
The CPU count from CloudWatch should match the CPU count for the used instance. For example,
4
if the instance isml.m4.xlarge
System information
Container: pytorch-inference:1.5-gpu-py3
SageMaker inference v1.1.2
The text was updated successfully, but these errors were encountered: