No project description provided
Project description
onneggs
onneggs is an optimizer designed to optimize CoolerSpace ONNX files. The repository for CoolerSpace can be found here.
Installation
Dependencies
onneggs requires eggwrap to be installed. This dependency is handled automatically if using PyPI. Additionally Cbc is also required.
PyPI
onneggs is on PyPI! Install onneggs with the following command:
pip install onneggs
Please note that we only support Linux distributions for this package, and only for python versions 3.10+.
Building from source on Linux
In order to build onneggs, eggwrap must first be built. Use the following commands to build onneggs from source:
git clone https://github.com/horizon-research/onneggs
cd onneggs
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
pip install build
python3 -m build
Usage
onneggs can be invoked as a Python module:
python3 -m onneggs [INPUT_FILE] [OUTPUT_FILE]
Where [INPUT_FILE] is the path to the input ONNX file, and [OUTPUT_FILE] is the desired output path.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file onneggs-1.0.0.tar.gz.
File metadata
- Download URL: onneggs-1.0.0.tar.gz
- Upload date:
- Size: 6.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
932ae44c21d6b131d61ed66e52e5258b345a7f6d2f560d3ac0ffb25d3ebb2515
|
|
| MD5 |
672b6eb69fb5c384a170fc7e2c23a670
|
|
| BLAKE2b-256 |
045aff2067186dddbc73c4a0c91f2fbf71182596235fe512043b45bb479e3f64
|
File details
Details for the file onneggs-1.0.0-py3-none-any.whl.
File metadata
- Download URL: onneggs-1.0.0-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e3bf9c8d809c03e847b4f442ed5d0221b231e33c98d2bbce3808d14c0f6635d0
|
|
| MD5 |
e92a661b4afba7e40135f5ef66807869
|
|
| BLAKE2b-256 |
fc2edb45f220fe7d5f2b16eb65c29a02cdf1a9d7c511f61ef80481201d5b1b75
|