Comments (7)
@digitician @walkerp07 @vishnurangarajan Apparently torch doesn't build on Cuda 10.0. I tried building it on Ubuntu 16.04, Cuda 9.1 and didn't face any issues. The below thread was helpful.
http://forum.opennmt.net/t/install-torch-7-with-cuda-9-1/1216/15
from fb.resnet.torch.
Theres a resolution for this here: https://github.com/nagadomi/distro.git
from fb.resnet.torch.
have encountered same issue if anyone can help?
from fb.resnet.torch.
Same here.
Ubuntu 18.10
nvidia-driver-410
cuda-10-0
Building on 16 cores
-- Found Torch7 in /home/user/projects/torch/install
-- Removing -DNDEBUG from compile flags
-- TH_LIBRARIES: TH
-- MAGMA not found. Compiling without MAGMA support
-- Automatic GPU detection failed. Building for common architectures.
-- Autodetected CUDA architecture(s): 3.0;3.5;5.0;5.2;6.0;6.1;6.1+PTX
-- got cuda version 10.0
-- Found CUDA with FP16 support, compiling with torch.CudaHalfTensor
-- CUDA_NVCC_FLAGS: -gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_52,code=sm_52;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_61,code=sm_61;-gencode;arch=compute_61,code=compute_61;-DCUDA_HAS_FP16=1
-- THC_SO_VERSION: 0
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "THC" in directory /home/user/projects/torch/extra/cutorch/lib/THC
-- Configuring incomplete, errors occurred!
CMakeError.log:
Change Dir: /home/user/projects/torch/extra/cutorch/build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTC_f6acd/fast"
/usr/bin/make -f CMakeFiles/cmTC_f6acd.dir/build.make CMakeFiles/cmTC_f6acd.dir/build
make[1]: Entering directory '/home/user/projects/torch/extra/cutorch/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_f6acd.dir/src.c.o
/usr/bin/cc -I/home/user/projects/torch/install/include -std=c99 -Werror=implicit-function-declaration -DHAS_LUAL_SETFUNCS -o CMakeFiles/cmTC_f6acd.dir/src.c.o -c /home/user/projects/torch/extra/cutorch/build/CMakeFiles/CMakeTmp/src.c
/home/user/projects/torch/extra/cutorch/build/CMakeFiles/CMakeTmp/src.c: In function ‘main’:
/home/user/projects/torch/extra/cutorch/build/CMakeFiles/CMakeTmp/src.c:5:20: error: ‘luaL_setfuncs’ undeclared (first use in this function); did you mean ‘lua_setfenv’?
long i = sizeof(&luaL_setfuncs);
^~~~~~~~~~~~~
lua_setfenv
/home/user/projects/torch/extra/cutorch/build/CMakeFiles/CMakeTmp/src.c:5:20: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [CMakeFiles/cmTC_f6acd.dir/build.make:66: CMakeFiles/cmTC_f6acd.dir/src.c.o] Error 1
make[1]: Leaving directory '/home/user/projects/torch/extra/cutorch/build/CMakeFiles/CMakeTmp'
make: *** [Makefile:121: cmTC_f6acd/fast] Error 2
Source file was:
#include <lauxlib.h>
int main()
{
long i = sizeof(&luaL_setfuncs);
return 0;
}
from fb.resnet.torch.
Same here:
-- Performing Test HAS_LUAL_SETFUNCS - Failed
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
CUDA_cublas_device_LIBRARY (ADVANCED)
linked by target "THC" in directory /home/darkstar/torch/extra/cutorch/lib/THC
-- Configuring incomplete, errors occurred!
See also "/home/darkstar/torch/extra/cutorch/build/CMakeFiles/CMakeOutput.log".
See also "/home/darkstar/torch/extra/cutorch/build/CMakeFiles/CMakeError.log".
from fb.resnet.torch.
I am facing the same issue. I am using Cuda 10.0 and when trying to build torch I get this issue. Has anyone solved it ?
from fb.resnet.torch.
I'm facing the same issue. Any solutions or workarounds?
from fb.resnet.torch.
Related Issues (20)
- dataset.lua,dataset-gen.lua HOT 1
- Random luajit errors
- How Can I Plot the Train Curve ? HOT 2
- running time of ResNets HOT 5
- DataSampler.lua:230: bad argument #3 to 'narrow'
- Missing batch norm in ResNet-18 weights HOT 1
- Retrain with different input size
- Can I use video or webcam to classify ? (I have a fine-tuned model with my own data.) HOT 1
- it's my code but i don't why it's show me this error...
- What are the settings of pretrained ResNet-101 and ResNet-152 model files? HOT 2
- How to extract the lower level feature with pretrained model?
- INIT.LUA not found
- How to control the CPU kernels that are used during training.
- Can not reach the validation error rate for Resnet-50 (single-crop 224*224) HOT 1
- TestOnly on different machines give different results HOT 1
- Using cifar-100 with 15 classes HOT 7
- nn
- running lua in Pytorch HOT 1
- I want to retrain a resnext_101_32*4d.Is it possible?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fb.resnet.torch.