Skip to content

Commit 12460c2

Browse files
committed
Fix broken CI
1 parent d58e941 commit 12460c2

File tree

4 files changed

+12
-2
lines changed

4 files changed

+12
-2
lines changed

.ci/scripts/test_model.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ build_cmake_executor_runner() {
6767
echo "Backend $backend_string_select selected"
6868
cmake -DCMAKE_BUILD_TYPE=Release \
6969
-DEXECUTORCH_BUILD_CUDA=ON \
70+
-DEXECUTORCH_BUILD_EXTENSION_TENSOR=ON \
7071
${COMMON} \
7172
-B${CMAKE_OUTPUT_DIR} .
7273
cmake --build ${CMAKE_OUTPUT_DIR} -j4

CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,9 @@ if(EXECUTORCH_BUILD_EXECUTOR_RUNNER)
10311031
extension_runner_util gflags executorch_backends
10321032
)
10331033

1034-
list(APPEND _executor_runner_libs ${_executorch_extensions})
1034+
if(EXECUTORCH_BUILD_EXTENSION_FLAT_TENSOR)
1035+
list(APPEND _executor_runner_libs extension_flat_tensor)
1036+
endif()
10351037

10361038
if(EXECUTORCH_BUILD_KERNELS_OPTIMIZED)
10371039
list(APPEND _executor_runner_libs optimized_native_cpu_ops_lib)

examples/models/moshi/mimi/install_requirements.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
set -x
99

1010
conda install -c conda-forge "ffmpeg<8" -y
11-
pip install torchcodec==0.7.0.dev20250906 --extra-index-url https://download.pytorch.org/whl/nightly/cpu
11+
pip install torchcodec==0.7.0.dev20250929 --extra-index-url https://download.pytorch.org/whl/nightly/cpu
1212
pip install moshi==0.2.4
1313
pip install bitsandbytes soundfile
1414
# Run llama2/install requirements for torchao deps

tools/cmake/preset/default.cmake

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,9 @@ define_overridable_option(
145145
define_overridable_option(
146146
EXECUTORCH_BUILD_CORTEX_M "Build the Cortex-M backend" BOOL OFF
147147
)
148+
define_overridable_option(
149+
EXECUTORCH_BUILD_CUDA "Build the CUDA backend" BOOL OFF
150+
)
148151
define_overridable_option(
149152
EXECUTORCH_BUILD_VGF "Build the Arm VGF backend" BOOL OFF
150153
)
@@ -342,6 +345,10 @@ check_required_options_on(
342345
EXECUTORCH_BUILD_EXTENSION_LLM
343346
)
344347

348+
check_required_options_on(
349+
IF_ON EXECUTORCH_BUILD_CUDA REQUIRES EXECUTORCH_BUILD_EXTENSION_TENSOR
350+
)
351+
345352
if(NOT EXISTS ${EXECUTORCH_PAL_DEFAULT_FILE_PATH})
346353
message(
347354
FATAL_ERROR

0 commit comments

Comments
 (0)