Skip to content

Commit c2b78df

Browse files
author
zhoujiamei
committed
add cmake install and skip cuda
1 parent f68b94d commit c2b78df

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/unit_tests_common.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,9 @@ jobs:
121121
- name: Environment Setup
122122
if: steps.should_run.outputs.should_run == 'true'
123123
env:
124+
TE_FL_SKIP_CUDA: '1'
125+
SKIP_CUDA_BUILD: '1'
126+
124127
NVTE_WITH_MACA: '1'
125128
NVTE_WITH_CUDA: '0'
126129
MACA_HOME: /opt/maca
@@ -136,7 +139,8 @@ jobs:
136139
#! setup_commands from all_tests_xxx.yml(like all_tests_metax.yml)
137140
${{ inputs.setup_commands }}
138141
139-
142+
python3 -m pip install --no-cache-dir cmake ninja --no-deps
143+
cmake --version
140144
141145
which python3
142146
python3 -c "import torch; print(f'Native Torch Version: {torch.__version__}')"

0 commit comments

Comments
 (0)