-
Notifications
You must be signed in to change notification settings - Fork 89
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
Refine Python API #1806
Comments
It's not clear to me that we still need the RTP ops, given that |
@fifield I didn't have anything major planned, I'm just trying to get rid of all the Python operations that expect symbol names instead of python objects, so I was thinking about changing NpuWriteRTPOp("rtpComputeTile2", index=0, value=50) To either rtpComputeTile2.rtpWrite(index=0, value=50) or (not sure if this is possible to infer the right type of write operation if these is more than one, so maybe not) rtpComputeTile2[0] = 50 Currently, NpuWriteRTPOp is used in the following programming examples:
I'm not sure what the differences between |
To record decisions make offline: RTP ops will probably be used with some additional synchronization method in the future, so it's worth it to clean up the Python interface |
This issue is a method of tracking/deconflicting efforts to change the Python API. If anyone has any PRs to change the Python API please let me know and we can record them here! We can also use this issue to record ideas/brainstorming before a PR is created.
Planned
In-Progress
dma_task
in programming examples #1919Completed
npu_sync
withdma_wait
in programming examples #1791ml_dtypes
for bfloat16 numpy extension #1829Notes
The text was updated successfully, but these errors were encountered: