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

Uploaded CPython 3.13Windows x86-64

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

Uploaded CPython 3.13Windows x86

talon_backend-0.0.1-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.1-cp313-cp313-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

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

Uploaded CPython 3.12Windows x86

talon_backend-0.0.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

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

Uploaded CPython 3.11Windows x86

talon_backend-0.0.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

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

Uploaded CPython 3.10Windows x86-64

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

Uploaded CPython 3.10Windows x86

talon_backend-0.0.1-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.1-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.1-cp313-cp313-win_amd64.whl.

File metadata

File hashes

Hashes for talon_backend-0.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 0ef1b6368997633edd6ecf4e825cf521a33cb547d4a2e37c6627328f6bd5b627
MD5 c606713a7175cda991b7c73d7e976e9c
BLAKE2b-256 d703005df3f9d7baba00327452875e210535efeba29b1c8ca2db45114e7814b2

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: talon_backend-0.0.1-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.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 be4403dc04adfbea780b3e8e264bc067cfe0f96a510491f3aa3bbcd36358af0c
MD5 e9adb73f540439a04970945d05bdbd1d
BLAKE2b-256 9cffa5942f6816143582c7997cc720237f3f408009c90afc3fb6de4b46c0a3ed

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.1-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.1-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.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 53fc88295c6cfbfd53f71a06940a6b5cb04e02312cf18e44faa0f23731884e87
MD5 f12dc051c4a6ab849383668a6c85a3c5
BLAKE2b-256 2a4d2ed2ac0cc91d04d2ead08e7d0f626ba1f88dead13c69ae36387f2c58cc5a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for talon_backend-0.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 991329168c90c411b24c55a67990beac128ee2d84a2e9a4c389f312a15830206
MD5 e1fe3935c84f71061758e5f047d96cd1
BLAKE2b-256 5220db95dde34c0df7187aece930aead48e1e9cef395346f205c7e54962cb812

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for talon_backend-0.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b589ff7c7dce4bed181bdfb3c6a0cdfb0180f1c5a17e6e390e0c4c12bd4e4254
MD5 0d55d4c4f21ed313f404ab484a4445a3
BLAKE2b-256 df0cc5a4cb1c9a385522625038aab537b577dae9688f5390ab6f80758c44aed0

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: talon_backend-0.0.1-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.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 084d0678c43ff49da8784802d55695a5e0999b1682b708de423a491f417f3956
MD5 42c408cd6179ee989679616c6563a210
BLAKE2b-256 af2c24ff308f2088de917bc31dd394afdc73a14788b63d6757f0f432ddcd2b9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.1-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.1-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.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cd4d9fe374b64deeb3471e94d148704359e91632bb403e924800ef5eaf57882c
MD5 d10b3d952f2a74c0220b18ee2fe701c8
BLAKE2b-256 1a1b11a2351b0e20d9ff427bca5048ffddba5887879e70d1ec300a2680361a31

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for talon_backend-0.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3f8631d21203d0df7f8dcdf8ba8f6e322b6bc205525899e01c550a6a90fdbfbb
MD5 965a92f5911560fc4a0d224a77e2460b
BLAKE2b-256 bd31a852ef3298faad934b4e6139ebd1cc81db5d02146bbf961c6bb9c9803508

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for talon_backend-0.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 15a8ca36ed9050dd6929f666db8f0a2d6685a50a800a3b8f7b93481385110c5c
MD5 6872c5336d85c01a3106d95377467168
BLAKE2b-256 023e0189346a22284f0fd0e9ca4c88259057a37d4cb4862ed5f04bff1cea27c1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: talon_backend-0.0.1-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.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 c6c2c62232c5855e8bc074c31d4658a18bc7344a22753dfc481149b1fbc34492
MD5 c8bf6bc9fba76b29bf29556f09add6cd
BLAKE2b-256 d6f8c13bc6acf52ee5a0d51fde4faa22011b0ee04a5352c63abbd2f0f8978b71

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.1-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.1-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.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 55a719dc04d2453ccade3a0fae5394b9c905a1e092180007e28e1cd20be3719f
MD5 84192e9848e3166b6f287ae38c9aeb43
BLAKE2b-256 1f06d081484c915596e2f8c852ddd1187ba37651f54314caec5ad7d39df28f3c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for talon_backend-0.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 14890fea485a9d021dc6f8f877937e1b5cd5a7a8d26671c526f85736733c994e
MD5 4d8ab75c940b07dbc2c04d5df33d84c3
BLAKE2b-256 71b8ae90aa77c74b009254d56226fc3dfe1384197fe4836ae3ec7eb8642f8e75

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for talon_backend-0.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 138be5b64b9765c4215476b4b06bad0b255ee6688e11db788fdfd027e6aff949
MD5 69ea6f91113627cca242f7c18ddf333e
BLAKE2b-256 6b1a2d68e11c4db50979ac11f1dd1e70030a67469e5cb67d5a4e6f28ef33d0ab

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: talon_backend-0.0.1-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.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 043e6e7a481816c53924c73f211a443935ed762663f8b96f2138f73cd9731106
MD5 c347b5529b2c7701da33e74027b44fbb
BLAKE2b-256 9d5b62baa4e1a4989b8f055692c120e43de6d8b13477899ac45a630bf6f80e38

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_backend-0.0.1-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.1-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.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ba55b029b2d906273d15e8aec0aaf0a0f7dcd4d68f908a302c2ccc790e99a203
MD5 4aebc688c9776c8ae83065201f479f40
BLAKE2b-256 bce0445e2fda5b67b7a346668005a4829a2ac645524581e865c67693e946d09c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for talon_backend-0.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 de8844e044ed1f003e69e96f922f728ac5e916afa0b555e3e484231f98136c7d
MD5 bdbbc3870cf50a124fea793c00431802
BLAKE2b-256 df5c9c373a4ddcb8c2e2583dfc35928192203e39d33c09ebd893bfc4e8a1de4f

See more details on using hashes here.

Provenance

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