← 返回事件
持续讨论AI发版

trunk/4109cbc8d05d541dd0a7a2feac4490bef16d43c5: torch/_native: allow overrides on namespaces other than aten (#194509)

发生了什么

torch._native could override aten ops only. Since linear_cross_entropy lives in torch/nn and its chunked ops are registered in the torch_nn namespace, the registry has to accept any namespace, which is what this commit does. The override registry could only install kernels on the aten namespace: register_op_override rejected any other lib_symbol , and the internals hardcoded aten when resolving the op, cloning its s…

摘要按规则整理自下方来源原文

为什么在扩散

来源