masahi commented on issue #11447: URL: https://github.com/apache/tvm/issues/11447#issuecomment-1136969321
That warning is a legit one, https://github.com/apache/tvm/blob/45f3d4a521ec476cd9960e3d2de4f66bde61bf23/src/runtime/contrib/dnnl/dnnl_json_runtime.cc#L609-L610 `OC` is indeed not a constant. Instead it should be ``` std::vector<float> bias(OC, 0); write_to_dnnl_memory(bias.data(), bias_memory, OC * sizeof(float)); ``` Can you try this on windows, and send a PR if it solves the issue? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
