Commit e720f7cf authored by zhuwenwen's avatar zhuwenwen
Browse files

restore the default settings of disable_cascade_attn

parent b364c176
...@@ -326,7 +326,7 @@ class ModelConfig: ...@@ -326,7 +326,7 @@ class ModelConfig:
"""Whether to disable sliding window. If True, we will disable the sliding """Whether to disable sliding window. If True, we will disable the sliding
window functionality of the model, capping to sliding window size. If the window functionality of the model, capping to sliding window size. If the
model does not support sliding window, this argument is ignored.""" model does not support sliding window, this argument is ignored."""
disable_cascade_attn: bool = True disable_cascade_attn: bool = False
"""Disable cascade attention for V1. While cascade attention does not """Disable cascade attention for V1. While cascade attention does not
change the mathematical correctness, disabling it could be useful for change the mathematical correctness, disabling it could be useful for
preventing potential numerical issues. Note that even if this is set to preventing potential numerical issues. Note that even if this is set to
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment