avalanche-rl icon indicating copy to clipboard operation
avalanche-rl copied to clipboard

Memory Management

Open Ai360n opened this issue 2 years ago • 0 comments

Hello, In avalanhce-rl, after 1000 experiences and 1000 steps per experience, the below error will be risen. It is necessary to manage memory during training correctly.

torch.cuda.OutOfMemoryError /Avalanche/avalanche-rl/avalanche_rl/training/strategies/rl_base_strategy.py", line 377, in train_exp self.loss.backward()

Thanks.

Ai360n avatar Aug 15 '23 08:08 Ai360n