You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I using torchxa to convert model to stablehlo. https://pytorch.org/xla/master/features/stablehlo.html#torch-export-to-stablehlo
Follow this page,
weights, stablehlo = tx.export.exported_program_to_stablehlo(exported)
print(stablehlo.mlir_module())
Can store weights and/or stablehlo object however you like
But how to store weights, I don't know. I found weights is a list.
Could you help me? Thank you!
Another question, we can save data and functions directory by using torch_xla, how can I save functions by using torchax?
The text was updated successfully, but these errors were encountered:
❓ Questions and Help
Hello, I using torchxa to convert model to stablehlo.
https://pytorch.org/xla/master/features/stablehlo.html#torch-export-to-stablehlo
Follow this page,
weights, stablehlo = tx.export.exported_program_to_stablehlo(exported)
print(stablehlo.mlir_module())
Can store weights and/or stablehlo object however you like
But how to store weights, I don't know. I found weights is a list.
Could you help me? Thank you!
Another question, we can save data and functions directory by using torch_xla, how can I save functions by using torchax?
The text was updated successfully, but these errors were encountered: