From 45751159c3b3c43776adaf286a73a372d7636ec2 Mon Sep 17 00:00:00 2001 From: Zack Li Date: Wed, 21 Aug 2024 17:33:31 +0000 Subject: [PATCH 1/3] wip --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 12c9232e..d290b249 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "nexaai" -version = "0.0.1.dev" +version = "0.0.2.dev" description = "Nexa AI SDK" readme = "README.md" license = { text = "MIT" } From 7ee0ca205e735588b31665fcfb543e033b31f268 Mon Sep 17 00:00:00 2001 From: Zack Zhiyuan Li Date: Wed, 21 Aug 2024 21:07:20 -0700 Subject: [PATCH 2/3] wip --- tomls/pyproject_cuda.toml | 8 ++++++-- tomls/pyproject_metal.toml | 6 ++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/tomls/pyproject_cuda.toml b/tomls/pyproject_cuda.toml index 008ea1a0..4233cd49 100644 --- a/tomls/pyproject_cuda.toml +++ b/tomls/pyproject_cuda.toml @@ -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] diff --git a/tomls/pyproject_metal.toml b/tomls/pyproject_metal.toml index c895998d..6154b613 100644 --- a/tomls/pyproject_metal.toml +++ b/tomls/pyproject_metal.toml @@ -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] From b826e2b622bf44dda961caccf7a4cedf97ee726e Mon Sep 17 00:00:00 2001 From: Zack Zhiyuan Li Date: Wed, 21 Aug 2024 21:11:00 -0700 Subject: [PATCH 3/3] wip --- tomls/pyproject_metal.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tomls/pyproject_metal.toml b/tomls/pyproject_metal.toml index 6154b613..584ebf07 100644 --- a/tomls/pyproject_metal.toml +++ b/tomls/pyproject_metal.toml @@ -81,7 +81,7 @@ build.verbose = true cmake.build-type = "Release" cmake.version = ">=3.16" cmake.args = [ - "-DGGML_METAL=ON" + "-DGGML_METAL=ON", "-DSD_METAL=ON", "-DCMAKE_OSX_ARCHITECTURES=arm64", "-DCMAKE_APPLE_SILICON_PROCESSOR=arm64"