alibaba / BladeDISC

BladeDISC is an end-to-end DynamIc Shape Compiler project for machine learning workloads.
Apache License 2.0
803 stars 160 forks source link

How to compile and run models from pytorch in dynamic-shape mode? #1259

Open SunflowerAries opened 1 year ago

SunflowerAries commented 1 year ago

Hi, I'm curious about how to compile and run pytorch models in dynamic-shape mode? Does these examples provided in tutorials run in dynamic-sahpe mode by default? Or should I explicitly turn on some options to enable dynamic-shape? Thanks