mirror of
https://github.com/brain-hackers/brain-config.git
synced 2025-12-03 05:34:17 +09:00
@@ -414,7 +414,7 @@ do_memory_split() { # Memory Split
|
||||
[ -z "$CUR_GPU_MEM" ] || [ $CUR_GPU_MEM = "0" ] && CUR_GPU_MEM=64
|
||||
## ask users what gpu_mem they want
|
||||
if [ "$INTERACTIVE" = True ]; then
|
||||
NEW_GPU_MEM=$(whiptail --inputbox "How much memory should the GPU have? e.g. 16/32/64/128/256" \
|
||||
NEW_GPU_MEM=$(whiptail --inputbox "How much memory (MB) should the GPU have? e.g. 16/32/64/128/256" \
|
||||
20 70 -- "$CUR_GPU_MEM" 3>&1 1>&2 2>&3)
|
||||
else
|
||||
NEW_GPU_MEM=$1
|
||||
|
||||
Reference in New Issue
Block a user