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.4-py3-none-any.whl (25.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: femtocrux-3.11.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 40adfe57fce26d213640ad560bce1122519843f5ac5141b0efcfea57f84ecb60
MD5 859025ec2cc62ec087b0c7cbd532dd76
BLAKE2b-256 aa4666de1ffd7e25c0003490dd014c20cc6e1bcc16ceee0a6ad0f3304b12b2e4

See more details on using hashes here.

Release history Release notifications | RSS feed

3.11.5

1 file

This release

3.11.4 This release

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