Skip to content

apple_mps_pearl

diapason.mining.apple_mps_pearl

Experimental Apple-GPU Pearl mining provider via PyTorch MPS.

This provider is a correctness-first bridge to upstream Pearl miner-base. It uses the Apple GPU for the NoisyGEMM matmuls through PyTorch MPS, while leaving transcript hashing and proof construction on CPU until a native Metal kernel exists.

AppleMpsPearlProvider

Bases: CpuPearlProvider

Experimental MPS-backed Pearl provider.

start(config) async

Spawn pearl-gateway and the MPS miner-loop subprocess.

ensure_registered()

Idempotently register AppleMpsPearlProvider in MinerRegistry.