You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAILED tests/kernel/wave/wave_attention_test.py::testAttentionF8[mfma_variant0-False-shape1] - torch.OutOfMemoryError: HIP out of memory. Tried to allocate 10.00 MiB. GPU 0 has a total capacity of 24.00 GiB of which 0 bytes...
FAILED tests/kernel/wave/wave_attention_test.py::testAttention[MMAType.F32_32x32x8_F16-False-True-shape1] - torch.OutOfMemoryError: HIP out of memory. Tried to allocate 80.00 MiB. GPU 0 has a total capacity of 24.00 GiB of which 0 bytes...
FAILED tests/kernel/wave/wave_attention_test.py::testAttention[MMAType.F32_32x32x8_F16-True-False-shape1] - torch.OutOfMemoryError: HIP out of memory. Tried to allocate 2.00 MiB. GPU 0 has a total capacity of 24.00 GiB of which 0 bytes ...
FAILED tests/kernel/wave/wave_attention_test.py::testAttention[MMAType.F32_16x16x16_F16-False-True-shape1] - torch.OutOfMemoryError: HIP out of memory. Tried to allocate 80.00 MiB. GPU 0 has a total capacity of 24.00 GiB of which 0 bytes...
FAILED tests/kernel/wave/wave_gemm_test.py::testF8Gemm[MMAType.F32_32x32x16_F8-True-shape2] - torch.OutOfMemoryError: HIP out of memory. Tried to allocate 320.00 MiB. GPU 0 has a total capacity of 24.00 GiB of which 0 byte...
E torch.OutOfMemoryError: HIP out of memory. Tried to allocate 80.00 MiB. GPU 0 has a total capacity of 24.00 GiB of which 0 bytes is free. Of the allocated memory 46.38 MiB is allocated by PyTorch, and 7.62 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_HIP_ALLOC_CONF=expandable_segments:True to avoid fragmentation. See documentation for Memory Management (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
When running e2e tests (i.e wave_e2e_tests.py/ e2e gemm/ e2e attention) with 16 workers.
This does not break when we use 4 workers. This didn't used to happen when we used the old compile_and_invoke since at that point we use transient memory for inputs and IREE quickly discards them after kernel call. We can try to resolve this by somehow making only the compile use multicore but running use single core, since only the compile takes a while.
When running e2e tests (i.e wave_e2e_tests.py/ e2e gemm/ e2e attention) with 16 workers.
This does not break when we use 4 workers. This didn't used to happen when we used the old compile_and_invoke since at that point we use transient memory for inputs and IREE quickly discards them after kernel call. We can try to resolve this by somehow making only the compile use multicore but running use single core, since only the compile takes a while.
CC: @Hardcode84
The text was updated successfully, but these errors were encountered: