NOTE: The Jupyter Notebook below is included in the Chimera SDK and can be run interactively by running the following CLI command:
$ quadric sdk notebook
From the Jupyter Notebook window in your browser, select the notebook named /quadric/sdk-cli/examples/stretch/Stretchability.ipynb.
Stretchability
test & play with stretchability of product variants, ocm sizes, ext bw
import os, sys, warnings
import pathlib, logging
import pandas as pd
import matplotlib.pyplot as plt
from matplotlib import cm
from mpl_toolkits.mplot3d import Axes3D
from matplotlib import interactive
interactive(True)
%matplotlib inline
import matplotlib as mpl
import numpy as np
int8_onnx_name = "../common/quant_onnx/resnet18_opt_asym_int8_q.onnx"
module_name = pathlib.Path(int8_onnx_name).stem
print(module_name)
resnet18_opt_asym_int8_q
import pprint
pp = pprint.PrettyPrinter(indent=4, sort_dicts=False)
products = ["QB1", "QB4", "QB16"]
ocm_size = ["4MB", "8MB", "16MB"]
ext_bw = ["4GBps", "8GBps", "16GBps", "32GBps"]
experiments = []
for p in products:
for ocm in ocm_size:
for bw in ext_bw:
row_dict = {
"model": int8_onnx_name,
"name": module_name,
"product": p,
"ocm_size": ocm,
"ext_bw": bw,
}
experiments.append(row_dict)
##trim the experiment list
import re
import tvm.contrib.epu.chimera_job.constants as constants
from tvm.contrib.epu.chimera_job.chimera_job import ChimeraJob
from tvm.contrib.epu.chimera_job.hw_config import HWConfig
import os
prod_match = re.compile("QB1$|QB4$|QB16$")
ocm_match = re.compile("4MB|8MB")
bw_match = re.compile("16GBps|32GBps")
exp_list = [
x
for x in experiments
if prod_match.match(x["product"])
and ocm_match.match(x["ocm_size"])
and bw_match.match(x["ext_bw"])
]
def run_experiment(e):
try:
hw_config = HWConfig(
product=e["product"],
ocm_size=e["ocm_size"],
ext_rd_bw=e["ext_bw"],
ext_wr_bw=e["ext_bw"],
)
cgc_job = ChimeraJob(
model_p=int8_onnx_name,
hw_config=hw_config,
)
cgc_job.compile()
cgc_job.run_inference_harness()
e.update(cgc_job.profile)
except:
e.update({"total": 0})
return e
print(len(exp_list))
12
results = [run_experiment(experiment) for experiment in exp_list]
2026-06-19 03:56 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 03:56 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 03:56 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 03:56 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 03:56 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 03:56 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 03:56 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 03:56 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 03:56 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 03:56 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 03:56 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 03:56 - INFO - epu - mac_counter -
2026-06-19 03:56 - INFO - epu - mac_counter - ============================================================
2026-06-19 03:56 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 03:56 - INFO - epu - mac_counter - ============================================================
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 03:56 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 03:56 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 03:56 - INFO - epu - mac_counter - ============================================================
2026-06-19 03:56 - INFO - epu - mac_counter -
2026-06-19 03:56 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 03:56 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 03:56 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 03:56 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 03:56 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 03:56 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 03:57 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 03:57 - INFO - epu - codegen - START====================================build_tir
2026-06-19 03:57 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB1_1_4MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-06-19 03:57 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x76612cd28070>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [01:16<00:00, 6.33s/it]
2026-06-19 03:58 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x76612cd28070>
2026-06-19 03:58 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 03:58 - INFO - epu - iss_testing - Done 0:00:00.220110
2026-06-19 03:58 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 03:58 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 03:58 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 03:58 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 03:58 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 03:58 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 03:58 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 03:58 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 03:58 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 03:58 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 03:58 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 03:58 - INFO - epu - mac_counter -
2026-06-19 03:58 - INFO - epu - mac_counter - ============================================================
2026-06-19 03:58 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 03:58 - INFO - epu - mac_counter - ============================================================
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 03:58 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 03:58 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 03:58 - INFO - epu - mac_counter - ============================================================
2026-06-19 03:58 - INFO - epu - mac_counter -
2026-06-19 03:58 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 03:59 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 03:59 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 03:59 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 03:59 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 03:59 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 03:59 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:00 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:00 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB1_1_4MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-06-19 04:00 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7661b2e68a60>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [01:34<00:00, 7.87s/it]
2026-06-19 04:02 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660c9300940>
2026-06-19 04:02 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:02 - INFO - epu - iss_testing - Done 0:00:00.151661
2026-06-19 04:02 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:02 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:02 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:02 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:02 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:02 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:02 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:02 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:02 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:02 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:02 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:02 - INFO - epu - mac_counter -
2026-06-19 04:02 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:02 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:02 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:02 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:02 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:02 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:02 - INFO - epu - mac_counter -
2026-06-19 04:02 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:02 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:02 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:02 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:02 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:02 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:03 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:03 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:04 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB1_1_8MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-06-19 04:04 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7661b2e68a60>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [01:27<00:00, 7.32s/it]
2026-06-19 04:05 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660c927a770>
2026-06-19 04:05 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:05 - INFO - epu - iss_testing - Done 0:00:00.194174
2026-06-19 04:05 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:05 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:05 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:05 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:05 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:05 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:05 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:05 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:05 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:05 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:05 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:05 - INFO - epu - mac_counter -
2026-06-19 04:05 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:05 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:05 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:05 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:05 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:05 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:05 - INFO - epu - mac_counter -
2026-06-19 04:05 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:05 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:05 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:05 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:06 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:06 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:06 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:06 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:07 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB1_1_8MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-06-19 04:07 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d89875e0>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [01:30<00:00, 7.51s/it]
2026-06-19 04:08 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d752bc40>
2026-06-19 04:08 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:08 - INFO - epu - iss_testing - Done 0:00:00.211712
2026-06-19 04:08 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:08 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:08 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:08 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:08 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:08 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:08 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:08 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:08 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:08 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:08 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:08 - INFO - epu - mac_counter -
2026-06-19 04:08 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:08 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:08 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:08 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:08 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:08 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:08 - INFO - epu - mac_counter -
2026-06-19 04:08 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:08 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:09 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:09 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:09 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:09 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:09 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:10 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:10 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB4_1_4MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-06-19 04:10 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660c9335420>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:40<00:00, 3.38s/it]
2026-06-19 04:11 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660c9335420>
2026-06-19 04:11 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:11 - INFO - epu - iss_testing - Done 0:00:00.163260
2026-06-19 04:11 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:11 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:11 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:11 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:11 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:11 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:11 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:11 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:11 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:11 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:11 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:11 - INFO - epu - mac_counter -
2026-06-19 04:11 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:11 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:11 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:11 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:11 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:11 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:11 - INFO - epu - mac_counter -
2026-06-19 04:11 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:11 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:11 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:11 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:11 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:11 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:12 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:12 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:12 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB4_1_4MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-06-19 04:12 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x766230256830>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:34<00:00, 2.89s/it]
2026-06-19 04:13 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d89875e0>
2026-06-19 04:13 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:13 - INFO - epu - iss_testing - Done 0:00:00.155825
2026-06-19 04:13 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:13 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:13 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:13 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:13 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:13 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:13 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:13 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:13 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:13 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:13 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:13 - INFO - epu - mac_counter -
2026-06-19 04:13 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:13 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:13 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:13 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:13 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:13 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:13 - INFO - epu - mac_counter -
2026-06-19 04:13 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:13 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:13 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:13 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:13 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:13 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:14 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:14 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:15 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB4_1_8MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-06-19 04:15 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x76612cd28070>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:33<00:00, 2.81s/it]
2026-06-19 04:15 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660c92f7010>
2026-06-19 04:15 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:15 - INFO - epu - iss_testing - Done 0:00:00.200949
2026-06-19 04:15 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:15 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:15 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:15 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:15 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:15 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:15 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:15 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:15 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:15 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:15 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:15 - INFO - epu - mac_counter -
2026-06-19 04:15 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:15 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:15 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:15 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:15 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:15 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:15 - INFO - epu - mac_counter -
2026-06-19 04:15 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:15 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:15 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:15 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:16 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:16 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:16 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:16 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:17 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB4_1_8MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-06-19 04:17 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d72bc160>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:30<00:00, 2.57s/it]
2026-06-19 04:17 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d748c250>
2026-06-19 04:17 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:17 - INFO - epu - iss_testing - Done 0:00:00.146636
2026-06-19 04:17 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:17 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:17 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:17 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:17 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:17 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:17 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:17 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:17 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:17 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:17 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:17 - INFO - epu - mac_counter -
2026-06-19 04:17 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:17 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:17 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:17 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:17 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:17 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:17 - INFO - epu - mac_counter -
2026-06-19 04:17 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:17 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:17 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:17 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:18 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:18 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:18 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:18 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:19 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB16_1_4MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-06-19 04:19 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d72df130>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:33<00:00, 2.82s/it]
2026-06-19 04:19 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d748cd90>
2026-06-19 04:19 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:19 - INFO - epu - iss_testing - Done 0:00:00.193229
2026-06-19 04:19 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:19 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:19 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:19 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:19 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:19 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:19 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:19 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:19 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:19 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:19 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:19 - INFO - epu - mac_counter -
2026-06-19 04:19 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:19 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:19 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:19 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:19 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:19 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:19 - INFO - epu - mac_counter -
2026-06-19 04:19 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:19 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:19 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:20 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:20 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:20 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:20 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:20 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:21 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB16_1_4MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-06-19 04:21 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x76612cf63340>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:24<00:00, 2.00s/it]
2026-06-19 04:21 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660c92a9b70>
2026-06-19 04:21 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:21 - INFO - epu - iss_testing - Done 0:00:00.203535
2026-06-19 04:21 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:21 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:21 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:21 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:21 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:21 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:21 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:21 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:21 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:21 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:21 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:21 - INFO - epu - mac_counter -
2026-06-19 04:21 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:21 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:21 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:21 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:21 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:21 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:21 - INFO - epu - mac_counter -
2026-06-19 04:21 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:21 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:21 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:21 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:22 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:22 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:22 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:22 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:23 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB16_1_8MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-06-19 04:23 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x76612cf63340>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:28<00:00, 2.41s/it]
2026-06-19 04:23 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d748ee30>
2026-06-19 04:23 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:23 - INFO - epu - iss_testing - Done 0:00:00.167293
2026-06-19 04:23 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-06-19 04:23 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-06-19 04:23 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-06-19 04:23 - INFO - epu - codegen - START===============================optimize_relay
2026-06-19 04:23 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-06-19 04:23 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-06-19 04:23 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-06-19 04:23 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-06-19 04:23 - INFO - epu - codegen - START=================================relay_to_tir
2026-06-19 04:23 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-06-19 04:23 - INFO - epu - codegen - START==============================adapt_and_order
2026-06-19 04:23 - INFO - epu - mac_counter -
2026-06-19 04:23 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:23 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-06-19 04:23 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-06-19 04:23 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-06-19 04:23 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-06-19 04:23 - INFO - epu - mac_counter - ============================================================
2026-06-19 04:23 - INFO - epu - mac_counter -
2026-06-19 04:23 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:23 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-06-19 04:23 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:23 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-06-19 04:24 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-06-19 04:24 - INFO - epu - codegen - START================================lrm_splitting
2026-06-19 04:24 - INFO - epu - codegen - START==============================ext_split_relay
2026-06-19 04:24 - INFO - epu - codegen - START====================================build_tir
2026-06-19 04:25 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB16_1_8MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-06-19 04:25 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d75f9090>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:21<00:00, 1.80s/it]
2026-06-19 04:25 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7660d6f9ce80>
2026-06-19 04:25 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-06-19 04:25 - INFO - epu - iss_testing - Done 0:00:00.189008
## plotting a bar graph
SMALL_SIZE = 14
MEDIUM_SIZE = 18
BIGGER_SIZE = 20
plt.rc("font", size=SMALL_SIZE) # controls default text sizes
plt.rc("axes", titlesize=SMALL_SIZE) # fontsize of the axes title
plt.rc("axes", labelsize=MEDIUM_SIZE) # fontsize of the x and y labels
plt.rc("xtick", labelsize=SMALL_SIZE) # fontsize of the tick labels
plt.rc("ytick", labelsize=SMALL_SIZE) # fontsize of the tick labels
plt.rc("legend", fontsize=SMALL_SIZE) # legend fontsize
plt.rc("figure", titlesize=BIGGER_SIZE) # fontsize of the figure title
df = pd.DataFrame.from_records(results)
df["product"] = pd.Categorical(df["product"], categories=df["product"].unique(), ordered=True)
df.ext_bw = pd.Categorical(df.ext_bw, categories=df.ext_bw.unique(), ordered=True)
df.ocm_size = pd.Categorical(df.ocm_size, categories=df.ocm_size.unique(), ordered=True)
def major_minor_pivot(df, major="ocm_size", minor="product", columns=["ext_bw"]):
i = 1
fig = plt.figure(figsize=(12, 24), dpi=150)
fig.suptitle(f"{int8_onnx_name} Stretchability", fontsize=16)
# tell the dataframe not to sort these
this_df = df[["product", "ocm_size", "ext_bw", "TotalCycles"]]
this_df.TotalCycles = this_df.TotalCycles / 1e6
this_df_iter = this_df[[major]].drop_duplicates()
plt.style.use("seaborn-darkgrid")
num_plots = df[major].nunique()
for index, row in this_df_iter.iterrows():
major_idx = row[major]
ax = fig.add_subplot(num_plots, 1, i)
pivot_df = this_df[(this_df[major] == major_idx)].pivot_table(
index=[minor], columns=columns, values="TotalCycles"
)
print(f"Major axis: {major_idx}")
print(pivot_df)
pivot_df.plot.barh(
ax=ax,
sharex=True,
grid=True,
colormap="cool",
xticks=np.arange(int(min(this_df["TotalCycles"])), max(this_df["TotalCycles"]) + 4, 1),
)
plt.xlabel("Million GPNPU Cycles")
plt.ylabel(f"{major} @{major_idx}")
i += 1
for container in ax.containers:
ax.bar_label(container, fmt="%.2f", padding=8, fontsize=11)
# # grab the legend handles and lables
# h, l = fig.axes[0].get_legend_handles_labels()
# # remove all the subplot legends
# for ax in fig.axes: ax.get_legend().remove()
# # add one legend on `plt`
# plt.legend(h,l, loc=(1.05, 1.85), title='External BW')
plt.show()
pp.pprint(df.to_json("outputdf.json", orient="records"))
major_minor_pivot(df, major="ocm_size", minor="product", columns=["ext_bw"])
major_minor_pivot(df, major="product", minor="ocm_size", columns=["ext_bw"])
major_minor_pivot(df, major="product", minor="ext_bw", columns=["ocm_size"])
None
Major axis: 4MB
ext_bw 16GBps 32GBps
product
QB1 5.652845 5.492702
QB4 1.904100 1.669228
QB16 0.920668 0.674076
Major axis: 8MB
ext_bw 16GBps 32GBps
product
QB1 5.393345 5.375144
QB4 1.581882 1.544280
QB16 0.887611 0.559118

Major axis: QB1
ext_bw 16GBps 32GBps
ocm_size
4MB 5.652845 5.492702
8MB 5.393345 5.375144
Major axis: QB4
ext_bw 16GBps 32GBps
ocm_size
4MB 1.904100 1.669228
8MB 1.581882 1.544280
Major axis: QB16
ext_bw 16GBps 32GBps
ocm_size
4MB 0.920668 0.674076
8MB 0.887611 0.559118

Major axis: QB1
ocm_size 4MB 8MB
ext_bw
16GBps 5.652845 5.393345
32GBps 5.492702 5.375144
Major axis: QB4
ocm_size 4MB 8MB
ext_bw
16GBps 1.904100 1.581882
32GBps 1.669228 1.544280
Major axis: QB16
ocm_size 4MB 8MB
ext_bw
16GBps 0.920668 0.887611
32GBps 0.674076 0.559118
