nestedtensor.py on Colab building from master
Open
Nobody has claimed this yet.
2.0
question
- Dominant language
- Python
- Stars
- 9.3k
- Forks
- 4.4k
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 4
Description
When running the nested tensors tutorial on google colab builds from master instead of main. The master branch version is non-functional, main branch version appears to work correctly:
- nested tensors created with
torch.nested_tensorinstead oftorch.nested.nested_tensor - the
mha_netsedfunction handle batch size inference incorrectly.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Compare the nested tensors tutorial with its linked Colab notebook, nestedtensor.ipynb, and check which branch the generated notebook references. Verify the main-branch version uses the working nested-tensor API and correct batch-size inference, then confirm the published Colab tutorial runs successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- documentation, machine-learning
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100