Skip to content

Commit 6ac3653

Browse files
authored
Add intro to azstoragetorch Jupyter notebook (#57)
This is the notebook used for azstoragetorch demo at Build 2025 with the following deviations: * Include bootstrap.py and cleanup.py script and sections to create and delete resources for notebook * Removed Phi model portion of notebook because it is too large in size (20+ GB) for the purpose of introducing the library. Also added links to the samples and notebook as part of the README for better discoverability.
1 parent 0f67e16 commit 6ac3653

File tree

7 files changed

+747
-1
lines changed

7 files changed

+747
-1
lines changed

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
Makefile text eol=lf
55
requirements-dev.txt text eol=lf
66
uv.lock text eol=lf
7+
samples/intro_notebook/azstoragetorch-intro.ipynb eol=lf

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ include requirements-dev.txt
44
recursive-include tests *.py
55
recursive-include doc *
66
include mypy.ini
7-
recursive-include samples *.py
7+
recursive-include samples *
88

99
exclude uv.lock

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,20 @@ for batch in dataloader:
139139
```
140140

141141

142+
## Additional resources
143+
144+
For more information on using the Azure Storage Connector for PyTorch, see the following resources:
145+
146+
* [Official documentation][official documentation]
147+
* [Code samples](samples/)
148+
* [Microsoft Build 2025 presentation][2025 build presentation] - Watch this presentation on the Azure Storage
149+
Connector for PyTorch to learn more about the library and how to use its features with PyTorch.
150+
* [Introductory Jupyter notebook](samples/intro_notebook/azstoragetorch-intro.ipynb) - Run this notebook to learn
151+
how to use the library to save and load PyTorch models and datasets from Azure Blob Storage. This is the same notebook
152+
used in the [Microsoft Build 2025 presentation][2025 build presentation].
153+
154+
155+
142156
## Contributing
143157

144158
This project welcomes contributions and suggestions. Most contributions require you to agree to a
@@ -180,3 +194,5 @@ or contact [[email protected]](mailto:[email protected]) with any addi
180194
[blobio reference]: https://azure.github.io/azure-storage-for-pytorch/api.html#azstoragetorch.io.BlobIO
181195
[blobdataset reference]: https://azure.github.io/azure-storage-for-pytorch/api.html#azstoragetorch.datasets.BlobDataset
182196
[iterableblobdataset reference]: https://azure.github.io/azure-storage-for-pytorch/api.html#azstoragetorch.datasets.IterableBlobDataset
197+
198+
[2025 build presentation]: https://youtu.be/lJ9ZiiVP1-w?si=zowVmXemFK4w9HKc&t=1437

pyproject.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,6 @@ package-dir = {"" = "src"}
5959

6060
[tool.setuptools.dynamic]
6161
version = {attr = "azstoragetorch._version.__version__"}
62+
63+
[tool.ruff]
64+
extend-exclude = ["*.ipynb"]

0 commit comments

Comments
 (0)