mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-12 04:44:52 +00:00
WTF.
This commit is contained in:
parent
d31fff8ac3
commit
c1c207206d
9
.github/workflows/tests.yaml
vendored
9
.github/workflows/tests.yaml
vendored
@ -39,6 +39,7 @@ jobs:
|
|||||||
# Released on: 02 May, 2024
|
# Released on: 02 May, 2024
|
||||||
# https://releases.rs/docs/1.78.0/
|
# https://releases.rs/docs/1.78.0/
|
||||||
toolchain: 1.80.0
|
toolchain: 1.80.0
|
||||||
|
override: true
|
||||||
components: rustfmt, clippy
|
components: rustfmt, clippy
|
||||||
- name: Install Protoc
|
- name: Install Protoc
|
||||||
uses: arduino/setup-protoc@v1
|
uses: arduino/setup-protoc@v1
|
||||||
@ -68,12 +69,9 @@ jobs:
|
|||||||
# path: |
|
# path: |
|
||||||
# ~/.cargo/registry
|
# ~/.cargo/registry
|
||||||
# ~/.cargo/git
|
# ~/.cargo/git
|
||||||
- name: Setup tmate session
|
|
||||||
uses: mxschmitt/action-tmate@v3
|
|
||||||
- name: Install
|
- name: Install
|
||||||
run: |
|
run: |
|
||||||
# export LD_LIBRARY_PATH="${{ env.pythonLocation }}/lib/:$LD_LIBRARY_PATH"
|
sudo apt install python3.11-dev
|
||||||
ls ${{ env.pythonLocation }}/lib/
|
|
||||||
make install-cpu
|
make install-cpu
|
||||||
- name: Run server tests
|
- name: Run server tests
|
||||||
run: |
|
run: |
|
||||||
@ -87,9 +85,6 @@ jobs:
|
|||||||
pre-commit run --all-files
|
pre-commit run --all-files
|
||||||
- name: Run Rust tests
|
- name: Run Rust tests
|
||||||
run: |
|
run: |
|
||||||
export LD_LIBRARY_PATH="${{ env.pythonLocation }}/lib/:$LD_LIBRARY_PATH"
|
|
||||||
echo $LD_LIBRARY_PATH
|
|
||||||
ls ${{ env.pythonLocation }}/lib/
|
|
||||||
cargo test
|
cargo test
|
||||||
# - name: sccache stats
|
# - name: sccache stats
|
||||||
# run: |
|
# run: |
|
||||||
|
Loading…
Reference in New Issue
Block a user