djl
djl copied to clipboard
An Engine-Agnostic Deep Learning Framework in Java
I’m using code like: ``` static String DJL_MODEL = "intfloat/multilingual-e5-base"; static String DJL_PATH = "djl://ai.djl.huggingface.pytorch/" + DJL_MODEL; static private HuggingFaceTokenizer huggingFaceTokenizer; ... static private HuggingFaceTokenizer getHuggingFaceTokenizer() { if (huggingFaceTokenizer ==...
## Description After training a model in Python, I cannot use the trained PyTorch model with DJL. I always get different exceptions when trying to fix code, but did not...
I want to use paddleocr on an aarch64 machine, and it would search and use libmxnet.so and libpaddle.so. But after I searched on the official page, I can only find...
## Description When I build a project supporting DJL in Android Studio, I encounter the following error. How can I resolve it? `Could not resolve all files for configuration ':app:debugRuntimeClasspath'....
Original issue: https://github.com/dmlc/xgboost/issues/9950 I've noticed `SIGSEGV` fault caused by DJL. This was causing service availability issues since my containers would shut down with this fault. I know that this caused...
## Description I want to run a benchmark of a model on GPU and it fails due an error in the PyTorch Engine ### Expected Behavior Successful benchmark ### Error...
## NDArray diagonal It appears as diagonal vector/matrix accessor is missing in the API. Would be great to expose what engines already capable of providing. `NDArray NDArray.diagonal()`
Add NDArray meshgrid, delete and diff, just like numpy's np.meshgrid, np.delete and np.diff
Hello, We have been attempting to update DJL's support for Quarkus in 'djl-demo' to the latest versions of DJL (0.24.0) and Quarkus (3.5.1). The updating of the Demo to DJL...
## Description I am working on inf2.xlarge instance with Neuron devices this is my code: ```java Engine engine = Engine.getEngine("PyTorch"); Device device = Device.fromName("nc0", engine); try (NDManager manager = NDManager.newBaseManager(device,...