llama-stack-mirror/llama_stack/providers/inline/post_training/huggingface/recipes
Nehanth Narendrula 58ffd82853
fix: Update SFTConfig parameter to fix CI and Post Training Workflow (#2948)
# What does this PR do?

- Change max_seq_length to max_length in SFTConfig constructor
- TRL deprecated max_seq_length in Feb 2024 and removed it in v0.20.0
- Reference: https://github.com/huggingface/trl/pull/2895

This resolves the SFT training failure in CI tests
2025-07-29 11:14:04 -07:00
..
__init__.py ci: add python package build test (#2457) 2025-06-19 18:57:32 +05:30
finetune_single_device.py fix: Update SFTConfig parameter to fix CI and Post Training Workflow (#2948) 2025-07-29 11:14:04 -07:00