Comments (5)
Should it be closed after the merge of #562?
from benchopt.
Hi @UR4NVS, thanks for your feedback !
If the solver is not installed, you indeed need to tell benchopt which packages needs to be installed in order for the solver to work, by adding a requirements
attribute as you did.
However I am surprised that you got a bug, because if the solver is not installed it should be skipped. Can you share the command that generated the error? And if your benchmark is public, can you share a link to the repo?
from benchopt.
Here is my repo and it wasn't a command written by myself, this occurred during a Github test for my PR. You can find here the error message and the details.
from benchopt.
I think the issue is with the benchopt install
command, when collecting uninstalled solvers. If there is an import error in the safe_import_context
, it expect to find a requirements
attribute. If there is none, I would suggest we raise a more comprehensive error :)
@UR4NVS , do you think you could look into this? this involves changing the line here
to check if the requirements exists and raise an error asking to add a requirements
attribute in the solver class if not.
from benchopt.
fixed by #562
from benchopt.
Related Issues (20)
- FEAT Add option to disable timeout
- PLT - Display the table of benchmark results
- FEAT access to n_iter in compute HOT 2
- DOC explicitely state that solver and objective docstrings are displayed in the HTML
- MNT remove support_sparse support? HOT 1
- BUG safe_import_context incompatible with typing in CI HOT 8
- FEAT Add option to see number of runs instead of percentage of runs
- Enable to change the axis labels on the plots
- API rename compute/get_result to evaluate_solution/get_solution HOT 10
- Implement decorators to allow on-the-fly benchmarks HOT 2
- Matlab Support ? HOT 3
- CLI ImportError: cannot import name '__version__' from 'benchopt' (unknown location) HOT 4
- Save last iterate output HOT 4
- Instantiation of `NoCriterion` fails HOT 4
- ENH javascript compression HOT 2
- Traceback is printed when installing packages
- ENH how to specify path for data dir
- No solver initialization between repetitions HOT 1
- DOC - running benchmarks with hard coded parameters
- Compilation time in the `warm_up` method
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benchopt.