install flash-linear-attention (#3466)

* install flash-linear-attention

* handle prequant weights for fsdp2 and ensure loss is not zero

* fix type for cu_seqlen, uninstall causal_conv1d

* chore: lint

* uv pip uninstall doesn't need confirmation
This commit is contained in:
Wing Lian
2026-03-06 12:40:57 -05:00
committed by GitHub
parent d65e1b960c
commit 876941ffd0
8 changed files with 24 additions and 4 deletions

View File

@@ -180,6 +180,7 @@ def check_tensorboard(
lt_val: float,
assertion_err: str,
rtol: float = 0.02,
gt_zero: bool = True,
) -> None:
"""
helper function to parse and check tensorboard logs
@@ -194,6 +195,8 @@ def check_tensorboard(
assert df.value.values[-1] < lt_val, assertion_err % df.value.values[-1]
else:
assert df.value.values[-1] < lt_val, assertion_err
if gt_zero:
assert df.value.values[-1] > 1e-5, "Expected loss to be greater than zero"
def check_model_output_exists(temp_dir: str, cfg: DictDefault) -> None: