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

secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux_2_28_aarch64.whl (8.9 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.11 macOS 12.0+ x86-64

secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.11 macOS 12.0+ ARM64

secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux_2_28_aarch64.whl (8.9 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.10 macOS 12.0+ x86-64

secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.10 macOS 12.0+ ARM64

secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux_2_28_aarch64.whl (8.9 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.9 macOS 12.0+ x86-64

secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.9 macOS 12.0+ ARM64

secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_x86_64.whl (6.9 MB view details)

Uploaded CPython 3.8 macOS 12.0+ x86-64

secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_arm64.whl (6.2 MB view details)

Uploaded CPython 3.8 macOS 12.0+ ARM64

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fdd7fcc6ce5f74512e3bb4a9cea4bca9296de82f002f5be6fa7037c70e5a2c9b
MD5 3a5a2cb56df643e803d70fdbefad5922
BLAKE2b-256 8aba5a9bd244dff9f52a2ae28413c6434714d195f2642ed85390b59341657cd0

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a69d00683f317fbf10db186a52d420641b777a704fe1451b25f861957d55f97c
MD5 19c874a5c72e72f04ba8c00f3c5f99aa
BLAKE2b-256 27619529044c2316177ebb556ff95edcd3e983b933cb987b8d42594a901cad8b

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 2a66317d3a42d14a0db2e1f0c3b68615218982c45b532570dd0aa4825b103b33
MD5 79c4083dc3756409472dbb630cba58a2
BLAKE2b-256 c18b4de5a07295730476e994c2ca1f787500a631a43c94d16ea551323253e355

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp311-cp311-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 832f80a8ab782ebc8ada23b3390497a8ec3d89ca0a82156640123fe0ba545815
MD5 b31380d7997de38cb691ab7d5e49a4fc
BLAKE2b-256 8067f298eea8e329568efab57b2996168611806e1753ca43e2d76c96d14ceb4c

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 93eb17f7c67fe849e1453731277757b0d52c2da32b162de75c15cda8b3cadc0b
MD5 b8c0d591a3fac1311ba61318f149c43f
BLAKE2b-256 8006a07852e7da4b7758ba12cdfefc434b1e31175cb2bf79110b61659868c2db

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7afe4ac3764b8510545987cf4c5309ff387902542a49455b498704f1f216d41d
MD5 f57b987037d0bbb4537dbd211c3ad85b
BLAKE2b-256 417a5867fd51c459419a8c1cd2a4fdc6a539543f821f1a5b47c50b21ea46a38f

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 34fa608c33ce3583857bc557f403814529d034a119035247b19e80f40b7e5fa1
MD5 aa959c5f8234868e1bbafe37117fadc6
BLAKE2b-256 323ded1945604f3b36f91a54aa85b2121d2f8ed3e9dd59ecf852d512568e4e79

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp310-cp310-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 f007a0f688f4fa4826fbe7da2b244446cf57a780881271a05a4bec8f730e1f78
MD5 393d5c8e2678af52bdec088749c886b9
BLAKE2b-256 beadd4181e037dcc02f52f8e6760200082514007f8d35ebfd3782bf02edb7cb4

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d7de299103c690d1543215c0108a7220d7a8082a60541a968fe0587acc6a6994
MD5 122b7b16717d4869d6ede07b8043a4c4
BLAKE2b-256 741cdc5e9885a44d285b233e19403259082f089876d766624a1ffe0e8129461c

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 48898a8c487110c6f94e9f557a02c0bc5b3c5328a991f6699f25ebdf929f0e38
MD5 fc9327bcd12b47aa57a787c98f20d3a0
BLAKE2b-256 b841d0a9a566306b04ca6eff7464b1884fbd82b2d7e2dc37af70cccfa3e761f2

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 763471b6114b9a8eb89e4cf57e7e9ed19160f621ba67c6f78f3a4e6ae78c8518
MD5 58d84a1f3381490c9720062f1735fe33
BLAKE2b-256 19e4b1aff71c7d0a0c369ec4d016106c6bfeda86593a751bd69ee0cb3a3ea732

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp39-cp39-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 6b0b37b30fae2d0aaeaae3c743b26a6e53107431d1e884c24cd963830344d6a3
MD5 61948fb14c71b0679df6af2878db0129
BLAKE2b-256 5c4ac3c38b7d0f514483572f8f1d7cc32daa295a473df4499bddf8eaa82b474d

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a14241995398f9bfda8101be974aa6f984ca67094674e49c15380d5f4ec9ba07
MD5 2404abf1bbe4b86be3995aa0f7efc275
BLAKE2b-256 b66e187b0acdbe1d69383dd35a6d15d228d17c3c8e5e292380b74c82a007dca3

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_x86_64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_x86_64.whl
Algorithm Hash digest
SHA256 33ceaf7ab000362e5f06c7883f9bf1d862204cb26a3f456ceafa72ae6ef042ea
MD5 f5cf45394c96153727a2c8fcfe6ff4b8
BLAKE2b-256 b31cbad2473ac3aa992f4a37f2ff418f561f05eee1c2090faafb0a2883f478c9

See more details on using hashes here.

File details

Details for the file secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_arm64.whl.

File metadata

File hashes

Hashes for secretflow_serving_lib-0.2.0.dev20240311-cp38-cp38-macosx_12_0_arm64.whl
Algorithm Hash digest
SHA256 ac80dc488c8dea0cf7ca4763bb493276eb2254c121bbaf0bf1f7b4788477dbf9
MD5 84599eedde0cf19c739cd1b4198e8e11
BLAKE2b-256 da0433f52624aa832d9bb4c8b848f10aef99d23f9e0241154798460540a1fcdb

See more details on using hashes here.

Supported by

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