Skip to content

Conversation

@quic-dhirajku
Copy link
Contributor

No description provided.

Added tests in test_trainer which also check for model integration with trainer class created. Some of the tests can later be moved to end to end integration tests.

Signed-off-by: Dhiraj Kumar Sah <[email protected]>
Copy link
Contributor

@quic-meetkuma quic-meetkuma left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel some redundant tests can be moved to test_model.py. Rest looks fine.

@quic-swatia
Copy link
Contributor

PEFT config should be added here in the BaseTrainer class as it is part of training config. trl repo has also added it in the trainer classes. We should not deviate from that. It will make the code reuse difficult at a later stage. Please refer: https://github.com/huggingface/trl/blob/main/trl/trainer/sft_trainer.py

Please keep the flexibility to accept PEFT techniques/configuration of various kinds and not just LoRA.

@quic-swatia quic-swatia self-requested a review December 24, 2025 12:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants