diff options
author | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-08 14:13:18 +0000 |
---|---|---|
committer | AUTOMATIC1111 <16777216c@gmail.com> | 2023-07-08 14:13:18 +0000 |
commit | da8916f92649fc4d947cb46d9d8f8ea1621b2a59 (patch) | |
tree | b3c6883f8c731b0e1291e61a16f16b12ed22e101 /modules/api/api.py | |
parent | e161b5a0259c870b9d01408d02c504c3281dbdb1 (diff) | |
download | stable-diffusion-webui-gfx803-da8916f92649fc4d947cb46d9d8f8ea1621b2a59.tar.gz stable-diffusion-webui-gfx803-da8916f92649fc4d947cb46d9d8f8ea1621b2a59.tar.bz2 stable-diffusion-webui-gfx803-da8916f92649fc4d947cb46d9d8f8ea1621b2a59.zip |
added torch.mps.empty_cache() to torch_gc()
changed a bunch of places that use torch.cuda.empty_cache() to use torch_gc() instead
Diffstat (limited to 'modules/api/api.py')
0 files changed, 0 insertions, 0 deletions