Skip to content
This repository has been archived by the owner on Dec 16, 2022. It is now read-only.

Remove spurious error message "'torch.cuda' has no attribute '_check_driver'" #5522

Merged
merged 3 commits into from
Dec 24, 2021

Conversation

epwalsh
Copy link
Member

@epwalsh epwalsh commented Dec 21, 2021

It seems the _check_driver function was removed or renamed at some point. Let's not rely on PyTorch internal functions in the future.

This came up in https://github.com/allenai/beaker-service/issues/1837.

@epwalsh epwalsh self-assigned this Dec 23, 2021
@epwalsh epwalsh merged commit 71f2d79 into main Dec 24, 2021
@epwalsh epwalsh deleted the fix-check-for-gpu branch December 24, 2021 00:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant