Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
本 PR 清理了 swankit 的导入代码,接下来我们考虑将 swankit 部分的代码合并进入 swanlab 源码中,不再分包,导入方式为:
就目前而言 swankit 依旧存在,在此过渡期本质上
swanlab/toolkit
只是导入了 swankit 中的工具函数并暴露——但是未来 swankit 会被抛弃。此外,使用 rich 代替了原本自己写的高亮格式化工具,现在不会再出现 windows 字符乱码的情况。