Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nightly #34

Merged
merged 5 commits into from
Oct 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 0 additions & 47 deletions .github/workflows/gen_readme.yml

This file was deleted.

11 changes: 10 additions & 1 deletion .github/workflows/make_bentos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permissions:
contents: write

jobs:
generate-readme:
make-bentos:
runs-on: ubuntu-latest

steps:
Expand All @@ -29,6 +29,14 @@ jobs:
make
cd ..

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install jinja2 openllm

- name: Run gen_readme.py
run: python gen_readme.py

- name: Configure git
run: |
git config --global user.name 'github-actions[bot]'
Expand All @@ -38,6 +46,7 @@ jobs:
run: |
if [[ -n $(git status -s) ]]; then
git add bentoml/bentos/*
git add README.md
git commit -m "chore: make bentos"
git push origin nightly
else
Expand Down
109 changes: 55 additions & 54 deletions README.md

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

2 changes: 0 additions & 2 deletions gen_readme.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
import sys


subprocess.check_call([sys.executable, "-m", "openllm", "repo", "remove", "default"])
subprocess.check_call([sys.executable, "-m", "openllm", "repo", "update"])
model_list = subprocess.check_output(
[sys.executable, "-m", "openllm", "model", "list"],
env={"OPENLLM_TEST_REPO": "."},
Expand Down
Loading