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
{{ message }}
Repository navigation
Consider adding FrontendAttributesAttr and BackendConfigAttr #628
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.
Activity