Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change compile for pipeline module torch.compile #6478

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Commits on Aug 28, 2024

  1. Change compile for pipeline module torch.compile

    We have encountered and issue with torch.compile and the pipeline
    module. modifying a member of the module duing the run will cause
    torch compile to restart the analysis and treat the module as dynamic.
    this happens because the fwd function will modify the micro_offset
    attribute of the pipeline module.
    in order to bypass this issue without significantly changing the way
    the pipeline module works we propose to compile only the layers in the
    pipeline module instead of the pipeline module itslef.
    this will bypass the issue, and should still give most of the benefit of
    torch compiling the pipeline module while avoiding the issue.
    NirSonnenschein committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    9e3339d View commit details
    Browse the repository at this point in the history

Commits on Sep 3, 2024

  1. Configuration menu
    Copy the full SHA
    9c5bd48 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2024

  1. Configuration menu
    Copy the full SHA
    ebdfc12 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2024

  1. Configuration menu
    Copy the full SHA
    f3c80cb View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2024

  1. Configuration menu
    Copy the full SHA
    bc0da65 View commit details
    Browse the repository at this point in the history