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.10.0.dev20250317
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-manylinux_2_28_aarch64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.28+ ARM64 | Details |
| secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-manylinux2014_x86_64.whl | CPython 3.10 | CPython 3.10 | Linux glibc 2.17+ x86-64 | Details |
| secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-macosx_12_0_arm64.whl | CPython 3.10 | CPython 3.10 | macOS 12.0+ ARM64 | Details |
Total release size: 90.4 MB
Release files / secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 32.8 MB |
| Tags | CPython 3.10 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
3f62083d780851b0397e03d2c34c76bc68c7c22546b27aeba3caf48700f464d7
|
|
BLAKE2b-256 checksum How to use checksums |
2bd4e9fbe2c5914bcb8cf519a7f15897ed9f2f0b6e32c3b0b976abffbce9a32a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-manylinux2014_x86_64.whl |
|---|---|
| Size | 33.8 MB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
27e33ee795269afad4b5e572d23549ca1b485bbc54fd6ee48360ac995e9d6e23
|
|
BLAKE2b-256 checksum How to use checksums |
35f85cbeffe70b627a75ce2ef64cd33f2dc87db863158ce5c7fd41e248cce5ca
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-macosx_12_0_arm64.whl
| Download URL | secretflow_serving_lib-0.10.0.dev20250317-cp310-cp310-macosx_12_0_arm64.whl |
|---|---|
| Size | 23.8 MB |
| Tags | CPython 3.10 macOS 12.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
61c099ff77f9707d581e613f75e60a4070628d4f75b117749995af825954931f
|
|
BLAKE2b-256 checksum How to use checksums |
5a717c220c1526a399239b48dd7acc941a7e98386c9c85d2e1863653edf4ab70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|