diff --git a/.github/workflows/model_profiling.yml b/.github/workflows/model_profiling.yml index a11718012..284879e3d 100644 --- a/.github/workflows/model_profiling.yml +++ b/.github/workflows/model_profiling.yml @@ -177,6 +177,11 @@ jobs: if [[ -n "${extra}" ]]; then sync_cmd+=(--extra "${extra}") fi + # flash-attn does not declare torch as a build-time dep, so its + # isolated build env fails with ModuleNotFoundError. Torch is a + # core lerobot dep and is already resolved here, so we disable + # build isolation for flash-attn specifically. + sync_cmd+=(--no-build-isolation-package flash-attn) if ! "${sync_cmd[@]}"; then echo "Dependency install failed for ${policy}; skipping." >&2 overall_status=1