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.dev20240227
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.dev20240227-cp311-cp311-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240227-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 |
1b38750e1bdb6a5c80d79ffd41c289b018ff9d10e0136750b56a15a8cf8244e6
|
|
BLAKE2b-256 checksum How to use checksums |
62e7d6ebd101875b2aa24e17cd6c3c9dac0d445a53a1108f83d5c0ad07b4f1d5
|
| 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.dev20240227-cp311-cp311-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240227-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 |
84c6c84e3de65a993b9d0e1498c054cd4a1041a0415957f06317f20ff709c629
|
|
BLAKE2b-256 checksum How to use checksums |
619119c878ad390f862744f7b7bd6bd8d5cfa05f17bf5c602981d4f48200eece
|
| 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.dev20240227-cp310-cp310-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240227-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 |
704c5b070ea3e40efec1c6a3c9da194294f69f539c9a1c1724404f2884314273
|
|
BLAKE2b-256 checksum How to use checksums |
89897a979a5f601227f0d471ac491eb00238650c45bba8832b7df6e6e8718340
|
| 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.dev20240227-cp310-cp310-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240227-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 |
7e6589fa61d80e825917badf3afc4847b61161b1ef106f82cf97750f616c8a4c
|
|
BLAKE2b-256 checksum How to use checksums |
4066a1fd779d86671d8bac6fa4103b85c2dc22eb47a836a9c5e8d45a5c1df563
|
| 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.dev20240227-cp39-cp39-manylinux_2_28_aarch64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240227-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 |
31583a7fe198d322eac7e15ab67d4bb01ec485b59c924c85d8daf7d1fa8530ba
|
|
BLAKE2b-256 checksum How to use checksums |
29c3afae67475dbd39459c1d24cc3cdab24037d0f4d61a9755a851c859914f1e
|
| 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.dev20240227-cp39-cp39-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240227-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 |
259e690982f6c9d2328dd3398728826e5bda9d0c18952cd350de8191717e3ccc
|
|
BLAKE2b-256 checksum How to use checksums |
3ed74040b2e847d67f0e84874b5c23014783981197f018aa0e76a4e23a521b5b
|
| 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.dev20240227-cp38-cp38-manylinux2014_x86_64.whl
| Download URL | secretflow_serving_lib-0.2.0.dev20240227-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 |
1c7009b7d91c80ae978f2233e35e45d2304748e2eafddde892e2642d8cca92d9
|
|
BLAKE2b-256 checksum How to use checksums |
2dd58e1c9f147abb939cccc874ea750a03394582d432220c6b5da301fc2ab822
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.0 CPython/3.8.18
|