We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
SageMaker local execution allows users to configure the Docker containers using a local file under $HOME/.sagemaker/config.yaml. See https://aws.amazon.com/blogs/machine-learning/configure-and-use-defaults-for-amazon-sagemaker-resources-with-the-sagemaker-python-sdk/ for details
$HOME/.sagemaker/config.yaml
An example file can be:
local: local_code: true # Using everything locally region_name: "us-east-1" # Name of the region container_config: # Additional docker container config shm_size: "58G" environment: - AWS_REGION: "us-east-1"
when creating a local session this configuration is saved as a dict in a config parameter:
config
from sagemaker.workflow.pipeline_context import LocalPipelineSession local_session = LocalPipelineSession() config_dict = local_session.config
However in execute_pipeline.py we override this config to set the shm size for the container:
graphstorm/sagemaker/pipeline/execute_sm_pipeline.py
Lines 164 to 172 in a145677
What we should be doing instead is only update the shm_size if it's not already configured.
shm_size
The text was updated successfully, but these errors were encountered:
No branches or pull requests
SageMaker local execution allows users to configure the Docker containers using a local file under
$HOME/.sagemaker/config.yaml
. See https://aws.amazon.com/blogs/machine-learning/configure-and-use-defaults-for-amazon-sagemaker-resources-with-the-sagemaker-python-sdk/ for detailsAn example file can be:
when creating a local session this configuration is saved as a dict in a
config
parameter:However in execute_pipeline.py we override this config to set the shm size for the container:
graphstorm/sagemaker/pipeline/execute_sm_pipeline.py
Lines 164 to 172 in a145677
What we should be doing instead is only update the
shm_size
if it's not already configured.The text was updated successfully, but these errors were encountered: