Skip to content

Very slow training w/ standardized trainer - epochs take over a minute #517

@TobykoMusic

Description

@TobykoMusic

Thanks for taking the time to write a bug report! Use the following prompts to help you describe what's going on. The more info you provide, the easier it'll be to understand how to fix it for you without having to come back and ask you questions.

Describe the bug
When running NAM on my Mac (M1 Pro MacBook Pro), i get the error

NAM encountered a bug in PyTorch's MPS backend and will switch to a fallback.
Your version of PyTorch is 2.5.1.
Please report this in an Issue at:
https://github.com/sdatkinson/neural-amp-modeler/issues/new/choose
so that NAM's dependencies can avoid buggy versions of PyTorch and the associated performance hit.
MRSTFT failed on device; falling back to CPU
image

I read somewhere that downgrading PyTorch to <2.0 can help but it seemed to do nothing and is still running with pytorch 2.5.1.
Im sure its an easy fix but im technologically illiterate when it comes to any of this stuff.

Cheers!

Desktop (please complete the following information):

  • OS macOS 14.0
  • Local?
  • Version 0.11.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:mpsBug related to Metal Performance Shaderspriority:lowLow-priority issues

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions