You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move the Torch wrapper to the separate module (#821)
* Added an initial solution
* Just renamed some weird names
* Removed unused settings
* Added minimal readme.md and fix some typos
* Fixed some names
* Fixed some names
* Fixed gradle
* Handle engine not found exception from DJL
* Handle engine not found exception from DJL
* Handle engine not found exception from DJL
* Handle engine not found exception from DJL
* Changed the setter
* Removed the comment
* Changed the visibility level for some dependencies
To enable support of the `utbot-analytics-torch` models in `utbot-intellij` module the following steps should be made:
2
+
3
+
- change the row `api project(':utbot-analytics-torch')` to the `api project(':utbot-analytics-torch')` in the `build.gradle` file in the `utbot-intellij` module
4
+
- change the `pathSelectorType` in the `UtSettings.kt` to the `PathSelectorType.TORCH_SELECTOR`
5
+
- don't forget the put the Torch model in the path ruled by the setting `modelPath` in the `UtSettings.kt`
6
+
7
+
NOTE: for Windows you could obtain the error message related to the "engine not found problem" from DJL library during the Torch model initialization.
8
+
The proposed solution from DJL authors includes the installation of the [Microsoft Visual C++ Redistributable.](https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170)
9
+
10
+
But at this moment it doesn't work on Windows at all.
0 commit comments