Skip to content

Commit

Permalink
chore: fix CI docker release tag (mosecorg#428)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <kemingy94@gmail.com>
  • Loading branch information
kemingy committed Aug 6, 2023
1 parent 30261fe commit 22fe3e1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ jobs:
uses: docker/build-push-action@v4
with:
push: true
tags: mosecorg/mosec:${{ github.ref }}
tags: mosecorg/mosec:${{ github.event.ref }}
file: Dockerfile
platforms: linux/amd64,linux/arm64
cache-from: type=gha
Expand Down
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 22fe3e1

Please sign in to comment.