accelerate
Add warnings and fallback for unassigned devices in infer_auto_device_map
#3066
Merged

Add warnings and fallback for unassigned devices in infer_auto_device_map #3066

Nech-C
Nech-C feat: feat: Add warning for unassigned main devices
480d4416
muellerzr muellerzr requested a review from SunMarc SunMarc 1 year ago
BenjaminBossan
BenjaminBossan commented on 2024-09-02
Nech-C refactor: Improve warning for unassigned main devices
4f89c263
HuggingFaceDocBuilderDev
BenjaminBossan
BenjaminBossan commented on 2024-09-03
Nech-C feat: impl fallback_allocate; fix output format
aefd770f
Nech-C fix: include last dot index in the iteration
dc6641c5
Nech-C feat: incorporate fallback allocation into infer_auto_device_map
d607bfb5
Nech-C Revert "feat: incorporate fallback allocation into infer_auto_device_…
f0403027
Nech-C refactor: add helper functions and eliminate redundant variables
9db401e7
Nech-C refactor: simplify allocation logic by removing duplicates and reduci…
0b52bdcf
Nech-C feat: incorporate fallback allocation into infer_auto_device_map
7ff9f267
Nech-C fix: fix module splitting logic
be385b08
Nech-C Nech-C marked this pull request as ready for review 1 year ago
muellerzr muellerzr requested a review from BenjaminBossan BenjaminBossan 1 year ago
Nech-C styles: fix styling errors
c6025ee9
BenjaminBossan
BenjaminBossan commented on 2024-10-14
Nech-C test: add test coverage for no-warning cases
a35776cc
Nech-C refactor: simplify control flow in infer_auto_device_map
73dbc768
Nech-C
BenjaminBossan
BenjaminBossan approved these changes on 2024-10-15
muellerzr
muellerzr approved these changes on 2024-10-15
SunMarc
SunMarc commented on 2024-10-15
Nech-C
SunMarc
Nech-C
SunMarc
Nech-C
SunMarc
SunMarc approved these changes on 2024-11-05
Nech-C refactor: replace warnings.warn with logger.info for allocation failures
5a72010d
Nech-C
SunMarc
SunMarc approved these changes on 2024-11-18
Nech-C fix: use assertLogs to capture no allocation warning messages correctly
c25383a6
muellerzr muellerzr merged d7b1b368 into main 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone