Skip to content

Per-profile opt-out for auto-injected saturation filter #1826

Description

@RishabhSaini

Context

PR #1741 auto-injects the saturation detector as a scheduling filter into all profiles when the detector implements fwksched.Filter. This fixes the single-profile case where explicit profiles omitted the filter, causing hotspotting.

However, injectFilterIntoProfiles injects into every profile with no opt-out. For disaggregated inference setups using disagg-profile-handler or pd-profile-handler, there are separate decode, prefill, and encode profiles that may need different saturation filtering behavior (e.g., filter on decode but not prefill, or different thresholds per profile).

Proposed solution

Add a per-profile opt-out mechanism, similar to ensureDataLayer's InjectDefaults escape hatch. A profile that explicitly excludes the saturation filter should not have it re-injected.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions