Skip to content

Commit

Permalink
fix: Hardcode Legacy behavior to True to resolve warning. (foundation…
Browse files Browse the repository at this point in the history
…-model-stack#446)

* Set Legacy to True

Testing Legacy behavior set to True

Signed-off-by: Luka Dojcinovic <[email protected]>

* Changed legacy to False

Signed-off-by: Luka Dojcinovic <[email protected]>

* Set Legacy = True

We've decided to maintain the previous legacy behavior, coding it here to avoid that warning.

Signed-off-by: Luka Dojcinovic <[email protected]>

---------

Signed-off-by: Luka Dojcinovic <[email protected]>
  • Loading branch information
Luka-D authored Jan 30, 2025
1 parent 3daf5bb commit a6e4f9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tuning/sft_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,7 @@ def train(
),
cache_dir=train_args.cache_dir,
use_fast=True,
legacy=True,
)

# Calculate and save additional metrics to track later.
Expand Down

0 comments on commit a6e4f9d

Please sign in to comment.