We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
我根据https://www.secretflow.org.cn/zh-CN/docs/serving/0.5.0b0/topics/deployment/deployment进行部署serving,使用文档中提供的示例文件,仅由一台机器进行配置。 下面是serving.config文件,与示例相比修改了sourceSha256: { "id": "test_service_id", "serverConf": { "featureMapping": { "v24": "x24", "v22": "x22", "v21": "x21", "v25": "x25", "v23": "x23" }, "metricsExposerPort": 10306, "brpcBuiltinServicePort": 10307 }, "modelConf": { "modelId": "glm-test", "basePath": "./data", "sourcePath": "/root/sf_serving/data/glm-test.tar.gz", "sourceSha256": "c6308af488bcd6c54a48a145af17aa209dec463b5cb44d83c6b58195818c10a0", "sourceType": "ST_FILE" }, "clusterConf": { "selfId": "alice", "parties": [ { "id": "alice", "address": "0.0.0.0:9010" }, { "id": "bob", "address": "0.0.0.0:9011" } ], "channel_desc": { "protocol": "baidu_std" } }, "featureSourceConf": { "mockOpts": {} } }
下面是docker-compose.yaml文件: version: "3.8" services: serving: cap_add: - NET_ADMIN command: - /root/sf_serving/secretflow_serving - --serving_config_file=/root/sf_serving/conf/serving.config - --logging_config_file=/root/sf_serving/conf/logging.config - --trace_config_file=/root/sf_serving/conf/trace.config restart: always image: secretflow/serving-anolis8:latest ports: - "9012:9010" volumes: - ./serving.config:/root/sf_serving/conf/serving.config - ./logging.config:/root/sf_serving/conf/logging.config - ./trace.config:/root/sf_serving/conf/trace.config - /home/zju/serving/glm-test.tar.gz:/root/sf_serving/data/glm-test.tar.gz
其余两个文件与示例相同,但是启动之后发现serving_serving_1容器一直在重启,检查之后发现是empty host(主机名为空?) 这是什么问题呢?请教前辈
The text was updated successfully, but these errors were encountered:
你好,可以参照https://github.com/secretflow/serving/blob/main/examples/alice/serving.config,补充相关配置信息
Sorry, something went wrong.
No branches or pull requests
我根据https://www.secretflow.org.cn/zh-CN/docs/serving/0.5.0b0/topics/deployment/deployment进行部署serving,使用文档中提供的示例文件,仅由一台机器进行配置。
下面是serving.config文件,与示例相比修改了sourceSha256:
{
"id": "test_service_id",
"serverConf": {
"featureMapping": {
"v24": "x24",
"v22": "x22",
"v21": "x21",
"v25": "x25",
"v23": "x23"
},
"metricsExposerPort": 10306,
"brpcBuiltinServicePort": 10307
},
"modelConf": {
"modelId": "glm-test",
"basePath": "./data",
"sourcePath": "/root/sf_serving/data/glm-test.tar.gz",
"sourceSha256": "c6308af488bcd6c54a48a145af17aa209dec463b5cb44d83c6b58195818c10a0",
"sourceType": "ST_FILE"
},
"clusterConf": {
"selfId": "alice",
"parties": [
{
"id": "alice",
"address": "0.0.0.0:9010"
},
{
"id": "bob",
"address": "0.0.0.0:9011"
}
],
"channel_desc": {
"protocol": "baidu_std"
}
},
"featureSourceConf": {
"mockOpts": {}
}
}
下面是docker-compose.yaml文件:
version: "3.8"
services:
serving:
cap_add:
- NET_ADMIN
command:
- /root/sf_serving/secretflow_serving
- --serving_config_file=/root/sf_serving/conf/serving.config
- --logging_config_file=/root/sf_serving/conf/logging.config
- --trace_config_file=/root/sf_serving/conf/trace.config
restart: always
image: secretflow/serving-anolis8:latest
ports:
- "9012:9010"
volumes:
- ./serving.config:/root/sf_serving/conf/serving.config
- ./logging.config:/root/sf_serving/conf/logging.config
- ./trace.config:/root/sf_serving/conf/trace.config
- /home/zju/serving/glm-test.tar.gz:/root/sf_serving/data/glm-test.tar.gz
其余两个文件与示例相同,但是启动之后发现serving_serving_1容器一直在重启,检查之后发现是empty host(主机名为空?)
这是什么问题呢?请教前辈
The text was updated successfully, but these errors were encountered: