Python API for SAMACT PoC
Project description
PySAMACT: Python API for PoC of the SAMACT Hardware Core IP
SAMACTは、メイビスデザイン株式会社が開発・保有する、オンチップ学習に対応したエンドポイント向けAI IPです。
本ライブラリは、SAMACTのハードウェア実装と同等の数値仕様および演算仕様を再現したPythonライブラリであり、主にPoC(概念実証)用途での利用を想定しています。
SAMACTの詳細については、当社Webサイトをご参照ください。
概要 (Overview)
本ライブラリは、以下を目的として開発されています。
- ハードウェア(RTL / 専用回路)実装向けニューラルネットワークの
事前評価を Python 上で行う - 量子化・固定小数点演算など、HW特有の挙動を再現
⚠️ 本ライブラリは 高速な学習・高性能推論用途を目的としていません。
特徴 (Features)
- ハードウェアと対応した演算仕様
- 固定小数点 / ビット幅制約
- Saturation / Clipping
- Python / NumPy ベースの実装
- PoCでの利用を想定したシンプルなAPI
非対象 (Non-Goals)
以下は明示的にスコープ外です。
- GPU / 高速化最適化
- PyTorch / TensorFlow 互換 API の完全再現
- 自動微分
インストール (Installation)
pip install samact
想定ユースケース (Use Cases)
- 機械学習プロジェクトのPoC
- RTL 実装前の数値シミュレーション
API仕様書 (API Document)
API仕様書は下記をご覧ください。
https://maviss-design.github.io/SAMACT/
制限事項 (Limitations)
- 実行速度は最適化されていません
- ソースコードはPyPIで公開されており、githubでは公開されていません。
ライセンス (License)
AGPLv3です。
詳細は LICENSE を参照してください。
注意事項
本ライブラリは 研究・検証用途を目的としています。
商用品質・量産用途への直接利用は想定していません。
英語
PySAMACT: Python API for PoC of the SAMACT Hardware Core IP
SAMACT is an AI IP for endpoint devices with on-chip learning capability, developed and owned by Maviss Design Inc.
This library is a Python implementation that reproduces the numerical specifications and computational behavior equivalent to the SAMACT hardware implementation, and is primarily intended for Proof of Concept (PoC) use.
For more details on SAMACT, please refer to our website
Overview
This library is developed for the following purposes:
- To perform pre-evaluation of neural networks on Python before hardware (RTL / dedicated circuit) implementation
- To reproduce hardware-specific behavior such as quantization and fixed-point arithmetic
⚠️ This library is not intended for high-speed training or high-performance inference.
Features
- Computation specifications aligned with hardware
- Fixed-point arithmetic / bit-width constraints
- Saturation / Clipping
- Python / NumPy-based implementation
- Simple API designed for PoC use
Non-Goals
The following are explicitly out of scope:
- GPU acceleration / performance optimization
- Full compatibility with PyTorch / TensorFlow APIs
- Automatic differentiation
Installation
pip install samact
Use Cases
- PoC for machine learning projects
- Numerical simulation prior to RTL implementation
API Documentation
Please refer to the following for the API documentation:
https://maviss-design.github.io/SAMACT/
Limitations
- Execution speed is not optimized
- Source code is distributed via PyPI and is not publicly available on GitHub
License
AGPLv3.
See LICENSE.
Notes
This library is intended for research and validation purposes.
It is not designed for direct use in production-quality or mass-production applications.
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 samact-1.0.0.tar.gz.
File metadata
- Download URL: samact-1.0.0.tar.gz
- Upload date:
- Size: 83.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4eb9e432c64a3c70c7713f5ae2b78fa69f8622ec7b09e1fcff9f09ef0db58937
|
|
| MD5 |
e09e904c9a2ed5a16f51aa62d293286d
|
|
| BLAKE2b-256 |
28dcbe1984d17a36782348c9c572b18965a651ad3316c41c61d048f4180cf8e5
|
File details
Details for the file samact-1.0.0-py3-none-any.whl.
File metadata
- Download URL: samact-1.0.0-py3-none-any.whl
- Upload date:
- Size: 124.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71cf00938f29582321191a9dbbe9a88a82e03af1e1852f2b3172b19703e3c786
|
|
| MD5 |
098491ec63d4396c8530c750ac782f96
|
|
| BLAKE2b-256 |
47cff5b65849752ddb1b1b4017c854e58be4a64a3c84c28e1c457ac535cd6afb
|