paper-with-me

Papers

TensorBench: Benchmarking Coding Agents on a Compiler-Based Tensor Framework

2026-06-04 · Bobby Yan, Fredrik Kjolstad arxiv

Repository-level coding benchmarks face a trade-off between task difficulty and evaluation reliability: tasks that challenge frontier models often involve large codebases with incomplete test coverage, while human review does not scale. We introduce TensorBench, a benchmark of 199 feature-addition and refactoring tasks on an open-source compiler-based tensor framework that extends PyTorch with first-class support for dense and sparse tensors. Tasks cover new sparse formats, dense optimization passes, IR transformations, scheduler changes, runtime components, and high-level numerical operators. TensorBench grades each run by applying the agent's patch and running the framework's test suite, which includes the pre-existing randomized regression tests and any tests the agent adds. For feature-addition tasks, a pass means that the patched repository preserves the tested pre-existing behavior and satisfies the agent-added checks for the requested feature. We evaluate seven coding agents spanning three frontier model families and one open-weight model. Pass rates under this criterion range from $64.8\%$ for the strongest agent to $22.1\%$ for the weakest. Agents pass different subsets of tasks: pairwise Cohen's $κ$ ranges from $-0.07$ to $0.43$, with $κ= 0.05$ for the two strongest agents.

📄 PDF Abstract BibTeX arXiv:2606.05570

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CATBench: A Compiler Autotuning Benchmarking Suite for Black-box Optimization

2024-06-24 · Jacob O. Tørring, Carl Hvarfner, Luigi Nardi, Magnus Själander

Bayesian optimization is a powerful method for automating tuning of compilers. The complex landscape of autotuning provides a myriad of rarely considered structural challenges for black-box optimizers, and the lack of st…

Bayesian OptimizationBenchmarkingCompiler Optimizationtensor algebra

TapirXLA: Embedding Fork-Join Parallelism into the XLA Compiler in TensorFlow Using Tapir

2019-08-29 · Tao B. Schardl, Siddharth Samsi

This work introduces TapirXLA, a replacement for TensorFlow's XLA compiler that embeds recursive fork-join parallelism into XLA's low-level representation of code. Machine-learning applications rely on efficient parallel…

BIG-bench Machine LearningCPU

LazyTensor: combining eager execution with domain-specific compilers

2021-02-26 · Alex Suhan, Davide Libenzi, Ailing Zhang, Parker Schuh 외

Domain-specific optimizing compilers have demonstrated significant performance and portability benefits, but require programs to be represented in their specialized IRs. Existing frontends to these compilers suffer from …

Coverage-Guided Tensor Compiler Fuzzing with Joint IR-Pass Mutation

2022-02-21 · Jiawei Liu, Yuxiang Wei, Sen yang, Yinlin Deng 외

In the past decade, Deep Learning (DL) systems have been widely deployed in various domains to facilitate our daily life. Meanwhile, it is extremely challenging to ensure the correctness of DL systems (e.g., due to their…

GraphNet: A Large-Scale Computational Graph Dataset for Tensor Compiler Research

2025-10-28 · Xinqi Li, Yiqun Liu, Shan Jiang, Enrong Zheng 외 arxiv

We introduce GraphNet, a dataset of 2.7K real-world deep learning computational graphs with rich metadata, spanning six major task categories across multiple deep learning frameworks. To evaluate tensor compiler performa…