Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

[Cache] add max cache size, set default log level to 2 #252

Merged
merged 9 commits into from
Jul 10, 2023

Conversation

SigureMo
Copy link
Member

@SigureMo SigureMo commented Jul 6, 2023

  • 设置最大 cache size 为 20,并将 cache 相关 log 提升为 log level 2
  • 设置默认 log level 为 2,确保 CI 能够显示详细的 cache 是否命中的信息
  • 为 psdb_print 在模拟运行时和真实运行时分别加了 [SOT][Dygraph] 的前缀,以区分两者
  • 修复了 TupleVariable 在 get_wrapped_items 时未转为 tuple,导致 getitem(tuple) 时候因为是 list 导致的错误 infer meta 问题,添加了相关单测
  • test_cycle_gan.py 因为有精度问题,暂时禁掉了

@paddle-bot
Copy link

paddle-bot bot commented Jul 6, 2023

Thanks for your contribution!

@SigureMo SigureMo changed the title try to enable test_ptb_lm tests [Cache] add max cache size, set default log level to 2 Jul 10, 2023
Copy link
Collaborator

@2742195759 2742195759 left a comment

Choose a reason for hiding this comment

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

LGTM

@SigureMo SigureMo merged commit ebe1e21 into develop Jul 10, 2023
7 checks passed
@SigureMo SigureMo deleted the enable-ptb-lm-tests branch July 10, 2023 09:31
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants