Skip to content

Commit

Permalink
chore: add MSRV (#612)
Browse files Browse the repository at this point in the history
Signed-off-by: Keming <[email protected]>
  • Loading branch information
kemingy authored Dec 23, 2024
1 parent 53b809d commit 4e9b3b1
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 29 deletions.
63 changes: 35 additions & 28 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ documentation = "https://docs.rs/mosec"
categories = ["science"]
keywords = ["machine-learning", "deep-learning", "cloud", "model-serving", "service"]
exclude = ["target", "examples", "tests", "scripts"]
rust-version = "1.78"

[dependencies]
bytes = "1.9"
Expand Down
2 changes: 1 addition & 1 deletion mosec/mixin/plasma_worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def serialize_ipc(self, data: Any) -> bytes:

def deserialize_ipc(self, data: bytes) -> Any:
"""Get the data from the plasma server and delete it."""
from pyarrow import plasma
from pyarrow import plasma # type: ignore

client = self._get_client()
object_id = plasma.ObjectID(bytes(data))
Expand Down

0 comments on commit 4e9b3b1

Please sign in to comment.