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

Conversation

ZzSean
Copy link

@ZzSean ZzSean commented Jun 26, 2023

新增Schedule报错处理机制

  • 新增异常处理数据结构。不同schedule primitive通过继承基类IRScheduleErrorHandler,完成不同的报错信息打印
  • 分层级打印报错信息。通过向ScheduleImpl中新增ScheduleErrorMessageLevel,决定后续出现错误时的报错打印层级
  • 使用宏简化代码
  • 该PR以Split为例,展示如何在代码中使用新的报错处理机制
  • 后续对于报错信息的打印格式,还需要继续优化,与Paddle主框架保持一致

@paddle-bot
Copy link

paddle-bot bot commented Jun 26, 2023

Thanks for your contribution!

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.

1 participant