We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d668a14 commit 3a6e5c1Copy full SHA for 3a6e5c1
ads/aqua/finetuning/finetuning.py
@@ -150,6 +150,15 @@ def create(
150
f"Logging is required for fine tuning if replica is larger than {DEFAULT_FT_REPLICA}."
151
)
152
153
+ if create_fine_tuning_details.watch_logs and not (
154
+ create_fine_tuning_details.log_id
155
+ and create_fine_tuning_details.log_group_id
156
+ ):
157
+ raise AquaValueError(
158
+ "Logging is required for fine tuning if watch_logs is set to True. "
159
+ "Please provide log_id and log_group_id with the request parameters."
160
+ )
161
+
162
ft_parameters = self._get_finetuning_params(
163
create_fine_tuning_details.ft_parameters
164
0 commit comments