Skip to main content

Lightning ⚡ Colossal-AI

Efficient Large-Scale Distributed Training with Colossal-AI and Lightning AI

lightning PyPI Status PyPI - Python Version PyPI Status Deploy Docs

General checks CI testing Build Status pre-commit.ci status


Installation

pip install -U lightning-colossalai

Usage

Simply set the strategy argument in the Trainer:

import lightning as L

trainer = L.Trainer(strategy="colossalai", precision="16-mixed", devices=...)

For more fine-grained tuning of Colossal-AI's parameters, pass the strategy object to the Trainer:

import lightning as L
from lightning_colossalai import ColossalAIStrategy

strategy = ColossalAIStrategy(...)
trainer = L.Trainer(strategy=strategy, precision="16-mixed", devices=...)

Find all configuration options in the docs!

Metadata

Release files for lightning-colossalai 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lightning-colossalai 0.1.0
File Size Uploaded Provenance
lightning-colossalai-0.1.0.tar.gz 15.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for lightning-colossalai 0.1.0
File Interpreter ABI Platform
lightning_colossalai-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 30.7 kB

Release files / lightning-colossalai-0.1.0.tar.gz

Download URL lightning-colossalai-0.1.0.tar.gz
Size 15.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3e483405012aea6ef8c1d7b9dd04c227dc45ad331f374e6ff3c0ff185f9aaedf
BLAKE2b-256 checksum
How to use checksums
2d5b59fdfecd68ad119ec923bac3451956239ca403774541e443eda2a2718377
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Release files / lightning_colossalai-0.1.0-py3-none-any.whl

Download URL lightning_colossalai-0.1.0-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
46783c408f52747517a4c28424f03fa3813c5d7accc5aa7d1fed1aac955122a4
BLAKE2b-256 checksum
How to use checksums
dc148cb492a6ed13a6712d2ccf01aba4250332d0cdf23835299e6394bdfd5b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.2

Security for lightning-colossalai 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page