We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 092caad commit 742faa4Copy full SHA for 742faa4
kernel_tuner/observers/ncu.py
@@ -25,7 +25,7 @@ class NCUObserver(PrologueObserver):
25
26
def __init__(self, metrics=None, device=0):
27
if not nvmetrics:
28
- raise Exception("NCUObserver is not available.")
+ raise ImportError("could not import nvmetrics")
29
30
self.metrics = metrics
31
self.device = device
0 commit comments