accelerate
[FIX] allow `Accelerator` to prepare models in eval mode for XPU&CPU
#2426
Merged

[FIX] allow `Accelerator` to prepare models in eval mode for XPU&CPU #2426

muellerzr merged 1 commit into huggingface:main from faaany:example
faaany
faaany bug fix
5c00c6d3
faaany
faaany faaany changed the title [FIX] enable nlp_example.py to run on XPU for both single and distributed modes [FIX] allow `accelerator.prepare` to work for models in eval mode on XPU (single&distributed) 2 years ago
faaany faaany changed the title [FIX] allow `accelerator.prepare` to work for models in eval mode on XPU (single&distributed) [FIX] allow `Accelerator` to prepare models in eval mode for XPU&CPU 2 years ago
HuggingFaceDocBuilderDev
muellerzr
muellerzr approved these changes on 2024-02-09
muellerzr muellerzr merged 9c1d5bac into main 2 years ago
faaany faaany deleted the example branch 1 year ago

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone