alibi-detect icon indicating copy to clipboard operation
alibi-detect copied to clipboard

Modular package

Open candalfigomoro opened this issue 2 years ago • 1 comments

The alibi-detect package requires a lot of very heavy dependencies (opencv, tensorflow). It could be that I only need the TabularDrift class and I don't need opencv/tensorflow/pytorch for that. Would it be possible to make those dependencies optional (like the "prophet" one), so we can use some simple detectors without requiring both opencv and tensorflow? Thanks

candalfigomoro avatar Nov 23 '21 13:11 candalfigomoro

Hi @candalfigomoro! This is something that's definitely on our radar, we want to modularize the dependencies and allow the library to be installed with bare-bones dependencies by default and handle the cases where missing dependencies prohibit use of more advanced features more gracefully. It will take some time to design the right structure for this as we may also need to refactor some parts of the library, but we're hoping to start to work on this very soon.

jklaise avatar Nov 23 '21 15:11 jklaise

Resolved by #537, #538, #539, #541 and #542.

ascillitoe avatar Jan 27 '23 15:01 ascillitoe