Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

测试load图速度代码 #361

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

测试load图速度代码 #361

wants to merge 3 commits into from

Conversation

onAugust1
Copy link
Contributor

添加三个文件在benchmarks里面,修改graph.py和with_oneflow_compile.py

state_end = time.perf_counter()

print(f"runtime_state_dict_to用时:{state_end - load_end} 秒\n")

self.load_runtime_state_dict(state_dict)
Copy link
Collaborator

Choose a reason for hiding this comment

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

对 load_runtime_state_dict 这里也做下时间统计

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