"vscode:/vscode.git/clone" did not exist on "6b40996ae8a5b065de5b3b650b5b1324f67f6334"
Unverified Commit 9c6459e4 authored by xendo's avatar xendo Committed by GitHub
Browse files

[Neuron] Upgrade neuron to 2.20.2 (#11016)


Signed-off-by: default avatarJerzy Zagorski <jzagorsk@amazon.com>
Co-authored-by: default avatarJerzy Zagorski <jzagorsk@amazon.com>
parent 1a2f8fb8
# default base image
ARG BASE_IMAGE="public.ecr.aws/neuron/pytorch-inference-neuronx:2.1.2-neuronx-py310-sdk2.20.0-ubuntu20.04"
# https://gallery.ecr.aws/neuron/pytorch-inference-neuronx
ARG BASE_IMAGE="public.ecr.aws/neuron/pytorch-inference-neuronx:2.1.2-neuronx-py310-sdk2.20.2-ubuntu20.04"
FROM $BASE_IMAGE
......
......@@ -1628,7 +1628,7 @@ def direct_register_custom_op(
library object. If you want to bind the operator to a different library,
make sure the library object is alive when the operator is used.
"""
if is_in_doc_build():
if is_in_doc_build() or not supports_custom_op():
return
import torch.library
if hasattr(torch.library, "infer_schema"):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment