force selected pipeline stages in throughput mode
Validate Operations / validate-operations (push) Has been cancelled
Validate Operations / validate-operations (push) Has been cancelled
increase throughput scheduler budget add experimental throughput auto mode
This commit is contained in:
@@ -161,14 +161,14 @@ def run_functional(artifact, inputs, references, outputs, out, policy, seed, rea
|
||||
command = [str(sync.RUST_BINARY), "--folder", str(artifact),
|
||||
"--output", str(out / "output.bin"), "--dump",
|
||||
sync.compare.build_dump_ranges(artifact / "config.json", outputs),
|
||||
"--mode", "throughput", "--batch-size", "8", "--input-dir", str(inputs[0].parent),
|
||||
"--mode", "throughput", "--batch-size", str(len(inputs)), "--input-dir", str(inputs[0].parent),
|
||||
"--batch-output-dir", str(out / "iterations"),
|
||||
"--diagnostic-schedule-policy", policy, "--diagnostic-schedule-seed", str(seed)]
|
||||
if reader:
|
||||
command += ["--diagnostic-target-stall", f"{reader[0] + 1}:{reader[2]}:1:10000"]
|
||||
result = subprocess.run(command, capture_output=True, text=True, timeout=120)
|
||||
assert result.returncode == 0, result.stdout + result.stderr
|
||||
for index, reference in enumerate(references[:8]):
|
||||
for index, reference in enumerate(references[:len(inputs)]):
|
||||
result = sync.compare.compare_simulator_outputs(
|
||||
out / "iterations" / f"output_{index:06d}.bin", outputs, reference,
|
||||
threshold=1e-3, rtol=1e-5)
|
||||
|
||||
Reference in New Issue
Block a user