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.7.0.dev20240925
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 264.4 MB
Release files / secretflow_serving_lib-0.7.0.dev20240925-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 30.2 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
7b682e90c40bdbdbb1d7658577553b900da8ef832c7dc9755974e75f834ede64
|
|
BLAKE2b-256 checksum How to use checksums |
721d8dba846da3613baba0f9d6154b2bb621537cc2065f20bc67031f0e8bf129
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Release files / secretflow_serving_lib-0.7.0.dev20240925-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp311-cp311-manylinux2014_x86_64.whl |
|---|---|
| Size | 32.3 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
f71d75cb508c40b73e2f48ebcd0d2e11aa7baf1832f45d0e16ef16d961d90d53
|
|
BLAKE2b-256 checksum How to use checksums |
1609436361b7e62453f0841a5a42ffccbfa56afd293ddf180cfba732eedc23a0
|
| 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.7.0.dev20240925-cp311-cp311-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp311-cp311-macosx_12_0_arm64.whl |
|---|---|
| Size | 25.7 MB |
| Tags | CPython 3.11 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6ecf68e34c9315798dca879c0d8f077fd230f555cd68b5363f84efc09b39e3ca
|
|
BLAKE2b-256 checksum How to use checksums |
4c8a1ea1580e7805490603354833633ae13ef51289c44842cdfbd478f6132978
|
| 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.7.0.dev20240925-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 30.2 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
a4c2f8e2c0a0b42e11eef0c6e563d5bf50a05371a937f23492582cf10121ee87
|
|
BLAKE2b-256 checksum How to use checksums |
dfe9167de3d6058ebd520f798f31c08366a69cfde8666efa54132832074041bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.10.15
|
Release files / secretflow_serving_lib-0.7.0.dev20240925-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp310-cp310-manylinux2014_x86_64.whl |
|---|---|
| Size | 32.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
72a8ef689bd59077958e0b7567f2ca08ffe7ed355f7d4a6ad091db0940905073
|
|
BLAKE2b-256 checksum How to use checksums |
79cd7b660aa3518885bf586c404cf61ddeb5e5cc41546fc716aaf847ac69126b
|
| 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.7.0.dev20240925-cp310-cp310-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp310-cp310-macosx_12_0_arm64.whl |
|---|---|
| Size | 25.7 MB |
| Tags | CPython 3.10 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
d0f76d9e0de912d24a584039990a672cda6794c89866f9784dd4b812643ba920
|
|
BLAKE2b-256 checksum How to use checksums |
d30386c6f50ab755a10e800c2a5dfc98621b4d5a202e5c35c2d73795798d6bc9
|
| 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.7.0.dev20240925-cp39-cp39-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp39-cp39-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 30.2 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
a1e9c054c588cc3f9419f2cffd67dd23ef28df0d433a42dd6624eaee15fdf948
|
|
BLAKE2b-256 checksum How to use checksums |
01c98417ac8f444549ba2f1cf225be9aa309daefc9cfd990600d12ad3092cf7e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|
Release files / secretflow_serving_lib-0.7.0.dev20240925-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp39-cp39-manylinux2014_x86_64.whl |
|---|---|
| Size | 32.3 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
0fea5a8f6a89bdd8ec2afddc8a590bc0c17b696cca6b1657a7bbd24c6afdcba2
|
|
BLAKE2b-256 checksum How to use checksums |
f362bb197bc823679445be28c4d08e82f12d8325f268bebbfc955ac70e993c31
|
| 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.7.0.dev20240925-cp39-cp39-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.7.0.dev20240925-cp39-cp39-macosx_12_0_arm64.whl |
|---|---|
| Size | 25.7 MB |
| Tags | CPython 3.9 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
86bd74938dcfbf965d816b1a7e3ee605b293cb0277f8a834a8c727d6c47d572b
|
|
BLAKE2b-256 checksum How to use checksums |
0184e7d0549e4a2a33f6c2cde796ebc30d76fc61d81ea3bec1f05b6360e8b5d6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.19
|