Skip to content

Apple Silicon M1 Cannot convert MPS Tensor to float64 #1019

Closed
@traderpedroso

Description

@traderpedroso

how could i convert to float32? on pure torch was simple, just converting tensor to dtype=torch.float32

full error

TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingduplicateThis issue or pull request already existsmore information neededPlease fill the issue template completelytrading warningTrading with RL is usually a bad idea

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions