Skip to content

Commit

Permalink
Minimal followup for BytessSupplier changes (#580)
Browse files Browse the repository at this point in the history
This fixes serving for changes from
deepjavalibrary/djl#2470. Some more extensive changes
should follow including using the servingPredict and PublisherBytesSupplier. To
fix CI, they will be part of a separate PR.
  • Loading branch information
zachgk authored Mar 29, 2023
1 parent 0874478 commit 7c63c23
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

import ai.djl.Model;
import ai.djl.engine.EngineException;
import ai.djl.modality.ChunkedBytesSupplier;
import ai.djl.inference.streaming.ChunkedBytesSupplier;
import ai.djl.modality.Input;
import ai.djl.modality.Output;
import ai.djl.ndarray.BytesSupplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import ai.djl.engine.Engine;
import ai.djl.engine.EngineException;
import ai.djl.inference.Predictor;
import ai.djl.modality.ChunkedBytesSupplier;
import ai.djl.inference.streaming.ChunkedBytesSupplier;
import ai.djl.modality.Input;
import ai.djl.modality.Output;
import ai.djl.ndarray.BytesSupplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
package ai.djl.serving.http;

import ai.djl.ModelException;
import ai.djl.inference.streaming.ChunkedBytesSupplier;
import ai.djl.metric.Metric;
import ai.djl.modality.ChunkedBytesSupplier;
import ai.djl.modality.Input;
import ai.djl.modality.Output;
import ai.djl.ndarray.BytesSupplier;
Expand Down

0 comments on commit 7c63c23

Please sign in to comment.