Skip to content

Commit

Permalink
feat(router): refactor API and add openAPI schemas (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
OlivierDehaene authored Feb 3, 2023
1 parent b1482d9 commit 20c3c59
Show file tree
Hide file tree
Showing 38 changed files with 1,350 additions and 491 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
push:
branches:
- 'main'
tags:
- 'v*'
pull_request:
branches:
- 'main'
Expand Down Expand Up @@ -43,6 +45,8 @@ jobs:
ghcr.io/huggingface/text-generation-inference
registry.internal.huggingface.tech/api-inference/community/text-generation-inference
tags: |
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=raw,value=latest,enable=${{ github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
type=raw,value=sha-${{ env.GITHUB_SHA_SHORT }}
- name: Build and push Docker image
Expand Down
189 changes: 177 additions & 12 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 0 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,6 @@ members = [
"router/client",
"launcher"
]
exclude = [
"server/safetensors",
]

[profile.release]
debug = 1
Expand Down
Loading

0 comments on commit 20c3c59

Please sign in to comment.