File "torch/_dynamo/variables/constant.py", line 176, in call_method
return ConstantVariable.create(op(self.value, add_target))
torch._dynamo.exc.InternalTorchDynamoError: 'bool' object is not subscriptable
from user code:
File "unsloth/kernels/flex_attention.py", line 73, in slow_attention_softcapping
A += causal_mask[:q_len, :q_len]
Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information
File "torch/_dynamo/variables/constant.py", line 176, in call_method
return ConstantVariable.create(op(self.value, add_target))
torch._dynamo.exc.InternalTorchDynamoError: 'bool' object is not subscriptable
from user code:
File "unsloth/kernels/flex_attention.py", line 73, in slow_attention_softcapping
A += causal_mask[:q_len, :q_len]
Set TORCH_LOGS="+dynamo" and TORCHDYNAMO_VERBOSE=1 for more information