Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/autokey/service.py", line 207, in __tryReleaseLock

self.configManager.lock.release()
RuntimeError: release unlocked lock

Traceback (most recent call last):


 "main.py", line 454, in <module>

main()


 "main.py", line 388, in main

optimizer.backward(loss)


 "/mnt/WXRG0353/sfchen/ASFF/utils/fp16_utils/fp16_optimizer.py", line 483, in backward

self.loss_scaler.backward(loss.float(), retain_graph=retain_graph)


 "/mnt/WXRG0353/sfchen/ASFF/utils/fp16_utils/loss_scaler.py", line 45, in backward

scaled_loss.backward(retain_graph=retain_graph)


 "/mnt/WXRG0333/sfchen/anaconda3/envs/pytorch13/lib/python3.7/site-packages/torch/tensor.py", line 166, in backward

torch.autograd.backward(self, gradient, retain_graph, create_graph)


 "/mnt/WXRG0333/sfchen/anaconda3/envs/pytorch13/lib/python3.7/site-packages/torch/autograd/__init__.py", line 99, in backward

allow_unreachable=True)
# allow_unreachable flag
RuntimeError: CUDA out of memory. Tried to allocate 8.16 GiB (GPU 5; 10.73 GiB total capacity; 1.76 GiB already allocated; 8.16 GiB free; 29.42 MiB cached)
