mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
* Add ability to generate configuration that includes required types for individual operators, to allow build size reduction based on that.
- Add python bindings for ORT format models
- Add script to update bindings and help info
- Add parsing of ORT format models
- Add ability to enable type reduction to config generation
- Update build.py to only allow operator/type reduction via config
- simpler to require config to be generated first
- can't mix a type aware (ORT format model only) and non-type aware config as that may result in insufficient types being enabled
- Add script to create reduced build config
- Update CIs
13 lines
469 B
Python
13 lines
469 B
Python
# Copyright (c) Microsoft Corporation. All rights reserved.
|
|
# Licensed under the MIT License.
|
|
|
|
from .get_azcopy import get_azcopy
|
|
from .logger import get_logger
|
|
from .platform import (is_windows, is_macOS, is_linux)
|
|
from .run import run
|
|
|
|
try:
|
|
import flatbuffers # noqa
|
|
from .reduced_build_config_parser import parse_config
|
|
except ImportError:
|
|
get_logger('tools_python_utils').info('flatbuffers module is not installed. parse_config will not be available')
|