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

training UX: automatic generating make_train_step #8495

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Conversation

qihqi
Copy link
Collaborator

@qihqi qihqi commented Dec 17, 2024

This PR create a function that can generate a train_step function based on model and optimizer.

It also introduces a class that can wrap Module List into a Scan loop.

Then it changes the examples/train_llama_titan to show case usages of those 2 new tools.

@qihqi qihqi force-pushed the hanq_train branch 2 times, most recently from 7ebd346 to 0769c21 Compare December 18, 2024 20:05
@qihqi qihqi requested a review from tengyifei December 21, 2024 00:07
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.

1 participant