We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 089dcc9 commit bfefdebCopy full SHA for bfefdeb
examples/models/voxtral/CMakeLists.txt
@@ -113,3 +113,15 @@ endif()
113
target_include_directories(voxtral_runner PUBLIC ${_common_include_directories})
114
target_link_libraries(voxtral_runner PUBLIC ${link_libraries})
115
target_compile_options(voxtral_runner PUBLIC ${_common_compile_options})
116
+
117
+# On Windows, copy required DLLs to the executable directory
118
+if(MSVC AND EXECUTORCH_BUILD_CUDA)
119
+ add_custom_command(
120
+ TARGET voxtral_runner
121
+ POST_BUILD
122
+ COMMAND ${CMAKE_COMMAND} -E copy_if_different
123
+ $<TARGET_FILE:aoti_cuda_shims>
124
+ $<TARGET_FILE_DIR:voxtral_runner>
125
+ COMMENT "Copying aoti_cuda_shims.dll to voxtral_runner directory"
126
+ )
127
+endif()
0 commit comments