Serving is a subproject of Secretflow that implements model serving capabilities.
Project description
SecretFlow-Serving
SecretFlow-Serving is a serving system for privacy-preserving machine learning models.
Serve a model
# Download the Secretflow Serving Docker image
docker pull secretflow/serving-anolis8:latest
# Start Secretflow Serving container and open the REST API port
cd examples
docker-compose up -d
# Query the model using the predict API
curl --location 'http://127.0.0.1:9010/PredictionService/Predict' \
--header 'Content-Type: application/json' \
--data '{
"service_spec": {
"id": "test_service_id"
},
"fs_params": {
"alice": {
"query_datas": [
"a"
]
},
"bob": {
"query_datas": [
"a"
]
}
}
}'
Contribution Guidelines
If you would like to contribute to SecretFlow-Serving, please check Contribution guidelines.
This documentation also contains instructions for build and testing.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distributions
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 63aa6814dcd1474c23079ad968acb6a7ca5956a346e53e01f00a9d51a8247917 |
|
MD5 | 952f526587a38df8a7cab566093065bb |
|
BLAKE2b-256 | 21444aae51419e307683ed52fe0514869d2cf78767dccbd891e125a6497389b9 |
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b3ff21f7a022ca775a4d70e23eb45ca7a7adae7cd288648c65b78e8c9b5a7cf2 |
|
MD5 | 3c2a40bda8c050863bf310f530262a43 |
|
BLAKE2b-256 | a715adbe9c8d50c0ebaaa1b830fe31928ea64d6fddd3426d35d91617a7bd02b0 |
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp311-cp311-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fc92dd7f0481542ce1e4aa7e38aee77c825c9558cd8b380a162e64afff5835c |
|
MD5 | 11f5215579f5e41b9e5b51f1a198e3b0 |
|
BLAKE2b-256 | d2862e954c9eef574705203bc3bf76c7f007e3c701b95abd7b3895a7875b566b |
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fe29a02c080adc87b02469b4016d88e2afdbba7a9f9affe15978e0b39156a4c8 |
|
MD5 | 75030350ade951a4a49f2593394a777a |
|
BLAKE2b-256 | cf2b1639948772f2a4f9dc0b8bc9dda85788b3eac668eb1879471c1998ac44d2 |
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 820fb7339f855a4409196030b0837ec792b98a9baffda8aa8766444b94709c5c |
|
MD5 | 906ca7b6bb7f657fc6014d5deba2a0f0 |
|
BLAKE2b-256 | 7ea4fcd79c1a8446eec7ed98c79c99b7a5b3cc20d998340e115a35aa3e7aff2d |
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa9c5e53c5096aa4f325a6c56474f56d9e7f8095fe1b9bf8797d9bae6a59442f |
|
MD5 | 9e8ef73083d24a32a36798288c6b994a |
|
BLAKE2b-256 | 05a3f76f0486ad95822f2e1d3743ac886b07545f9087c9eeea09f76c35a98d24 |
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9b87bb0a7f6c73e8ba6c6864024ea0b0deb96ed7f9a08c1a75d3ee5afb8c15f |
|
MD5 | bbaf2bd429b555c2289dfc5b247bf84b |
|
BLAKE2b-256 | b9f0ca2e21c4848af8b3556c8b064ddc20509396fa9661deb1be9983737cf8db |
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e3cc5ccf531576e4d9c32916fe9995bf5b60abce1ff3c851f99b84706d199a8 |
|
MD5 | 40bd1e2afce38140068057f343c37156 |
|
BLAKE2b-256 | 72472d43c8f2245106a200f0c7be2b7c5c543146a8eacc62132ad2429c65522f |
Close
Hashes for secretflow_serving_lib-0.7.0b0-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 326658a234cafaaf8d8518e11afc6c64b9d03bd39336590faeef479acc1f1cd5 |
|
MD5 | 4e7530f875d5c0bdc15025b089d64dad |
|
BLAKE2b-256 | ea0e35d9d9938a34d41f90051596ec1ec8c9b4e3be4d74741a624227123024da |