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

O3 optimization are slower on SG2042 #60

Open
xhebox opened this issue Jul 24, 2023 · 3 comments
Open

O3 optimization are slower on SG2042 #60

xhebox opened this issue Jul 24, 2023 · 3 comments

Comments

@xhebox
Copy link
Collaborator

xhebox commented Jul 24, 2023

Seems that O3 optimization is too aggressive on most RISCV systems, where pipeline/caching is not doing as well as x86. Disable O3 makes chatglm2 runs at 3.6t/s compared to 3t/s.

@chenqy4933
Copy link
Collaborator

its sames the compiler issue

@xhebox
Copy link
Collaborator Author

xhebox commented Jul 24, 2023

its sames the compiler issue

Yep. But I am thinking disable O3 by default. Or make it a CMake option somehow.

@chenqy4933
Copy link
Collaborator

I agree it

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

No branches or pull requests

2 participants