From 925a95e29bc078d32566add4cf98fbdca6fe902c Mon Sep 17 00:00:00 2001 From: pintaoz Date: Sun, 9 Feb 2025 23:42:15 -0800 Subject: [PATCH] Fix documentation for local mode --- doc/overview.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/overview.rst b/doc/overview.rst index a6267f6fd6..77e6bd0c3b 100644 --- a/doc/overview.rst +++ b/doc/overview.rst @@ -1958,7 +1958,7 @@ Make sure to have a Compose Version compatible with your Docker Engine installat Local mode configuration ======================== -The local mode uses a YAML configuration file located at ``~/.sagemaker/config.yaml`` to define the default values that are automatically passed to the ``config`` attribute of ``LocalSession``. This is an example of the configuration, for the full schema, see `sagemaker.config.config_schema.SAGEMAKER_PYTHON_SDK_LOCAL_MODE_CONFIG_SCHEMA `_. +The local mode uses a YAML configuration file located at ``${user_config_directory}/sagemaker/config.yaml`` to define the default values that are automatically passed to the ``config`` attribute of ``LocalSession``. This is an example of the configuration, for the full schema, see `sagemaker.config.config_schema.SAGEMAKER_PYTHON_SDK_LOCAL_MODE_CONFIG_SCHEMA `_. .. code:: yaml @@ -1966,7 +1966,7 @@ The local mode uses a YAML configuration file located at ``~/.sagemaker/config.y local_code: true # Using everything locally region_name: "us-west-2" # Name of the region container_config: # Additional docker container config - shm_size: "128M + shm_size: "128M" If you want to keep everything local, and not use Amazon S3 either, you can enable "local code" in one of two ways: