fix(resource): correctly parse CUDA_VISIBLE_DEVICES (#114)

This commit is contained in:
Aaron Pham
2023-07-15 07:19:35 -04:00
committed by GitHub
parent b291526248
commit b2dba6143f
23 changed files with 903 additions and 318 deletions

View File

@@ -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

View File

@@ -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' }}

View File

@@ -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'

View File

@@ -25,6 +25,8 @@ on:
tags:
required: true
type: string
env:
HATCH_VERBOSE: 10
defaults:
run:
shell: bash --noprofile --norc -exo pipefail {0}