Pre-release
This release is a pre-release and may not be stable for production use.
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.
Metadata
Release files for secretflow-serving-lib 0.4.0.dev20240625
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 74.8 MB
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
3c9b1d7dd22baaeb0585855d8f3d8291ae1c1343f5dfdda6ab9b1e214f5b60d9
|
|
BLAKE2b-256 checksum How to use checksums |
d057e29d4f76525453eee20e70e256623783bb2c8bdbc1c30c25ccb08739c370
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp311-cp311-manylinux2014_x86_64.whl |
|---|---|
| Size | 9.4 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
442dea59f3d420ebd4c7490c4eeae4b8f47bccf301311f4e55d465ca36b3b9e5
|
|
BLAKE2b-256 checksum How to use checksums |
90825f2d6b0951baebdf2cd21789b9a0c54db0ca46277602f79c030006379ffe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp311-cp311-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp311-cp311-macosx_12_0_arm64.whl |
|---|---|
| Size | 6.5 MB |
| Tags | CPython 3.11 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ea390a6f44d994b452b09dd105579ad11dc3571c570b2ba4121eef4ec63f41a8
|
|
BLAKE2b-256 checksum How to use checksums |
f2d71fe10b5c7f89b5138f641f211fd1d6359a5fddbe114b15b5fa846b43c409
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.11.9
|
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
72fde865278657e499b4652eac96a03d74b467a28e5468d6d4c61cd0ecd379d8
|
|
BLAKE2b-256 checksum How to use checksums |
5b81954b79044aef481751de4dc50348049bd137a27ef2cb1ee690cea6de2c0d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-manylinux2014_x86_64.whl |
|---|---|
| Size | 9.4 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2b6951a70aab2d7ac261c26c0f189c87d38592be8485ad9de4458f256f83e704
|
|
BLAKE2b-256 checksum How to use checksums |
14d6ec346f99291608f7f364b0ace722a4118c49e2b7f2b367879d8eee797df7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp310-cp310-macosx_12_0_arm64.whl |
|---|---|
| Size | 6.5 MB |
| Tags | CPython 3.10 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
020fd570a05cad17745c289b5297753a122464ddfd4eeec43dee1885a6693879
|
|
BLAKE2b-256 checksum How to use checksums |
f087fb7c0ce3a69616bdd5a1aeb0c755022ac97bbe761f053996e0c6ec41d7d1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 9.0 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
ad5e5d6d6fa1a9b397d48213541c313135683b487c6882df862017ac43e4eceb
|
|
BLAKE2b-256 checksum How to use checksums |
055f1567bf5bf8e3db0dc4193275426a676e7c2c8d1ec4cbf53f44bd73d6d7b7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-manylinux2014_x86_64.whl |
|---|---|
| Size | 9.4 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7c01eef5e406ab2e7bed090fdd132ab9711ac3a667f5c440566234080c0b73d1
|
|
BLAKE2b-256 checksum How to use checksums |
51241cce8c11fcafe8351c7924f1dfb7b3d2d90f10b30a2a71d7cf5e9bdca02c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|
Release files / secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.4.0.dev20240625-cp39-cp39-macosx_12_0_arm64.whl |
|---|---|
| Size | 6.5 MB |
| Tags | CPython 3.9 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
60d242cc5295ae4660a58da3df708bf88c02ab540cc5f3fc6fef539e0f1d9c5a
|
|
BLAKE2b-256 checksum How to use checksums |
a5aebdf5cdfc8b7d641ed9f8ee13e01b99b532fabb0d19e8b4be21968e199bb7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.9.19
|