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.8.0b0-cp311-cp311-manylinux_2_28_aarch64.whl (31.6 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.8.0b0-cp311-cp311-macosx_12_0_arm64.whl (27.0 MB view details)

Uploaded CPython 3.11macOS 12.0+ ARM64

secretflow_serving_lib-0.8.0b0-cp310-cp310-manylinux_2_28_aarch64.whl (31.6 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.8.0b0-cp310-cp310-macosx_12_0_arm64.whl (27.0 MB view details)

Uploaded CPython 3.10macOS 12.0+ ARM64

secretflow_serving_lib-0.8.0b0-cp39-cp39-manylinux_2_28_aarch64.whl (31.6 MB view details)

Uploaded CPython 3.9manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.8.0b0-cp39-cp39-macosx_12_0_arm64.whl (27.0 MB view details)

Uploaded CPython 3.9macOS 12.0+ ARM64

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4476dd3afee1e1f5c085c74ccb705f09104fd9d0bdb0769dc7a861704686fedc
MD5 4b253ceb089bffd7d8d40483ec3fdee5
BLAKE2b-256 c0502d24906347eb1fdfc4df3d331b5002975165d3425f2577638497b9a5b50e

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp311-cp311-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d3d8ac75d00f0a7ba2ca8a7425a0379d79f4bee92000d571da7f3b42a0b9f78b
MD5 ef447adcf47d73780b5c1ede0e991235
BLAKE2b-256 9b3c6315296f095ec98402e394b3f7d0ca9096528073825ae0de912c9e54ce78

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 1a7eda12e762355f28012caa70cced7cd0bda183af4c98f9d80fdba92f773bfc
MD5 9c7f8628aedcde92175e2ab18fcef86a
BLAKE2b-256 eb87e4551ce9c89aef4b8de215fc351a0e9be2e6c7d21b788c06bb5cf19e2b5b

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 c09cdeaee9f999b77cffc41a11ac166dc7ac22c19a74d5a235e93ccfc13b586a
MD5 103aa7af15cc88f349bf3500e9d0335f
BLAKE2b-256 76c24e0d828f999dd17e4e2649a90e2ee4b55c91622183a9bbad9d653a98aa4d

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9a0f3497b036158ca3c292ee248023ca6b8355fb28cfd653030ce6e96f9fd9cb
MD5 722a493f07ff58fc7fcd88800aebdc39
BLAKE2b-256 7a6712564eb3c11f887d1b7b19141d420e5a7022633c69a5056534c0fceb95ab

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 ad9f7355d8d5a58e54e8ce4428c4fd66bafc74e834fbe2a8adea6d331d1f5845
MD5 78e8d9dd693e4c8371b02836dc09ebdb
BLAKE2b-256 752ae49ba240fe471ec711a0b82d684ebb747516c9b3e988c59a69b81989b978

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 3947c75a3749ee48e871bde6c6e6e5b61ef45a79d3f494325001ae699498a7d9
MD5 7c1ada72db741b03caa6634a9a82eda4
BLAKE2b-256 b855f7f3b63f5d31332f4e52f15af8bae1c32ddbf4e1a704f894e69d7ba271bd

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 780b0eec57cf0d99ab96a2e2351367ccf47ab52d4e63203368dbba86500524eb
MD5 87ea2b49b8d3c1cb497624b3fb552aa0
BLAKE2b-256 2e2475170704ef7809defffe43927891adf2e3a5387be5f447c24105d425bf59

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.8.0b0-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.8.0b0-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 ebffc1701541583634b474745a9a35ec4d7fbcb3a2df2c48a48217353bc6d60a
MD5 9acd4d3367e49452bc33f5a95b1d93f6
BLAKE2b-256 1d4e1a7e27326c0c5f87af1299ccac7290f54846379ea5da4e6f61fd71163842

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