mirror of
https://github.com/iperov/DeepFaceLab.git
synced 2025-07-07 13:32:09 -07:00
cuda_cache_max_size
This commit is contained in:
parent
09a990852f
commit
353bcdf80f
1 changed files with 2 additions and 0 deletions
|
@ -140,6 +140,8 @@ NLayerDiscriminator = nnlib.NLayerDiscriminator
|
||||||
if 'CUDA_VISIBLE_DEVICES' in os.environ.keys():
|
if 'CUDA_VISIBLE_DEVICES' in os.environ.keys():
|
||||||
os.environ.pop('CUDA_VISIBLE_DEVICES')
|
os.environ.pop('CUDA_VISIBLE_DEVICES')
|
||||||
|
|
||||||
|
os.environ['CUDA_CACHE_MAXSIZE'] = '536870912' #512Mb (32mb default)
|
||||||
|
|
||||||
os.environ['TF_MIN_GPU_MULTIPROCESSOR_COUNT'] = '2'
|
os.environ['TF_MIN_GPU_MULTIPROCESSOR_COUNT'] = '2'
|
||||||
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' #tf log errors only
|
os.environ['TF_CPP_MIN_LOG_LEVEL'] = '2' #tf log errors only
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue