Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Chore] reset unnecessary args #225

Merged
merged 4 commits into from
Jan 17, 2025
Merged

[Chore] reset unnecessary args #225

merged 4 commits into from
Jan 17, 2025

Conversation

sayakpaul
Copy link
Collaborator

When training_type == "full-finetune", I think we should reset the default values of LoRA related args like lora_alpha, rank, etc. Otherwise, the logged args in the tracker might be confusing for the users.

No need to explain if this is not right, I will close the PR. Thought of directly opening a PR as it was easier and not time-consuming at all.

Example overview: https://wandb.ai/sayakpaul/finetrainers-cog/runs/t1c5jcj3/overview.

@sayakpaul sayakpaul requested a review from a-r-r-o-w January 16, 2025 05:21
@a-r-r-o-w
Copy link
Owner

I think a better solution might be to only log relevant arguments based on training type, no? Would add a utility function like get_training_info(args) and log that

@sayakpaul sayakpaul marked this pull request as draft January 16, 2025 10:30
@sayakpaul
Copy link
Collaborator Author

Will work on that and mark it ready for review when ready.

@sayakpaul
Copy link
Collaborator Author

@sayakpaul sayakpaul marked this pull request as ready for review January 16, 2025 15:06
Copy link
Owner

@a-r-r-o-w a-r-r-o-w left a comment

Choose a reason for hiding this comment

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

Awesome, thanks!

@a-r-r-o-w a-r-r-o-w merged commit 9385d7a into main Jan 17, 2025
1 check passed
@a-r-r-o-w a-r-r-o-w deleted the purge-unneeded-args branch January 17, 2025 10: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.

2 participants