Skip to content

Commit 48045ad

Browse files
committed
mount home dir; install Metax Binary Backend
1 parent 702b4c6 commit 48045ad

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/configs/metax.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runner_labels:
1616

1717
container_volumes:
1818
- /nfs/metax_fs:/nfs/metax_fs
19-
# - /home/muxiuser:/home/muxiuser
19+
- /home/muxiuser:/home/muxiuser
2020
# - /home/muxiuser/jinglong/TransformerEngine-FL:/workspace/TransformerEngine-FL
2121
# - /opt/maca:/opt/maca
2222
# - /dev/dri:/dev/dri

.github/workflows/unit_tests_common.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -182,22 +182,22 @@ jobs:
182182
183183
# echo "===== Step 5: Install Metax Binary Backend ====="
184184
# # Install prebuilt Metax backend (required for MACA operators)
185-
# WHL_PATH="/home/muxiuser/transformer_engine_metax-2.9.0-cp312-cp312-linux_x86_64.whl"
186-
# if [ ! -f "$WHL_PATH" ]; then
187-
# echo "ERROR: Wheel file not found at $WHL_PATH"
188-
# echo "Please verify volume mount: -v /home/muxiuser:/home/muxiuser"
189-
# exit 1
190-
# fi
185+
WHL_PATH="/home/muxiuser/transformer_engine_metax-2.9.0-cp312-cp312-linux_x86_64.whl"
186+
if [ ! -f "$WHL_PATH" ]; then
187+
echo "ERROR: Wheel file not found at $WHL_PATH"
188+
echo "Please verify volume mount: -v /home/muxiuser:/home/muxiuser"
189+
exit 1
190+
fi
191191
192192
# # Use --no-deps to avoid overwriting Metax-optimized PyTorch
193-
# python3 -m pip install "$WHL_PATH" --no-deps --force-reinstall
193+
python3 -m pip install "$WHL_PATH" --no-deps --force-reinstall
194194
195195
# echo "===== Step 6: Verify Metax Backend ====="
196196
# # Ensure transformer_engine_torch is correctly loaded
197-
# python3 - <<'EOF'
198-
# import transformer_engine_torch as te
199-
# print("Backend loaded successfully:", te)
200-
# EOF
197+
python3 - <<'EOF'
198+
import transformer_engine_torch as te
199+
print("Backend loaded successfully:", te)
200+
EOF
201201
202202
echo "===== Step 7: Install TE-FL Plugin Layer ====="
203203
# Install TransformerEngine-FL Python layer (plugin logic)

0 commit comments

Comments
 (0)