Papers › Glow: Graph Lowering Compiler Techniques for Neural Networks

Glow: Graph Lowering Compiler Techniques for Neural Networks

2 May 2018arXiv:1805.00907links table onlyarchive 2025-07-28

Nadav Rotem, Jordan Fix, Saleem Abdulrasool, Garret Catron, Summer Deng, Roman Dzhabarov, Nick Gibson, James Hegeman, Meghan Lele, Roman Levenstein, Jack Montgomery, Bert Maher, Satish Nadathur, Jakob Olesen, Jongsoo Park, Artem Rakhov, Misha Smelyanskiy, Man Wang

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

This paper presents the design of Glow, a machine learning compiler for heterogeneous hardware. It is a pragmatic approach to compilation that enables the generation of highly optimized code for multiple targets. Glow lowers the traditional neural network dataflow graph into a two-phase strongly-typed intermediate representation. The high-level intermediate representation allows the optimizer to perform domain-specific optimizations. The lower-level instruction-based address-only intermediate representation allows the compiler to perform memory-related optimizations, such as instruction scheduling, static memory allocation and copy elimination. At the lowest level, the optimizer performs machine-specific code generation to take advantage of specialized hardware features. Glow features a lowering phase which enables the compiler to support a high number of input operators as well as a large number of hardware targets by eliminating the need to implement all operators on all targets. The lowering phase is designed to reduce the input space and allow new hardware backends to focus on a small number of linear algebra primitives.

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="1805.00907")

Code

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

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

pytorch/glow officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
HabDevops/glow mentioned on GitHubpytorchApache-2.0 report
iviarcio/glow-nmp mentioned on GitHubpytorchApache-2.0 report
sjw32/glow mentioned on GitHubpytorchApache-2.0 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

18 samples harvested; 2 ran; 0 honoured the contract we drafted; 16 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 · our draft was wrong
16unverified

Licence: 0 of the 18 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 pytorch/glow. “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.

conv1x1 pytorch/glow/torch_glow/utils/torchvision_fake/resnet.py official repository ran · our draft was wrong Apache-2.0 (permissive) · d9def42110729a85 · report
conv3x3 pytorch/glow/torch_glow/utils/torchvision_fake/resnet.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 160bb14bd76201b4 · report
accimage_loader pytorch/glow/utils/imagenet_topk_accuracy_driver.py official repository unverified Apache-2.0 (permissive) · c6a6d592fac4207a · report
center_crop pytorch/glow/torch_glow/utils/torchvision_fake/transforms.py official repository unverified Apache-2.0 (permissive) · da366058f867300e · report
crop pytorch/glow/torch_glow/utils/torchvision_fake/transforms.py official repository unverified Apache-2.0 (permissive) · a9bbaa08e7827857 · report
default_image_loader pytorch/glow/utils/imagenet_topk_accuracy_driver.py official repository unverified Apache-2.0 (permissive) · 984e14405e6a25ef · report
filter_node_transformation pytorch/glow/utils/compilation_filter.py official repository unverified Apache-2.0 (permissive) · 7e0e0f3068610ef4 · report
find_all_related_transformation pytorch/glow/utils/compilation_filter.py official repository unverified Apache-2.0 (permissive) · 773d008cb657aa60 · report
find_all_replaced_nodes pytorch/glow/utils/log_parser.py official repository unverified Apache-2.0 (permissive) · 2d9bd71d8d47b863 · report
init_db pytorch/glow/utils/compilation_filter.py official repository unverified Apache-2.0 (permissive) · 488f6fd3326fd5ca · report
init_db pytorch/glow/utils/log_parser.py official repository unverified Apache-2.0 (permissive) · ad72ce9123a98a26 · report
mode_0to1 pytorch/glow/utils/caffe2_pb_runner.py official repository unverified Apache-2.0 (permissive) · 58d65437202272b5 · report
mode_0to256 pytorch/glow/utils/caffe2_pb_runner.py official repository unverified Apache-2.0 (permissive) · 75c98dd70e687f49 · report
mode_128to127 pytorch/glow/utils/caffe2_pb_runner.py official repository unverified Apache-2.0 (permissive) · 5b3e7d8d033563ff · report
pickle_load pytorch/glow/utils/download_datasets_and_models.py official repository unverified Apache-2.0 (permissive) · 0b1b9afe65c79f72 · report
pil_loader pytorch/glow/utils/imagenet_topk_accuracy_driver.py official repository unverified Apache-2.0 (permissive) · 397bf3e58cfadb47 · report
resize pytorch/glow/torch_glow/utils/torchvision_fake/transforms.py official repository unverified Apache-2.0 (permissive) · 59659f8793b5e227 · report
resnet18 pytorch/glow/torch_glow/utils/torchvision_fake/resnet.py official repository unverified Apache-2.0 (permissive) · 3f0a356e3f033e3a · 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