some WSL instructions and fixes #35
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: rLLM | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
branches: [ "main" ] | |
env: | |
CARGO_TERM_COLOR: always | |
TORCH_CUDA_ARCH_LIST: 8.0 | |
CUDA_COMPUTE_CAP: 80 | |
LIBTORCH_USE_PYTORCH: 1 | |
LIBTORCH_BYPASS_VERSION_CHECK: 1 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
- uses: hendrikmuhs/[email protected] | |
- run: pip install torch==2.1.0 | |
- uses: Jimver/[email protected] | |
id: cuda-toolkit | |
with: | |
cuda: '12.3.2' | |
- run: echo "Installed cuda version is ${{ steps.cuda-toolkit.outputs.cuda }}" | |
- run: echo "Cuda install location ${{ steps.cuda-toolkit.outputs.CUDA_PATH }}" | |
- run: nvcc -V | |
- name: Build rLLM | |
run: cargo build --verbose --release | |
working-directory: rllm |