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 54ea077 commit 0ac144bCopy full SHA for 0ac144b
tools/cmake/Utils.cmake
@@ -121,7 +121,7 @@ function(get_torch_base_path outVar)
121
execute_process(
122
COMMAND
123
"${PYTHON_EXECUTABLE}" -c
124
- "\"import importlib.util; print(importlib.util.find_spec('torch').submodule_search_locations[0])\""
+ "import importlib.util; print(importlib.util.find_spec('torch').submodule_search_locations[0])"
125
OUTPUT_VARIABLE _tmp_torch_path
126
ERROR_VARIABLE _tmp_torch_path_error
127
RESULT_VARIABLE _tmp_torch_path_result COMMAND_ECHO STDERR
0 commit comments