Python Optimization

Open-source Python projects categorized as Optimization

Top 23 Python Optimization Projects

Optimization
  • Ray

    Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.

    Project mention: Ask HN: What Open Source Projects Need Help? | news.ycombinator.com | 2024-11-16

    I'm guessing this comment is some kind of "if you know, you know." Likely starting from https://docs.ray.io/en/latest/cluster/vms/user-guides/launch... and then trawling through one of these I guess https://github.com/ray-project/ray/issues?q=is%3Aissue+prem+...

  • CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  • BayesianOptimization

    A Python implementation of global optimization with gaussian processes.

  • scikit-opt

    Genetic Algorithm, Particle Swarm Optimization, Simulated Annealing, Ant Colony Optimization Algorithm,Immune Algorithm, Artificial Fish Swarm Algorithm, Differential Evolution and TSP(Traveling salesman)

  • optimum

    🚀 Accelerate inference and training of 🤗 Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

    Project mention: FastEmbed: Fast and Lightweight Embedding Generation for Text | dev.to | 2024-02-02

    Shout out to Huggingface's Optimum – which made it easier to quantize models.

  • pennylane

    PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Train a quantum computer the same way as a neural network.

    Project mention: List of free Quantum Toolkits | dev.to | 2024-12-10

    Penny Lane: https://pennylane.ai/

  • rl-baselines3-zoo

    A training framework for Stable Baselines3 reinforcement learning agents, with hyperparameter optimization and pre-trained agents included.

  • pyomo

    An object-oriented algebraic modeling language in Python for structured optimization problems.

    Project mention: pyomo VS timefold-solver - a user suggested alternative | libhunt.com/r/pyomo | 2024-01-04
  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • GeneticAlgorithmPython

    Source code of PyGAD, a Python 3 library for building the genetic algorithm and training machine learning algorithms (Keras & PyTorch).

  • optax

    Optax is a gradient processing and optimization library for JAX.

  • optillm

    Optimizing inference proxy for LLMs

    Project mention: Launch HN: Patched (YC S24) – AI workflows for post-code tasks | news.ycombinator.com | 2024-10-31
  • model-optimization

    A toolkit to optimize ML models for deployment for Keras and TensorFlow, including quantization and pruning.

  • MLBox

    MLBox is a powerful Automated Machine Learning python library.

  • vizier

    Python-based research interface for blackbox and hyperparameter optimization, based on the internal Google Vizier Service.

  • pyswarms

    A research toolkit for particle swarm optimization in Python

  • Gradient-Free-Optimizers

    Simple and reliable optimization with local, global, population-based and sequential techniques in numerical discrete search spaces.

    Project mention: New release of Gradient-Free-Optimizers with two new evolutionary algorithms | news.ycombinator.com | 2024-07-29
  • rl-baselines-zoo

    A collection of 100+ pre-trained RL agents using Stable Baselines, training and hyperparameter optimization included.

  • evotorch

    Advanced evolutionary computation library built directly on top of PyTorch, created at NNAISENSE.

  • cvxportfolio

    Portfolio optimization and back-testing.

  • jaxopt

    Hardware accelerated, batchable and differentiable optimizers in JAX.

  • geoopt

    Riemannian Adaptive Optimization Methods with pytorch optim

  • evalml

    EvalML is an AutoML library written in python.

    Project mention: 10 Open Source MLOps Projects You Didn’t Know About | dev.to | 2024-08-01

    EvalML Hyperparameter tuning and evaluating ML models are integral aspects of ML product development. EvalML is an AutoML library that aims to ease the process of building, optimizing, and evaluating ML models by helping engineers avoid manual training and tuning of models. It also includes data quality checks and cross-validation.

  • ck

    Collective Knowledge (CK) and Collective Mind (CM): learning how to run AI, ML and other emerging workloads in a more efficient and cost-effective way across diverse models, datasets, software and hardware using MLPerf, CM and CK (by mlcommons)

  • opytimizer

    🐦 Opytimizer is a Python library consisting of meta-heuristic optimization algorithms.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Optimization discussion

Log in or Post with

Python Optimization related posts

  • Launch HN: Patched (YC S24) – AI workflows for post-code tasks

    4 projects | news.ycombinator.com | 31 Oct 2024
  • Amazon's Exabyte-Scale Migration from Apache Spark to Ray on Amazon EC2

    6 projects | news.ycombinator.com | 29 Jul 2024
  • New release of Gradient-Free-Optimizers with two new evolutionary algorithms

    2 projects | news.ycombinator.com | 29 Jul 2024
  • PennyLane: Python library for differentiable programming of quantum computers

    1 project | news.ycombinator.com | 7 May 2024
  • pyomo VS timefold-solver - a user suggested alternative

    2 projects | 4 Jan 2024
  • cvxportfolio: NEW Portfolio Selection and Optimisation - star count:690.0

    1 project | /r/algoprojects | 10 Dec 2023
  • Using Large Language Models for Hyperparameter Optimization, Zhang et al. 2023 [GPT-4 is quite good at finding the optimal hyperparameters for machine learning tasks]

    2 projects | /r/mlscaling | 10 Dec 2023
  • A note from our sponsor - CodeRabbit
    coderabbit.ai | 12 Dec 2024
    Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR. Learn more →

Index

What are some of the best open-source Optimization projects in Python? This list will help you:

Project Stars
1 Ray 34,319
2 BayesianOptimization 7,965
3 scikit-opt 5,308
4 optimum 2,613
5 pennylane 2,401
6 rl-baselines3-zoo 2,120
7 pyomo 2,058
8 GeneticAlgorithmPython 1,900
9 optax 1,726
10 optillm 1,744
11 model-optimization 1,500
12 MLBox 1,497
13 vizier 1,490
14 pyswarms 1,293
15 Gradient-Free-Optimizers 1,208
16 rl-baselines-zoo 1,129
17 evotorch 1,025
18 cvxportfolio 1,001
19 jaxopt 939
20 geoopt 860
21 evalml 787
22 ck 611
23 opytimizer 606

Sponsored
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai

Did you konow that Python is
the 2nd most popular programming language
based on number of metions?