accelerate
Refactor PartialState and AcceleratorState
#2576
Merged

Refactor PartialState and AcceleratorState #2576

muellerzr merged 30 commits into main from refactor-state
muellerzr
muellerzr muellerzr requested a review from BenjaminBossan BenjaminBossan 2 years ago
muellerzr muellerzr requested a review from pacman100 pacman100 2 years ago
muellerzr muellerzr changed the title Refactor AcceleratorState Refactor PartialState and AcceleratorState 2 years ago
HuggingFaceDocBuilderDev
muellerzr muellerzr closed this 2 years ago
muellerzr muellerzr reopened this 2 years ago
BenjaminBossan
BenjaminBossan approved these changes on 2024-03-22
muellerzr Refactor AcceleratorState
a50b0d91
muellerzr Should be near complete now
ff628be7
muellerzr Last missing piece
a1aac83c
muellerzr Make my way to the acceleratorstate
31ea8cc5
muellerzr Include update to global var
47b60ca6
muellerzr Don't use global
2082a9a2
muellerzr gpu -> cuda
26c484e2
muellerzr Don't use update for dict, easier to read
5ac5d566
muellerzr Fix tests
2baa5c3b
muellerzr stash
d709f666
muellerzr Getting closer...
ac243159
muellerzr Needed to spawn at the very end after env was setup
16288982
muellerzr muellerzr force pushed from 13331cc4 to 16288982 2 years ago
muellerzr Explain set_device before deepspeed
6958e1bb
muellerzr Make docstring more accurate
2b9d339c
muellerzr Early return insteaD
194db939
muellerzr Delineat blocks
31201d3d
muellerzr Make prepare_backend return state + backend for clarity/less magic
eef1aa0b
huismiling
huismiling commented on 2024-03-25
muellerzr Check if it's None and then return
56c1f9fd
muellerzr Use a dataclass
61f51930
muellerzr Forgot one
4e6a021c
muellerzr Clean
6fa72cd5
faaany
muellerzr Merge branch 'main' into refactor-state
3c995ea4
muellerzr Style
7e25b083
muellerzr Docstring fix?
ea460565
muellerzr Fix deepspeed
1dff3848
muellerzr Move slighly
28939b1e
muellerzr Final fix
50415e23
muellerzr
muellerzr Fix state for deepspeed
fd306cfa
muellerzr
muellerzr rm comment
0a7667df
pacman100
pacman100 approved these changes on 2024-04-01
muellerzr Merge branch 'main' into refactor-state
8cfc04e7
muellerzr muellerzr merged 11568e56 into main 2 years ago
muellerzr muellerzr deleted the refactor-state branch 2 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone