File tree 2 files changed +12
-2
lines changed
2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 6
6
from tabulate import tabulate
7
7
8
8
from together import Together
9
- from together .utils import finetune_price_to_dollars , parse_timestamp
9
+ from together .utils import finetune_price_to_dollars , log_warn , parse_timestamp
10
10
11
11
12
12
@click .group (name = "fine-tuning" )
@@ -99,6 +99,11 @@ def create(
99
99
100
100
click .echo (json .dumps (response .model_dump (exclude_none = True ), indent = 4 ))
101
101
102
+ # TODO: Remove it after the 21st of August
103
+ log_warn (
104
+ "The default value of batch size has been changed from 32 to 16 since together version >= 1.2.6"
105
+ )
106
+
102
107
103
108
@fine_tuning .command ()
104
109
@click .pass_context
Original file line number Diff line number Diff line change 17
17
TogetherRequest ,
18
18
TrainingType ,
19
19
)
20
- from together .utils import normalize_key
20
+ from together .utils import log_warn , normalize_key
21
21
22
22
23
23
class FineTuning :
@@ -103,6 +103,11 @@ def create(
103
103
104
104
assert isinstance (response , TogetherResponse )
105
105
106
+ # TODO: Remove it after the 21st of August
107
+ log_warn (
108
+ "The default value of batch size has been changed from 32 to 16 since together version >= 1.2.6"
109
+ )
110
+
106
111
return FinetuneResponse (** response .data )
107
112
108
113
def list (self ) -> FinetuneList :
You can’t perform that action at this time.
0 commit comments