@@ -287,7 +287,6 @@ def run_program(
287
287
288
288
289
289
def run_single_evaluation (
290
- system : SystemInfo ,
291
290
call : list [str ],
292
291
mode : str ,
293
292
* ,
@@ -386,7 +385,6 @@ def make_system_info() -> SystemInfo: # noqa: C901
386
385
387
386
388
387
def run_cuda_script ( # # noqa: C901
389
- system : SystemInfo ,
390
388
sources : dict [str , str ],
391
389
headers : Optional [dict [str , str ]] = None ,
392
390
arch : Optional [int ] = None ,
@@ -446,7 +444,7 @@ def run_cuda_script( # # noqa: C901
446
444
if os .path .exists (f ):
447
445
os .remove (f )
448
446
449
- run_result = run_single_evaluation (system , ["./eval.out" ], ** kwargs )
447
+ run_result = run_single_evaluation (["./eval.out" ], ** kwargs )
450
448
return EvalResult (
451
449
start = start ,
452
450
end = datetime .datetime .now (),
@@ -456,7 +454,6 @@ def run_cuda_script( # # noqa: C901
456
454
457
455
458
456
def run_pytorch_script ( # noqa: C901
459
- system : SystemInfo ,
460
457
sources : dict [str , str ],
461
458
main : str ,
462
459
** kwargs ,
@@ -508,7 +505,7 @@ def run_pytorch_script( # noqa: C901
508
505
exit_code = e .returncode ,
509
506
)
510
507
511
- run = run_single_evaluation (system , ["python" , main ], ** kwargs )
508
+ run = run_single_evaluation (["python" , main ], ** kwargs )
512
509
513
510
return EvalResult (
514
511
start = start ,
@@ -573,7 +570,6 @@ def build_test_string(tests: list[dict]):
573
570
def run_config (config : dict ):
574
571
system = make_system_info ()
575
572
common_args = {
576
- "system" : system ,
577
573
"tests" : build_test_string (config .get ("tests" , [])),
578
574
"benchmarks" : build_test_string (config .get ("benchmarks" , [])),
579
575
"seed" : config .get ("seed" , None ),
0 commit comments