pytorch / glow

Compiler for Neural Network hardware accelerators
Apache License 2.0
3.19k stars 685 forks source link

[habana] Implement backend specific verifications #3480

Open shajrawi opened 4 years ago

shajrawi commented 4 years ago

PR #3469 Added the infrastructure for doing backend-specific verifiers. You can see the rationale behind that in issue #3469.

It also added such verifiers for the OpenCL and Interpreter backends, so there are some examples to follow.

It would be nice to do the same for the Habana backend. This involves going through the backend's code, look for any assumptions and/or asserts being made, and moving them into a verifier.

xonx4l commented 1 year ago

I would like to work on this issue . Till now i have able to get that we have to implement the backend verifier same as in the openCL and Interpreter with habana labs backend . Right?

Can you brief a little more on assumptions and /assets ?

xonx4l commented 1 year ago

so after some research I have come to an solution to the issue as per your indications of going through backend of openCL.

xonx4l commented 1 year ago

Made a PR you can review. Update CMakeLists.txt #6094.