Model Hubs & Serving

optim

Optimization library for Torch with various algorithms.

Status
UnmaintainedNo commits in 3193 days.
Last checked
Checked · Oct 10, 2026
License
Open source
Pricing
Free tier · from $0

What it is

An optimization library for the Torch framework offering a variety of algorithms including SGD, Adagrad, Conjugate-Gradient, LBFGS, and RProp. It is essential for developers working on deep learning projects who require efficient optimization techniques.

optim stands out by offering a comprehensive set of optimization algorithms directly integrated into the Torch framework, making it an essential tool for deep learning projects within this ecosystem.

When it fits — and when it doesn’t

A good fit for

  • Teams working on Torch-based projects who need a robust set of optimization algorithms.

  • Researchers and developers looking for open-source solutions for deep learning model training.

Look elsewhere if

  • Projects that require real-time optimization in production environments as it is self-hosted.

  • Developers preferring cloud-managed services over local installations.

Known weaknesses

Each one links to the public issue, changelog or docs page it came from, where we have one.

  1. 01

    Limited Language Support

    The library is primarily designed for Lua and has limited support for other languages, which can restrict its usability in diverse development environments.

  2. 02

    Small Community and Limited Documentation

    Due to the niche nature of the tool and its primary focus on Lua, there is a smaller community contributing to it, leading to less comprehensive documentation and fewer resources for troubleshooting.

  3. 03

    Performance Issues at Scale

    Optim may experience performance degradation when handling large datasets or complex models, which can be critical in deep learning applications where efficiency is paramount.

  4. 04

    Complex Setup and Configuration

    Integrating Optim with existing Torch projects requires a detailed understanding of both the library's requirements and the project's architecture, leading to a more complex setup process.

What it does well

  • Variety of optimization algorithms including SGD, Adagrad, Conjugate-Gradient, LBFGS, and RProp.

  • Highly integrated with the Torch framework for seamless usage in deep learning projects.

  • Open-source nature allows for community contributions and improvements.

Pricing

Free tier
YesOpen source — free to use
Paid from
$0
Model
Flat rate
Enterprise plan
No

Pricing not independently confirmed — check the vendor’s page.

Performance benchmarks

How Fast Is It?

Set up optim

Setup steps, common gotchas and what to check after 30 days.

Open the setup guide →
Get the badge

A small badge for optim’s README or site: its name, “Tracked on AI Navigator”, and the availability status and check month from this page. It updates as the catalog does.

optim — tracked on AI Navigator

Markdown

[![optim — tracked on AI Navigator](https://navigateaitools.com/badge/optim.svg)](https://navigateaitools.com/explorer/tool/optim)

HTML

<a href="https://navigateaitools.com/explorer/tool/optim"><img src="https://navigateaitools.com/badge/optim.svg" alt="optim — tracked on AI Navigator" height="58"></a>