Skip to main content

Serving is a subproject of Secretflow that implements model serving capabilities.

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

secretflow_serving_lib-0.10.0.dev20250414-cp311-cp311-manylinux_2_28_aarch64.whl (32.7 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.10.0.dev20250414-cp311-cp311-macosx_12_0_arm64.whl (23.8 MB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

secretflow_serving_lib-0.10.0.dev20250414-cp310-cp310-manylinux_2_28_aarch64.whl (32.7 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.10.0.dev20250414-cp310-cp310-macosx_12_0_arm64.whl (23.8 MB view details)

Uploaded CPython 3.10macOS 12.0+ ARM64

secretflow_serving_lib-0.10.0.dev20250414-cp39-cp39-manylinux_2_28_aarch64.whl (32.7 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.10.0.dev20250414-cp39-cp39-macosx_12_0_arm64.whl (23.8 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a2d4df76a0dc1b9d814eb7083f361bb724f0faa733e49806b881ad7b21769398
MD5 e6f93b18a36e3e3d440509fa96f7fcb3
BLAKE2b-256 6b666513b9e2eda3968f112be6c4b3e5ca3c173f985a8f8393e5de9a58aac22c

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp311-cp311-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a3c27f369c9a13511d6f3404d42b358359828911da4aa354f4ddb38c137e1c5f
MD5 d7ebf0a9323083382e2909e9d5aa2a25
BLAKE2b-256 ea120da02a7b2e56e178044a4c55b896988ca501bbba064fb5a7f4407304e722

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 67f70aee3d1d61441c9370bd7030954886a5365263eedea6873f0f7443f43fd9
MD5 661c80aa03f93c35ad8b750e0c6b20c9
BLAKE2b-256 773252aae15937de1f1942a0c42feeda011dfc07f61b6558d1c86af7c45cdefd

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a94d7be25d0bd1efbc5a6e35da6fd45e02c924bb58c52c8699da0b6859ba7f15
MD5 7b0a16ad4e4d310d1480d97ea461b7f7
BLAKE2b-256 61af354b0652532ff9351311218bc9482aa9e3bd32f09fc2244efd519c8b210d

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 88305d35343b0ba9c792a55ae2af630e62b69982d50a7656f252f4128dc5baa0
MD5 f34f2d3154802d19a4dcc4c06effb4b3
BLAKE2b-256 4ba6bf60f96175edf9dc185c387ebf57e6c85317ad8cc86215fda81788414205

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 284f8186588d7d2e88b6e915ecf92c210fdf208e40f9398430f71e2d2e8fa628
MD5 9f2c75242f52ae8e5208cd145c234138
BLAKE2b-256 ddcbdc1e2538a92670866364b80f2be2f1b9c3f961e7a962594d281a23e08e4b

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c1937403bd562650e437242b198f6de8c0cab244c97452605c4c2039486418cb
MD5 226cb3dd15bac527d31486dadbe76c9c
BLAKE2b-256 6c65f9141933d098c11c4cadcc6305ed0896bb62fd21f9850c1b5292ff4c8010

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 57037f282a15f437fb641f6a64b657f5c9002605f6c9d938bec3d450af104420
MD5 633589001325d3e27496cf0ae2064a55
BLAKE2b-256 10f7e15d6fc9142e7dcfe5259c6815ee0763729a0e09de540fdae2ccd968b0e4

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.10.0.dev20250414-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.10.0.dev20250414-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 9df2a718b583402bfef667bbb77d3f7a3ba86cf46cfa8f0b1efb869193c9863c
MD5 af7bf81cb836d4cbf669b196c094c8df
BLAKE2b-256 0d58f8ad22d4068cb7a65501363dc3c930f5d7cdded9ac2bc1f6bc7f809c0af3

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page