Skip to content

Commit

Permalink
doc: changed EFS directory path instructions in documentation and Doc…
Browse files Browse the repository at this point in the history
…strings (#996)
  • Loading branch information
caxiaohu authored and knakad committed Aug 23, 2019
1 parent a73e4ae commit fa79418
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions doc/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ Here are examples of how to use Amazon EFS as input for training:
file_system_input = FileSystemInput(file_system_id='fs-1',
file_system_type='EFS',
directory_path='tensorflow',
directory_path='/tensorflow',
file_system_access_mode='ro')
# Start an Amazon SageMaker training job with EFS using the FileSystemInput class
Expand All @@ -347,7 +347,7 @@ Here are examples of how to use Amazon EFS as input for training:
records = FileSystemRecordSet(file_system_id='fs-1,
file_system_type='EFS',
directory_path='kmeans',
directory_path='/kmeans',
num_records=784,
feature_dim=784)
Expand All @@ -372,7 +372,7 @@ Here are examples of how to use Amazon FSx for Lustre as input for training:
file_system_input = FileSystemInput(file_system_id='fs-2',
file_system_type='FSxLustre',
directory_path='tensorflow',
directory_path='/fsx/tensorflow',
file_system_access_mode='ro')
# Start an Amazon SageMaker training job with FSx using the FileSystemInput class
Expand All @@ -392,7 +392,7 @@ Here are examples of how to use Amazon FSx for Lustre as input for training:
records = FileSystemRecordSet(file_system_id='fs-=2,
file_system_type='FSxLustre',
directory_path='kmeans',
directory_path='/fsx/kmeans',
num_records=784,
feature_dim=784)
Expand Down
2 changes: 1 addition & 1 deletion src/sagemaker/amazon/amazon_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ def __init__(
file_system_id (str): An Amazon file system ID starting with 'fs-'.
file_system_type (str): The type of file system used for the input.
Valid values: 'EFS', 'FSxLustre'.
directory_path (str): Relative path to the root directory (mount point) in
directory_path (str): Absolute or normalized path to the root directory (mount point) in
the file system. Reference:
https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html and
https://docs.aws.amazon.com/efs/latest/ug/wt1-test.html
Expand Down
2 changes: 1 addition & 1 deletion src/sagemaker/inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def __init__(
file_system_id (str): An Amazon file system ID starting with 'fs-'.
file_system_type (str): The type of file system used for the input.
Valid values: 'EFS', 'FSxLustre'.
directory_path (str): Relative path to the root directory (mount point) in
directory_path (str): Absolute or normalized path to the root directory (mount point) in
the file system.
Reference: https://docs.aws.amazon.com/efs/latest/ug/mounting-fs.html and
https://docs.aws.amazon.com/fsx/latest/LustreGuide/mount-fs-auto-mount-onreboot.html
Expand Down

0 comments on commit fa79418

Please sign in to comment.