Git Product home page Git Product logo

llm-swarm's Introduction

๐Ÿ Fork of llm-swarm ๐Ÿฆ‹

Manage scalable open LLM inference endpoints in Runai and Slurm clusters

Features

  • ๐Ÿ˜Ž This fork implements the management for RunAI clusters as well. ๐Ÿ˜Ž
  • Generate synthetic datasets for pretraining or fine-tuning using either local LLMs or Inference Endpoints on the Hugging Face Hub.
  • Integrations with huggingface/text-generation-inference and vLLM to generate text at scale.

What's different here ?

  • Support for RunAI Schedulers is added.

  • The code is agnostic to a specific scheduler, new ones can be added following the BaseScheduler.py class

  • Templates have been cleaned up and an example for running with RunAI is given.

  • __init__.py is more readable.

  • utils.py is a file full of helper functions

  • Typing is used to avoid type errors in functions

Install and prepare

pip install -e .
# or pip install llm_swarm
mkdir -p .cache/
# you can customize the above docker image cache locations and change them in `templates/tgi_h100.template.slurm` and `templates/vllm_h100.template.slurm`

For the rest read the official README.md

llm-swarm's People

Contributors

vwxyzjn avatar loubnabnl avatar thomwolf avatar tugdualkerjan avatar lewtun avatar eltociear avatar

Stargazers

 avatar

Forkers

schwallergroup

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.