Skip to content

Commit

Permalink
[Neuron] Upgrade neuron to 2.20.2 (#11016)
Browse files Browse the repository at this point in the history
Signed-off-by: Jerzy Zagorski <[email protected]>
Co-authored-by: Jerzy Zagorski <[email protected]>
  • Loading branch information
xendo and Jerzy Zagorski authored Dec 9, 2024
1 parent 1a2f8fb commit 9c6459e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile.neuron
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# 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

Expand Down
2 changes: 1 addition & 1 deletion vllm/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"):
Expand Down

0 comments on commit 9c6459e

Please sign in to comment.