Skip to content

Commit e14954e

Browse files
remove finetuning validation
1 parent 1d69c7d commit e14954e

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

ads/aqua/finetuning/finetuning.py

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,13 @@ def create(
109109
)
110110

111111
source = self.get_source(create_fine_tuning_details.ft_source_id)
112-
if source.compartment_id != ODSC_MODEL_COMPARTMENT_OCID:
113-
raise AquaValueError(
114-
f"Fine tuning is only supported for Aqua service models in {ODSC_MODEL_COMPARTMENT_OCID}. "
115-
"Use a valid Aqua service model id instead."
116-
)
112+
113+
# todo: revisit validation for fine tuned models
114+
# if source.compartment_id != ODSC_MODEL_COMPARTMENT_OCID:
115+
# raise AquaValueError(
116+
# f"Fine tuning is only supported for Aqua service models in {ODSC_MODEL_COMPARTMENT_OCID}. "
117+
# "Use a valid Aqua service model id instead."
118+
# )
117119

118120
target_compartment = (
119121
create_fine_tuning_details.compartment_id or COMPARTMENT_OCID

0 commit comments

Comments
 (0)