-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[GPU] POC for shared plugin config #28667
base: master
Are you sure you want to change the base?
[GPU] POC for shared plugin config #28667
Conversation
ea3c7c1
to
1bc7a7b
Compare
src/core/src/any.cpp
Outdated
std::set<std::string> off = {"0", "false", "off", "no"}; | ||
std::set<std::string> on = {"1", "true", "on", "yes"}; |
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.
std::set<std::string> off = {"0", "false", "off", "no"}; | |
std::set<std::string> on = {"1", "true", "on", "yes"}; | |
static const std::set<std::string> off = {"0", "false", "off", "no"}; | |
static const std::set<std::string> on = {"1", "true", "on", "yes"}; |
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
73c07ab
to
6747b23
Compare
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
Signed-off-by: Vladimir Paramuzov <[email protected]>
} | ||
} | ||
|
||
void handle_option(ConfigOptionBase* option) { |
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.
void handle_option(ConfigOptionBase* option) { | |
void handle_option(const ConfigOptionBase* option) { |
const std::set<std::string> off = {"0", "false", "off", "no"}; | ||
const std::set<std::string> on = {"1", "true", "on", "yes"}; |
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.
const std::set<std::string> off = {"0", "false", "off", "no"}; | |
const std::set<std::string> on = {"1", "true", "on", "yes"}; | |
constexpr std::set<std::string> off = {"0", "false", "off", "no"}; | |
constexpr std::set<std::string> on = {"1", "true", "on", "yes"}; |
// In the case of inner program, allow_new_shape_infer flag is setted by outside of program. | ||
// So, do not check allow_new_shape_infer for inner program build | ||
for (const auto& op : ops) { | ||
if (auto multi_subgraph_op = ov::as_type_ptr<op::util::MultiSubGraphOp>(op)) { |
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.
Is it possible to have nested subgraphs? This can be moved to process_op() for recurrent processing
} | ||
if (!info.supports_immad || !is_llm) |
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.
Activation scaleing should be applied only if !is_llm
:
if (!info.supports_immad || !is_llm) | |
if (!is_llm) |
|
||
virtual void set_any(const ov::Any any) = 0; | ||
virtual ov::Any get_any() const = 0; | ||
virtual bool is_valid_value(ov::Any val) = 0; |
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.
virtual bool is_valid_value(ov::Any val) = 0; | |
virtual bool is_valid_value(ov::Any val) const = 0; |
@@ -6,6 +6,9 @@ | |||
|
|||
#include <limits> | |||
#include <string> | |||
#include <string_view> |
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.
This include seems unused
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.
It's actually used below: std::array<std::string_view, 4>
Details: