Skip to content
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

Add UseContainerSupport flag for model-server to see all available CPUs #98

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion artifacts/config.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vmargs=-Xmx128m -XX:-UseLargePages -XX:+UseG1GC -XX:MaxMetaspaceSize=32M -XX:MaxDirectMemorySize=10m -XX:+ExitOnOutOfMemoryError
vmargs=-Xmx128m -XX:-UseLargePages -XX:+UseG1GC -XX:MaxMetaspaceSize=32M -XX:MaxDirectMemorySize=10m -XX:+ExitOnOutOfMemoryError -XX:-UseContainerSupport
model_store=/opt/ml/model
load_models=ALL
inference_address=http://0.0.0.0:8080
Expand Down
2 changes: 1 addition & 1 deletion docker/1.2.0/py2/config.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vmargs=-Xmx128m -XX:-UseLargePages -XX:+UseG1GC -XX:MaxMetaspaceSize=32M -XX:MaxDirectMemorySize=10m -XX:+ExitOnOutOfMemoryError
vmargs=-Xmx128m -XX:-UseLargePages -XX:+UseG1GC -XX:MaxMetaspaceSize=32M -XX:MaxDirectMemorySize=10m -XX:+ExitOnOutOfMemoryError -XX:-UseContainerSupport
model_store=/opt/ml/model
load_models=ALL
inference_address=http://0.0.0.0:8080
Expand Down
2 changes: 1 addition & 1 deletion docker/1.2.0/py3/config.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vmargs=-Xmx128m -XX:-UseLargePages -XX:+UseG1GC -XX:MaxMetaspaceSize=32M -XX:MaxDirectMemorySize=10m -XX:+ExitOnOutOfMemoryError
vmargs=-Xmx128m -XX:-UseLargePages -XX:+UseG1GC -XX:MaxMetaspaceSize=32M -XX:MaxDirectMemorySize=10m -XX:+ExitOnOutOfMemoryError -XX:-UseContainerSupport
model_store=/opt/ml/model
load_models=ALL
inference_address=http://0.0.0.0:8080
Expand Down
2 changes: 1 addition & 1 deletion docker/build_artifacts/config.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vmargs=-Xmx128m -XX:-UseLargePages -XX:+UseG1GC -XX:MaxMetaspaceSize=32M -XX:MaxDirectMemorySize=10m -XX:+ExitOnOutOfMemoryError
vmargs=-Xmx128m -XX:-UseLargePages -XX:+UseG1GC -XX:MaxMetaspaceSize=32M -XX:MaxDirectMemorySize=10m -XX:+ExitOnOutOfMemoryError -XX:-UseContainerSupport
model_store=/opt/ml/model
load_models=ALL
inference_address=http://0.0.0.0:8080
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Based on https://github.com/pytorch/serve/blob/master/docs/configuration.md
vmargs=-XX:-UseContainerSupport
enable_envvars_config=true
decode_input_request=false
load_models=ALL