From 4f3efd5543fb01e1fc178b68bb25823be8144df1 Mon Sep 17 00:00:00 2001 From: bkb2135 Date: Mon, 2 Dec 2024 08:05:38 -0500 Subject: [PATCH 1/2] Initial Upload --- install.sh | 3 +-- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/install.sh b/install.sh index e6c01cd0..41a4935b 100644 --- a/install.sh +++ b/install.sh @@ -9,8 +9,7 @@ poetry config virtualenvs.in-project true # Install the project dependencies poetry install -# uninstall uvloop which breaks the system -poetry run pip uninstall -y uvloop +git clone git@github.com:casper-hansen/AutoAWQ.git && cd AutoAWQ && poetry run pip install -e . && cd .. # Updating the package list and installing jq and npm apt update && apt install -y jq npm diff --git a/pyproject.toml b/pyproject.toml index 73c7f20e..6c585b54 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "prompting" -version = "2.13.1" +version = "2.13.2" description = "Subnetwork 1 runs on Bittensor and is maintained by Macrocosmos. It's an effort to create decentralised AI" authors = ["Kalei Brady, Dmytro Bobrenko, Felix Quinque, Steffen Cruz"] readme = "README.md" @@ -149,7 +149,7 @@ black = "23.7.0" pytest = "^8.3.1" angle-emb = "0.4.3" organic-scoring = {git = "https://github.com/macrocosm-os/organic-scoring.git", rev = "main"} -autoawq = "^0.2.5" +autoawq = "0.2.5" loguru = "^0.7.2" duckduckgo-search = "^6.2.12" trafilatura = "^1.12.1" From 71571ac13806025540dbcadf58fabb370d9fcaa4 Mon Sep 17 00:00:00 2001 From: bkb2135 Date: Mon, 2 Dec 2024 03:20:35 -1000 Subject: [PATCH 2/2] Adjust install to add flash-attn --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 41a4935b..20ccd934 100644 --- a/install.sh +++ b/install.sh @@ -11,6 +11,8 @@ poetry install git clone git@github.com:casper-hansen/AutoAWQ.git && cd AutoAWQ && poetry run pip install -e . && cd .. +poetry run pip install flash-attn --no-build-isolation + # Updating the package list and installing jq and npm apt update && apt install -y jq npm