Skip to content

Commit b6e75d0

Browse files
author
Yue Tu
committed
merge with master
1 parent 0c5e32b commit b6e75d0

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/sagemaker/estimator.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -780,7 +780,7 @@ class Framework(EstimatorBase):
780780

781781
def __init__(self, entry_point, source_dir=None, hyperparameters=None, enable_cloudwatch_metrics=False,
782782
container_log_level=logging.INFO, code_location=None, image_name=None, dependencies=None,
783-
enable_network_isolation=False, **kwargs):
783+
enable_network_isolation=False, git_config=False, **kwargs):
784784
"""Base class initializer. Subclasses which override ``__init__`` should invoke ``super()``
785785
786786
Args:
@@ -814,7 +814,6 @@ def __init__(self, entry_point, source_dir=None, hyperparameters=None, enable_cl
814814
the specified commit.
815815
source_dir (str): Path (absolute or relative) to a directory with any other training
816816
source code dependencies aside from the entry point file (default: None). Structure within this
817-
<<<<<<< HEAD
818817
directory are preserved when training on Amazon SageMaker. If 'git_config' is provided,
819818
source_dir should be a relative location to a directory in the Git repo.
820819
Example:
@@ -828,8 +827,6 @@ def __init__(self, entry_point, source_dir=None, hyperparameters=None, enable_cl
828827
829828
and you need 'train.py' as entry point and 'test.py' as training source code as well, you can
830829
assign entry_point='train.py', source_dir='src'.
831-
=======
832-
directory are preserved when training on Amazon SageMaker.
833830
hyperparameters (dict): Hyperparameters that will be used for training (default: None).
834831
The hyperparameters are made accessible as a dict[str, str] to the training code on SageMaker.
835832
For convenience, this accepts other types for keys and values, but ``str()`` will be called
@@ -845,7 +842,6 @@ def __init__(self, entry_point, source_dir=None, hyperparameters=None, enable_cl
845842
image_name (str): An alternate image name to use instead of the official Sagemaker image
846843
for the framework. This is useful to run one of the Sagemaker supported frameworks
847844
with an image containing custom dependencies.
848-
>>>>>>> f1d34ad4073f8d856ef9c596b491f8a4cd8ef31f
849845
dependencies (list[str]): A list of paths to directories (absolute or relative) with
850846
any additional libraries that will be exported to the container (default: []).
851847
The library folders will be copied to SageMaker in the same folder where the entrypoint is copied.

0 commit comments

Comments
 (0)