Skip to content

Some tests fail on Mac M3 due to float64 not being supported on MPS #507

@Lilferrit

Description

@Lilferrit

When I run the unit tests on either the dev or main branch, two tests fail on my local machine (an Apple Silicon M.3 Macbook) due to this error:

FAILED tests/test_integration.py::test_auxilliary_cli - TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.
FAILED tests/unit_tests/test_runner.py::test_initialize_model - TypeError: Cannot convert a MPS Tensor to float64 dtype as the MPS framework doesn't support float64. Please use float32 instead.

When running unit tests all Tensors should be on the CPU, so I suspect this is stemming from a tensor not being moved to the correct device.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions