GithubHelp home page GithubHelp logo

premai-io / benchmarks Goto Github PK

View Code? Open in Web Editor NEW
109.0 12.0 3.0 2.28 MB

๐Ÿ•น๏ธ Performance Comparison of MLOps Engines, Frameworks, and Languages on Mainstream AI Models.

License: MIT License

Shell 54.87% Rust 4.11% Python 41.02%
ai inference-engines llmops mlops benchmarks latency performances

benchmarks's Issues

Burn Upgrade

Upgrade burn version from 0.9.0 to 0.10.0 in llama burn

Roadmap - Task List

Minor fixes:

  • Fix the supported features table, to better reflect reality.
  • Cleanup the code and ensure names for user exposed ENV variables are consistent.
  • Handle quantization information, and provide info regarding quantization method used across models and scripts in the README. (llama.cpp quantization vs tinygrad vs CTranslate2 vs GPTQ)
  • Provide more CLI options for running individual scripts with other models as well. For testing frameworks on systems with less memory.

Feature(in order of priority):

  • Add custom model runner code, for running benchmarks and provide hooks for directly reporting performance metrics into as an output.
  • Setup scripts for running benchmarks with a single command and getting proper performance reports.
  • Improve caching for models, currently some scripts will end up redownloading the models, which has already been fixed for some.
  • Simplify running for any specific platform(nvidia/mac), with any supported model.
  • Auto-setup rust, python, git and etc, for the user before running the benchmark(low priority).

Petals

Test with a private swarm (refer to premAI-io/dev-portal#69)

Questions

  • Where are the bottlenecks?
  • There are no advantages to build_gpu? there's no way to force using both the local GPU and the swarm (without connecting the local GPU to the swarm)?
  • Compare Petals with Deepspeed in a centralized scenario.

PyTorch

PyTorch (Transformers) (test multiple versions eg 1.2.1 vs 2.1.0)

Linter

Description

Most of the repo is in Python. Set up a linter accordingly. Check prem-daemon accordingly.

AWQ Quantization

Description

Benchmarks for inference engines supporting this quantization method.

Two commands to run all the benchmarks

Description

The repo should expose two commands:

  • Command to run benchmarks on Mac (CPU/GPU when available)
  • Command to run benchmarks on NVIDIA GPUs

I should be able to clone the repo git clone and run bash ./mac.sh or bash ./nvidia.sh. If you want you can have multiple abstractions and CLI exposed, but this is the final objective.

Standard output should print the results in a consistent manner in order to be able to check them easily.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.