Open hgchenkai opened 3 months ago
Not sure if we support parameterized weights for conv in XNNPACK delegate. Is it possible to normalize weights ahead of time before export, I guess?
Alternatively, can you export and run successfully without xnnpackpartitioner?
Not sure if we support parameterized weights for conv in XNNPACK delegate. Is it possible to normalize weights ahead of time before export, I guess?
Alternatively, can you export and run successfully without xnnpackpartitioner?
Thanks for the reply. Yes, I can run sucessfully without xnnpackpartitioner
Hello, When I execute
torch._export.capture_pre_autograd_graph(model, inputs)
, The the following code throws an errorThe error info:
When I replaced
torch.nn.utils.weight_norm
withtorch.nn.utils.parametrizations.weight_norm
,torch._export.capture_pre_autograd_graph
executed successfully.But when I execute toedge.to_backend(XnnpackPartitioner())
, I get a new error:How should I use weight_norm?Is there something wrong with the way I use it? Please help me,thanks