Paddle Unnecessary Import and Misleading Error Type

e1xvtsh3  于 4个月前  发布在  其他
关注(0)|答案(2)|浏览(36)

Hello,

I have noticed an issue related to an unnecessary import and a misleading error message.

In this line:
Paddle/python/paddle/nn/clip.py

Line 17 in bd483f0

| | fromsqlite3importNotSupportedError |

it uses the NotSupportedError from sqlite3. However, there are no other files in paddle that use sqlite3, and the error message associated with this import states, "FP16 and BF16 are not supported at the same time," which is clearly not a SQL-related error.

Could you please review this and make the necessary corrections? Thank you for your attention to this matter.

Cheers,

fae0ux8s

fae0ux8s1#

We’ve got your question and we’ll check with the relevant people about it.

xmjla07d

xmjla07d2#

this import will be remove in future, you could manually remove in you code.

相关问题