Skip to content

Commit 25d498d

Browse files
committed
Add altair to requirements.txt and update Colab download section
1 parent d745ba2 commit 25d498d

2 files changed

Lines changed: 10 additions & 12 deletions

File tree

.ci/docker/requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ onnxruntime
5050
evaluate
5151
accelerate>=0.20.1
5252
git+https://github.com/facebookresearch/mosaic.git
53+
altair
5354

5455
importlib-metadata==6.8.0
5556

beginner_source/mosaic_memory_profiling_tutorial.py

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -485,19 +485,16 @@ def run_training_ac(
485485
# Download Generated Files (Google Colab)
486486
# ----------------------------------------
487487
#
488-
# If running in Google Colab, you can download the generated snapshot
489-
# and profile files using the following code:
490-
#
491-
# .. code-block:: python
492-
#
493-
# from google.colab import files
494-
#
495-
# print("Downloading memory snapshots and profiles...")
496-
# files.download('snapshot_baseline.pickle')
497-
# files.download('snapshot_with_ac.pickle')
498-
# files.download('profile_baseline.html')
499-
# files.download('profile_with_ac.html')
488+
# If running in Google Colab, uncomment the following lines to download
489+
# the generated snapshot and profile files:
490+
491+
# from google.colab import files
500492
#
493+
# print("Downloading memory snapshots and profiles...")
494+
# files.download('snapshot_baseline.pickle')
495+
# files.download('snapshot_with_ac.pickle')
496+
# files.download('profile_baseline.html')
497+
# files.download('profile_with_ac.html')
501498

502499
######################################################################
503500
# Results Interpretation: Activation Checkpointing

0 commit comments

Comments
 (0)