Coder Social home page Coder Social logo

llm-training-inference-scripts's Introduction

Large language Model Fine tuning and Inference Scripts

Description

This repository includes all scripts to plugin any open source LLM model and finetune it for custom downstream tasks.

  1. It uses Deep Speed based ZERO-Infinity Optimizations to fit models greater than GPU memory by offloading Gradients, Optimizers onto CPU memory and NVMe (SSD)
  2. Accelerate library to distribute the workloads onto multiple GPUs in a node
  3. PEFT LORA Adapters, merging them with pretrained base LLM models
  4. vLLM Inference Server which can handle continuous batching and produce 23x higher throughput than naive pipelines

Visuals

Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.

Installation

Required packages to run these scripts are documented within the scripts

Authors and acknowledgment

  1. Shreyas S K ([email protected])

llm-training-inference-scripts's People

Contributors

shreyassk714 avatar

Watchers

Shreyas S K 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.