System information:
- GPU: 7900 XTX 24 GB VRAM (not an OOM error since it seems to only use half of it).
- OS: Ubuntu 24.04 on Windows 11 using WSL2.
- Backend: Using ROCm with
librocdxg on commit 9fa6ae22c722201a43901788f371a6904f81f600.
- ROCm version: 6.4.2
- Burn version: 0.21 from crates.io
- rustc 1.95.0 (59807616e 2026-04-14)
Disclaimer: this could very well me being the problem since I'm new to machine learning and I'm currently learning by trying to train a model.
I'm currently hitting an attempt add with overflow in the register method of FlushingPolicyState when trying to train a model using resnet-burn and burn.
The experiment.log, so the training goes well up until the point that it crashes with a panic (training tries to keep working but keeps failing):
thread 'DSD-0-0' (93753) panicked at /home/jeandudey/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/cubecl-runtime-0.10.0/src/memory_management/drop_queue/policy.rs:36:9:
attempt to add with overflow
=== PANIC ===
A fatal error happened, you can check the experiment logs here => './artifacts/experiment.log'
=============
I've tried searching if anyone had hit this but I didn't find anything, the code that reproduces this error can be found here:
https://github.com/jeandudey/burn-experiment/blob/main/src/main.rs
On commit: 77f18b171cb1c0aac34feed8b09bc033f6d1633d
It requires libmatio-dev and pkg-config and the 300W-LP dataset extracted in repo-directory/datasets/300W_LP being 300W_LP the root of the dataset.
I'm not sure what could be the cause of this, and I found that increasing the number of workers for the data loaders makes it happen quicker.
System information:
librocdxgon commit9fa6ae22c722201a43901788f371a6904f81f600.Disclaimer: this could very well me being the problem since I'm new to machine learning and I'm currently learning by trying to train a model.
I'm currently hitting an
attempt add with overflowin theregistermethod ofFlushingPolicyStatewhen trying to train a model usingresnet-burnandburn.The experiment.log, so the training goes well up until the point that it crashes with a panic (training tries to keep working but keeps failing):
I've tried searching if anyone had hit this but I didn't find anything, the code that reproduces this error can be found here:
https://github.com/jeandudey/burn-experiment/blob/main/src/main.rs
On commit: 77f18b171cb1c0aac34feed8b09bc033f6d1633d
It requires
libmatio-devandpkg-configand the 300W-LP dataset extracted inrepo-directory/datasets/300W_LPbeing300W_LPthe root of the dataset.I'm not sure what could be the cause of this, and I found that increasing the number of workers for the data loaders makes it happen quicker.