accelerate
Use device as context manager for init_on_device
#1826
Merged

Use device as context manager for init_on_device #1826

shingjan
HuggingFaceDocBuilderDev
shingjan shingjan force pushed from 2b414f8c to c16b9920 2 years ago
shingjan shingjan force pushed from c16b9920 to b488347f 2 years ago
shingjan shingjan force pushed from b488347f to ece578c2 2 years ago
sgugger
sgugger commented on 2023-08-09
BenjaminBossan
BenjaminBossan commented on 2023-08-09
shingjan shingjan force pushed from ece578c2 to c6d746dc 2 years ago
shingjan shingjan force pushed from c6d746dc to 38f49b45 2 years ago
shingjan shingjan force pushed from 38f49b45 to 4afad012 2 years ago
shingjan shingjan force pushed from 4afad012 to 7237f9a3 2 years ago
shingjan shingjan requested a review from BenjaminBossan BenjaminBossan 2 years ago
shingjan shingjan requested a review from sgugger sgugger 2 years ago
shingjan
use device as context manager for init_on_device
32c3dbb7
shingjan shingjan force pushed from 7237f9a3 to 32c3dbb7 2 years ago
sgugger
sgugger
sgugger approved these changes on 2023-08-10
sgugger sgugger merged 058a3546 into main 2 years ago
shingjan
shingjan shingjan deleted the shingjan/use_device branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone