Skip to content

v1.3.0

Latest

Choose a tag to compare

@PTNobel PTNobel released this 16 Nov 07:14
c110a39

ChatGPT generated:

Highlights

  • Moreau is now the default solver backend for PyTorch, JAX, and MLX. Select solver=cp.DIFFCP to keep using diffcp. The MLX Moreau backend runs on CPU.
  • The Moreau interface now supports CVXPY direct cones, including direct-cone dual recovery and differentiation. Constructing multiple layers from the same CVXPY problem no longer mutates its cached parametrization.
  • With Moreau 0.5.0, PyTorch can compile the full Moreau-backed layer on CPU and CUDA using torch.compile(fullgraph=True), including differentiation. Some compiled backward paths fail on PyTorch 2.5.1. Use a newer PyTorch version for compilation.
  • PyTorch solutions preserve the floating dtype of the parameters.
  • CVXPY 1.9.3 or newer is required.

Pull requests