YuanFeng Chen

Results 12 comments of YuanFeng Chen

> 按照教程部署后,在运行百万富翁示例时,可以出现运行结果,但是p1和p2f方也会有错误: 运行逻辑回归示例时,出现: 请教下,各位专家,怎么解决? 安装环境:虚拟机ubuntu18.04,python3.7,8核12G 从你提供的第二个截图发现在初始化协议的时候程序已经异常了,执行程序不会出现结果的,是不是日志提取错了,时间看起来也不太一致,不同的节点时间相差有几分钟,应该是不同的任务。 另外怀疑你本地机器上有的节点进程没有退出,可以尝试先把未退出的节点 kill 后,重新执行一遍试试。

> 我尝试使用Rosetta在transformer模型上,使用rtt.PrivateTextLineDataset的方式读取数据集,在普通代码下测试没有问题,加上Rosetta出现类型和维度的问题。 1.有些计算依赖tensor是int或者float,而Rosetta返回的都是string类型,我进行了强制转换; 2.还出现了维度的问题,返回的rtttensor好像是掩去了tensor的shape,显示为unknown类型,但有些tensor是在训练过程中才计算shape,但后续有些计算要求tensor的rank或者shape必须是已知的,我中途使用reshape方式强制添加shape,但后续也报错。 报错:ValueError: Input 0 of layer rtt_dense_1 is incompatible with the layer: its rank is undefined, but the layer requires a defined rank. 3.还发现一个问题,我代码里面用了tf.train.get_or_create_global_step(),引入Rosetta后直接报错 ValueError: Tensor conversion...

> 对的,我的刚好是3.6.9,必须要3.6.9以上或者是3.7版本才行吗 ![image](https://user-images.githubusercontent.com/45935100/172747013-2704885e-cc0e-46b5-b288-10a5d55b2aeb.png) 你可以尝试看一下 `rosetta.sh` 脚本大概就知道逻辑了。

> tf.where 算子目前的 rosetta 版本还没有支持,你可以在算子文档中查看一下 rosetta 到底支持哪些算子。 (PS:还有一些已经支持的算子还未进行正式开源)

> > > > > > > > > tf.where 算子目前的 rosetta 版本还没有支持,你可以在算子文档中查看一下 rosetta 到底支持哪些算子。 (PS:还有一些已经支持的算子还未进行正式开源) > > 你好,想再请教下,我现在已经重装了Rosetta,python也重装成3.7了,shape的问题解决了,但在两个三维tensor相乘却报错了,ValueError: Shape must be rank 2 but is rank 3 for 'encoder/num_blocks_0/multihead_attention/scaled_dot_product_attention/RttMatmul_3'...

> > > > > > > > > > > > > > > > > tf.where 算子目前的 rosetta 版本还没有支持,你可以在算子文档中查看一下 rosetta 到底支持哪些算子。 (PS:还有一些已经支持的算子还未进行正式开源) > > > > > >...

> Hi guys I managed to build the library as a shared library for js and wasm with some limitations, first was that I could't build randen and spqlios, assembly...

> You are correct, we are using KRNL operations inside of the EmitMLIR target as some KRNL operations are lowered all the way to LLVM lowering. `-EmitMLIR` means we removed...

> I know for a fact that in our path, where we lower down all the way to LLVM dialect, there are certain Krnl Ops that can only be lowered...

> If the actions are not validated, they shouldn't be executed. If they are being executed, it might be a bug. Could you kindly provide more details, such as screenshots,...