Metadata-Version: 2.1
Name: lmflow
Version: 0.0.7
Summary: LMFlow: Large Model Flow.
Author: The LMFlow Team
Classifier: Intended Audience :: Science/Research/Engineering
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: packaging
Requires-Dist: numpy==1.24.2
Requires-Dist: datasets==2.14.6
Requires-Dist: tokenizers>=0.13.3
Requires-Dist: peft>=0.10.0
Requires-Dist: torch>=2.0.1
Requires-Dist: wandb==0.14.0
Requires-Dist: deepspeed==0.10.0
Requires-Dist: trl>=0.7.11
Requires-Dist: sentencepiece
Requires-Dist: transformers>=4.31.0
Requires-Dist: flask
Requires-Dist: flask_cors
Requires-Dist: icetk
Requires-Dist: cpm_kernels==1.0.11
Requires-Dist: evaluate==0.4.0
Requires-Dist: scikit-learn==1.2.2
Requires-Dist: lm-eval==0.3.0
Requires-Dist: dill<0.3.5
Requires-Dist: bitsandbytes>=0.40.0
Requires-Dist: pydantic<=1.10.9
Requires-Dist: gradio
Requires-Dist: accelerate>=0.27.2
Requires-Dist: einops>=0.6.1
Requires-Dist: scikit-learn==1.2.2

## Quick Start

### Setup

Our package has been tested on Linux OS (Ubuntu 20.04). Other OS platforms (MacOS, Windows) are not fully tested, where you may encounter unexpected errors. If you are using LMFlow for the first time, we recommend you to try on a Linux machine or Google Colab.

CUDA versions 10.3-11.7 are supported in versions `v0.0.5` or older. For CUDA versions greater than 11.7, one can use our stable branch `>= v0.0.6`.

```bash
cd LMFlow
conda create -n lmflow python=3.9 -y
conda activate lmflow
conda install mpi4py
bash install.sh
pip install peft
```

### Minimal Example

#### 

```bash
bash owlore_scripts/run_lisa.sh # LISA
```

```bash
bash owlore_scripts/run_owlore_low_rank.sh # OwLore
```
