"data/s3dis/vscode:/vscode.git/clone" did not exist on "a0090aa1841562c7e046b3d31a3988e96a97d4a4"
Commit a6ec1782 authored by Tri Dao's avatar Tri Dao
Browse files

Bump to v0.2.6

parent 63670fd8
...@@ -436,7 +436,7 @@ class MHA(nn.Module): ...@@ -436,7 +436,7 @@ class MHA(nn.Module):
kv = self._update_kv_cache(qkv[:, :, 1:], inference_params) kv = self._update_kv_cache(qkv[:, :, 1:], inference_params)
# If we're processing the prompt, causal=None (use self.causal). # If we're processing the prompt, causal=None (use self.causal).
# If we're decoding, then causal=False. # If we're decoding, then causal=False.
causal = False if inference_params.sequence_len_offset == 0 else None causal = None if inference_params.sequence_len_offset == 0 else False
context = self.inner_cross_attn(q, kv, causal=causal) context = self.inner_cross_attn(q, kv, causal=causal)
else: else:
if not self.return_residual: if not self.return_residual:
......
...@@ -156,7 +156,7 @@ ext_modules.append( ...@@ -156,7 +156,7 @@ ext_modules.append(
setup( setup(
name="flash_attn", name="flash_attn",
version="0.2.5", version="0.2.6-1",
packages=find_packages( packages=find_packages(
exclude=("build", "csrc", "include", "tests", "dist", "docs", "benchmarks", "flash_attn.egg-info",) exclude=("build", "csrc", "include", "tests", "dist", "docs", "benchmarks", "flash_attn.egg-info",)
), ),
......
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