facebookresearch / theseus

A library for differentiable nonlinear optimization
MIT License
1.78k stars 128 forks source link

Slow BaSpaCho slover #665

Open rwn17 opened 1 month ago

rwn17 commented 1 month ago

❓ Questions and Help

Hi @luisenp ,

Thanks for your excellent lib and the BaSpaCho Solver! I just tested the code from #565 with 0.2.2dev from pip and also compiled 0.2.2 from source(also BaSpaCho). My experiment shows using BaSpaCho Solver will make the optimization slower than default solver. Could you please check whether it's a problem with my environment?

Best, Weining

maurimo commented 1 month ago

Sorry for catching up late on this... author of BaSpaCho here! Any idea of what the test you are running is about? is it a block-based matrix? can you check if the GPU is used or BaSpaCho runs on the CPU? Generally @fantaosha had verified that BaSpaCho manages to be quite a bit faster, unluckily I don't have time to dig in this moment but would still love to hear about issues. Best,