Model parameters end up as constants in the IR when exporting to stable-hlo #17039
Unanswered
navdeepkk-polymagelabs
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I tried exporting ResNet from Google Scenic (https://github.com/google-research/scenic) library to stable hlo. This lowering captured all the model parameters as constants. Is there a way to capture the model parameters as the function arguments rather than constants?
I am using the following
jit
call to lower a given model to stable-hlo:Thanks!
Beta Was this translation helpful? Give feedback.
All reactions