mamba icon indicating copy to clipboard operation
mamba copied to clipboard

The Reproducibility of Mamba

Open Yisen-Feng opened this issue 1 year ago • 4 comments
trafficstars

Hi,

Thank you for your awesome work! I have a query regarding the reproducibility of Mamba. Even though I use torch.use_deterministic_algorithms(True, warn_only=False) in my code, after adding Mamba, my code lost reproducibility. I wonder if it is possible to have a deterministic Mamba.

Yisen-Feng avatar Jul 26 '24 02:07 Yisen-Feng

I also have met this problem!

GuHY777 avatar Aug 26 '24 23:08 GuHY777

The current backward pass is not deterministic (it uses atomic adds).

tridao avatar Aug 26 '24 23:08 tridao

I think that's the pytorch cumsum, so it's out of the scope of this repo.

tridao avatar Sep 16 '24 07:09 tridao

I think that's the pytorch cumsum, so it's out of the scope of this repo.

I see. Thank you.

NLHuang avatar Sep 16 '24 09:09 NLHuang