[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
b7ace8e4dc
commit
412eb9fb98
1 changed files with 1 additions and 1 deletions
|
|
@ -252,7 +252,7 @@ class FastSentenceTransformer(FastModel):
|
|||
hidden_states,
|
||||
attention_mask,
|
||||
position_bias,
|
||||
use_reentrant = True, # required for torch >= 2.9
|
||||
use_reentrant = True, # required for torch >= 2.9
|
||||
)
|
||||
else:
|
||||
# original code from here on
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue