simplify pimcomp compare workflow
Validate Operations / validate-operations (push) Has been cancelled
Validate Operations / validate-operations (push) Has been cancelled
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user