GithubHelp home page GithubHelp logo

benchmark's Introduction

Initial setup

  1. Download vllm and axolotl to the root of this project:
    git clone https://github.com/OpenAccess-AI-Collective/axolotl.git
    git clone https://github.com/vllm-project/vllm.git
  1. Docker build: This is the standard docker build. Use Runpod's dockerhub to build and push models.
    sudo docker build --no-cache -t benchmark:latest .

There are a few different types of docker that you can build. For a heavier version (which optimizes for runtime), you can build using the Dockerfile.heavy file. For H100s, they do not work with the standard mpi4py installation, so we need to build using the Dockerfile.H100 file.

  1. How to test shell commands for the Dockerfile and the script? To get commands for your script, ssh into a docker container with the base image. Run your commands there and then copy those commands over to the script.

  2. How to select the right models? Use this HF spaces to pick the right model for inference and fine-tuning:

    https://huggingface.co/spaces/hf-accelerate/model-memory-usage

Known issues

  • For extremely small machine sizes (<= 2x A2000), the benchmark will not work. This is because installing vllm requires some amount of RAM and these machines might not have it. But we might never want to accept machines smaller than 3xA2000.
  • Does not work with V100s because they are quite old and do not support some key functionalities.

benchmark's People

Contributors

pierre818181 avatar

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.