Skip to content

Commit

Permalink
Remove duplicate dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiltgen committed Feb 14, 2024
1 parent 329e768 commit 6375374
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
5 changes: 1 addition & 4 deletions llm/generate/gen_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,6 @@ if ($null -ne $script:CUDA_LIB_DIR) {
$script:cmakeDefs += @("-DLLAMA_CUBLAS=ON", "-DLLAMA_AVX=on", "-DCUDAToolkit_INCLUDE_DIR=$script:CUDA_INCLUDE_DIR", "-DCMAKE_CUDA_ARCHITECTURES=${script:CMAKE_CUDA_ARCHITECTURES}")
build
install
cp "${script:CUDA_LIB_DIR}/cudart64_*.dll" "${script:buildDir}/lib"
cp "${script:CUDA_LIB_DIR}/cublas64_*.dll" "${script:buildDir}/lib"
cp "${script:CUDA_LIB_DIR}/cublasLt64_*.dll" "${script:buildDir}/lib"
sign
compress_libs
}
Expand All @@ -203,4 +200,4 @@ md "${script:buildDir}/lib" -ea 0 > $null
echo $null >> "${script:buildDir}/lib/.generated"

cleanup
write-host "`ngo generate completed"
write-host "`ngo generate completed"
1 change: 1 addition & 0 deletions scripts/build_windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ function gatherDependencies() {

cp "${script:NVIDIA_DIR}\cudart64_*.dll" "${script:DEPS_DIR}\"
cp "${script:NVIDIA_DIR}\cublas64_*.dll" "${script:DEPS_DIR}\"
cp "${script:NVIDIA_DIR}\cublasLt64_*.dll" "${script:DEPS_DIR}\"

cp "${script:SRC_DIR}\app\ollama_welcome.ps1" "${script:SRC_DIR}\dist\"
if ($env:OLLAMA_CERT) {
Expand Down

0 comments on commit 6375374

Please sign in to comment.