Skip to main content

TALON Graph: Graph partitioning, core mapping, and spatial routing for Talon IR

Project description

TALON Graph Partitioning and Mapping

Graph partitioning, core mapping, and spatial routing for TALON IR graphs. Takes IR graphs and produces placed graphs with core assignments and routing tables for hardware deployment.

Installation

uv add talon-graph

Features

  • Graph Partitioning: EdgeMap, spectral bisection, and greedy algorithms
  • Core Placement: Minimize spike-hop distance across hardware mesh
  • Spike Routing: Forward and feedback routing tables via RustworkX shortest paths
  • Resource Allocation: Per-core memory budgets (weights, neuron state, routing buffers)
  • DAG + Cyclic Support: Auto-detects topology, co-locates SCCs on same core

Quick Start

from talon import ir, graph

# Load a TALON IR graph
g = ir.read("model.t1c")

# Define hardware constraints
from talon.graph import HardwareSpec
hw = HardwareSpec(max_neurons_per_core=256, sram_bytes_per_core=65536)

# Partition and route
placed = graph.partition(g, hw, algorithm="edgemap")
placed = graph.route(placed, hw)

# Inspect assignments
for name, node in placed.nodes.items():
    if hasattr(node, 'core_id') and node.core_id is not None:
        print(f"  {name} -> core {node.core_id}")

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_graph-0.0.1-cp313-cp313-win_amd64.whl (780.6 kB view details)

Uploaded CPython 3.13Windows x86-64

talon_graph-0.0.1-cp313-cp313-win32.whl (758.2 kB view details)

Uploaded CPython 3.13Windows x86

talon_graph-0.0.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

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

talon_graph-0.0.1-cp313-cp313-macosx_11_0_arm64.whl (804.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

talon_graph-0.0.1-cp312-cp312-win_amd64.whl (783.7 kB view details)

Uploaded CPython 3.12Windows x86-64

talon_graph-0.0.1-cp312-cp312-win32.whl (760.9 kB view details)

Uploaded CPython 3.12Windows x86

talon_graph-0.0.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.3 MB view details)

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

talon_graph-0.0.1-cp312-cp312-macosx_11_0_arm64.whl (807.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

talon_graph-0.0.1-cp311-cp311-win_amd64.whl (786.4 kB view details)

Uploaded CPython 3.11Windows x86-64

talon_graph-0.0.1-cp311-cp311-win32.whl (762.0 kB view details)

Uploaded CPython 3.11Windows x86

talon_graph-0.0.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.2 MB view details)

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

talon_graph-0.0.1-cp311-cp311-macosx_11_0_arm64.whl (806.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

talon_graph-0.0.1-cp310-cp310-win_amd64.whl (786.7 kB view details)

Uploaded CPython 3.10Windows x86-64

talon_graph-0.0.1-cp310-cp310-win32.whl (763.1 kB view details)

Uploaded CPython 3.10Windows x86

talon_graph-0.0.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl (2.1 MB view details)

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

talon_graph-0.0.1-cp310-cp310-macosx_11_0_arm64.whl (808.7 kB view details)

Uploaded CPython 3.10macOS 11.0+ ARM64

File details

Details for the file talon_graph-0.0.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: talon_graph-0.0.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 780.6 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for talon_graph-0.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 89a3678e43840a52f41127aaa5b7eed0d8f871109f7ffac130f9b55a6528dfdc
MD5 8755d2ad6b004e7fd8ab0a282498bbf6
BLAKE2b-256 f5d7636ffef5d153a432b8aaa85866cc52888b46914d8799f9ff0bb9002bde44

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp313-cp313-win32.whl.

File metadata

  • Download URL: talon_graph-0.0.1-cp313-cp313-win32.whl
  • Upload date:
  • Size: 758.2 kB
  • 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_graph-0.0.1-cp313-cp313-win32.whl
Algorithm Hash digest
SHA256 8c47220b3d48720c0848d14114f9d42703cff6f5aaf7ea348a8c5a61ecac301e
MD5 90eedd51f222fcbea7dd48c8f2adff5e
BLAKE2b-256 076e3f8710a808acf4f9ac52167a06ebb63f243214201a6baf6958ad8afe09d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp313-cp313-win32.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-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_graph-0.0.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 971247991080f201d4b62ef2daee40401e04b95f5c902a85bcc59584d7aa63af
MD5 b7a50b1668de49e07af5b12fb05b8b05
BLAKE2b-256 12d59fe715dec9960ff050233b59897a255ba687f18a4894393e7e9beac104e8

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_graph-0.0.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d571f3fe51b8a359e72d8dcfe1f7274526e97e64ac7e3f99b6688799590c3af7
MD5 3c276de1301c0f3f9efd8a2b73369bdf
BLAKE2b-256 5a98b2395e7fd2cb69b57d654f094de3b8257a073819597dc62768569d15e45b

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: talon_graph-0.0.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 783.7 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for talon_graph-0.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 54620de2bd37c19b0c40732ddf789e1f086f5bd5eab55677ef96be136e140110
MD5 6bd34007e3d46af27f30bfd6a110df49
BLAKE2b-256 df59558526b5c031e81d1de4735405b05e2543f44020c7922d37c7a5c9d55a05

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp312-cp312-win32.whl.

File metadata

  • Download URL: talon_graph-0.0.1-cp312-cp312-win32.whl
  • Upload date:
  • Size: 760.9 kB
  • 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_graph-0.0.1-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 7d20d1925a7ce23d5d5dc1514e4284e72da705f51a25f478a89c0622419f6a3f
MD5 b784d22f6167924c79517b6ee2c1c8e9
BLAKE2b-256 183816db04b0ea40c63119e680b35ee41ca741b61b7c028f7600dcba121839b6

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp312-cp312-win32.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-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_graph-0.0.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4f160559dc1142b79bc4e47ab29fdeae419e0483426a44c9c9c368520d09a269
MD5 b9183aaf227cb2807ec6423b0fed5e3d
BLAKE2b-256 9a0610df7a0342392bf018c33b962b4bcdcd5759e302b2c037fc6f171128d375

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_graph-0.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8fb56e18ca60c4f8ae4a474036d1d09f9de266764bb15a898af9b78157dede7e
MD5 2ef80f0a81dcde750ab063efcb3e018b
BLAKE2b-256 d9d7670e793a2f78dcf41778c010c9e0ae341dcc03506137942f9a1f3cdadb87

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: talon_graph-0.0.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 786.4 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for talon_graph-0.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 5ce5cce91ff9649968ffa9542d22fd8d6f0d1eb0e4441386b9f0206d7167c30b
MD5 3e7ca5b3add1e856667f52eb34f56390
BLAKE2b-256 4af5b645e4c882f70ac42254bf282b44adf48bb0fba317360231d00175c25519

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp311-cp311-win32.whl.

File metadata

  • Download URL: talon_graph-0.0.1-cp311-cp311-win32.whl
  • Upload date:
  • Size: 762.0 kB
  • 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_graph-0.0.1-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 7bcc56e71abcf850370d7e4033a18b39457309a0cea7878c7e4d6d7526f598c2
MD5 8462f6a646c1655c9618a05fedab01c8
BLAKE2b-256 307e4dec964679354ef3bd5670be7d84302ae39ad2b52f73c88e02f24a4c91f9

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp311-cp311-win32.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-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_graph-0.0.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 97514764b67c0647123e9e431045ba94630ea3fe9943e3495e7b9ecd04c37b6b
MD5 0192888bfcfa58d5db84c73855e17042
BLAKE2b-256 b8dcaa282e2e0cafaf7ea1bfe77b5807a749b5ca89cca5c693985e99a27feb8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_graph-0.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 989d09613a92877e00fa0a3b889c688b5062b466c61bdf3a72538ffac5d6a9fb
MD5 a57ada914807c05299b050dc24f88916
BLAKE2b-256 0ee5e3c1695f75e1b278fb89cfd23eeda8474a5fe224e49bb5ebc0efe8fbce81

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: talon_graph-0.0.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 786.7 kB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for talon_graph-0.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 20815c97c1562763fdff5269c7d57094da968ebcaee634a347afa1e8436fbf59
MD5 7839212c8dca64335d646b802f11014d
BLAKE2b-256 945e2f656e678752ef414c3795297d31f7b1092a8444ebac3c7ab38992c0a7bb

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp310-cp310-win_amd64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp310-cp310-win32.whl.

File metadata

  • Download URL: talon_graph-0.0.1-cp310-cp310-win32.whl
  • Upload date:
  • Size: 763.1 kB
  • 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_graph-0.0.1-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 3fa22222e55b1fc7fa81522fc7f56ecdaac0c9ee9c6ea28efda0a96cd93db604
MD5 18fb0df67a8f5c4722bf6fb9334e12ed
BLAKE2b-256 96e54ce9bf24c1393bcbd38d7674923de119de38ad8ca16d110fc36506ee244e

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp310-cp310-win32.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-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_graph-0.0.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 a9caa7648909ee933095f66e739e0ba2f449899b13decc6cc90c42a450f7e765
MD5 100fcc9e2cad6b940656fe215075ef55
BLAKE2b-256 77aac04c3daa0e9de4cf52ce22dc4ce0431d6f765cfe3f5c690850d33c98561e

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on type1compute/talongraph

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_graph-0.0.1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for talon_graph-0.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 64beec8cb4de6740bcd38f1efa74f4185e08f95ebb2d750ccda1e5ea373ae508
MD5 900aeb6789883b9635d4bc8026871c70
BLAKE2b-256 23ab532ca0adb259cb72cdd0a98aa131dd3ec220f28dea2b446a7909245c151e

See more details on using hashes here.

Provenance

The following attestation bundles were made for talon_graph-0.0.1-cp310-cp310-macosx_11_0_arm64.whl:

Publisher: publish.yml on type1compute/talongraph

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