XiangGao

Results 8 comments of XiangGao
trafficstars

[rfc](https://github.com/PaddlePaddle/community/blob/master/rfcs/APIs/20220705_api_design_for_sgn.md) should be included in PR Describe above.

You are very welcome to submit implementation of this API to us. You can refer to the requirements of the new API(such as rfc, code and docs) in our current...

> @jeff41404 `paddle.searchsorted` currently does not support fp16 and bf16. I think the reason may be that the two input tensors' data type of `paddle.searchsorted` could be different, and since...

please add link of rfc in description above.

> > @cmcamdy 关于expand的问题,comment by @jeff41404 > > pytorch 中有expand方法,我们是否需要,设计文档中也没有说明,如果不需要,代码转换时如何替代 > > 我明白了,实际上pytorch中的extend是对batch维度的扩展,如gamma中的实现:https://github.com/pytorch/pytorch/blob/e3ac61587aa368c613ef01df1f328a396b64cd5d/torch/distributions/gamma.py#L60 这部分逻辑paddle中并没有专门实现(因此在设计的时候并没有计划实现expand类的方法),但在如果想要等价实现,只需要在初始化的时候传入带batch的参数即可,我们在sample中会考虑多维shape的情况 > > I see, in PyTorch, the expand functionality is actually used to extend the batch...

> https://github.com/PaddlePaddle/PaddleMIX/tree/develop/ppdiffusers/examples/class_conditional_image_generation/DiT 在这里新增自动并行的相关文档吧 感谢提醒,已增加使用自动并行进行训练的文档说明

please add link of rfc and chinees document in description above.

The results of the three example codes in the Description above also need to be explained through `print` or comments to make it easier for others to understand