There is confusion and inconsistent behavior when using the guardrail argument in the Task class. The documentation and type hints suggest using a GuardrailResult ...
When using the score mode in Flexattention, the create mask function returns a boolean tensor. At the same time, when using the mask mode, it returns a float tensor. I believe these two might be ...