I am unfortunately back, this time with nothing wrong on memtest.
The names of the files printed below are due to this part of the code and they are printed just to be sure that was not a probelm related to corrupted data (i can load those file just fine):
try:
    with lz4.frame.open(f'{self.root_dir}/{name}', 'rb') as f:
    data = pickle.load(f)
except:
    print(name)

It gets stuck without doing anything, then when i stop the program:
Traceback (most recent call last):
  File "train_AD.py", line 332, in <module>
sample_5383326.lz4
sample_12725641.lz4
sample_4159972.lz4
sample_2696410.lz4
    train_net(args,cfg, DEBUG, model)
  File "train_AD.py", line 211, in train_net
    for data in train_dataloader:
  File "/home/lorenzo/.local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 435, in __next__
    data = self._next_data()
  File "/home/lorenzo/.local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1068, in _next_data
    idx, data = self._get_data()
  File "/home/lorenzo/.local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 1034, in _get_data
    success, data = self._try_get_data()
  File "/home/lorenzo/.local/lib/python3.8/site-packages/torch/utils/data/dataloader.py", line 872, in _try_get_data
    data = self._data_queue.get(timeout=timeout)
  File "/usr/lib/python3.8/multiprocessing/queues.py", line 107, in get
    if not self._poll(timeout):
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 257, in poll
    return self._poll(timeout)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 424, in _poll
    r = wait([self], timeout)
  File "/usr/lib/python3.8/multiprocessing/connection.py", line 931, in wait
    ready = selector.select(timeout)
  File "/usr/lib/python3.8/selectors.py", line 415, in select
    fd_event_list = self._selector.poll(timeout)
KeyboardInterrupt