Skip to main content

veScale: A PyTorch Native LLM Training Framework

Project description

A PyTorch Native LLM Training Framework

An Industrial-Level Framework for Easy-of-Use

  • 🔥 PyTorch Native: veScale is rooted in PyTorch-native data structures, operators, and APIs, enjoying the ecosystem of PyTorch that dominates the ML world.

  • 🛡 Zero Model Code Change: veScale decouples distributed system design from model architecture, requiring near-zero or zero modification on the model code of users.

  • 🚀 Single Device Abstraction: veScale provides single-device semantics to users, automatically distributing and orchestrating model execution in a cluster of devices.

  • 🎯 Automatic Parallelism Planning: veScale parallelizes model execution with a synergy of strategies (tensor, sequence, data, ZeRO, pipeline parallelism) under semi- or full-automation [coming soon].

  • Eager & Compile Mode: veScale supports not only Eager-mode automation for parallel training and inference but also Compile-mode for ultimate performance [coming soon].

  • 📀 Automatic Checkpoint Resharding: veScale manages distributed checkpoints automatically with online resharding across different cluster sizes and different parallelism strategies.

Latest News

  • [2024-5-31] veScale's fast checkpointing system open sourced with automatic checkpoint resharding, caching, load-balancing, fast copying, deduplicating, and asynchronous io.

  • [2024-5-21] veScale's examples (Mixtral, LLama2, and nanoGPT) open sourced with bit-wise correctness of training loss curves.

  • [2024-5-13] The debut of veScale in MLSys 2024 as a poster.

  • [2024-4-16] Our internal LLM training system presented in NSDI 2024.

Coming Soon

veScale is still in its early phase. We are refactoring our internal LLM training system components to meet open source standard. The tentative timeline is as follows:

  • by end of July, CUDA event monitor, pipeline parallelism and supporting components for large-scale training

Table of Content (web view)

Introduction

Quick Start

DTensor

Parallel

Plan

Checkpoint

We Are Hiring!

License

The veScale Project is under the Apache License v2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

vescale-0.0.1.tar.gz (458.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

vescale-0.0.1-py3-none-any.whl (575.5 kB view details)

Uploaded Python 3

File details

Details for the file vescale-0.0.1.tar.gz.

File metadata

  • Download URL: vescale-0.0.1.tar.gz
  • Upload date:
  • Size: 458.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.1

File hashes

Hashes for vescale-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d77ffb15b261b3f12cf5438b76435b0d06ccc5eeec3a60ac400519d42c522e2b
MD5 de76a31598185abcd24e3d88118de05b
BLAKE2b-256 0f3baf35111e70e4593bcdc82b36092b0271cbc4609bace8f8481afdb8834e4a

See more details on using hashes here.

File details

Details for the file vescale-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: vescale-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 575.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.1

File hashes

Hashes for vescale-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1c5b6963e9cda295670dfe112629d86ad4463c638f7e033257f605b1798e5168
MD5 8256de82fe53a1620f2be447d2cd1722
BLAKE2b-256 559bee033d2447ffe4f4cce8f938af1af7cd32e5620fe51725e1c73723cd16d7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page