From bc9b7a05a49f8b5e8b6a74107ef7d10349b79732 Mon Sep 17 00:00:00 2001 From: yihuang Date: Thu, 24 Apr 2025 14:48:18 +0800 Subject: [PATCH] pip fail to install dependency I need a few flags to successfully install dependencies. --- .gitignore | 5 ++++- README.md | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index a8a2b3f7..92fbff5f 100644 --- a/.gitignore +++ b/.gitignore @@ -43,4 +43,7 @@ __pycache__/ poetry.toml build/ -logs/ \ No newline at end of file +logs/ + +/include/bitnet-lut-kernels.h +/include/kernel_config.ini diff --git a/README.md b/README.md index 4af4626b..14dfcf55 100644 --- a/README.md +++ b/README.md @@ -173,7 +173,7 @@ cd BitNet conda create -n bitnet-cpp python=3.9 conda activate bitnet-cpp -pip install -r requirements.txt +pip install -r requirements.txt --prerelease=allow --index-strategy unsafe-best-match ``` 3. Build the project ```bash