Skip to content

JVM detect the CPU count as 1 when more CPUs are available for the container.  #82

Closed
@amaharek

Description

@amaharek

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

  1. Clone the SaeMaker example
  2. Deploy the model using the same endpoint.
  3. Check CloudWatch logs and the number of CPU cores detected will be like 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 is ml.m4.xlarge

System information
Container: pytorch-inference:1.5-gpu-py3
SageMaker inference v1.1.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions