We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aede737 commit 17a9744Copy full SHA for 17a9744
1 file changed
src/together/resources/finetune.py
@@ -2,7 +2,7 @@
2
3
import re
4
from pathlib import Path
5
-from typing import List, Dict, Literal, Union
+from typing import List, Dict, Literal
6
7
from rich import print as rprint
8
@@ -545,9 +545,7 @@ def download(
545
*,
546
output: Path | str | None = None,
547
checkpoint_step: int | None = None,
548
- checkpoint_type: Union[
549
- DownloadCheckpointType, str
550
- ] = DownloadCheckpointType.DEFAULT,
+ checkpoint_type: DownloadCheckpointType | str = DownloadCheckpointType.DEFAULT,
551
) -> FinetuneDownloadResult:
552
"""
553
Downloads compressed fine-tuned model or checkpoint to local disk.
0 commit comments