From f55d140598cd87a4c203da5f4f3211cf993681dc Mon Sep 17 00:00:00 2001 From: acer-king Date: Wed, 18 Dec 2024 08:08:27 -0800 Subject: [PATCH 1/2] version upgrade fix in numpy and wandb --- requirements.txt | 2 +- start_validator.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 25752284..8c491b3a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,4 +1,4 @@ -bittensor==8.4.3 +bittensor==8.5.1 datasets==2.* envparse==0.2.0 openai>=1.3.2, ==1.* diff --git a/start_validator.py b/start_validator.py index bcf2e160..187e42a1 100644 --- a/start_validator.py +++ b/start_validator.py @@ -31,6 +31,9 @@ def update_and_restart(pm2_name, netuid, wallet_name, wallet_hotkey, address, au subprocess.run(["git", "reset", "--hard"]) subprocess.run(["git", "pull"]) subprocess.run(["pip", "install", "-e", "."]) + subprocess.run(["pip", "install", "--upgrade", "wandb"]) + subprocess.run(["pip", "install", "numpy==1.25.2"]) + subprocess.run(["pip", "install", "--upgrade", "requests"]) subprocess.run(["pip", "uninstall", "uvloop"]) subprocess.run( ["pm2", "start", "--name", pm2_name, f"python3 -m validators.validator --wallet.name {wallet_name}" From 0c2e5b68baf25e0550bdb45701f91dd89a3e97f7 Mon Sep 17 00:00:00 2001 From: acer-king Date: Wed, 18 Dec 2024 08:17:54 -0800 Subject: [PATCH 2/2] version upgrade --- requirements.txt | 6 ++++-- start_validator.py | 3 --- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8c491b3a..938863d3 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,7 +7,7 @@ requests==2.* scikit-learn==1.* torch==2.* transformers==4.* -wandb +wandb==0.19.1 anthropic==0.19.2 stability-sdk boto3 @@ -16,4 +16,6 @@ pyOpenSSL==24.* google-generativeai groq==0.5.0 aioboto3 -tabulate \ No newline at end of file +tabulate +numpy==1.25.2 +requests==2.32.3 \ No newline at end of file diff --git a/start_validator.py b/start_validator.py index 187e42a1..bcf2e160 100644 --- a/start_validator.py +++ b/start_validator.py @@ -31,9 +31,6 @@ def update_and_restart(pm2_name, netuid, wallet_name, wallet_hotkey, address, au subprocess.run(["git", "reset", "--hard"]) subprocess.run(["git", "pull"]) subprocess.run(["pip", "install", "-e", "."]) - subprocess.run(["pip", "install", "--upgrade", "wandb"]) - subprocess.run(["pip", "install", "numpy==1.25.2"]) - subprocess.run(["pip", "install", "--upgrade", "requests"]) subprocess.run(["pip", "uninstall", "uvloop"]) subprocess.run( ["pm2", "start", "--name", pm2_name, f"python3 -m validators.validator --wallet.name {wallet_name}"