Getting started on interoperability tutorial#2154
Open
brownbaerchen wants to merge 11 commits intohelmholtz-analytics:features/2088-Interoperability_tutorialfrom
Open
Getting started on interoperability tutorial#2154brownbaerchen wants to merge 11 commits intohelmholtz-analytics:features/2088-Interoperability_tutorialfrom
brownbaerchen wants to merge 11 commits intohelmholtz-analytics:features/2088-Interoperability_tutorialfrom
Conversation
Collaborator
Author
|
Issues we have discussed in today's meeting:
I will post updates about these issues here. |
Contributor
|
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 |
Collaborator
Author
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 file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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: