Skip to content
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 kubeflow/trainer/constants/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
INITIALIZER_ENV_ACCESS_TOKEN = "ACCESS_TOKEN"

# The default value for initializer to ignore files.
INITIALIZER_DEFAULT_IGNORE_PATTERNS = ["*.msgpack", "*.h5", "*.bin", ".pt", ".pth"]
INITIALIZER_DEFAULT_IGNORE_PATTERNS = ["*.msgpack", "*.h5", "*.bin", "*.pt", "*.pth"]

# The default path to the users' workspace.
# TODO (andreyvelich): Discuss how to keep this path is sync with pkg.initializers.constants
Expand Down
2 changes: 1 addition & 1 deletion kubeflow/trainer/types/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ class S3ModelInitializer(BaseInitializer):
Args:
storage_uri (`str`): The S3 URI for the model in the format 's3://bucket-name/path/to/model'.
ignore_patterns (`Optional[list[str]]`): List of file patterns to ignore during download.
Defaults to `['*.msgpack', '*.h5', '*.bin', '.pt', '.pth']`.
Defaults to `['*.msgpack', '*.h5', '*.bin', '*.pt', '*.pth']`.
endpoint (`Optional[str]`): Custom S3 endpoint URL.
access_key_id (`Optional[str]`): Access key for authentication.
secret_access_key (`Optional[str]`): Secret key for authentication.
Expand Down
Loading