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.4.0.dev20240606

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.4.0.dev20240606
File
secretflow_serving_lib-0.4.0.dev20240606-cp311-cp311-manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64 Details
secretflow_serving_lib-0.4.0.dev20240606-cp311-cp311-manylinux2014_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
secretflow_serving_lib-0.4.0.dev20240606-cp311-cp311-macosx_12_0_arm64.whl CPython 3.11 CPython 3.11 macOS 12.0+ ARM64 Details
secretflow_serving_lib-0.4.0.dev20240606-cp310-cp310-manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64 Details
secretflow_serving_lib-0.4.0.dev20240606-cp310-cp310-manylinux2014_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
secretflow_serving_lib-0.4.0.dev20240606-cp310-cp310-macosx_12_0_arm64.whl CPython 3.10 CPython 3.10 macOS 12.0+ ARM64 Details
secretflow_serving_lib-0.4.0.dev20240606-cp39-cp39-manylinux_2_28_aarch64.whl CPython 3.9 CPython 3.9 Linux glibc 2.28+ ARM64 Details
secretflow_serving_lib-0.4.0.dev20240606-cp39-cp39-manylinux2014_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.17+ x86-64 Details
secretflow_serving_lib-0.4.0.dev20240606-cp39-cp39-macosx_12_0_arm64.whl CPython 3.9 CPython 3.9 macOS 12.0+ ARM64 Details

Total release size: 74.8 MB

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp311-cp311-manylinux_2_28_aarch64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-cp311-cp311-manylinux_2_28_aarch64.whl
Size 9.0 MB
Tags CPython 3.11 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
6b477e8e69f67664c5b2e5c7f6c377035942b8c76dd87375c1b134d10b22701a
BLAKE2b-256 checksum
How to use checksums
85a0faf9b689d39adc3c4beca4ac2f73fa7ca446401a252cb9bdc9c1461a5568
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp311-cp311-manylinux2014_x86_64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-cp311-cp311-manylinux2014_x86_64.whl
Size 9.4 MB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
960804a306f84c1dbabd403db039e9ded307eb80e4f8436181a89c80e9fd566a
BLAKE2b-256 checksum
How to use checksums
ad656f73362abeadb6f6aa47ced71fb49cb4f4bf053cd5458dad31e5eddf46bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp311-cp311-macosx_12_0_arm64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-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
aca7080e20ebac711bf814f7a28b9ed3a90c335a01124802409c50dac2aefd70
BLAKE2b-256 checksum
How to use checksums
ee19f0c153c6662058ebdcda7b4079e4c62b81d6b42265499a2ba07f6f6d48e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.11.9

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp310-cp310-manylinux_2_28_aarch64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-cp310-cp310-manylinux_2_28_aarch64.whl
Size 9.0 MB
Tags CPython 3.10 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
56fec16b31b4a4c09ec2ff895b271c34e07edcacebe23dc8059659593c1e55d3
BLAKE2b-256 checksum
How to use checksums
8a46ed9464dfb1e1eafb910c7e3e7502ef500c2497f97bf28f0d35ee29be654f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.14

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp310-cp310-manylinux2014_x86_64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-cp310-cp310-manylinux2014_x86_64.whl
Size 9.4 MB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
4395013e2cd28a417c84959dd898a5792cf486af87fbc704ebd46c155113b85b
BLAKE2b-256 checksum
How to use checksums
1e5640572954bf5106aed49c39b561cce03939c5a389369e5258b9a22aa80d96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.14

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp310-cp310-macosx_12_0_arm64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-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
e6aebbb529a9f3f176205b7da769c48644f68b73a1118e550088484d70ce1e8a
BLAKE2b-256 checksum
How to use checksums
a8c31815f0bea3bb4a8d08be87c43e2fafea3a5aebe2ff4827af6ba9ce6b8c05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.14

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp39-cp39-manylinux_2_28_aarch64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-cp39-cp39-manylinux_2_28_aarch64.whl
Size 9.0 MB
Tags CPython 3.9 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
3ecb328ad5798344fa50ca972ac1045778af62581b06b4c1371f42bc440b6b27
BLAKE2b-256 checksum
How to use checksums
f5e4910081daf0e9dba1c0bb373a79673d7382d5616c2fb13e112f067a879bcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp39-cp39-manylinux2014_x86_64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-cp39-cp39-manylinux2014_x86_64.whl
Size 9.4 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
33e8296d3381920967a0d3f89b6e0816d32d6d61e1a2ae11b0519c4e8db71a68
BLAKE2b-256 checksum
How to use checksums
98efc33b7b5b6b6d10b95c7376905ef52564a718e201dedae64dc0932efffbae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19

Release files / secretflow_serving_lib-0.4.0.dev20240606-cp39-cp39-macosx_12_0_arm64.whl

Download URL secretflow_serving_lib-0.4.0.dev20240606-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
66ab049037df6328c7b771e0b1ff2eb52d37274335957e58e5fd4106da6be800
BLAKE2b-256 checksum
How to use checksums
ae763fd016cce666457323ca68df3123948887d54a0dd462ab795b2a0a034bb9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.9.19
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