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

pass "lazy_mode" arg to GaudiLlamaModel GaudiTrainer #1515

Merged
merged 1 commit into from
Nov 26, 2024

Conversation

astachowiczhabana
Copy link
Contributor

Problem: TrainingArgs.use_lazy_mode is not used by GaudiLlamaModel

Cause: lazy_mode argument was not passed by GaudiTrainer

Solution: Added missing argument to inputs in
GaudiTrainer._inner_training_loop

@astachowiczhabana
Copy link
Contributor Author

Hi @libinta this commit is also required with next OH release

@jiminha jiminha changed the title [SW-198498] pass "lazy_mode" arg to GaudiLlamaModel GaudiTrainer pass "lazy_mode" arg to GaudiLlamaModel GaudiTrainer Nov 25, 2024
@jiminha jiminha added the run-test Run CI for PRs from external contributors label Nov 25, 2024
Copy link

The code quality check failed, please run make style.

@regisss
Copy link
Collaborator

regisss commented Nov 25, 2024

@astachowiczhabana Please rebase your branch on main and run make style to make the code quality check pass

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Problem: TrainingArgs.use_lazy_mode is not used by GaudiLlamaModel

Cause: lazy_mode argument was not passed by GaudiTrainer

Solution: Added missing argument to inputs in
   GaudiTrainer._inner_training_loop

Change-Id: I956023956af3d7962b24be53ec74d20e6bb56bd6
@regisss regisss merged commit c6c2d6d into huggingface:main Nov 26, 2024
3 of 4 checks passed
MohitIntel pushed a commit that referenced this pull request Nov 26, 2024
Liangyx2 pushed a commit to HabanaAI/optimum-habana-fork that referenced this pull request Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run-test Run CI for PRs from external contributors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants