HF RL Explorer

Flash attention

Flash attention: a task in life-science-SWE1.0 (Harbor dataset). In response to Issue I added the new functionality scaled dot product attention from PyTorch to re-enable flash attention, present in the original MONAI Generative Models repository. This is allowed for torch = 2.0 and when argument…

The task

In response to Issue I added the new functionality scaled_dot_product_attention from PyTorch to re-enable flash attention, present in the original MONAI Generative Models repository. This is allowed for torch >= 2.0 and when argument save_attn = False. Errors are raised otherwise. I ran quick tests and added some…

Part of scalingX/life-science-SWE1.0.