File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 66from tabulate import tabulate
77
88from 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
1010
1111
1212@click .group (name = "fine-tuning" )
@@ -99,6 +99,11 @@ def create(
9999
100100 click .echo (json .dumps (response .model_dump (exclude_none = True ), indent = 4 ))
101101
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+
102107
103108@fine_tuning .command ()
104109@click .pass_context
Original file line number Diff line number Diff line change 1717 TogetherRequest ,
1818 TrainingType ,
1919)
20- from together .utils import normalize_key
20+ from together .utils import log_warn , normalize_key
2121
2222
2323class FineTuning :
@@ -103,6 +103,11 @@ def create(
103103
104104 assert isinstance (response , TogetherResponse )
105105
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+
106111 return FinetuneResponse (** response .data )
107112
108113 def list (self ) -> FinetuneList :
You can’t perform that action at this time.
0 commit comments