Record CUDA benchmark diagnostics
This commit is contained in:
@@ -14,6 +14,6 @@ def _stub_benchmark_throughput(monkeypatch):
|
||||
"""
|
||||
try:
|
||||
import meshnet_node.startup as startup_mod
|
||||
monkeypatch.setattr(startup_mod, "benchmark_throughput", lambda _device: 999.0)
|
||||
monkeypatch.setattr(startup_mod, "benchmark_throughput_checked", lambda _device: (999.0, True, None))
|
||||
except ImportError:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user