nexB / scancode-analyzer

scancode-results-analyzer
4 stars 2 forks source link

Make a default scan option with less dependencies #41

Closed AyanSinhaMahapatra closed 2 years ago

AyanSinhaMahapatra commented 3 years ago

In order to run the NLP models, there are a lot more dependencies required, in addition to downloading the model (both sizes in GBs) and more loading time.

There should be two install options, based on the analysis performed to make packaging and installation easier-

Where the default does the issue detection and issue type classification with minimum dependencies (only scancode-toolkit dependencies), and faster. And then the deep option which uses the NLP models. Also, enable GPU computation based on whether required libraries (Cuda) are installed and a GPU available.

Related - #21