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.2.0.dev20240311
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 116.3 MB
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
fdd7fcc6ce5f74512e3bb4a9cea4bca9296de82f002f5be6fa7037c70e5a2c9b
|
|
BLAKE2b-256 checksum How to use checksums |
8aba5a9bd244dff9f52a2ae28413c6434714d195f2642ed85390b59341657cd0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux2014_x86_64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a69d00683f317fbf10db186a52d420641b777a704fe1451b25f861957d55f97c
|
|
BLAKE2b-256 checksum How to use checksums |
27619529044c2316177ebb556ff95edcd3e983b933cb987b8d42594a901cad8b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.11 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
2a66317d3a42d14a0db2e1f0c3b68615218982c45b532570dd0aa4825b103b33
|
|
BLAKE2b-256 checksum How to use checksums |
c18b4de5a07295730476e994c2ca1f787500a631a43c94d16ea551323253e355
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_arm64.whl |
|---|---|
| Size | 6.2 MB |
| Tags | CPython 3.11 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
832f80a8ab782ebc8ada23b3390497a8ec3d89ca0a82156640123fe0ba545815
|
|
BLAKE2b-256 checksum How to use checksums |
8067f298eea8e329568efab57b2996168611806e1753ca43e2d76c96d14ceb4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.11.8
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
93eb17f7c67fe849e1453731277757b0d52c2da32b162de75c15cda8b3cadc0b
|
|
BLAKE2b-256 checksum How to use checksums |
8006a07852e7da4b7758ba12cdfefc434b1e31175cb2bf79110b61659868c2db
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux2014_x86_64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
7afe4ac3764b8510545987cf4c5309ff387902542a49455b498704f1f216d41d
|
|
BLAKE2b-256 checksum How to use checksums |
417a5867fd51c459419a8c1cd2a4fdc6a539543f821f1a5b47c50b21ea46a38f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.10 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
34fa608c33ce3583857bc557f403814529d034a119035247b19e80f40b7e5fa1
|
|
BLAKE2b-256 checksum How to use checksums |
323ded1945604f3b36f91a54aa85b2121d2f8ed3e9dd59ecf852d512568e4e79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_arm64.whl |
|---|---|
| Size | 6.2 MB |
| Tags | CPython 3.10 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
f007a0f688f4fa4826fbe7da2b244446cf57a780881271a05a4bec8f730e1f78
|
|
BLAKE2b-256 checksum How to use checksums |
beadd4181e037dcc02f52f8e6760200082514007f8d35ebfd3782bf02edb7cb4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.10.13
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 8.9 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
d7de299103c690d1543215c0108a7220d7a8082a60541a968fe0587acc6a6994
|
|
BLAKE2b-256 checksum How to use checksums |
741cdc5e9885a44d285b233e19403259082f089876d766624a1ffe0e8129461c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux2014_x86_64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
48898a8c487110c6f94e9f557a02c0bc5b3c5328a991f6699f25ebdf929f0e38
|
|
BLAKE2b-256 checksum How to use checksums |
b841d0a9a566306b04ca6eff7464b1884fbd82b2d7e2dc37af70cccfa3e761f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.9 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
763471b6114b9a8eb89e4cf57e7e9ed19160f621ba67c6f78f3a4e6ae78c8518
|
|
BLAKE2b-256 checksum How to use checksums |
19e4b1aff71c7d0a0c369ec4d016106c6bfeda86593a751bd69ee0cb3a3ea732
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_arm64.whl |
|---|---|
| Size | 6.2 MB |
| Tags | CPython 3.9 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
6b0b37b30fae2d0aaeaae3c743b26a6e53107431d1e884c24cd963830344d6a3
|
|
BLAKE2b-256 checksum How to use checksums |
5c4ac3c38b7d0f514483572f8f1d7cc32daa295a473df4499bddf8eaa82b474d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.9.18
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-manylinux2014_x86_64.whl |
|---|---|
| Size | 9.2 MB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
a14241995398f9bfda8101be974aa6f984ca67094674e49c15380d5f4ec9ba07
|
|
BLAKE2b-256 checksum How to use checksums |
b66e187b0acdbe1d69383dd35a6d15d228d17c3c8e5e292380b74c82a007dca3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_x86_64.whl |
|---|---|
| Size | 6.9 MB |
| Tags | CPython 3.8 macOS 12.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
33ceaf7ab000362e5f06c7883f9bf1d862204cb26a3f456ceafa72ae6ef042ea
|
|
BLAKE2b-256 checksum How to use checksums |
b31cbad2473ac3aa992f4a37f2ff418f561f05eee1c2090faafb0a2883f478c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|
Release files / secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_arm64.whl |
|---|---|
| Size | 6.2 MB |
| Tags | CPython 3.8 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
ac80dc488c8dea0cf7ca4763bb493276eb2254c121bbaf0bf1f7b4788477dbf9
|
|
BLAKE2b-256 checksum How to use checksums |
da0433f52624aa832d9bb4c8b848f10aef99d23f9e0241154798460540a1fcdb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|