Getting started on interoperability tutorial#2154
Conversation
|
Issues we have discussed in today's meeting:
I will post updates about these issues here. |
|
Thanks for getting this started @brownbaerchen . I think the content will require more work from all of us, so if you don't mind I'm moving this PR to Milestone 1.9. I'll add some examples of numpy/pytorch interoperability later |
That's why this PR is not targeting main. Can you maybe provide some quick feedback on the little stuff that is in here so far? Just so I make sure that I actually understand the "proper" way. |
|
This pull request is stale because it has been open for 60 days with no activity. |
Description
This is a start of the interoperability tutorial. I don't know if I am using heat the proper way yet, so I thought it best to start with basic numpy and then continue with other stuff. This is also why this PR is not targeting main, but a different branch.
Maybe I have mentioned once or twice that I am a big fan of jupytext. I have written the tutorial as a python file and set up a GitHub workflow that translates any python file in heat/tutorials/scripts to a notebook and uploads the resulting notebook as artifacts. These will then have to be included in the website.
This has the following advantages:
Please give feedback on:
Finally, don't forget to squash and merge in the end in order to keep commit history clean! I needed quite a few tries to get the workflow to do what I want..
Changes proposed: