SearcharxivSearch

arXiv subjects

Badal Yadav

Publications and source records attributed to Badal Yadav.

2 recordsLinked to original sources

LoRAShear: Efficient Large Language Model Structured Pruning and Knowledge Recovery

Large Language Models (LLMs) have transformed the landscape of artificial intelligence, while their enormous size presents significant challenges in terms of computational costs. We introduce LoRAShear, a novel efficient approach to structurally prune LLMs and recover knowledge. Given general LLMs, LoRAShear at first creates the dependency graphs over LoRA modules to discover minimally removal structures and analyze the knowledge distribution. It then proceeds progressive structured pruning on LoRA adaptors and enables inherent knowledge transfer to better preserve the information in the redundant structures. To recover the lost knowledge during pruning, LoRAShear meticulously studies and proposes a dynamic fine-tuning schemes with dynamic data adaptors to effectively narrow down the performance gap to the full models. Numerical results demonstrate that by only using one GPU within a couple of GPU days, LoRAShear effectively reduced footprint of LLMs by 20% with only 1.0% performance degradation and significantly outperforms state-of-the-arts. The source code will be available at https://github.com/microsoft/lorashear.

cs.CL

A Characteristic Mapping Method for the two-dimensional incompressible Euler equations

We propose an efficient semi-Lagrangian method for solving the two-dimensional incompressible Euler equations with high precision on a coarse grid. The new approach evolves the flow map using the gradient-augmented level set method (GALSM). Since the flow map can be decomposed into submaps (each over a finite time interval), the error can be controlled by choosing the remapping times appropriately. This leads to a numerical scheme that has exponential resolution in linear time. Error estimates are provided and conservation properties are analyzed. The computational efficiency and the high precision of the method are illustrated for a vortex merger and a four mode and a random flow. Comparisons with a Cauchy-Lagrangian method are also presented.

math.NA