Saved in:
Bibliographic Details
Main Author: Granziol, Diego
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.11564
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918023480213504
author Granziol, Diego
author_facet Granziol, Diego
contents Whilst there have been major advancements in the field of first order optimisation of deep learning models, where state of the art open source mixture of expert models go into the hundreds of billions of parameters, methods that rely on Hessian vector products, are still limited to run on a single GPU and thus cannot even work for models in the billion parameter range. We release a software package \textbf{HessFormer}, which integrates nicely with the well known Transformers package and allows for distributed hessian vector computation across a single node with multiple GPUs. Underpinning our implementation is a distributed stochastic lanczos quadrature algorithm, which we release for public consumption. Using this package we investigate the Hessian spectral density of the recent Deepseek $70$bn parameter model.
format Preprint
id arxiv_https___arxiv_org_abs_2505_11564
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle HessFormer: Hessians at Foundation Scale
Granziol, Diego
Machine Learning
Whilst there have been major advancements in the field of first order optimisation of deep learning models, where state of the art open source mixture of expert models go into the hundreds of billions of parameters, methods that rely on Hessian vector products, are still limited to run on a single GPU and thus cannot even work for models in the billion parameter range. We release a software package \textbf{HessFormer}, which integrates nicely with the well known Transformers package and allows for distributed hessian vector computation across a single node with multiple GPUs. Underpinning our implementation is a distributed stochastic lanczos quadrature algorithm, which we release for public consumption. Using this package we investigate the Hessian spectral density of the recent Deepseek $70$bn parameter model.
title HessFormer: Hessians at Foundation Scale
topic Machine Learning
url https://arxiv.org/abs/2505.11564