Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
sft
lcgcmake
Commits
1736b909
Commit
1736b909
authored
Oct 29, 2021
by
Pere Mato Vila
Browse files
Add environment to torch
parent
e3e26bc7
Changes
2
Hide whitespace changes
Inline
Side-by-side
cmake/environment/torch.template
0 → 100644
View file @
1736b909
PYPATH=`find -L ${TORCH__HOME} -maxdepth 3 -type d -name "site-packages"`
LD_LIBRARY_PATH=${PYPATH}/torch/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
pyexternals/CMakeLists.txt
View file @
1736b909
...
...
@@ -4293,6 +4293,7 @@ LCGPackage_Add(
IF DEFINED cuda_native_version THEN cuda cudnn ENDIF
IF Python_native_version VERSION_LESS 3 THEN typing future ENDIF
IF <VERSION> VERSION_GREATER_EQUAL 1.9.0 THEN typing_extensions ENDIF
REVISION 2
)
#---torchvision-----------------------------------------------------------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment