Skip to content

## What's broken MaskedLinearOperator.to(device=...) crashes with AttributeError when called with a device but no dtype (e.g. .to(device="cpu")). The base LinearOperator.to() handles device-only moves fine; this subclass override (added to keep bool masks from being cast to float) regresses that path.#133

Open
devteamaegis wants to merge 1 commit into
cornellius-gp:mainfrom
devteamaegis:fix/masked-to-device-no-dtype

Fix MaskedLinearOperator.to(device=...) crash when no dtype given

911afda
Select commit
Loading
Failed to load commit list.

Workflow runs completed with no jobs