Yancheng Zheng

Results 42 comments of Yancheng Zheng

`pip install secretflow==0.7.7b1`应该就可以安装上了

Hi, 1. 是的,概念上是用一个 spu 来表示了一个 spu 实体集群。 2. 是的 3. 计算时是数据提供方把分片后的数据放入 spu 实体(例如 aby3 就是数据提供方生成三个分片,分别放入三个 spu 实体节点),然后各个 spu 节点用自己的分片数据进行计算

Hi @xiaoran33 试一下 ```python SPU = sf.SPU( {'nodes': [{'party': 'promoter', 'id': 'local:0', 'address': '192.168.207.221:6337','listen_address': '0.0.0.0:6337'}, {'party': 'provider', 'id': 'local:1', 'address': '192.168.207.222:6347','listen_address': '0.0.0.0:6347'}, {'party': 'provider2', 'id': 'local:2', 'address': '192.168.207.195:6357','listen_address': '0.0.0.0:6357'} ],...

Hi @xiaoran33 再加大一下 timeout 试试看,加法和减法并不需要网络通信,所以也就没有这个问题 ```python SPU = sf.SPU( {'nodes': [{'party': 'promoter', 'id': 'local:0', 'address': '192.168.207.221:6337','listen_address': '0.0.0.0:6337'}, {'party': 'provider', 'id': 'local:1', 'address': '192.168.207.222:6347','listen_address': '0.0.0.0:6347'}, {'party': 'provider2', 'id': 'local:2', 'address': '192.168.207.195:6357','listen_address':...

`spu.ValueProto exceeded maximum protobuf size of 2GB: 3200000037` 这个 hit 了 Protobuf 的数据大小限制,我们会在后续版本优化这个问题

请查看[这个文档](https://www.secretflow.org.cn/en/docs/spu/0.9.0b1/development/runtime#vm-layout)

Hi @Niyci 请问你用的什么 CPU 呀?

看起来有点奇怪,你试一下 `pip install py-cpu` 然后在 python 里 ```python import py_cpu cpu_info = py_cpu.CPUInfo() print(cpu_info.features) ```

> 设备目前没在身边, ![ce27dd44cd9ad8f8cd3d2b31c41e9129](https://user-images.githubusercontent.com/87159755/284143802-3fc0eeef-fcb3-4184-942d-a23553911fae.png) ![b9672fbfbcbed4ccdec0d8daaee3460f](https://user-images.githubusercontent.com/87159755/284143820-b8a9c8e5-5d25-4ad0-ab50-798256c2ce59.png) 有机会麻烦试一下,你这个 error message 是 jax 报出来的 有可能是 jax 的 avx 检查逻辑有点问题,avx2 理论上是 avx 的扩展。。所以支持 avx2 的应该算是支持 avx