prompt_tuner.py now shows layer configuration

This commit is contained in:
vfbd
2022-08-22 20:02:21 -04:00
parent b1c456ec18
commit 09750acfa0
2 changed files with 43 additions and 8 deletions

View File

@@ -848,7 +848,7 @@ def device_config(config):
print(f"{colors.RED}Please enter an integer between -1 and {n_layers}.{colors.END}")
print(colors.PURPLE + "\nFinal device configuration:")
device_list(n_layers)
device_list(n_layers, primary=breakmodel.primary_device)
# If all layers are on the same device, use the old GPU generation mode
while(len(breakmodel.gpu_blocks) and breakmodel.gpu_blocks[-1] == 0):