Skip to content

Doesn't work in torch.inference_mode()? #655

@LyuJZ

Description

@LyuJZ

❓ Questions and Help

Hi, thanks a lot this amazing work.

I am integrating the theseus layer to actor-critic framework. However, the theseus layer seems doesn't work under the with torch.inference_mode(): condition. It can only work under the with torch.no_grad(): condition.

Could you give me any explanations about this?

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