Skip to content

add vmargs=-XX:-UseContainerSupport in config #136

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

Merged
merged 4 commits into from
Mar 16, 2023
Merged
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
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
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
vmargs=-XX:-UseContainerSupport
enable_envvars_config=true
model_store=/
default_service_handler=$$SAGEMAKER_HANDLER$$
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ passenv =
AWS_DEFAULT_REGION
commands =
coverage run --rcfile .coveragerc --source sagemaker_pytorch_serving_container -m pytest {posargs}
{env:IGNORE_COVERAGE:} coverage report --fail-under=90 --include *sagemaker_pytorch_serving_container*
{env:IGNORE_COVERAGE:} coverage report --fail-under=90

deps =
coverage
Expand Down