File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -160,8 +160,9 @@ def __init__(
160
160
161
161
.. note::
162
162
163
- When you use this PyTorch XLA option for distributed training strategy, you must add the
164
- ``compiler_config`` parameter and activate SageMaker Training Compiler.
163
+ When you use this PyTorch XLA option for distributed training strategy,
164
+ you must add the ``compiler_config`` parameter and activate SageMaker
165
+ Training Compiler.
165
166
compiler_config (:class:`~sagemaker.huggingface.TrainingCompilerConfig`):
166
167
Configures SageMaker Training Compiler to accelerate training.
167
168
Original file line number Diff line number Diff line change @@ -143,7 +143,10 @@ def validate(
143
143
for i in cls .SUPPORTED_INSTANCE_CLASS_PREFIXES
144
144
]
145
145
):
146
- error_helper_string = "Unsupported Instance class {}. SageMaker Training Compiler only supports {}"
146
+ error_helper_string = (
147
+ "Unsupported Instance class {}."
148
+ "SageMaker Training Compiler only supports {}"
149
+ )
147
150
error_helper_string = error_helper_string .format (
148
151
requested_instance_class , cls .SUPPORTED_INSTANCE_CLASS_PREFIXES
149
152
)
You can’t perform that action at this time.
0 commit comments