-
Notifications
You must be signed in to change notification settings - Fork 38
[WIP] feat: refactor layer module to support multiple platforms. #27
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
base: main
Are you sure you want to change the base?
Conversation
#include "framework/state_dict/state_dict.h" | ||
|
||
namespace xllm { | ||
namespace layer { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
建议这里可能不用加layer这个namespace了,感觉有点多余了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The namespace layer cannot be deleted yet to prevent naming conflicts among some LayerImpl classes in the model class. Subsequent refactoring will remove the LayerImpl classes from the model and eliminate the namespace layer altogether.
@@ -0,0 +1,24 @@ | |||
#pragma once | |||
|
|||
// #ifdef WITH_ASCEND |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: delete these comments about WITH_ASCEND
:(
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
already removed
…tform support and add layer namespace.
…consistency across implementations.
No description provided.