Skip to content

No module named 'torch.autograd.profiler_util' error #1522

Description

@fosimoes

I am getting the following error when importing speechbrain.

import speechbrain as sb

speechbrain/init.py:4: in
from .core import Stage, Brain, create_experiment_directory, parse_arguments
speechbrain/core.py:35: in
from speechbrain.utils.distributed import run_on_main
speechbrain/utils/init.py:11: in
from . import * # noqa
speechbrain/utils/profiling.py:11: in
from torch.autograd.profiler_util import ( # pytorch v1.10.1
E ModuleNotFoundError: No module named 'torch.autograd.profiler_util'

The error occurs with speechbrain v0.5.12, but v0.5.11 works fine.
I tested both torch 1.10.0 and 1.11.0, with similar results.
Any idea what it might be?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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