You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (proto.has_frontend_attributes()) {
instruction->set_frontend_attributes(proto.frontend_attributes());
}
// Generic map of attributes used to pass hints / configuration options from// the Python frontend to the XLA backend.
message FrontendAttributes {
map<string, string> map = 1;
}
instruction->backend_config_ = proto.backend_config();
// Backend configuration for the instruction. Has backend-specific meaning.
bytes backend_config = 43;
These are some powerful extensibility mechanisms, but it is not immediately obvious that we want extensibility in StableHLO to look like this. Features that allow attaching arbitrary strings to arbitrary ops conflict with StableHLO's focus on crystal clear semantics and strong compatibility guarantees, so this will need a dedicated discussion.
The text was updated successfully, but these errors were encountered:
Found during the #565 audit in hlo_instruction.cc.
These are some powerful extensibility mechanisms, but it is not immediately obvious that we want extensibility in StableHLO to look like this. Features that allow attaching arbitrary strings to arbitrary ops conflict with StableHLO's focus on crystal clear semantics and strong compatibility guarantees, so this will need a dedicated discussion.
The text was updated successfully, but these errors were encountered: