-
Notifications
You must be signed in to change notification settings - Fork 22.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ONNX] Add symbolic support for torch.nn.cosinesimilarity (#72128) #73283
Conversation
* Add support for torch.nn.cosine_similarity * Remove fallback logic * Fix onnx test failures * Fix opset version * Modify rtol * Add aten fallback mode * fix mypy * gate with caffe2 fallback [ghstack-poisoned]
CI Flow Status⚛️ CI FlowRuleset - Version:
|
🔗 Helpful links
💊 CI failures summary and remediationsAs of commit 5495c62 (more details on the Dr. CI page):
🕵️ 3 new failures recognized by patternsThe following CI failures do not appear to be due to upstream breakages: linux-xenial-cuda11.3-py3.7-gcc7 / test (default, 2, 2, linux.4xlarge.nvidia.gpu) (1/3)Step: "Unknown" (full log | diagnosis details | 🔁 rerun)
|
…72128)" * Add support for torch.nn.cosine_similarity * Remove fallback logic * Fix onnx test failures * Fix opset version * Modify rtol * Add aten fallback mode * fix mypy * gate with caffe2 fallback [ghstack-poisoned]
@malfet has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator. |
…73283) Summary: Pull Request resolved: #73283 * Add support for torch.nn.cosine_similarity * Remove fallback logic * Fix onnx test failures * Fix opset version * Modify rtol * Add aten fallback mode * fix mypy * gate with caffe2 fallback Test Plan: Imported from OSS Reviewed By: jbschlosser Differential Revision: D34625650 Pulled By: malfet fbshipit-source-id: bf15d32b1d7055d0ca166d9941ba90b5c8e81cc2
Hey @BowenBao. |
Stack from ghstack:
[ONNX] Support optional type (#68793) #73284
-> [ONNX] Add symbolic support for torch.nn.cosinesimilarity (#72128) #73283
[ONNX] use onnxruntime 1.10 in CI (#69271) #73282
[ONNX] Add module name as PythonOp attribute (#67193) #73281
[ONNX] Adds overload_name to Aten op (#69378) #73280
Add support for torch.nn.cosine_similarity
Remove fallback logic
Fix onnx test failures
Fix opset version
Modify rtol
Add aten fallback mode
fix mypy
gate with caffe2 fallback
Differential Revision: D34625650