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 bf04936 commit 552f622Copy full SHA for 552f622
benchmarks/benchmark.py
@@ -392,8 +392,10 @@ async def benchmark_func_shared(data=data):
392
else:
393
print(f" Share_torch failed: {e}")
394
failed_tests[test_name] = str(e)[:100]
395
- elif should_test_shared:
396
- # Extension was stopped due to previous error but should have been tested
+ else:
+ # Extension is None (either not created or was stopped)
397
+ should_test_shared = torch_mode in ["both", "shared"]
398
+ if should_test_shared:
399
test_name = f"{name}_shared"
400
skipped_tests[test_name] = "Extension stopped"
401
0 commit comments