mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2024-11-23 00:33:28 +01:00
Use the 65 percentile of free_mem for GPU selection, instead of 75 percentile
This commit is contained in:
parent
d79eb5e1a6
commit
027b2e1b88
@ -3,7 +3,7 @@ import torch
|
|||||||
import traceback
|
import traceback
|
||||||
import re
|
import re
|
||||||
|
|
||||||
COMPARABLE_GPU_PERCENTILE = 0.75 # if a GPU's free_mem is within this % of the GPU with the most free_mem, it will be picked
|
COMPARABLE_GPU_PERCENTILE = 0.65 # if a GPU's free_mem is within this % of the GPU with the most free_mem, it will be picked
|
||||||
|
|
||||||
def get_device_delta(render_devices, active_devices):
|
def get_device_delta(render_devices, active_devices):
|
||||||
'''
|
'''
|
||||||
|
Loading…
Reference in New Issue
Block a user