SearcharxivSearch

arXiv subjects

Pascal Carrivain

Publications and source records attributed to Pascal Carrivain.

2 recordsLinked to original sources

Fast Inference with Kronecker-Sparse Matrices

Kronecker-sparse (KS) matrices -- whose supports are Kronecker products of identity and all-ones blocks -- underpin the structure of Butterfly and Monarch matrices and offer the promise of more efficient models. However, existing GPU kernels for KS matrix multiplication suffer from high data movement costs, with up to 50% of time spent on memory-bound tensor permutations. We propose a fused, output-stationary GPU kernel that eliminates these overheads, reducing global memory traffic threefold. Across 600 KS patterns, our kernel achieves in FP32 a median speedup of x1.4 and lowers energy consumption by 15%. A simple heuristic based on KS pattern parameters predicts when our method outperforms existing ones. We release all code at github.com/PascalCarrivain/ksmm, including a PyTorch-compatible KSLinear layer, and demonstrate in FP32 end-to-end latency reductions of up to 22% in ViT-S/16 and 16% in GPT-2 medium.

cs.LG

Conformational Manipulation of DNA in Nanochannels Using Hydrodynamics

The control over DNA elongation in nanofluidic devices holds great potential for large-scale genomic analysis. So far, the manipulation of DNA in nanochannels has been mostly carried out with electrophoresis and seldom with hydrodynamics, although the physics of soft matter in nanoscale flows has raised considerable interest over the past decade. In this report the migration of DNA is studied in nanochannels of lateral dimension spanning 100 to 500 nm using both actuation principles. We show that the relaxation kinetics are 3-fold slowed down and the extension increases up to 3-fold using hydrodynamics. We propose a model to account for the onset in elongation with the flow, which assumes that DNA response is determined by the shear-driven lift forces mediated by the proximity of the channels' walls. Overall, we suggest that hydrodynamic actuation allows for an improved manipulation of DNA in nanochannels.

physics.bio-ph