Skip to content

Commit

Permalink
docs: add build from source code guide (#431)
Browse files Browse the repository at this point in the history
chore: fix CI docker release tag (#428)

Signed-off-by: Keming <kemingy94@gmail.com>
  • Loading branch information
kemingy authored Aug 6, 2023
1 parent 44ad6c7 commit a4b6e46
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,20 @@ Mosec is a high-performance and flexible model serving framework for building ML

## Installation

Mosec requires Python 3.7 or above. Install the latest [PyPI package](https://pypi.org/project/mosec/) with:
Mosec requires Python 3.7 or above. Install the latest [PyPI package](https://pypi.org/project/mosec/) for Linux x86_64 or macOS x86_64 with:

```shell
pip install -U mosec
```

To build from the source code, install [Rust](https://www.rust-lang.org/) and run the following command:

```shell
make package
```

You will get a mosec wheel in the `/dist` folder.

## Usage

We demonstrate how Mosec can help you easily host a pre-trained stable diffusion model as a service. You need to install [diffusers](https://github.com/huggingface/diffusers) and [transformers](https://github.com/huggingface/transformers) as prerequisites:
Expand Down

0 comments on commit a4b6e46

Please sign in to comment.