paper-with-me

Papers

TorchOpt: An Efficient Library for Differentiable Optimization

2022-11-13 · Jie Ren, Xidong Feng, Bo Liu, Xuehai Pan, Yao Fu, Luo Mai, Yaodong Yang

Recent years have witnessed the booming of various differentiable optimization algorithms. These algorithms exhibit different execution patterns, and their execution needs massive computational resources that go beyond a single CPU and GPU. Existing differentiable optimization libraries, however, cannot support efficient algorithm development and multi-CPU/GPU execution, making the development of differentiable optimization algorithms often cumbersome and expensive. This paper introduces TorchOpt, a PyTorch-based efficient library for differentiable optimization. TorchOpt provides a unified and expressive differentiable optimization programming abstraction. This abstraction allows users to efficiently declare and analyze various differentiable optimization programs with explicit gradients, implicit gradients, and zero-order gradients. TorchOpt further provides a high-performance distributed execution runtime. This runtime can fully parallelize computation-intensive differentiation operations (e.g. tensor tree flattening) on CPUs / GPUs and automatically distribute computation to distributed devices. Experimental results show that TorchOpt achieves $5.2\times$ training time speedup on an 8-GPU server. TorchOpt is available at: https://github.com/metaopt/torchopt/.

📄 PDF Abstract BibTeX arXiv:2211.06934

Code (1)

metaopt/torchopt 공식 구현 jax

Tasks

CPUGPU

Methods 이 논문이 사용한 방법론

Library 설명 없음

Similar Papers 제목 키워드 기반

FLAMO: An Open-Source Library for Frequency-Domain Differentiable Audio Processing

2024-09-13 · Gloria Dal Santo, Gian Marco De Bortoli, Karolina Prawda, Sebastian J. Schlecht 외

We present FLAMO, a Frequency-sampling Library for Audio-Module Optimization designed to implement and optimize differentiable linear time-invariant audio systems. The library is open-source and built on the frequency-sa…

Differentiable Computational Geometry for 2D and 3D machine learning

2020-11-22 · Yuanxin Zhong

With the growth of machine learning algorithms with geometry primitives, a high-efficiency library with differentiable geometric operators are desired. We present an optimized Differentiable Geometry Algorithm Library (D…

BIG-bench Machine LearningGPU

Algorithmic Language Models with Neurally Compiled Libraries

2024-07-06 · Lucas Saldyt, Subbarao Kambhampati

Important tasks such as reasoning and planning are fundamentally algorithmic, meaning that solving them robustly requires acquiring true reasoning or planning algorithms, rather than shortcuts. Large Language Models lack…

Theseus: A Library for Differentiable Nonlinear Optimization

2022-07-19 · Luis Pineda, Taosha Fan, Maurizio Monge, Shobha Venkataraman 외

We present Theseus, an efficient application-agnostic open source library for differentiable nonlinear least squares (DNLS) optimization built on PyTorch, providing a common framework for end-to-end structured learning i…

GPU

Flexible Differentiable Optimization via Model Transformations

2022-06-10 · Mathieu Besançon, Joaquim Dias Garcia, Benoît Legat, Akshay Sharma

We introduce DiffOpt.jl, a Julia library to differentiate through the solution of optimization problems with respect to arbitrary parameters present in the objective and/or constraints. The library builds upon MathOptInt…

Hyperparameter Optimizationmodel