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.2.0.dev20240129

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

Built distribution (wheel)

Table of built distributions (wheels) for secretflow-serving-lib 0.2.0.dev20240129
File Interpreter ABI Platform
secretflow_serving_lib-0.2.0.dev20240129-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.dev20240129-cp38-cp38-manylinux2014_x86_64.whl

Download URL secretflow_serving_lib-0.2.0.dev20240129-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
35c05da2fdea2f6dbe933d35ca0160552c573dc3e89066021a981945d5cf7c82
BLAKE2b-256 checksum
How to use checksums
9e19d30288cf119fc34c6e3a2a601d8fce6ee2e0ba6ad208fb76b077b3504729
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.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