Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

SecretFlow-Serving

CircleCI

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.3.0.dev20240320

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for secretflow-serving-lib 0.3.0.dev20240320
File
secretflow_serving_lib-0.3.0.dev20240320-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
secretflow_serving_lib-0.3.0.dev20240320-cp311-cp311-manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
secretflow_serving_lib-0.3.0.dev20240320-cp311-cp311-macosx_12_0_arm64.whl CPython 3.11 CPython 3.11 macOS 12.0+ ARM64 Details
secretflow_serving_lib-0.3.0.dev20240320-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details
secretflow_serving_lib-0.3.0.dev20240320-cp310-cp310-manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
secretflow_serving_lib-0.3.0.dev20240320-cp310-cp310-macosx_12_0_arm64.whl CPython 3.10 CPython 3.10 macOS 12.0+ ARM64 Details
secretflow_serving_lib-0.3.0.dev20240320-cp39-cp39-manylinux_2_28_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ ARM64 Details
secretflow_serving_lib-0.3.0.dev20240320-cp39-cp39-manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
secretflow_serving_lib-0.3.0.dev20240320-cp39-cp39-macosx_12_0_arm64.whl CPython 3.9 CPython 3.9 macOS 12.0+ ARM64 Details

Total release size: 74.1 MB

Release files / secretflow_serving_lib-0.3.0.dev20240320-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-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
d42b3f9dc12bc190befe4cc8b67a1fc147b1cee17ca25ecc9a0a7ca582c9f6ed
BLAKE2b-256 checksum
How to use checksums
481acf149aeb2c08f89c9f2e61e26dcb1722824183ac8d9e2e211c9160fd4ae1
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.3.0.dev20240320-cp311-cp311-manylinux2014_x86_64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-cp311-cp311-manylinux2014_x86_64.whl
Size 9.3 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
5efa5e719088dd0bee92872a90f885fd281bb330098ea261348007a10337f2dc
BLAKE2b-256 checksum
How to use checksums
9073de943eb3a8be2e67448d8efd12b4c927b2f37b1a357ebf877c8ef3aee60a
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.3.0.dev20240320-cp311-cp311-macosx_12_0_arm64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-cp311-cp311-macosx_12_0_arm64.whl
Size 6.5 MB
Tags CPython 3.11 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
ed298834228a5fee1a89d9eaf46a58a6612404c9680045ca735801f50e5bc4d6
BLAKE2b-256 checksum
How to use checksums
351beac38b53b3f406437ef160e7ef24283042f58b84e975416861ff501ee0de
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.3.0.dev20240320-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-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
6443313054e3879287899190b485f5abe31d11b28d2ea6ed5a24526e009f96ef
BLAKE2b-256 checksum
How to use checksums
7ee46a1385d1bcb1cd6520352d64b64348fe099e70db2493bf0b7421a42424e3
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.3.0.dev20240320-cp310-cp310-manylinux2014_x86_64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-cp310-cp310-manylinux2014_x86_64.whl
Size 9.3 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
0b1da6f402814c49b1f87ce7e9d050838af218b275addbaea03ef28158e4b70b
BLAKE2b-256 checksum
How to use checksums
635b9c5620d165507e8bc133dd2ffb92d515c96295c5121e6fbfe6bc806c5003
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.3.0.dev20240320-cp310-cp310-macosx_12_0_arm64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-cp310-cp310-macosx_12_0_arm64.whl
Size 6.5 MB
Tags CPython 3.10 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
c47cbc01d25545ea81c7adb5f47106c75a642c207e9b009b5a3e1e0cc846e401
BLAKE2b-256 checksum
How to use checksums
04f4972aa0ca8c389dfb537482875ef302c15a8eab705cd5f0f86e99283fa281
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.3.0.dev20240320-cp39-cp39-manylinux_2_28_aarch64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-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
55bda39c234846054d7b989e4b89e3b945b1c121f59046f0ffa499472a4db9d4
BLAKE2b-256 checksum
How to use checksums
c03d40533d0f5b0d38b8fde81fe6879165175631cea08cfc69648cee58ac3b2c
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.3.0.dev20240320-cp39-cp39-manylinux2014_x86_64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-cp39-cp39-manylinux2014_x86_64.whl
Size 9.3 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a07c3d62ebdcd5511433963034af5f77f773cc6358fcbe15a44f604264bc858b
BLAKE2b-256 checksum
How to use checksums
2482d83a631d18dc3fa2595d862f6ed44ac2442072a0371660b765f685613598
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.3.0.dev20240320-cp39-cp39-macosx_12_0_arm64.whl

Download URL secretflow_serving_lib-0.3.0.dev20240320-cp39-cp39-macosx_12_0_arm64.whl
Size 6.5 MB
Tags CPython 3.9 macOS 12.0+ ARM64
SHA-256 checksum
How to use checksums
cc27f7c898b2bd6cc1abb4d74fd4166f702398464abb91364cb24a04bf87baaa
BLAKE2b-256 checksum
How to use checksums
49ba23f08f980d5c4dc6b36faa1bb5e6697a64f7ae7b2b972059dfd4ff9b52ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.18
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page