Skip to content

Commit 9983671

Browse files
committed
WIP
1 parent 457ed28 commit 9983671

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/actions/install_neuronx_runtime/action.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ runs:
66
- name: Set Neuronx deb variables
77
shell: bash
88
run: |
9+
exit 1
910
NEURON_DEBS_LIST="aws-neuronx-tools=2.26.14.0 aws-neuronx-runtime-lib=2.28.23.0-dd5879008 aws-neuronx-collectives=2.28.27.0-bc30ece58"
1011
echo "APT_CACHE_DIR=/mnt/hf_cache/apt-cache" >> $GITHUB_ENV
1112
echo "NEURON_DEBS=${NEURON_DEBS_LIST}" >> $GITHUB_ENV
@@ -80,8 +81,9 @@ runs:
8081
8182
# Show packages being installed in a collapsible group
8283
echo "::group::📋 Packages to install"
83-
ls -lh "${CACHE_DIR_KEY}"/*.deb || echo "❌ No .deb files found"
84-
echo "📊 Total: $(ls -1 "${CACHE_DIR_KEY}"/*.deb 2>/dev/null | wc -l) packages"
84+
cd ${CACHE_DIR_KEY}
85+
ls -lh *.deb || echo "❌ No .deb files found"
86+
echo "📊 Total: $(ls -1 *.deb 2>/dev/null | wc -l) packages"
8587
echo "::endgroup::"
8688
8789
sudo dpkg -i "${CACHE_DIR_KEY}"/*.deb
@@ -97,6 +99,7 @@ runs:
9799
fi
98100
99101
export PATH=/opt/aws/neuron/bin:$PATH
102+
echo "PATH=${PATH}" >> $GITHUB_ENV
100103
dpkg -l | grep neuron
101104
- name: Display driver version
102105
shell: bash

.github/workflows/cleanup_inf2_cache.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# It can be triggered by dispatch event or scheduler, to remove unused cache files on /mnt/hf_cache apt entries
33
name: Cleanup Inf2 Cache
44
on:
5+
push:
56
workflow_dispatch:
67
schedule:
78
# Schedule the workflow to run every second day at midnight UTC

0 commit comments

Comments
 (0)