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.8.0.dev20241119
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 274.1 MB
Release files / secretflow_serving_lib-0.8.0.dev20241119-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp311-cp311-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 31.6 MB |
| Tags | CPython 3.11 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
eab083c6eabea8abea031cba5e9c4219f8bd5a7a5e60c34b364e8ebe977ce096
|
|
BLAKE2b-256 checksum How to use checksums |
4edc566cc496afdbd61735c4a52425fd4ca2fb9bce4c67abb32f30c7a88a08e8
|
| 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.8.0.dev20241119-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp311-cp311-manylinux2014_x86_64.whl |
|---|---|
| Size | 32.7 MB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
71100b44fc26697d36e716baf966e7ba961ec1d911e671d113643da9946e040f
|
|
BLAKE2b-256 checksum How to use checksums |
42756596ac4d39d0d501cc330d6014c8286da984fd5acbd8aa2aaed96f0eab5e
|
| 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.8.0.dev20241119-cp311-cp311-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp311-cp311-macosx_12_0_arm64.whl |
|---|---|
| Size | 27.1 MB |
| Tags | CPython 3.11 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
df1f865a8123a5c69d786ced3a7a5d3c5036eef98eb0ddaf2362ca003f1a70b6
|
|
BLAKE2b-256 checksum How to use checksums |
24daf995775d1a46c9f9004703cd448a56c0684dae9814bf83f57aba66081aa8
|
| 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.8.0.dev20241119-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 31.6 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
95493077143140a92724f971eee1d8fbb1e2861e99f4dd9caee3d1ad8afca53a
|
|
BLAKE2b-256 checksum How to use checksums |
c0f8a5c8044b8689142b114ecd850c800ea35c0b9a6378b853081cc5273b327f
|
| 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.8.0.dev20241119-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp310-cp310-manylinux2014_x86_64.whl |
|---|---|
| Size | 32.7 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2bf8e73c0edd0f9f5f41581038847164bd9abb798b71c5a9348cb17a9154360e
|
|
BLAKE2b-256 checksum How to use checksums |
d1d3f6682303b7d44111ce630363eba697fedaa1cce419e1f84b4e17cd4a72e3
|
| 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.8.0.dev20241119-cp310-cp310-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp310-cp310-macosx_12_0_arm64.whl |
|---|---|
| Size | 27.1 MB |
| Tags | CPython 3.10 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c43592e605f14114357707de234b7e7a5e557f5f3a107124224ff6927617b7c9
|
|
BLAKE2b-256 checksum How to use checksums |
631af7a61ef4d76b6e59efd01cdc3099e9bd6841dfa60b4b1a60949268efaf5b
|
| 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.8.0.dev20241119-cp39-cp39-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp39-cp39-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 31.6 MB |
| Tags | CPython 3.9 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
02e85f048e25e6b9d4361f834ad371aeee556208dad19651b5e783777f22c027
|
|
BLAKE2b-256 checksum How to use checksums |
13acc47dc77f6a1287abe0195fef5b0535797d2fa9069bf1011ba50107e3bdb7
|
| 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.8.0.dev20241119-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp39-cp39-manylinux2014_x86_64.whl |
|---|---|
| Size | 32.7 MB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
14fd022b8714c0837e010e37786f8c578d92aef3277f8ca87256c486577678bf
|
|
BLAKE2b-256 checksum How to use checksums |
2ec79820db1139d8c8d6e937d6691e37d8e86e1aecf6bfd9a0ecb927d727cc8b
|
| 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.8.0.dev20241119-cp39-cp39-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.8.0.dev20241119-cp39-cp39-macosx_12_0_arm64.whl |
|---|---|
| Size | 27.1 MB |
| Tags | CPython 3.9 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
2c2caf2bfed3ec65d9311024047dd26187e95793574b2101df63a2b9a56cb950
|
|
BLAKE2b-256 checksum How to use checksums |
b152535656d1594bab56c179e3510aa395e29748a224ed6082da9c2dfe08154a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.9.20
|