femtocrux-0.2.5
توضیحات
Femtosense Compiler
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | femtocrux-0.2.5 |
| نام | femtocrux |
| نسخه کتابخانه | 0.2.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Femtosense |
| ایمیل نویسنده | info@femtosense.ai |
| آدرس صفحه اصلی | https://github.com/femtosense/femtocrux |
| آدرس اینترنتی | https://pypi.org/project/femtocrux/ |
| مجوز | - |

# femtocrux
Compiler API for the Femotsense Sparse Processing Unit (SPU).
This package drives compilation of machine learning models to SPU binaries, as well as simulation of those binaries on SPU hardware.
The package itself is a thin Python wrapper communicating to the actual compiler / simulator via gRPC.
Supported ML model representations:
- Femtosense Quantized IR (FQIR)
- Tensorflow Lite (TFLite)
## Installation
You will need to have python `3.10` and Docker installed.
Install Docker by following [these instructions](https://docs.docker.com/get-docker/).
femtocrux is available on PyPI via
```
pip install femtocrux
```
## Basic Usage
```python
# fqir_model = ... # Assuming we have an FQIRModel
# inputs = ... # Assuming we have inputs for the model
from femtocrux import CompilerClient
client = CompilerClient()
simulator = client.simulate(fqir_model)
outputs = simulator.simulate(inputs)
```
## APIs
Coming soon...
نیازمندی
| مقدار | نام |
|---|---|
| - | Cython |
| - | docker |
| ==1.*,>=1.3.0.dev0 | fmot |
| - | grpcio |
| - | grpcio-tools |
| >=1.18.0 | numpy |
| - | protobuf |
| - | passlib |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.10 | Python |
نحوه نصب
نصب پکیج whl femtocrux-0.2.5:
pip install femtocrux-0.2.5.whl
نصب پکیج tar.gz femtocrux-0.2.5:
pip install femtocrux-0.2.5.tar.gz