-
## Description
I am working on an application that allows switching between different pytorch versions dynamically. In order to do so I load dynamically the JARs needed fo each particular version o…
-
In python, we can use np.array([[[1, 2], [2, 3], [11, 22], [22, 33]], [[1, 2], [2, 3], [11, 22], [22, 33]]]) to create a three-dimensional array. The create method in djl can only support two-dimensio…
-
As a final example, here is one that features a more complicated interaction. The human detection model will find all of the humans in an image. Then, the "splitHumans" function will turn all of them …
-
## Description
when I run ` Mnist mnist = Mnist.builder().setSampling(batchSize, true).build();`
report errors:
Exception in thread "main" ai.djl.engine.EngineException: Failed to load MXNet na…
-
## Description
We want to upgrading our serving service's DJL(including torch version) to a newer version (DJL 1.19 with djl.pytorch.pytorch-native-cpu 1.12.1), but find one of our serving models has…
-
### What is the bug?
Our pre-trained tas-b model won't accept a doc with a token length exceeding 512
### How can one reproduce the bug?
Simply upload our tas-b model (in ONNX form or torch_scrip…
-
On my (Arch) Linux machine, I want to use pre-trained UniversalSentenceEncoder from the Tensorflow model hub. This works nicely on CPU.
On a different machine with GPU I try to accelerate this, but…
-
## Description
使用criteria加载模型,会在`~/.djl.ai/cache/`目录下解压缓存模型文件,但是该解压的文件夹名称未进行校验,导致模型修改后,还会加载已经缓存的模型
Using criteria to load the model, the cached model file will be unzipped in the `~ / .djl.ai / cach…
-
So, user can use NDArrayEx's api transparently instead of calling NDArray#getNDArrayInternal first.
-
## Description
I developed an example of Rank Classification using BERT on Amazon Review dataset. [This guide](https://docs.djl.ai/engines/pytorch/pytorch-engine/index.html) and It worked fine with A…