mirror of
https://github.com/bentoml/OpenLLM.git
synced 2026-05-04 05:42:44 -04:00
fix(resource): correctly parse CUDA_VISIBLE_DEVICES (#114)
This commit is contained in:
1
.github/workflows/binary-releases.yml
vendored
1
.github/workflows/binary-releases.yml
vendored
@@ -13,6 +13,7 @@ env:
|
||||
APP_NAME: openllm
|
||||
PYTHON_VERSION: '3.11'
|
||||
PYOXIDIZER_VERSION: '0.24.0'
|
||||
HATCH_VERBOSE: 10
|
||||
jobs:
|
||||
python-artifacts:
|
||||
name: Build wheel and source distribution
|
||||
|
||||
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -24,6 +24,7 @@ env:
|
||||
OPENLLM_DO_NOT_TRACK: True
|
||||
PYTHONUNBUFFERED: '1'
|
||||
STABLE_PYTHON_VERSION: '3.11'
|
||||
HATCH_VERBOSE: 10
|
||||
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#defaultsrun
|
||||
defaults:
|
||||
run:
|
||||
@@ -31,7 +32,6 @@ defaults:
|
||||
jobs:
|
||||
quality:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.event_name == 'pull_request'
|
||||
name: quality-check
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -43,6 +43,8 @@ jobs:
|
||||
python-version: ${{ env.STABLE_PYTHON_VERSION }}
|
||||
- name: Run type check
|
||||
run: hatch run typing
|
||||
- if: failure()
|
||||
run: echo "Not failing quality workflow."
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }}
|
||||
|
||||
2
.github/workflows/create-releases.yml
vendored
2
.github/workflows/create-releases.yml
vendored
@@ -28,6 +28,8 @@ on:
|
||||
defaults:
|
||||
run:
|
||||
shell: bash --noprofile --norc -exo pipefail {0}
|
||||
env:
|
||||
HATCH_VERBOSE: 10
|
||||
jobs:
|
||||
release:
|
||||
if: github.repository_owner == 'bentoml'
|
||||
|
||||
2
.github/workflows/release-notes.yml
vendored
2
.github/workflows/release-notes.yml
vendored
@@ -25,6 +25,8 @@ on:
|
||||
tags:
|
||||
required: true
|
||||
type: string
|
||||
env:
|
||||
HATCH_VERBOSE: 10
|
||||
defaults:
|
||||
run:
|
||||
shell: bash --noprofile --norc -exo pipefail {0}
|
||||
|
||||
Reference in New Issue
Block a user