wuwuwuxxx

Results issues of wuwuwuxxx

Thank you for sharing your insightful paper and making the code publicly available. I've been working on reproducing the results from Table 2, but I'm encountering some discrepancies compared to...

**- 版本、环境信息:** Paddle version: 2.2.2 Paddle With CUDA: True OS: Ubuntu 18.04 Python version: 3.7.12 CUDA version: 11.2.142 Build cuda_11.2.r11.2/compiler.29558016_0 cuDNN version: None.None.None Nvidia driver version: 510.47.03 **- 安装方式信息:** compiled...

### bug描述 Describe the Bug ```shell error: ‘class phi::DenseTensor’ has no member named ‘clear’ dx->clear(); ^~~~~ ninja: build stopped: subcommand failed. ``` ### 其他补充信息 Additional Supplementary Information paddle gpu在解决inplace tensor的计算的时候使用了一个[clear...

type/bug-report
status/close

### 请提出你的问题 Please ask your question 我在适配paddle plugin的时候发现,optimizer.clear_grad()会调用full kernel把所有的梯度清零,但是实际反向算子在计算的时候,并不会用到之前清零的空间,而是重新申请的,之前的清零并不起作用,还需要再次对申请的空间进行清零,引入了冗余的操作。对照pytorch对应的api zero_grad(),zero_grad默认会把梯度全部清零,而且是在model backward 前就可以调用生效,这样算子在实现的时候,就不用做额外的清零操作。

status/following-up
type/question

I use the pretrained weights u provided in huggingface and test it for NWPU val data. but i got the different result from the paper. Can you tell me what...