From 4916b520fe4468566469d833e0ed14c32921fb9e Mon Sep 17 00:00:00 2001 From: Konstantine Tsafatinos Date: Tue, 20 Jan 2026 00:49:31 -0500 Subject: [PATCH 1/2] Remove apt cacheing --- .github/actions/setup-rendering-deps/action.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/actions/setup-rendering-deps/action.yml b/.github/actions/setup-rendering-deps/action.yml index 0c92f0291..53116d996 100644 --- a/.github/actions/setup-rendering-deps/action.yml +++ b/.github/actions/setup-rendering-deps/action.yml @@ -18,15 +18,12 @@ inputs: runs: using: 'composite' steps: - - name: Cache APT packages - id: cache-apt + - name: Cache fonts + id: cache-fonts uses: actions/cache@v3 with: - path: | - /var/cache/apt/archives - /usr/share/fonts/truetype/humor-sans - key: apt-packages-${{ runner.os }}-fonts-backend-graphviz-v2 - restore-keys: apt-packages-${{ runner.os }}- + path: /usr/share/fonts/truetype/humor-sans + key: fonts-${{ runner.os }}-humor-sans-v1 - name: Install XKCD fonts if: ${{ inputs.skip-fonts != 'true' }} From 61456fe55c47b4ec55858609b7ddb49754782259 Mon Sep 17 00:00:00 2001 From: Konstantine Tsafatinos Date: Sun, 25 Jan 2026 21:53:38 -0500 Subject: [PATCH 2/2] Reprocess s2d4t3 --- tutorials/W2D4_Macrolearning/W2D4_Tutorial3.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tutorials/W2D4_Macrolearning/W2D4_Tutorial3.ipynb b/tutorials/W2D4_Macrolearning/W2D4_Tutorial3.ipynb index 490c9aaa0..19f09e21f 100644 --- a/tutorials/W2D4_Macrolearning/W2D4_Tutorial3.ipynb +++ b/tutorials/W2D4_Macrolearning/W2D4_Tutorial3.ipynb @@ -160,7 +160,7 @@ "logging.getLogger('matplotlib.font_manager').disabled = True\n", "\n", "%matplotlib inline\n", - "%config InlineBackend.figure_format = 'retina' # perfrom high definition rendering for images and plots\n", + "%config InlineBackend.figure_format = 'retina' # perform high definition rendering for images and plots\n", "plt.style.use(\"https://raw.githubusercontent.com/NeuromatchAcademy/course-content/main/nma.mplstyle\")" ] }, @@ -444,7 +444,7 @@ "\n", " def __len__(self):\n", " \"\"\"Calculate the length of the dataset. It is obligatory for PyTorch to know in advance how many samples to expect (before training),\n", - " thus we enforced to icnlude number of epochs and tasks per epoch in `FruitSupplyDataset` parameters.\"\"\"\n", + " thus we enforced to include number of epochs and tasks per epoch in `FruitSupplyDataset` parameters.\"\"\"\n", "\n", " return self.num_epochs * self.num_tasks\n", "\n", @@ -758,7 +758,7 @@ "\n", " def __len__(self):\n", " \"\"\"Calculate the length of the dataset. It is obligatory for PyTorch to know in advance how many samples to expect (before training),\n", - " thus we enforced to icnlude number of epochs and tasks per epoch in `FruitSupplyDataset` parameters.\"\"\"\n", + " thus we enforced to include number of epochs and tasks per epoch in `FruitSupplyDataset` parameters.\"\"\"\n", "\n", " return self.num_epochs * self.num_tasks\n", "\n",