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.5.0.dev20240702
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.7 MB
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
a88e253df2edb1c32b28e01ed473296ba11fd181c1ffa38b921bbb8719d1f6f9
|
|
BLAKE2b-256 checksum How to use checksums |
3aa8ede7f299a73340e17479156c328d1225acd48240c2e1c2183ebea529f013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
95660eea09c6bfe97e6452b9ba6a43b3332fca0609351f2fa46b50cec37c6fe7
|
|
BLAKE2b-256 checksum How to use checksums |
fdba436c192f8f20595f3517d98c6af8db979a2a4c3f32e106e87f9485d70839
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp311-cp311-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
a1ace1bb7e53e5cfc004e7c77b55f32115903e65adff7def4b7aba7e6c2e93eb
|
|
BLAKE2b-256 checksum How to use checksums |
bf0e27836c713fad14514a6f596988db39d4d28c2efa03ad7c2f990bf64e8a61
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.9
|
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
5958295c4894ac936f28145d2b0f9c56430872b50b25e78249509621abe93753
|
|
BLAKE2b-256 checksum How to use checksums |
7be6de34de2e81bd56dab0024a9b682d02924ba93b679c256ea4a9563853e826
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
34264ed0ea79cab099b2777a4b4d36ba8fba09ca80513c30a3facc40001c485b
|
|
BLAKE2b-256 checksum How to use checksums |
29899d671b5d5d006f4a2664eb127bd143a110c626d681fb1422876bcc3e937d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp310-cp310-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
34a619887882209cfbccc17c03d3afd63bd116122f644b890990c8f0e0e58165
|
|
BLAKE2b-256 checksum How to use checksums |
aea24b4216a8906555a7190fc76adeaefc6599236c71189f62df0f74878827c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.14
|
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp39-cp39-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
87991e6ddf1ca3f75cfd8834d8e424cc80039f386f127079759dfee7c1e46f00
|
|
BLAKE2b-256 checksum How to use checksums |
2c9d83789ab6e9e1b064af7626115845d293723ad8d255cb2d13410e9755e007
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
e6b5752e2182ca0ef2c95759637796003a78fc4ab519d8fb937ab3e3d3be5ab1
|
|
BLAKE2b-256 checksum How to use checksums |
e06392124003a0b14a91441c89669cbab37ca151cbf8fbdb039418270debae5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|
Release files / secretflow_serving_lib-0.5.0.dev20240702-cp39-cp39-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.5.0.dev20240702-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 |
4b7fe011a2b37f1d3b4cabec2265075756d6a0887d681c99972e7fc1be6ca96e
|
|
BLAKE2b-256 checksum How to use checksums |
79b2dd322b906316b92e72b1ddea429816e670798e5d1d76314b1407e6a4dea3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|