3535 - name : Add Swap
3636 run : |
3737 SWAP_FILE="/mnt/swapfile"
38-
38+
3939 swapon --show
4040 echo "Trying to disable and remove existing swap if needed..."
4141 if swapon --show=NAME | grep -q "$SWAP_FILE"; then
@@ -85,25 +85,31 @@ jobs:
8585 ls -la ./out/
8686 echo "Wheel count: $(ls -1 ./out/*.whl | wc -l)"
8787
88+ - name : Upload wheels as artifact
89+ uses : actions/upload-artifact@v4
90+ with :
91+ name : wheels
92+ path : ./out/*.whl
93+
8894 - name : Upload .whl to GitHub Release
8995 if : startsWith(github.ref, 'refs/tags/')
9096 env :
9197 GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9298 run : |
9399 TAG_NAME=${GITHUB_REF##*/}
94-
100+
95101 # Get wheel file information
96102 LIGHTKERNEL_WHEEL=$(ls ./out/lightllm_kernel-*.whl | head -n1 | xargs basename)
97103 FA3_MTP_WHEEL=$(ls ./out/flash_attn_3-*.whl | head -n1 | xargs basename)
98-
104+
99105 gh release create "$TAG_NAME" ./out/*.whl \
100106 --title "LightKernel Release $TAG_NAME" \
101107 --notes "🎯 **LightKernel Release $TAG_NAME**
102108
103109 This automated release contains pre-compiled wheel packages:
104110
105111 📦 **Packages:**
106- - **$LIGHTKERNEL_WHEEL** - Core CUDA kernel library
112+ - **$LIGHTKERNEL_WHEEL** - Core CUDA kernel library
107113 - **$FA3_MTP_WHEEL** - Fa3 MTP 3.0 (Hopper)
108114
109115 🚀 **Quick Installation:**
@@ -115,11 +121,11 @@ jobs:
115121
116122 🔧 **Build Environment:**
117123 - CUDA: 12.6.1 with cuDNN
118- - PyTorch: 2.8.0
124+ - PyTorch: 2.8.0
119125 - Python: 3.10
120126 - Architecture: CUDA Compute Capabilities 9.0
121127
122128
123-
129+
124130 Built on $(date -u)" \
125- || echo "Release already exists, skipping"
131+ || echo "Release already exists, skipping"
0 commit comments