We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 583ac48 commit 05f406eCopy full SHA for 05f406e
clore.sh
@@ -41,3 +41,19 @@ make install
41
pip uninstall fsspec -y
42
43
pip install 'fsspec==2023.10.0'
44
+
45
46
+# Prompt the user for the number of miners
47
+read -p "Enter the number of miners (maximum 10): " num_miners
48
49
+if [[ $num_miners -gt 10 ]]; then
50
+ echo "Maximum number of miners allowed is 10. Setting the number of miners to 10."
51
+ num_miners=10
52
+fi
53
54
+# Activate the miners
55
+for ((i=1; i<=$num_miners; i++)); do
56
+ read -p "Enter the address for miner $i: " addr
57
+ tmux new-session -d -s Nimble$i "cd /root/nimble/nimble-miner-public/ && source ./nimenv_localminers/bin/activate && export CUDA_VISIBLE_DEVICES=$((i-1)) && make run addr=$addr"
58
+ tmux detach -s Nimble$i
59
+done
0 commit comments