Skip to content

[Bug] No module named 'torch._dynamo.functional_export' #241

@leeeizhang

Description

@leeeizhang

I have installed pytorch==2.8.0+cu128, but meet following issues when running the examples:

(autoparallel) ~/xxx/autoparallel$ python examples/example_autoparallel.py
Traceback (most recent call last):
  File "/xxx/autoparallel/examples/example_autoparallel.py", line 16, in <module>
    from autoparallel.api import AutoParallel
  File "/xxx/autoparallel/autoparallel/api.py", line 14, in <module>
    from torch._dynamo.functional_export import _dynamo_graph_capture_for_export
ModuleNotFoundError: No module named 'torch._dynamo.functional_export'

I guess it might be caused by my mismatched pytorch version (2.8.0.dev20250506).

is there any link to install the old nightly pytorch (2.8.0.dev20250506) ? since this dev version could not be found in https://download.pytorch.org/whl/nightly/cu128/torch.

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