Skip to main content

A distributed deep learning framework that supports flexible parallelization strategies.

Project description

FlexFlow: Low-Latency, High-Performance Training and Serving

build gpu tests multinode gpu tests docker pip shell-check clang-format Documentation Status


News 🔥:

  • [09/02/2023] Adding AMD GPU support, released Docker images for ROCM 5.3->5.6
  • [08/16/2023] Adding Starcoder model support
  • [08/14/2023] Released Docker image for different CUDA versions

Install FlexFlow

Requirements

  • OS: Linux
  • GPU backend: Hip-ROCm or CUDA
    • CUDA version: 10.2 – 12.0
    • NVIDIA compute capability: 6.0 or higher
  • Python: 3.6 or higher
  • Package dependencies: see here

Install with pip

You can install FlexFlow using pip:

pip install flexflow

Try it in Docker

If you run into any issue during the install, or if you would like to use the C++ API without needing to install from source, you can also use our pre-built Docker package for different CUDA versions and the hip_rocm backend. To download and run our pre-built Docker container:

docker run --gpus all -it --rm --shm-size=8g ghcr.io/flexflow/flexflow-cuda-12.0:latest

To download a Docker container for a backend other than CUDA v12.0, you can replace the cuda-12.0 suffix with any of the following backends: cuda-11.1, cuda-11.6, cuda-11.7, cuda-11.8, cuda-12.0, cuda-12.1, cuda-12.1, and hip_rocm-5.3, hip_rocm-5.4, hip_rocm-5.5, hip_rocm-5.6. More info on the Docker images, with instructions to build a new image from source, or run with additional configurations, can be found here.

Build from source

You can install FlexFlow Serve from source code by building the inference branch of FlexFlow. Please follow these instructions.

Get Started!

To get started, check out the quickstart guides below for the FlexFlow training and serving libraries.

Contributing

Please let us know if you encounter any bugs or have any suggestions by submitting an issue.

We welcome all contributions to FlexFlow from bug fixes to new features and extensions.

Citations

FlexFlow Serve:

FlexFlow Train:

The Team

FlexFlow is developed and maintained by teams at CMU, Facebook, Los Alamos National Lab, MIT, and Stanford (alphabetically).

License

FlexFlow uses Apache License 2.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

flexflow-24.9.1.tar.gz (33.4 MB view details)

Uploaded Source

File details

Details for the file flexflow-24.9.1.tar.gz.

File metadata

  • Download URL: flexflow-24.9.1.tar.gz
  • Upload date:
  • Size: 33.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.6

File hashes

Hashes for flexflow-24.9.1.tar.gz
Algorithm Hash digest
SHA256 875278592ef7fd8b842ead27157b629475dd07e9174b2ee1aa379b5858e91784
MD5 bd746088ba377374097e1aaacc59a21f
BLAKE2b-256 3831ab84bdcef880083adaeea9e2094a51dda4b24c040e48e70e841481a01bb2

See more details on using hashes here.

Supported by

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