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.4.0.dev20240625-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c9b1d7dd22baaeb0585855d8f3d8291ae1c1343f5dfdda6ab9b1e214f5b60d9 |
|
MD5 | c26f4873aa52ab689916ae0546ba2c23 |
|
BLAKE2b-256 | d057e29d4f76525453eee20e70e256623783bb2c8bdbc1c30c25ccb08739c370 |
Close
Hashes for secretflow_serving_lib-0.4.0.dev20240625-cp311-cp311-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 442dea59f3d420ebd4c7490c4eeae4b8f47bccf301311f4e55d465ca36b3b9e5 |
|
MD5 | 25eec2fff6020c5f0e461154f6bceead |
|
BLAKE2b-256 | 90825f2d6b0951baebdf2cd21789b9a0c54db0ca46277602f79c030006379ffe |
Close
Hashes for secretflow_serving_lib-0.4.0.dev20240625-cp311-cp311-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea390a6f44d994b452b09dd105579ad11dc3571c570b2ba4121eef4ec63f41a8 |
|
MD5 | 8e855706e3fe72b09581ccb0f0c59ebc |
|
BLAKE2b-256 | f2d71fe10b5c7f89b5138f641f211fd1d6359a5fddbe114b15b5fa846b43c409 |
Close
Hashes for secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72fde865278657e499b4652eac96a03d74b467a28e5468d6d4c61cd0ecd379d8 |
|
MD5 | 4ba3ed441cc3e625ac5d2f8bd5df1619 |
|
BLAKE2b-256 | 5b81954b79044aef481751de4dc50348049bd137a27ef2cb1ee690cea6de2c0d |
Close
Hashes for secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b6951a70aab2d7ac261c26c0f189c87d38592be8485ad9de4458f256f83e704 |
|
MD5 | cdf58b9f5a0fdb6059c4afe9ead48e38 |
|
BLAKE2b-256 | 14d6ec346f99291608f7f364b0ace722a4118c49e2b7f2b367879d8eee797df7 |
Close
Hashes for secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 020fd570a05cad17745c289b5297753a122464ddfd4eeec43dee1885a6693879 |
|
MD5 | c217cf2a7d162820692f0d3d4bd4de00 |
|
BLAKE2b-256 | f087fb7c0ce3a69616bdd5a1aeb0c755022ac97bbe761f053996e0c6ec41d7d1 |
Close
Hashes for secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ad5e5d6d6fa1a9b397d48213541c313135683b487c6882df862017ac43e4eceb |
|
MD5 | 3dfbb99558343e5e5e4c3c8251b0b3e7 |
|
BLAKE2b-256 | 055f1567bf5bf8e3db0dc4193275426a676e7c2c8d1ec4cbf53f44bd73d6d7b7 |
Close
Hashes for secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-manylinux2014_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7c01eef5e406ab2e7bed090fdd132ab9711ac3a667f5c440566234080c0b73d1 |
|
MD5 | a1c7d9145305757696aec82f4d5ec9ea |
|
BLAKE2b-256 | 51241cce8c11fcafe8351c7924f1dfb7b3d2d90f10b30a2a71d7cf5e9bdca02c |
Close
Hashes for secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-macosx_12_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60d242cc5295ae4660a58da3df708bf88c02ab540cc5f3fc6fef539e0f1d9c5a |
|
MD5 | ae42348e5cb07050004e0aeb835efe44 |
|
BLAKE2b-256 | a5aebdf5cdfc8b7d641ed9f8ee13e01b99b532fabb0d19e8b4be21968e199bb7 |