Skip to main content

TALON Backend: Config generation, CPU simulation, and FPGA deployment for Talon IR graphs

Project description

TALON Backend

Config generation and CPU simulation for TALON IR graphs. Compiles partitioned graphs into JSON/binary descriptors for hardware runtime and provides a CPU simulator for correctness validation and profiling.

Installation

uv add talon-backend

Features

  • Config Generator: Produces JSON/binary hardware descriptors (not bitstream)
  • CPU Simulator: Validates graph execution correctness
  • From-Scratch Profiler: Latency, energy, and memory estimation without external deps
  • Backend Registry: Plugin system for custom hardware backends
  • DAG + Cyclic Support: Auto-detects topology and selects execution mode

Quick Start

from talon import ir, backend

# Load a partitioned graph
graph = ir.read("model.t1c")

# Compile to hardware descriptor
cpu = backend.get_backend("cpu")
descriptor = cpu.compile(graph)
descriptor.to_json("model_config.json")

# Simulate for correctness
result = cpu.simulate(graph, input_data, n_steps=100)
print(f"Valid: {result.outputs_valid}")

# Profile (from scratch, no external deps)
profile = cpu.profile(graph, input_data, n_steps=100)
print(f"Latency: {profile.total_latency_us} us")
print(f"Energy: {profile.energy_estimate_uj} uJ")

License

MIT

Project details


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 Distributions

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

talon_backend-0.0.3-cp313-cp313-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.13Windows x86-64

talon_backend-0.0.3-cp313-cp313-win32.whl (1.6 MB view details)

Uploaded CPython 3.13Windows x86

talon_backend-0.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

talon_backend-0.0.3-cp313-cp313-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

talon_backend-0.0.3-cp312-cp312-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.12Windows x86-64

talon_backend-0.0.3-cp312-cp312-win32.whl (1.6 MB view details)

Uploaded CPython 3.12Windows x86

talon_backend-0.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.7 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

talon_backend-0.0.3-cp312-cp312-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

talon_backend-0.0.3-cp311-cp311-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86-64

talon_backend-0.0.3-cp311-cp311-win32.whl (1.6 MB view details)

Uploaded CPython 3.11Windows x86

talon_backend-0.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

talon_backend-0.0.3-cp311-cp311-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

talon_backend-0.0.3-cp310-cp310-win_amd64.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86-64

talon_backend-0.0.3-cp310-cp310-win32.whl (1.6 MB view details)

Uploaded CPython 3.10Windows x86

talon_backend-0.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.5 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64manylinux: glibc 2.28+ x86-64

talon_backend-0.0.3-cp310-cp310-macosx_11_0_arm64.whl (1.7 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file talon_backend-0.0.3-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 ec569383f4a31269768fa65bbad3491353c901d54ce0339d661ca7bb9f6e64d0
MD5 a99dc5c108b122de7ae9385c4754e308
BLAKE2b-256 e8053db3656eeed238185506537ac41093b77accdc80fb861e02af130cca36d2

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp313-cp313-win32.whl.

File metadata

  • Download URL: talon_backend-0.0.3-cp313-cp313-win32.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.13, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for talon_backend-0.0.3-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 b5f231f1028f84ad377d8c84821b7116880c71519aca33f6696da8a3ac0674a4
MD5 1dfa23e4869a6d4fd96b3dbdb2d7dbc4
BLAKE2b-256 82c14be946a57609d933e09cc078aca668cfdf8db33398fc08fdea851fd80791

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp313-cp313-win32.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1a70ce0c9fdaaa81e54cadf257355325b80a5a6144371be6ed31cb21e8f7a013
MD5 e2a74125543aed061e03ef5e57c829c5
BLAKE2b-256 666401b7fd8d07c1d8b9e1d189bf5ecb0e3e6cfc5df34ede2fa8fb55de267d0d

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9142a9b9345c2cadc58676df022550920e78b77a06f3f29c405528e74560d784
MD5 0670965000c14e5809f156562221cf98
BLAKE2b-256 234ab1c08c2a2500338d857708484f1818454df45b5a1c433330b890a0a46364

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 562911fa72d8ccdfc1b7e16308b3d1dd244b0404b54fe0ae3dec4eed9d59aeff
MD5 60a697d297fc8c5af904c887d469e377
BLAKE2b-256 f450ff3d841ce9ca4e2b98e8b04eebc638e34d25c14db98dfe2af2278db8ac62

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp312-cp312-win32.whl.

File metadata

  • Download URL: talon_backend-0.0.3-cp312-cp312-win32.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for talon_backend-0.0.3-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 3e34da99a1375f38bc569a31514c4d631ad07d2ce40f4d0921b8febe4a7afca6
MD5 581ee40fe9db116e905f2d54051c45fa
BLAKE2b-256 8dce581abeac2657106016b60586d37af99cf33f5250bd2b4b563bc8c6c96acf

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp312-cp312-win32.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4a8a736d5070221e2ae36859041b6888e8630b604fdc9969833ee8d2ff94bc05
MD5 67b3cbf1f31f9d2cb8be37f61eae09b3
BLAKE2b-256 1049ac0a6dd99424d580f960d62b5943908b815d32e093e46323ca71eb562e60

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 060b21641135a51e4b32bc849aa50909841c22a3f6891247028a2677dca5e0bc
MD5 b5b5aeb446f764439345b582c1c275c4
BLAKE2b-256 71253038fe238b78bb179f72da46dfe99b505a871a28614b158313e2dac84642

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 d7d3e3bd3e7bdaebb897258acfb38ad70fdfba4cd10ce5366b2c45664c6a1eec
MD5 96b76e3e36b6f3282e3c828a4f54c4b8
BLAKE2b-256 399a0e3326c5b3599a1654e8373264043aebdbaa488b2bf6d422e3754464a123

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp311-cp311-win32.whl.

File metadata

  • Download URL: talon_backend-0.0.3-cp311-cp311-win32.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for talon_backend-0.0.3-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 2a6a17cf99e7288da9446702c579109ef52fa2abb77aaaa4615083a6ed85abf4
MD5 4007b4859015d958c827ca528e29d27e
BLAKE2b-256 37f6b2f541c77cd44de59b4714c06738f6761588a1cb1d789cdfd643c964e7c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp311-cp311-win32.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6f56e0995edb43275c6faed06c9eb8ad976cf5ec68978b73e6761fde3692a776
MD5 031a0de43d53960be57902452748e356
BLAKE2b-256 43e78fe85eb1ec801ff5152a79bcc8f1d9dfbea2f2e48d875fdf02e8c4050b41

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 06cbdb6e2ef33d68068719b1cad4a085850e3f3408ff83bbcae66359ec857f74
MD5 b4bf87c961d830dc66714bb5c8f951b7
BLAKE2b-256 421bb7204a1dd414f47e7b51ff4fedaf49e9bccd18e39a9bc427fbd9bd1095e3

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9bc3756f3bb7314a80cdddb4d580a70d5bafff8de68a5b73b4eaecb67a6cfbd9
MD5 50b5ac0ef099d816415b485a807aea88
BLAKE2b-256 fc7fd41d74f01578bbde7b8d5c43b6f3873303da2796a12f1b1af16d94ef3585

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp310-cp310-win32.whl.

File metadata

  • Download URL: talon_backend-0.0.3-cp310-cp310-win32.whl
  • Upload date:
  • Size: 1.6 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for talon_backend-0.0.3-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 f02b06f41195833ff72539e9028212942740750086ccb34e3d0dde16e0b87854
MD5 b4f8f53b854515c3f359ab885b3cd78c
BLAKE2b-256 b6e0f21ff7e19c4caa4de5dc5326990994f9404ae9ac7bc47fff3f400e745bdc

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp310-cp310-win32.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 17c677491315f2e158b1fcec71221181df16fac40d563b0ef68b3b6b825499fd
MD5 5c43f50d8289ffde6b15c3e5ad573478
BLAKE2b-256 de64d8cd25735ea548fa5b299c6b8656d4d1ec96d555f07efda87bcca37f5aba

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file talon_backend-0.0.3-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.3-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 cbc7058f50b1431d6e9fe425605c9cf230119f9f215636b07d91f15346dc38bc
MD5 7b6786264551581144e6da70aec6dea6
BLAKE2b-256 ee2d945d7e0b993c28b774fe6ef95206869424615e7ffb57d72f6576c81b72e1

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.3-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/talonbackend

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page