Conversation
Add support for np.intc. It's the same as np.int32.
|
@reddyn12 - thanks for the PR. Did this fix a problem you were having? CI: https://gitlab.com/coremltools1/coremltools/-/pipelines/819624143 |
|
@TobyRoseman Ya, I'm trying to run transformers on the ANE, but had a problem with the intc type. I'm using Karpathy's implementation. Now I'm getting " File "/usr/local/lib/python3.11/site-packages/coremltools/converters/mil/backend/mil/load.py", line 279, in load I ran the program on both my Windows pc and Mac. I'm using the code provided with the Transformers article on Apple ML website: https://machinelearning.apple.com/research/neural-engine-transformers |
|
https://github.com/reddyn12/ANEFinesse is the exact code I'm using. TorchScriptConv.py is the file. |
|
@reddyn12 - thanks for the explanation. If you could add a unit test, that would be great. |
|
Hey @reddyn12, the unit test can be added to test_types.py, as a method of class should be good, thanks! |
Add support for np.intc. It's the same as np.int32.