Type this one in server side.
rm -rf ~/.vscode-server/
Type this one in server side.
rm -rf ~/.vscode-server/
*install pynvml
https://pypi.org/project/pynvml/
pip install pynvml
*use below code in python code
from pynvml import *
nvmlInit()
h = nvmlDeviceGetHandleByIndex(0)
info = nvmlDeviceGetMemoryInfo(h)
print(f'total : {info.total}')
print(f'free : {info.free}')
print(f'used : {info.used}')
before:
[(0, 0), (0, 1), (0, 3), (1, 0), (1, 1), (1, 2), (2, 1), (2, 2), (2, 3), (3, 0), (3, 2), (3, 3)]
After: [(0, 1), (1, 2), (0, 0), (3, 3), (2, 3), (2, 2), (0, 3), (1, 1)]
pip install --upgrade pip
pip install pillow