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.dev20240304
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size: 63.7 MB
Release files / secretflow_serving_lib-0.2.0.dev20240304-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240304-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 |
08b640ef7172fdd84d484cbd56abbd02938a3a579c47a88280f9757aebaaeb5c
|
|
BLAKE2b-256 checksum How to use checksums |
da54985032a4af5814988d98abf93e5b71700c2e238fbe24899c3aef6736a811
|
| 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.dev20240304-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240304-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 |
0145d915a6122e3f2662546541bb5d9e53d45fa03d7af8c6e656158f5cf569e9
|
|
BLAKE2b-256 checksum How to use checksums |
25e50ce6107c17749082486f3b0744b9dc4350c6ab651baed317b4fcbcb77d83
|
| 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.dev20240304-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240304-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 |
9b3c6abaa15edb9eb1761c92c51049ba5c7d642a0b8ead754f5c0ceb99a3aac8
|
|
BLAKE2b-256 checksum How to use checksums |
6f38a1e9d83367cef5069a6cdf2a7a338437a9c4b1fef490aae86f546015a372
|
| 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.dev20240304-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240304-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 |
cdbb1fe7ee2cec1a7ed3735807cb194dbb738b164c6756de161345322c6b3bf0
|
|
BLAKE2b-256 checksum How to use checksums |
84c7f64509d2c66d9d40fc1720b5f90369c6f233473e371014710a5622f1a662
|
| 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.dev20240304-cp39-cp39-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240304-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 |
96cd95c8a4dbc9789e3e0761457dc8f0037e73bfc03025e34f4eab32da26c839
|
|
BLAKE2b-256 checksum How to use checksums |
fff5b11f2d137bc8cc9fe8005f0045c8cf33581fa367cf0217fb366a4cca979b
|
| 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.dev20240304-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240304-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 |
d8643aebd66d38fa6cc6f9cb7dff5eca22468e1d83a9f93bdb7fefd0aac3be50
|
|
BLAKE2b-256 checksum How to use checksums |
3908ab68d5f36860a886aea5b9ba1a40390921afec5c277419608a6e55c3c267
|
| 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.dev20240304-cp38-cp38-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240304-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 |
e01c9564629378cd9703028c372658d03a511e16a1a80fc04e569fbb4e9b76f2
|
|
BLAKE2b-256 checksum How to use checksums |
121aceac2926c2dc94ee1dd2b0090f54e112d8f30e6868a8bf7c91e6eb499715
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|