AnnotateUsedMemory does not support dynamic shapes

I am trying to relay.build() an Simple Onnx model with dynamic input shape. But I have this error.

Check failed: (!IsDynamic(type)) is false: AnnotateUsedMemory does not support dynamic shapes.

I tried to disable “AnnotateUsedMemory” but it seems not successful. Could someone kindly provide guidance on how to successfully execute the relay.build() operation in this scenario?