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.dev20240108
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| secretflow_serving_lib-0.2.0.dev20240108-cp38-cp38-manylinux2014_x86_64.whl | CPython 3.8 | CPython 3.8 | Linux glibc 2.17+ x86-64 | Details |
Release files / secretflow_serving_lib-0.2.0.dev20240108-cp38-cp38-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240108-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 |
193e47386689d1b53dd298fbf91b315b0effed17abfe1efac3ef3fc50af87a9e
|
|
BLAKE2b-256 checksum How to use checksums |
0629e42fd1b2c8bfa184214a6f23baa1bae52258fc301b233e140533b0d98935
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.18
|