Skip to main content

Build Status

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)

Installation

You will need to install femtocrux and femtodriver to compile models to run on the SPU and to run simulations to get power metrics.

You will need to have python 3.10 and Docker installed. Install Docker by following these instructions.

femtocrux is available on PyPI via

pip install femtocrux

femtodriver is also available on PyPI via

pip install femtodriver

Usage

Please refer to the documentation in the e2e walkthrough for a full example of how to create a model in pytorch, use femtodriver to compile program files to run on the SPU, and for how to run simulations of the model to get power estimates.

If you want more detailed documentation of all the options you can use to compile and simulate with please refer to the femtodriver documentation.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

femtocrux-3.11.5-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

Details for the file femtocrux-3.11.5-py3-none-any.whl.

File metadata

  • Download URL: femtocrux-3.11.5-py3-none-any.whl
  • Upload date:
  • Size: 25.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.10.12

File hashes

Hashes for femtocrux-3.11.5-py3-none-any.whl
Algorithm Hash digest
SHA256 8be09712a4e7ae45d4d59f9b3e66800349442d80da596e6e4df4559592a34e79
MD5 e53f818a7e0feab19b772fb9b73ea420
BLAKE2b-256 2121dfa59e8678d7762f39e49f3593315ba88f5fd207ad737fef1f15792919ed

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

3.11.5 This release

1 file

3.11.4

1 file

3.11.3

1 file

3.11.2

1 file

3.11.1

1 file

3.11.0

1 file

3.10.2

1 file

3.10.1

1 file

3.10.0

1 file

3.9.2

1 file

3.9.1

1 file

3.9.0

1 file

3.8.0

1 file

3.7.2

1 file

3.7.1

1 file

3.7.0

1 file

3.6.0

1 file

3.5.0

1 file

3.4.0

1 file

3.3.3

1 file

3.3.2

1 file

3.3.1

1 file

3.3.0

1 file

3.2.2

1 file

3.2.1

1 file

3.2.0

1 file

3.1.0

1 file

3.0.0

1 file

2.5.2

1 file

2.5.1

1 file

2.5.0

1 file

2.4.1

1 file

2.4.0

1 file

2.3.0

1 file

2.2.1

1 file

2.2.0

1 file

2.1.1

1 file

2.1.0

1 file

2.0.1

1 file

2.0.0

1 file

1.2.1

1 file

1.2.0

1 file

1.1.3

1 file

1.1.2

1 file

1.1.1

1 file

1.1.0

1 file

1.0.0

1 file

0.9.1

1 file

0.9.0

1 file

0.8.2

1 file

0.8.1

1 file

0.8.0

1 file

0.7.2

1 file

0.7.1

1 file

0.7.0

1 file

0.6.6

1 file

0.6.5

1 file

0.6.4

1 file

0.6.3

1 file

0.6.2

1 file

0.6.1

1 file

0.6.0

1 file

0.5.3

1 file

0.5.2

1 file

0.5.1

1 file

0.5.0

1 file

0.4.1

1 file

0.4.0

1 file

0.3.0

1 file

0.2.10.post1

1 file

0.2.10

1 file

0.2.9.post1

1 file

0.2.9

1 file

0.2.8.post3

1 file

0.2.8.post2

1 file

0.2.8.post1

1 file

0.2.8

1 file

0.2.5

1 file

0.2.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page