Use same VM type for validators as leader, if CUDA is enabled (#3253)
- Since all nodes are created equal
This commit is contained in:
parent
06cb266cfe
commit
76feb2098e
|
@ -15,7 +15,7 @@ gce)
|
|||
cpuBootstrapLeaderMachineType=n1-standard-16
|
||||
gpuBootstrapLeaderMachineType="$cpuBootstrapLeaderMachineType --accelerator count=4,type=nvidia-tesla-k80"
|
||||
bootstrapLeaderMachineType=$cpuBootstrapLeaderMachineType
|
||||
fullNodeMachineType=n1-standard-16
|
||||
fullNodeMachineType=$cpuBootstrapLeaderMachineType
|
||||
clientMachineType=n1-standard-16
|
||||
blockstreamerMachineType=n1-standard-8
|
||||
;;
|
||||
|
@ -133,10 +133,12 @@ while getopts "h?p:Pn:c:z:gG:a:d:bu" opt; do
|
|||
g)
|
||||
enableGpu=true
|
||||
bootstrapLeaderMachineType=$gpuBootstrapLeaderMachineType
|
||||
fullNodeMachineType=$bootstrapLeaderMachineType
|
||||
;;
|
||||
G)
|
||||
enableGpu=true
|
||||
bootstrapLeaderMachineType="$OPTARG"
|
||||
fullNodeMachineType=$bootstrapLeaderMachineType
|
||||
;;
|
||||
a)
|
||||
customAddress=$OPTARG
|
||||
|
@ -225,10 +227,6 @@ ec2)
|
|||
;;
|
||||
esac
|
||||
|
||||
if $leaderRotation; then
|
||||
fullNodeMachineType=$bootstrapLeaderMachineType
|
||||
fi
|
||||
|
||||
# cloud_ForEachInstance [cmd] [extra args to cmd]
|
||||
#
|
||||
# Execute a command for each element in the `instances` array
|
||||
|
|
Loading…
Reference in New Issue