Open larochef opened 1 year ago
@larochef
I tried on mac and Windows, both works fine.
I'm not familiar with javafx, when I try on ubuntu, I got: Cannot open display
error.
Did you have some graphical environment running with ubuntu?
What's interesting with javafx is that it will bind on the system toolkit to create the window and components. For instance on linux, it will use gtk for the rendering.
We have it working fine on windows and mac too, sorry to have not stated it on the issue.
Description
When I close a model, I have the following error:
free(): invalid pointer
it also happens when the app exits and the memory is cleared.
It happens on linux, using PyTorch, got it on cpu and also on cuda. The program also uses javafx.
Expected Behavior
no error and program exitting normally
Error Message
(Paste the complete error message, including stack trace.)
How to Reproduce?
(If you developed your own code, please provide a short script that reproduces the error. For existing examples, please provide link.)
Steps to reproduce
(Paste the commands you ran that produced the error.)
./gradlew run
What have you tried to solve it?
Environment Info
Please run the command
./gradlew debugEnv
from the root directory of DJL (if necessary, clone DJL first). It will output information about your system, environment, and installation that can help us debug your issue. Paste the output of the command below: