Skip to content

Commit

Permalink
Merge pull request #25 from NexaAI/zack-dev
Browse files Browse the repository at this point in the history
fix toml
  • Loading branch information
zhiyuan8 authored Aug 22, 2024
2 parents a09893f + b826e2b commit 739a983
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build"

[project]
name = "nexaai"
version = "0.0.1"
version = "0.0.2.dev"
description = "Nexa AI SDK"
readme = "README.md"
license = { text = "MIT" }
Expand Down
8 changes: 6 additions & 2 deletions tomls/pyproject_cuda.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,13 @@ build.verbose = true
cmake.build-type = "Release"
cmake.version = ">=3.16"
cmake.args = [
"-DGGML_CUDA=ON -DSD_CUBLAS=ON -DCMAKE_CUDA_ARCHITECTURES=all",
"-DGGML_CUDA=ON",
"-DSD_CUBLAS=ON",
"-DCMAKE_CUDA_ARCHITECTURES=all",
"-DGGML_CUDA_FORCE_MMQ=ON",
"-DGGML_AVX2=OFF -DGGML_FMA=OFF -DGGML_F16C=OFF",
"-DGGML_AVX2=OFF",
"-DGGML_FMA=OFF",
"-DGGML_F16C=OFF"
]

[tool.pytest.ini_options]
Expand Down
6 changes: 4 additions & 2 deletions tomls/pyproject_metal.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ build.verbose = true
cmake.build-type = "Release"
cmake.version = ">=3.16"
cmake.args = [
"-DGGML_METAL=ON -DSD_METAL=ON",
"-DCMAKE_OSX_ARCHITECTURES=arm64 -DCMAKE_APPLE_SILICON_PROCESSOR=arm64",
"-DGGML_METAL=ON",
"-DSD_METAL=ON",
"-DCMAKE_OSX_ARCHITECTURES=arm64",
"-DCMAKE_APPLE_SILICON_PROCESSOR=arm64"
]

[tool.pytest.ini_options]
Expand Down

0 comments on commit 739a983

Please sign in to comment.