Skip to content

Commit

Permalink
Release llamafile v0.8.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jart committed May 25, 2024
1 parent 07e87bf commit b79ecf4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion llamafile/cuda.bat
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@
:: driver on a Windows system that has a CUDA-capable GPU installed.

nvcc --shared ^
-arch=all-major ^
--use_fast_math ^
-gencode arch=compute_60,code=sm_60 ^
-gencode arch=compute_70,code=sm_70 ^
-gencode arch=compute_80,code=sm_80 ^
-gencode arch=compute_90,code=sm_90 ^
--forward-unknown-to-host-compiler ^
-Xcompiler="/nologo /EHsc /O2 /GR /MT" ^
-DNDEBUG ^
Expand Down
6 changes: 5 additions & 1 deletion llamafile/cuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ cd "$TMP"

/usr/local/cuda/bin/nvcc \
--shared \
-arch=all-major \
--use_fast_math \
-gencode arch=compute_60,code=sm_60 \
-gencode arch=compute_70,code=sm_70 \
-gencode arch=compute_80,code=sm_80 \
-gencode arch=compute_90,code=sm_90 \
--forward-unknown-to-host-compiler \
--compiler-options "-fPIC -O2" \
-DNDEBUG \
Expand Down
2 changes: 1 addition & 1 deletion llamafile/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

#define LLAMAFILE_MAJOR 0
#define LLAMAFILE_MINOR 8
#define LLAMAFILE_PATCH 4
#define LLAMAFILE_PATCH 5
#define LLAMAFILE_VERSION \
(100000000 * LLAMAFILE_MAJOR + 1000000 * LLAMAFILE_MINOR + LLAMAFILE_PATCH)

Expand Down

0 comments on commit b79ecf4

Please sign in to comment.