transformers
fix(testing_utils): guard get_device_capability with torch.cuda.is_available()
#45351
Merged

fix(testing_utils): guard get_device_capability with torch.cuda.is_available() #45351

RudrenduPaul
RudrenduPaul fix(testing_utils): guard get_device_capability with torch.cuda.is_av…
891c722e
RudrenduPaul Merge branch 'main' into fix/testing-utils-cuda-available-check
27f33222
RudrenduPaul Merge branch 'main' into fix/testing-utils-cuda-available-check
186ee03c
Rocketknight1
RudrenduPaul
remi-or
remi-or approved these changes on 2026-04-13
remi-or Merge branch 'main' into fix/testing-utils-cuda-available-check
c12cdf94
MHRDYN7
remi-or
remi-or remi-or requested a review from remi-or remi-or 64 days ago
RudrenduPaul Merge branch 'main' into fix/testing-utils-cuda-available-check
8a7ed09c
RudrenduPaul refactor: restructure CUDA/XPU fallback per review — use separate if …
bfa02487
remi-or
remi-or commented on 2026-04-16
RudrenduPaul
RudrenduPaul
remi-or
RudrenduPaul fix: add TODO for NPU is_available guard per remi-or review
1ec67a88
RudrenduPaul
remi-or Merge branch 'main' into fix/testing-utils-cuda-available-check
176e0ff1
HuggingFaceDocBuilderDev
remi-or remi-or merged 1ee03164 into main 37 days ago
MHRDYN7
remi-or

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone