mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
7 lines
422 B
Python
7 lines
422 B
Python
# type: ignore
|
|
import sys, pathlib
|
|
sys.path.append(pathlib.Path(__file__).parent.parent.as_posix())
|
|
try:
|
|
from extra.onnx import OnnxRunner # noqa: F401 # pylint: disable=unused-import
|
|
from extra.onnx_parser import onnx_load # noqa: F401 # pylint: disable=unused-import
|
|
except ImportError as e: raise ImportError("onnx frontend not in release\nTo fix, install tinygrad from a git checkout with pip install -e .") from e |