-
Notifications
You must be signed in to change notification settings - Fork 6.8k
[RFC] Custom Operator Part 2 #17006
Comments
Hi @samskalicky , thank you for the contribution!
Thanks. |
Need to include a fix for the test error #15921 (review) |
@wkcn could you explain your suggestion? calling gemm back into the framework which gets dispatched to GPU or CPU? |
We should create a namespace for the stuff in the lib_api.h file as suggested by @larroy: |
@larroy Users may need matrix operators and DNN Op(e.g. ReLU, Conv) when writing a custom Op. Although they can implement it by third-party libraries, it is more convenient to use the built-in functions in MXNet. |
Custom ops should be able to set the inplace property. |
Speed. All those I compared an integrated fork with a custom operator. https://github.com/kpuatamazon/incubator-mxnet/tree/intgemm integrated version end-to-end Sockeye performance (based on 1.6.0):
Custom operator version (based on 1.7.x. because it had to be for custom operators):
Conditions: |
Description
Request for comments on the next PR for enhancing custom operator support
custom GPU operators(started in Dynamic custom operator GPU support #17270)Random number generator resource request(Custom Operator Random Number Generator Support #17762)sparse data typesAdding sparse support to MXTensor for custom operators #17569_opCallFCompute
functionReferences
The text was updated successfully, but these errors were encountered: