mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-09-29 20:25:56 +00:00
add cuda to cmake args
This commit is contained in:
parent
cb3fa20f13
commit
ecbfed4fc5
4
.github/workflows/build-cuda.yml
vendored
4
.github/workflows/build-cuda.yml
vendored
@ -46,7 +46,7 @@ jobs:
|
|||||||
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
# See https://cmake.org/cmake/help/latest/variable/CMAKE_BUILD_TYPE.html?highlight=cmake_build_type
|
||||||
run: |
|
run: |
|
||||||
cd ${{github.workspace}}/ggml
|
cd ${{github.workspace}}/ggml
|
||||||
cmake -B ${{github.workspace}}/ggml/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -D CMAKE_EXE_LINKER_FLAGS="-static"
|
cmake -B ${{github.workspace}}/ggml/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -D CMAKE_EXE_LINKER_FLAGS="-static" -DGGML_CUBLAS=ON
|
||||||
cd ${{github.workspace}}/ggml/build
|
cd ${{github.workspace}}/ggml/build
|
||||||
make codegen codegen-serve codegen-quantize
|
make codegen codegen-serve codegen-quantize
|
||||||
chmod +x ${{github.workspace}}/ggml/build/bin/codegen
|
chmod +x ${{github.workspace}}/ggml/build/bin/codegen
|
||||||
@ -64,7 +64,7 @@ jobs:
|
|||||||
uses: actions/upload-artifact@v3.1.2
|
uses: actions/upload-artifact@v3.1.2
|
||||||
with:
|
with:
|
||||||
# Artifact name
|
# Artifact name
|
||||||
name: turbopilot-${{ runner.os }}-${{ runner.arch }}-${{ steps.short-sha.outputs.sha }} # optional, default is artifact
|
name: turbopilot-${{ runner.os }}-${{ runner.arch }}-${{ steps.short-sha.outputs.sha }}-cuda # optional, default is artifact
|
||||||
# A file, directory or wildcard pattern that describes what to upload
|
# A file, directory or wildcard pattern that describes what to upload
|
||||||
path: ${{github.workspace}}/ggml/build/bin/codegen*
|
path: ${{github.workspace}}/ggml/build/bin/codegen*
|
||||||
# The desired behavior if no files are found using the provided path.
|
# The desired behavior if no files are found using the provided path.
|
||||||
|
Loading…
Reference in New Issue
Block a user