Skip to content

Commit

Permalink
Cache torch home path to prevent reassignement during install stage.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkimanius committed May 29, 2024
1 parent c818a03 commit 5d5790f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/FindCondaPython.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ if (NOT PYTHON_EXE_PATH STREQUAL "")
RESULT_VARIABLE PYTHON_RESULT
)
if(EXISTS "${TORCH_HOME_PATH_OUTPUT}")
set(TORCH_HOME_PATH ${TORCH_HOME_PATH_OUTPUT})
set(TORCH_HOME_PATH ${TORCH_HOME_PATH_OUTPUT} CACHE PATH "Path to Torch home directory for storage of trained models." FORCE)
else ()
message(
WARNING
Expand Down

0 comments on commit 5d5790f

Please sign in to comment.