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.2-cp313-cp313-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.13Windows x86-64

talon_backend-0.0.2-cp313-cp313-win32.whl (1.7 MB view details)

Uploaded CPython 3.13Windows x86

talon_backend-0.0.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.8 MB view details)

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

talon_backend-0.0.2-cp313-cp313-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

talon_backend-0.0.2-cp312-cp312-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.12Windows x86-64

talon_backend-0.0.2-cp312-cp312-win32.whl (1.7 MB view details)

Uploaded CPython 3.12Windows x86

talon_backend-0.0.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.9 MB view details)

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

talon_backend-0.0.2-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

talon_backend-0.0.2-cp311-cp311-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.11Windows x86-64

talon_backend-0.0.2-cp311-cp311-win32.whl (1.7 MB view details)

Uploaded CPython 3.11Windows x86

talon_backend-0.0.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.8 MB view details)

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

talon_backend-0.0.2-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

talon_backend-0.0.2-cp310-cp310-win_amd64.whl (1.8 MB view details)

Uploaded CPython 3.10Windows x86-64

talon_backend-0.0.2-cp310-cp310-win32.whl (1.7 MB view details)

Uploaded CPython 3.10Windows x86

talon_backend-0.0.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (4.6 MB view details)

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

talon_backend-0.0.2-cp310-cp310-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

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

File metadata

File hashes

Hashes for talon_backend-0.0.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 7a398d062c945a749c5c0c3ab55b364b799c2594aa44017ad819b76c6da50a7a
MD5 33d5105727859620b19feeefc94326ba
BLAKE2b-256 976b0487d0c7cd94deacee1abe05ecdb92839994c78d0c13151014d2a56eada1

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp313-cp313-win32.whl.

File metadata

  • Download URL: talon_backend-0.0.2-cp313-cp313-win32.whl
  • Upload date:
  • Size: 1.7 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.2-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 fccebc95fabf18dbcd31cca8d8ed43ca8efe4f622db74eef0fd74c2e69e151f8
MD5 1ccdadcbed2064d716349beb670a2565
BLAKE2b-256 1032043d24953592b243c407f2dde71f4d8ba7a790c64c5911f2b29d6f2971d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-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.2-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 6069b194b2cd468ee50ab9b213ca4507d0184e8eb82557a3ae3563ef5468ce92
MD5 675b5e7c4bc2f0b082ffd9f4f8422d72
BLAKE2b-256 365147c32f15ee8dd3ba6674923708c5cecdc572c0cd24a6d893d7a42f12b626

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 00451b38afd64be3703d1056a662103f67cb12c93267aaf60ed3d2cb72b6207b
MD5 e10a60f165d2ab617bcf495748099914
BLAKE2b-256 4f4be72c696115cc33ac0d97ef066b8a55441096d4493d7c0d1ef07731ffcbff

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp312-cp312-win_amd64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b4ddabd83be7db6f28c037705a4813c30a76afee7a2a5d0d508cb1ff9d281a8f
MD5 dfd1a1f98927bc07716a18fc37381115
BLAKE2b-256 a71e44f818edf72d0560d89d52a7f4bd64060e64ed46cf6b61bc77754381d772

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp312-cp312-win32.whl.

File metadata

  • Download URL: talon_backend-0.0.2-cp312-cp312-win32.whl
  • Upload date:
  • Size: 1.7 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.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 b860d7ac308b8d285887b4fa44f7152a234ca1a010bbe1ca3e4b68ca586f76ff
MD5 b475d6cb62f5c820dc4edbca82cfd614
BLAKE2b-256 f80f66fdc4a2738d9ed6612e57b4ae2689656fefb56ebee7fe2ab0374352e099

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-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.2-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 aed66bc2f6bf6b798b3516a2a4aa1d70ae913d2ecbcc8d62fb784c3030e962cf
MD5 bbbdde68f5b31699b096992fc65b522c
BLAKE2b-256 bc6d277cd7602d6e64ecb0325b9b88442f999dfb6399abba0f8b1c81cc780cd6

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 479a320b90efb98fa0e5ad2a5677b8bc27e33e185f99b4c1d01ed4fd5b273256
MD5 f613eeb9296cfb425348c6a88badddc5
BLAKE2b-256 9e96a4c0f62eaf143390b4f55c38e39b60a28c810823c1ea8266a58dffc9d135

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cab94c03bcecd88a0f96b046bf97deb2aebf4bad479fc0714e1a874da3464571
MD5 f024ff0551cd6f750cafa5dbdfcf8aa4
BLAKE2b-256 8bbd11c92013fe4232f5330a26abb0a2604b6aec17e2a538aeac0ad2a6f03bc3

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp311-cp311-win32.whl.

File metadata

  • Download URL: talon_backend-0.0.2-cp311-cp311-win32.whl
  • Upload date:
  • Size: 1.7 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.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 16d7206b94235fa3812586f860b9792ee11ee64bf2297fe41c1ce5a999051b85
MD5 829fabdab7c5b372c52570501f0138f4
BLAKE2b-256 6f062c813ee10d3adb1249017253f1d27efdabef2701bbdace77f1929752f690

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-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.2-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 b8c43e41861cca52cd16c46c19fcbd1820077e2455706d4101262371149f6abd
MD5 bfb3e2d60c53a664e924da519334e90d
BLAKE2b-256 a495f82e93c7027ef079482fa23ce9a589c62191187f61911f72032d4a002cee

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 34274e30e8a3d9e6096b066300ae534a006d1e846058cbe482e2e21d15fc8e7c
MD5 424cfe70b91f1f47dd0ff0ebffbd5b89
BLAKE2b-256 0b7f8e35cf0e1a8d729792236ed8275fb4177c05d8de08ee26ad829aaf4eccb8

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp310-cp310-win_amd64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 be0f3a54f48313332556f285d2af7d7c06b28b6744cf71e73dc0df5d24f46a07
MD5 eddd3c454684321693784f61b013220a
BLAKE2b-256 513440c3baee6afe1beb15715de34f260894ec89d8f20b4e484617057e932a97

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp310-cp310-win32.whl.

File metadata

  • Download URL: talon_backend-0.0.2-cp310-cp310-win32.whl
  • Upload date:
  • Size: 1.7 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.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 d8683c4e2cf0ee2bb517a7dd3d1ee326e6ee52bdd1f26b1f77e14efd93d11d84
MD5 3b969c37ca4727a499fe0046e3bfe4e2
BLAKE2b-256 cc9ae2843af21fd1727514308ebb4b1308484f01c0643e6129c19e5d9e910da0

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-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.2-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 2097e16397a8a14e500bdac151a3df01a1167c3b915c8f409668336cb374bff1
MD5 e6f2eae85e7922a6504c012f5285ade3
BLAKE2b-256 bdc830b35a925e735f73129c70804032bf7af25dd36cb443d73c80b9c790cf23

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2e5a42325e6ad337eeaf2eeddaa114139ab86fd1382a21f6e065887b2f1584fb
MD5 6dcb2948e471ab48d2f919c9fae35a6e
BLAKE2b-256 01b99f27d5d818e92c9f505c6de9d546380c943598b5e9ffa3cefa36b924f523

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.2-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