wangzul
wangzul
> 两个参与方的模型是相同的话,那么做联合预测的时候只需要调用其中一方提供的模型服务接口就可以吗 是的,不过要在发布阶段选择双方对应的数据源,默认是有mock 数据的会出现多次预测结果相同。
serving预测服务需要使用http数据源的,目前为了快速体验是内置了mock数据,在没有配置自己的数据源都是mock服务,预测结果一致。 特征服务参考如下 https://www.secretflow.org.cn/zh-CN/docs/serving/0.9.0b0/topics/system/feature_service#feature-service serving 也提供快速使用的http数据源方法,需要自行克服依赖问题 https://github.com/secretflow/serving/tree/main/secretflow_serving/tools/simple_feature_service 执行参考:https://github.com/secretflow/serving/blob/main/secretflow_serving/tools/simple_feature_service/test.sh ``` 依赖参考 ubuntu:https://github.com/secretflow/devtools/blob/main/dockerfiles/ubuntu-base-ci.DockerFile centos:https://github.com/secretflow/devtools/blob/main/dockerfiles/release-ci.DockerFile ```
> serving预测服务需要使用http数据源的,目前为了快速体验是内置了mock数据,在没有配置自己的数据源都是mock服务,预测结果一致。 特征服务参考如下 https://www.secretflow.org.cn/zh-CN/docs/serving/0.9.0b0/topics/system/feature_service#feature-service serving 也提供快速使用的http数据源方法,需要自行克服依赖问题 https://github.com/secretflow/serving/tree/main/secretflow_serving/tools/simple_feature_service 执行参考:https://github.com/secretflow/serving/blob/main/secretflow_serving/tools/simple_feature_service/test.sh > > ``` > 依赖参考 > ubuntu:https://github.com/secretflow/devtools/blob/main/dockerfiles/ubuntu-base-ci.DockerFile > centos:https://github.com/secretflow/devtools/blob/main/dockerfiles/release-ci.DockerFile > ``` 使用方法参考https://github.com/secretflow/serving/issues/152
> serving预测服务需要使用http数据源的,目前为了快速体验是内置了mock数据,在没有配置自己的数据源都是mock服务,预测结果一致。 特征服务参考如下 https://www.secretflow.org.cn/zh-CN/docs/serving/0.9.0b0/topics/system/feature_service#feature-service serving 也提供快速使用的http数据源方法,需要自行克服依赖问题 https://github.com/secretflow/serving/tree/main/secretflow_serving/tools/simple_feature_service 执行参考:https://github.com/secretflow/serving/blob/main/secretflow_serving/tools/simple_feature_service/test.sh > > ``` > 依赖参考 > ubuntu:https://github.com/secretflow/devtools/blob/main/dockerfiles/ubuntu-base-ci.DockerFile > centos:https://github.com/secretflow/devtools/blob/main/dockerfiles/release-ci.DockerFile > ``` 参考这个来,你提问的【http数据源部署指令是在哪里部署呢?serving 提供的快速使用的http数据源方法所需要的依赖在secretflow/serving-anolis8这个镜像里有吗?】 1. 部署指令是需要编译serving源码,操作步骤参考test.sh 2. 依赖参考Dockerfile
模型预测接口应该传入2方的数据,还是一方如果是2方的话,双方数据是不可见的,要怎么传,还是区分模型是水平联邦还是垂直联邦学习? 主要看你目前的模型是单方特征参与还是多发特征参与,只有单方特征参与的情况下,对方特征数据源可以使用mock ,如果是多方的情况下,传双方的数据,双方数据虽然不可见但是一定是约定好的,例如,双方身份证、传递相同身份信息,如果数据不对齐是没有意义的。 也可以参考:https://github.com/secretflow/serving/issues/86
看起来是kuscia 和pad通讯存在问题。 可以按照:https://github.com/secretflow/secretflow/issues/1927 配置下kuscia 访问pad 的svc
allinoen 目前不支持直接直接使用密态数据在组件上做计算
1. 编译 编译环境参考:https://github.com/secretflow/secretflow/blob/main/docker/dev/Dockerfile 编译命令参考:https://github.com/secretflow/secretflow/blob/main/docker/dev/entry.sh 2. dcu加速 可以参考借鉴GPU加速相关内容:https://github.com/secretflow/secretflow/issues/180