Skip to content
This repository has been archived by the owner on Mar 12, 2021. It is now read-only.

Warn about missing libraries. #381

Merged
merged 2 commits into from
Aug 20, 2019
Merged

Warn about missing libraries. #381

merged 2 commits into from
Aug 20, 2019

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Jul 25, 2019

A warning seems annoying, but I don't think we can leave this one out (cc @MikeInnes, you've been vocal about such warnings).

@maleadt
Copy link
Member Author

maleadt commented Jul 25, 2019

Or maybe the warning should only trigger when importing the submodule?

@MikeInnes
Copy link
Collaborator

MikeInnes commented Jul 25, 2019

These generally come with CUDA anyway, right? In which case it seems fine.

The one annoying one might be CUDNN, where the warning might be annoying for people who don't need it. But I'm not sure where else we'd put that. (Maybe the first time you do a GPU convolution or something?) Not a blocker in any case.

@maleadt
Copy link
Member Author

maleadt commented Jul 25, 2019

These generally come with CUDA anyway, right? In which case it seems fine.

No, this is only for CUDNN (and soon CUTENSOR); i.e. the ones that are optional. I'll have a look at trying to put it in the module import.

@maleadt maleadt merged commit 2a87793 into master Aug 20, 2019
@bors bors bot deleted the tb/warn_missing branch August 20, 2019 10:14
@maleadt maleadt mentioned this pull request Aug 22, 2019
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.

2 participants