Skip to content

Commit

Permalink
use 0.0 instead of 0
Browse files Browse the repository at this point in the history
  • Loading branch information
hliuca committed Dec 3, 2024
1 parent 8cdb96f commit 566ebdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vllm/attention/backends/rocm_flash_attn.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ def __init__(

if logits_soft_cap is None:
# In flash-attn, setting logits_soft_cap as 0 means no soft cap.
self.logits_soft_cap = 0
self.logits_soft_cap = 0.0
else:
self.logits_soft_cap = logits_soft_cap

Expand Down

0 comments on commit 566ebdb

Please sign in to comment.