PaddlePaddle / PaddlePaddle/FastDeploy

Serving encrypted models

Open
#2,477 0 comments 0 reactions 1 assignee View on GitHub

@heliqi is already working on this.

Since Jun 20, 2024.

Dominant language
Python
Stars
3.7k
Forks
756
Avg merge
19h 28m
Merged PRs (30d)
4

Description

Hello! Is it possible to run an encrypted model using fastdeploy server?
I have a few guesses.

  1. The fastdeploy backend looks for 'model.onnx' or 'model.pdmodel'. Perhaps registry "paddlepaddle/fastdeploy:1.0.7-cpu-only-21.10" is compiled with ENABLE_ENTRYPTION=OFF and if I rebuild the image with ENABLE_ENTRYPTION=ON it will work. Or should I just rename the model "model.encrypted" -> "model.onnx"? Then how can I specify the key in the configuration (config.pbtxt)?
  2. This is only possible through the Python Triton Model.
    Thank you in advance.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.