paper-with-me

Papers

Kernel Operations on the GPU, with Autodiff, without Memory Overflows

2020-03-27 · Benjamin Charlier, Jean Feydy, Joan Alexis Glaunès, François-David Collin, Ghislain Durif

The KeOps library provides a fast and memory-efficient GPU support for tensors whose entries are given by a mathematical formula, such as kernel and distance matrices. KeOps alleviates the major bottleneck of tensor-centric libraries for kernel and geometric applications: memory consumption. It also supports automatic differentiation and outperforms standard GPU baselines, including PyTorch CUDA tensors or the Halide and TVM libraries. KeOps combines optimized C++/CUDA schemes with binders for high-level languages: Python (Numpy and PyTorch), Matlab and GNU R. As a result, high-level "quadratic" codes can now scale up to large data sets with millions of samples processed in seconds. KeOps brings graphics-like performances for kernel methods and is freely available on standard repositories (PyPi, CRAN). To showcase its versatility, we provide tutorials in a wide range of settings online at \url{www.kernel-operations.io}.

📄 PDF Abstract BibTeX arXiv:2004.11127

Code (0)

등록된 구현이 없습니다.

Tasks

GPU

Similar Papers 제목 키워드 기반

Encrypted Neural Networks without Overflows

2026-05-21 · Philipp Kern, Lorenzo Rovida, Samuel Teuber, Edoardo Manino 외 arxiv

Fully homomorphic encryption (FHE) enables private inference by evaluating neural networks on encrypted data. In this way, we can delegate the computation to a third party server without ever revealing the user's data. C…

TorchNTK: A Library for Calculation of Neural Tangent Kernels of PyTorch Models

2022-05-24 · Andrew Engel, Zhichao Wang, Anand D. Sarwate, Sutanay Choudhury 외

We introduce torchNTK, a python library to calculate the empirical neural tangent kernel (NTK) of neural network models in the PyTorch framework. We provide an efficient method to calculate the NTK of multilayer perceptr…

LLM-AutoDiff: Auto-Differentiate Any LLM Workflow

2025-01-28 · Li Yin, Zhangyang Wang

Large Language Models (LLMs) have reshaped natural language processing, powering applications from multi-hop retrieval and question answering to autonomous agent workflows. Yet, prompt engineering -- the task of crafting…

Prompt EngineeringQuestion AnsweringRetrieval

Memory Safe Computations with XLA Compiler

2022-06-28 · Artem Artemev, Tilman Roeder, Mark van der Wilk

Software packages like TensorFlow and PyTorch are designed to support linear algebra operations, and their speed and usability determine their success. However, by prioritising speed, they often neglect memory requiremen…

Towards security defect prediction with AI

2018-08-29 · Carson D. Sestili, William S. Snavely, Nathan M. VanHoudnos

In this study, we investigate the limits of the current state of the art AI system for detecting buffer overflows and compare it with current static analysis tools. To do so, we developed a code generator, s-bAbI, capabl…

Prediction