LoRA icon indicating copy to clipboard operation
LoRA copied to clipboard

Current implementation can't be converted to ONNX

Open talbaumel opened this issue 1 year ago • 4 comments

Please avoid using .T

RuntimeError: Exporting the operator numpy_T to ONNX opset version 12 is not supported. Please open a bug to request ONNX export support for the missing operator.

Thanks :)

talbaumel avatar Jul 26 '22 11:07 talbaumel

Thanks for flagging this! Do you know the best way to fix this?

edwardjhu avatar Aug 30 '22 18:08 edwardjhu

Replacing it with .transpose should work 👍

talbaumel avatar Aug 31 '22 05:08 talbaumel

Hi talbaumel,

I changed .T to .transpose(0, 1) in a new branch called eval.

Let me know if this resolves the issue for you!

edwardjhu avatar Oct 17 '22 00:10 edwardjhu

Perfect, thank you

talbaumel avatar Oct 30 '22 13:10 talbaumel