From 0b9e9e1e793f459aef06decd3c1912482851b3df Mon Sep 17 00:00:00 2001 From: hyeokjun32 Date: Tue, 7 Apr 2026 18:00:23 +0900 Subject: [PATCH] feat(tensorrt): enable Jetson CLI profiling flow --- edgebench/config.py | 6 +++++- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/edgebench/config.py b/edgebench/config.py index 4949fd3..6cf6ff5 100644 --- a/edgebench/config.py +++ b/edgebench/config.py @@ -2,7 +2,11 @@ from pathlib import Path from typing import Any, Dict -import tomllib + +try: + import tomllib +except ModuleNotFoundError: # Python 3.10 fallback + import tomli as tomllib DEFAULT_COMPARE_THRESHOLDS: Dict[str, float] = { diff --git a/pyproject.toml b/pyproject.toml index 759ad85..00a0a63 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ version = "0.1.0" description = "Edge AI Inference Profiling Framework" authors = [{ name = "Your Name" }] readme = "README.md" -requires-python = ">=3.11" +requires-python = ">=3.10,<3.12" dependencies = [ "onnx", "onnxruntime",