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-09-22 02:48 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 02:48 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 02:48 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 02:48 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 02:48 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 02:48 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 02:48 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 02:48 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 02:48 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 02:48 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 02:48 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 02:48 - INFO - epu - mac_counter -
2026-09-22 02:48 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:48 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 02:48 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 02:48 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 02:48 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 02:48 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:48 - INFO - epu - mac_counter -
2026-09-22 02:48 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:48 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 02:48 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:48 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 02:49 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:49 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 02:49 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 02:49 - INFO - epu - codegen - START====================================build_tir
2026-09-22 02:50 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB1_1_4MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-09-22 02:50 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x79959c1b7010>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [01:00<00:00, 5.02s/it]
2026-09-22 02:51 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x79959c1b7010>
2026-09-22 02:51 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 02:51 - INFO - epu - iss_testing - Done 0:00:00.135999
2026-09-22 02:51 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 02:51 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 02:51 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 02:51 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 02:51 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 02:51 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 02:51 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 02:51 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 02:51 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 02:51 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 02:51 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 02:51 - INFO - epu - mac_counter -
2026-09-22 02:51 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:51 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 02:51 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 02:51 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 02:51 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 02:51 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:51 - INFO - epu - mac_counter -
2026-09-22 02:51 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:51 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 02:51 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:51 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 02:51 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:51 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 02:51 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 02:51 - INFO - epu - codegen - START====================================build_tir
2026-09-22 02:52 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB1_1_4MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-09-22 02:52 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799493881780>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:39<00:00, 3.31s/it]
2026-09-22 02:52 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994938d0df0>
2026-09-22 02:52 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 02:52 - INFO - epu - iss_testing - Done 0:00:00.133950
2026-09-22 02:52 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 02:52 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 02:52 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 02:52 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 02:52 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 02:52 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 02:52 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 02:52 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 02:52 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 02:52 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 02:52 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 02:52 - INFO - epu - mac_counter -
2026-09-22 02:52 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:52 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 02:52 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 02:52 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 02:52 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 02:52 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:52 - INFO - epu - mac_counter -
2026-09-22 02:52 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:52 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 02:52 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:52 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 02:53 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:53 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 02:53 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 02:53 - INFO - epu - codegen - START====================================build_tir
2026-09-22 02:53 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB1_1_8MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-09-22 02:53 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799493b804f0>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:45<00:00, 3.76s/it]
2026-09-22 02:54 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799493b40a30>
2026-09-22 02:54 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 02:54 - INFO - epu - iss_testing - Done 0:00:00.112303
2026-09-22 02:54 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 02:54 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 02:54 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 02:54 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 02:54 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 02:54 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 02:54 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 02:54 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 02:54 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 02:54 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 02:54 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 02:54 - INFO - epu - mac_counter -
2026-09-22 02:54 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:54 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 02:54 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 02:54 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 02:54 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 02:54 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:54 - INFO - epu - mac_counter -
2026-09-22 02:54 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:54 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 02:54 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:54 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 02:54 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:54 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 02:55 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 02:55 - INFO - epu - codegen - START====================================build_tir
2026-09-22 02:55 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB1_1_8MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-09-22 02:55 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799525306c80>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:46<00:00, 3.86s/it]
2026-09-22 02:56 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994f7234be0>
2026-09-22 02:56 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 02:56 - INFO - epu - iss_testing - Done 0:00:00.156673
2026-09-22 02:56 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 02:56 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 02:56 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 02:56 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 02:56 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 02: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-09-22 02:56 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 02:56 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 02:56 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 02:56 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 02:56 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 02:56 - INFO - epu - mac_counter -
2026-09-22 02:56 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:56 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 02:56 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 02:56 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 02:56 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 02:56 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:56 - INFO - epu - mac_counter -
2026-09-22 02:56 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:56 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 02:56 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:56 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 02:56 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:56 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 02:56 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 02:57 - INFO - epu - codegen - START====================================build_tir
2026-09-22 02:57 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB4_1_4MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-09-22 02:57 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994938d0fa0>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:19<00:00, 1.59s/it]
2026-09-22 02:57 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994938d0fa0>
2026-09-22 02:57 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 02:57 - INFO - epu - iss_testing - Done 0:00:00.087229
2026-09-22 02:57 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 02:57 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 02:57 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 02:57 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 02:57 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 02:57 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 02:57 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 02:57 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 02:57 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 02:57 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 02:57 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 02:57 - INFO - epu - mac_counter -
2026-09-22 02:57 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:57 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 02:57 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 02:57 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 02:57 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 02:57 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:57 - INFO - epu - mac_counter -
2026-09-22 02:57 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:57 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 02:57 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:57 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 02:57 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:57 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 02:58 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 02:58 - INFO - epu - codegen - START====================================build_tir
2026-09-22 02:58 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB4_1_4MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-09-22 02:58 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994938800a0>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:13<00:00, 1.09s/it]
2026-09-22 02:58 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799493b39600>
2026-09-22 02:58 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 02:58 - INFO - epu - iss_testing - Done 0:00:00.098104
2026-09-22 02:58 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 02:58 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 02:58 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 02:58 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 02:58 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 02: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-09-22 02:58 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 02:58 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 02:58 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 02:58 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 02:58 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 02:58 - INFO - epu - mac_counter -
2026-09-22 02:58 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:58 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 02:58 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 02:58 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 02:58 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 02:58 - INFO - epu - mac_counter - ============================================================
2026-09-22 02:58 - INFO - epu - mac_counter -
2026-09-22 02:58 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:58 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 02:58 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:58 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 02:59 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 02:59 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 02:59 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 02:59 - INFO - epu - codegen - START====================================build_tir
2026-09-22 02:59 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB4_1_8MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-09-22 02:59 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799493b39600>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:15<00:00, 1.26s/it]
2026-09-22 03:00 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994a17db190>
2026-09-22 03:00 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 03:00 - INFO - epu - iss_testing - Done 0:00:00.135504
2026-09-22 03:00 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 03:00 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 03:00 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 03:00 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 03:00 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 03:00 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 03:00 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 03:00 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 03:00 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 03:00 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 03:00 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 03:00 - INFO - epu - mac_counter -
2026-09-22 03:00 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:00 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 03:00 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 03:00 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 03:00 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 03:00 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:00 - INFO - epu - mac_counter -
2026-09-22 03:00 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:00 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 03:00 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:00 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 03:00 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:00 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 03:00 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 03:00 - INFO - epu - codegen - START====================================build_tir
2026-09-22 03:00 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB4_1_8MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-09-22 03:00 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994a15e0910>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:10<00:00, 1.10it/s]
2026-09-22 03:01 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799493baf760>
2026-09-22 03:01 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 03:01 - INFO - epu - iss_testing - Done 0:00:00.089994
2026-09-22 03:01 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 03:01 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 03:01 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 03:01 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 03:01 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 03:01 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 03:01 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 03:01 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 03:01 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 03:01 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 03:01 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 03:01 - INFO - epu - mac_counter -
2026-09-22 03:01 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:01 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 03:01 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 03:01 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 03:01 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:01 - INFO - epu - mac_counter -
2026-09-22 03:01 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:01 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 03:01 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:01 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 03:01 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:01 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 03:01 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 03:01 - INFO - epu - codegen - START====================================build_tir
2026-09-22 03:01 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB16_1_4MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-09-22 03:01 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994a14d2ec0>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:10<00:00, 1.12it/s]
2026-09-22 03:01 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994a16fb4c0>
2026-09-22 03:01 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 03:01 - INFO - epu - iss_testing - Done 0:00:00.081538
2026-09-22 03:01 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 03:01 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 03:01 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 03:01 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 03:01 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 03:01 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 03:01 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 03:01 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 03:01 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 03:01 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 03:01 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 03:01 - INFO - epu - mac_counter -
2026-09-22 03:01 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:01 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 03:01 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 03:01 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 03:01 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 03:01 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:01 - INFO - epu - mac_counter -
2026-09-22 03:01 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:01 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 03:02 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:02 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 03:02 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:02 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 03:02 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 03:02 - INFO - epu - codegen - START====================================build_tir
2026-09-22 03:02 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB16_1_4MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-09-22 03:02 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x7994a17b94b0>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:08<00:00, 1.46it/s]
2026-09-22 03:02 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799493a1caf0>
2026-09-22 03:02 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 03:02 - INFO - epu - iss_testing - Done 0:00:00.073093
2026-09-22 03:02 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 03:02 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 03:02 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 03:02 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 03:02 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 03: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-09-22 03:02 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 03:02 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 03:02 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 03:02 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 03:02 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 03:02 - INFO - epu - mac_counter -
2026-09-22 03:02 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:02 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 03:02 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 03:02 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 03:02 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 03:02 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:02 - INFO - epu - mac_counter -
2026-09-22 03:02 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:02 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 03:02 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:02 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 03:03 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:03 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 03:03 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 03:03 - INFO - epu - codegen - START====================================build_tir
2026-09-22 03:03 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB16_1_8MB_4kB_16GBps_16GBps_8_OFF_x1_x1 successful
2026-09-22 03:03 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799524a776d0>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:09<00:00, 1.21it/s]
2026-09-22 03:03 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799524a776d0>
2026-09-22 03:03 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 03:03 - INFO - epu - iss_testing - Done 0:00:00.126003
2026-09-22 03:03 - WARNING - epu - hw_config - QB-series products have a max macs per_pe 8, forcing 8 macs per pe
2026-09-22 03:03 - WARNING - epu - hw_config - QB-series products have a max clock speed of 1GHz forcing 1GHz
2026-09-22 03:03 - INFO - epu - chimera_job - START==================================onnx_ingest
2026-09-22 03:03 - INFO - epu - codegen - START===============================optimize_relay
2026-09-22 03:03 - INFO - epu - codegen - START====================quantize_to_cpu_runnable_fx
2026-09-22 03:03 - INFO - epu - fx -
Source name Op Output 0 Range Output 0 Frac Bits
----------------------- ---------------------- --------------------------------------- --------------------
output_DequantizeLinear contrib.epu.dequantize (-9.670584946870804, 28.26786369085312) 26
2026-09-22 03:03 - INFO - epu - codegen - START====================build_cpu_runnable_fx_relay
2026-09-22 03:03 - INFO - epu - codegen - START=======================quantize_to_chimera_fx
2026-09-22 03:03 - INFO - epu - codegen - START=================================relay_to_tir
2026-09-22 03:03 - INFO - epu - codegen - START===========================relay_to_epu_relay
2026-09-22 03:03 - INFO - epu - codegen - START==============================adapt_and_order
2026-09-22 03:03 - INFO - epu - mac_counter -
2026-09-22 03:03 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:03 - INFO - epu - mac_counter - MAC Operation Count Summary
2026-09-22 03:03 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 236,027,904 ops (118,013,952 MACs) - /conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.0/conv2/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer1/layer1.1/conv2/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer2/layer2.0/conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.0/conv2/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer2/layer2.0/downsample/downsample.0/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer2/layer2.1/conv2/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer3/layer3.0/conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.0/conv2/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer3/layer3.0/downsample/downsample.0/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer3/layer3.1/conv2/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 115,605,504 ops (57,802,752 MACs) - /layer4/layer4.0/conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.0/conv2/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 12,845,056 ops (6,422,528 MACs) - /layer4/layer4.0/downsample/downsample.0/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv1/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - conv2d: 231,211,008 ops (115,605,504 MACs) - /layer4/layer4.1/conv2/Conv_quant
2026-09-22 03:03 - INFO - epu - mac_counter - ------------------------------------------------------------
2026-09-22 03:03 - INFO - epu - mac_counter - Total: 3,627,122,688 ops (1,813,561,344 MACs)
2026-09-22 03:03 - INFO - epu - mac_counter - ============================================================
2026-09-22 03:03 - INFO - epu - mac_counter -
2026-09-22 03:03 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:03 - INFO - epu - codegen - START=============================plan_lrm_virtual
2026-09-22 03:03 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:03 - INFO - epu - codegen - START===============================lrm_alloc_loop
2026-09-22 03:03 - INFO - epu - codegen - START==============================amend_ctrl_flow
2026-09-22 03:03 - INFO - epu - codegen - START================================lrm_splitting
2026-09-22 03:04 - INFO - epu - codegen - START==============================ext_split_relay
2026-09-22 03:04 - INFO - epu - codegen - START====================================build_tir
2026-09-22 03:04 - INFO - epu - chimera_job - Compilation of resnet18_opt_asym_int8_q_QB16_1_8MB_4kB_32GBps_32GBps_8_OFF_x1_x1 successful
2026-09-22 03:04 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799524a776d0>
FILM 12/12: 100%|███████████████████████████████████████████████████| 12/12 [00:07<00:00, 1.66it/s]
2026-09-22 03:04 - INFO - epu - iss_testing - No tranges found for input, use default float range: <tvm.contrib.epu.interval.Interval object at 0x799524a776d0>
2026-09-22 03:04 - INFO - epu - iss_testing - Started Executing Onnxruntime...
2026-09-22 03:04 - INFO - epu - iss_testing - Done 0:00:00.077140
## 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.481395 5.321252
QB4 1.853563 1.618691
QB16 0.909105 0.656342
Major axis: 8MB
ext_bw 16GBps 32GBps
product
QB1 5.215833 5.197632
QB4 1.539258 1.483476
QB16 0.879999 0.549249

Major axis: QB1
ext_bw 16GBps 32GBps
ocm_size
4MB 5.481395 5.321252
8MB 5.215833 5.197632
Major axis: QB4
ext_bw 16GBps 32GBps
ocm_size
4MB 1.853563 1.618691
8MB 1.539258 1.483476
Major axis: QB16
ext_bw 16GBps 32GBps
ocm_size
4MB 0.909105 0.656342
8MB 0.879999 0.549249

Major axis: QB1
ocm_size 4MB 8MB
ext_bw
16GBps 5.481395 5.215833
32GBps 5.321252 5.197632
Major axis: QB4
ocm_size 4MB 8MB
ext_bw
16GBps 1.853563 1.539258
32GBps 1.618691 1.483476
Major axis: QB16
ocm_size 4MB 8MB
ext_bw
16GBps 0.909105 0.879999
32GBps 0.656342 0.549249

