Skip to content

[v1 loader UT]add v1 loader unitest - #3520

Closed
bukejiyu wants to merge 1 commit into
PaddlePaddle:developfrom
bukejiyu:loader_v1_unitest
Closed

[v1 loader UT]add v1 loader unitest#3520
bukejiyu wants to merge 1 commit into
PaddlePaddle:developfrom
bukejiyu:loader_v1_unitest

Conversation

@bukejiyu

Copy link
Copy Markdown
Collaborator

No description provided.

@paddle-bot

paddle-bot Bot commented Aug 21, 2025

Copy link
Copy Markdown

Thanks for your contribution!

@@ -0,0 +1,125 @@
# Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

文件命名里把v1这种字段去掉吧,因为这个中间状态存在时间较短,后续切换后就没有v1了,而且我们旧Loader本身也没单测,另外我建议可以新建一个model_loader的目录,把这个文件挪过去,后续loader的单测都写到这个目录下

Comment thread test/e2e/utils.py
@@ -0,0 +1,92 @@
# Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

要不把这个文件挪到tests根目录下?

Comment thread test/conftest.py
@@ -0,0 +1,89 @@
# Copyright (c) 2025 PaddlePaddle Authors. All Rights Reserved.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

注意当前由于qa重命名的问题,我们应该把所有单测放到tests目录下,而非test目录,后续qa会修改目录名

@paddle-bot paddle-bot Bot closed this Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants