comp-imaging / ProxImaL

A domain-specific language for image optimization.
MIT License
112 stars 29 forks source link

Hotfix: `least_square.solve()` not accepting numpy #98

Closed antonysigma closed 10 months ago

antonysigma commented 10 months ago

(The recent PR #97 broke the solvers. I am drafting a PR to fix it.)

In HQS and ADMM algorithms, disable the cache mechanism by passing new values to the least_square.solve() function.

When px.Problem() call is bypassed in the python unit tests, the cache_miss detection mechanism fails. Design a new hash/eviction key to ensure Ktb recompute.