遇见数据集

Reproducibility Artifacts for "LAMP: Look-Ahead Mixed-Precision Inference of Large Language Models"

收藏
Zenodo2026-01-30 更新2026-05-26 收录
官方服务:

资源简介:

This repository contains the code snapshot, conda environment, and raw experimental results for the paper LAMP: Look-Ahead Mixed-Precision Inference of Large Language Models Abstract: Mixed-precision computations are a hallmark of the current stage of AI, driving the progress in large language models towards efficient, locally deployable solutions. This article addresses the floating-point computation of compositionally-rich functions, concentrating on transformer inference. Based on the rounding error analysis of a composition $f(g(\mathrm{x}))$, we provide an adaptive strategy that selects a small subset of components of $g(\mathrm{x})$ to be computed more accurately while all other computations can be carried out with lower accuracy. We then explain how this strategy can be applied to different compositions within a transformer and illustrate its overall effect on transformer inference. We study the effectiveness of this algorithm numerically on GPT-2 models and demonstrate that already very low recomputation rates allow for improvements of up to two orders of magnitude in accuracy.

提供机构:
Zenodo
创建时间:
2026-01-30
二维码
社区交流群
二维码
科研交流群
商业服务