simplify pimcomp compare workflow
Validate Operations / validate-operations (push) Has been cancelled

This commit is contained in:
NiccoloN
2026-07-28 15:11:56 +02:00
parent 78bfb8a9aa
commit 060a21172e
9 changed files with 231 additions and 149 deletions
+5
View File
@@ -1,5 +1,6 @@
import re
import shlex
import shutil
import subprocess
from pathlib import Path
from colorama import Fore, Style
@@ -43,6 +44,10 @@ def _format_command(cmd):
def compile_with_raptor(network_path, raptor_onnx_path: Path, output_base: Path,
crossbar_size, crossbar_count, core_count,
raptor_extra_args, cwd, verbose, reporter, timeout_sec):
pim_dir = Path(output_base).parent / "pim"
if pim_dir.exists():
shutil.rmtree(pim_dir)
# Define the arguments, with the possibility to set crossbar size and count
args = [
network_path,