Python Optimization

Open-source Python projects categorized as Optimization

Top 23 Python Optimization Projects

Optimization
  1. 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: My personal favorite MCP server which has became part of my life | dev.to | 2025-05-27

    GitHub: github.com/ray-project/ray (Ray Serve is part of Ray)

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. BayesianOptimization

    A Python implementation of global optimization with gaussian processes.

  4. 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)

  5. AutoRAG

    AutoRAG: An Open-Source Framework for Retrieval-Augmented Generation (RAG) Evaluation & Optimization with AutoML-Style Automation

    Project mention: AIM Weekly 28 Oct 2024 | dev.to | 2024-10-28

    πŸ“Ž AutoRAG with Milvus πŸ› οΈ ADO 🫢 Self Hosting LLM 🌐 Noema Declarative AI πŸ“ New NIM Blueprint for building AI Virtual Assistant πŸš™ Zilliz Integrations 🫢 Using Milvus for Semantic Search πŸ€– Contextual Retrieval πŸ“Ž Meta: Quantized Light Weight Models πŸš™ https://arxiv.org/pdf/2407.01219 βœ… Cool Icons πŸ™Œ IBM Watson AI Milvus Bot πŸ“Ž The Hacker's Browser πŸ› οΈ Small and Mighty H2O Model πŸ“ Zilliz Cloud vs Qdrant πŸ’« Gravatino and Agents πŸ› οΈ OSS Summit Europe 2024 Report ▢️ RAG Strategi πŸ€– MS AI Data Visualizations 🌐 Graph RAG πŸ‘½ South Bay Meetup 15 Oct 2024 🦾 Influx and Milvus πŸ‘½ Multimodal Pipelines ✨ Constrained Sampling from LLM πŸš• BAML: Cheaper, Fast and More Accurate Function Calling πŸ“Š Infinite World Generation with outlines txt πŸ’» Ollama Client Swift πŸ” Atomic Agents πŸ•ΆοΈ PYMUPDF4LLM πŸš• Milvus for AI Agents πŸ“Š Fine Tuning LLAMA 3 with ORPO 🦾 Run NVIDIA Models πŸ’» LLM Training Meta Lingua ✨ 1 Bit LLM - MS BitNet πŸ’» Intro πŸ•ΆοΈ Mastering Chunk πŸ“Š Storm Stanford Tool 🐍 DAMO NLP SG CaRing πŸ” LLM Reasoners

  6. optimum

    πŸš€ Accelerate inference and training of πŸ€— Transformers, Diffusers, TIMM and Sentence Transformers with easy to use hardware optimization tools

  7. pennylane

    PennyLane is a cross-platform Python library for quantum computing, quantum machine learning, and quantum chemistry. Built by researchers, for research.

    Project mention: Pennylane – open-source Python framework for quantum programming | news.ycombinator.com | 2025-05-25
  8. optillm

    Optimizing inference proxy for LLMs

    Project mention: Show HN: DeepThink Plugin – Bring Gemini 2.5's parallel reasoning to open models | news.ycombinator.com | 2025-06-18

    - Increases inference time but significantly improves answer quality

    Link: https://github.com/codelion/optillm/tree/main/optillm/plugin...

  9. Stream

    Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.

    Stream logo
  10. rl-baselines3-zoo

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

  11. pyomo

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

  12. GeneticAlgorithmPython

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

  13. optax

    Optax is a gradient processing and optimization library for JAX.

  14. vizier

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

  15. model-optimization

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

  16. MLBox

    MLBox is a powerful Automated Machine Learning python library.

  17. ragbits

    Building blocks for rapid development of GenAI applications

    Project mention: Just dropped ragbits v1.0 and create-ragbits-app – spin up a RAG app in minutes | news.ycombinator.com | 2025-06-04

    Whether you're prototyping or scaling, this stack is built to grow with you β€” with real tooling, not just examples.

    Source code: https://github.com/deepsense-ai/ragbits

    Would love to hear your feedback or ideas β€” and if you’re building RAG apps, give create-ragbits-app a shot and tell us how it goes

  18. pyswarms

    A research toolkit for particle swarm optimization in Python

  19. 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
  20. cvxportfolio

    Portfolio optimization and back-testing.

  21. evotorch

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

  22. jaxopt

    Hardware accelerated, batchable and differentiable optimizers in JAX.

  23. geoopt

    Riemannian Adaptive Optimization Methods with pytorch optim

  24. 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.

  25. ck

    Collective Knowledge (CK), Collective Mind (CM/CMX) and MLPerf automations: community-driven projects to facilitate collaborative and reproducible research and to learn how to run AI, ML, and other emerging workloads more efficiently and cost-effectively across diverse models, datasets, software, and hardware using MLPerf methodology and benchmarks (by mlcommons)

  26. 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

  • Microsoft Trace: End-to-End Generative Optimization for AI Agents

    1 project | news.ycombinator.com | 6 Jun 2025
  • bt VS QTradeX-Algo-Trading-SDK - a user suggested alternative

    2 projects | 28 May 2025
  • Pennylane – open-source Python framework for quantum programming

    1 project | news.ycombinator.com | 25 May 2025
  • 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
  • A note from our sponsor - InfluxDB
    www.influxdata.com | 14 Jul 2025
    InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now. Learn more β†’

Index

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

# Project Stars
1 Ray 37,960
2 BayesianOptimization 8,316
3 scikit-opt 5,543
4 AutoRAG 4,085
5 optimum 2,975
6 pennylane 2,724
7 optillm 2,613
8 rl-baselines3-zoo 2,484
9 pyomo 2,229
10 GeneticAlgorithmPython 2,066
11 optax 1,934
12 vizier 1,576
13 model-optimization 1,539
14 MLBox 1,514
15 ragbits 1,500
16 pyswarms 1,345
17 Gradient-Free-Optimizers 1,235
18 cvxportfolio 1,090
19 evotorch 1,068
20 jaxopt 979
21 geoopt 917
22 evalml 816
23 ck 628

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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