We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca96001 commit 21ea112Copy full SHA for 21ea112
1 file changed
src/together/resources/finetune.py
@@ -77,6 +77,11 @@ def createFinetuneRequest(
77
from_checkpoint: str | None = None,
78
) -> FinetuneRequest:
79
80
+ if model is not None and from_checkpoint is not None:
81
+ raise ValueError(
82
+ "You must specify either a model or a checkpoint to start a job from, not both"
83
+ )
84
+
85
if batch_size == "max":
86
log_warn_once(
87
"Starting from together>=1.3.0, "
0 commit comments