Skip to content
This repository has been archived by the owner on Jan 13, 2025. It is now read-only.

Commit

Permalink
Enable CUDA for the leader node
Browse files Browse the repository at this point in the history
  • Loading branch information
mvines committed Jul 13, 2018
1 parent 54db379 commit 394de55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/refresh-testnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ done < <(gcloud compute instances list --filter="labels.testnet-mode=validator"


echo "--- Refreshing"
mode=leader+drone
nodeConfig="mode=leader+drone enable-cuda=1 metrics-config=$SOLANA_METRICS_CONFIG"
for info in "${vmlist[@]}"; do
vmName=${info%:*}
vmZone=${info#*:}
Expand All @@ -43,7 +43,7 @@ for info in "${vmlist[@]}"; do
set -x
sudo snap remove solana
sudo snap install solana $SOLANA_SNAP_CHANNEL --devmode
sudo snap set solana mode=$mode metrics-config=$SOLANA_METRICS_CONFIG
sudo snap set solana $nodeConfig
snap info solana
sudo snap logs solana -n200
EOF
Expand All @@ -53,7 +53,7 @@ EOF
--ssh-flag="-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -t" \
--command="bash ./autogen-refresh-$vmName.sh"
) > "log-$vmName.txt" 2>&1 &
mode=validator
nodeConfig="mode=validator metrics-config=$SOLANA_METRICS_CONFIG"
done

echo "Waiting..."
Expand Down

0 comments on commit 394de55

Please sign in to comment.