Papers › Integrated Hardware Architecture and Device Placement Search

Integrated Hardware Architecture and Device Placement Search

18 Jul 2024arXiv:2407.13143archive 2025-07-28

Irene Wang, Jakub Tarnawski, Amar Phanishayee, Divya Mahajan

Distributed execution of deep learning training involves a dynamic interplay between hardware accelerator architecture and device placement strategy. This is the first work to explore the co-optimization of determining the optimal architecture and device placement strategy through novel algorithms, improving the balance of computational resources, memory usage, and data distribution. Our architecture search leverages tensor and vector units, determining their quantity and dimensionality, and on-chip and off-chip memory configurations. It also determines the microbatch size and decides whether to recompute or stash activations, balancing the memory footprint of training and storage size. For each explored architecture configuration, we use an Integer Linear Program (ILP) to find the optimal schedule for executing operators on the accelerator. The ILP results then integrate with a dynamic programming solution to identify the most effective device placement strategy, combining data, pipeline, and tensor model parallelism across multiple accelerators. Our approach achieves higher throughput on large language models compared to the state-of-the-art TPUv4 and the Spotlight accelerator search framework. The entire source code of PHAZE is available at https://github.com/msr-fiddle/phaze.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2407.13143")

Code

Syntology Ran 4 of 16 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · our draft was wrong; 1 ran with no contract checked.

By repository: official repository: 16 samples from 1 repository, 4 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

msr-fiddle/phaze officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 4 ran; 2 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · our draft was wrong
1ran
12unverified

Licence: 0 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from msr-fiddle/phaze. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

create_core_config msr-fiddle/phaze/Solver/solver.py official repository ran · honoured contract MIT (permissive) · ec69c754f196e872 · report
find_config_across_models msr-fiddle/phaze/Solver/solver.py official repository ran · metamorphic tier: deterministic MIT (permissive) · 245dff1bccbff4b8 · report
generate_out_filename msr-fiddle/phaze/Solver/solver.py official repository ran · our draft was wrong fingerprinted MIT (permissive) · 73fb0cda316ba202 · report
get_num_cores msr-fiddle/phaze/Solver/solver.py official repository ran · honoured contract MIT (permissive) · a2b8a47f1a78cbfb · report
device_placement msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 88f36ee3e7356cdc · report
extract_op_graph_ilp msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 726c74abb2a2fd17 · report
get_configs_to_explore msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 045095c47c56ff37 · report
get_next_acc_config msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 53484ad987afc3c9 · report
ilp msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 527a9f1d884b10d7 · report
latency_per_layer msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 1185447c7929792e · report
optimize_latency msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 54176a7933685d40 · report
run_solver msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 0f6fdba25526d18b · report
schedule_using_ilp_x_values msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 2f8e76fed12d4260 · report
solve msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 48468011bfdc665a · report
sort_acc_configs_by_area msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · b3f18a53011bc087 · report
write_explored_configs_to_file msr-fiddle/phaze/Solver/solver.py official repository unverified MIT (permissive) · 5594ad139855a245 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections