{"action":"opened","issue":{"url":"https://api.github.com/repos/pytorch/pytorch/issues/4017","repository_url":"https://api.github.com/repos/pytorch/pytorch","labels_url":"https://api.github.com/repos/pytorch/pytorch/issues/4017/labels{/name}","comments_url":"https://api.github.com/repos/pytorch/pytorch/issues/4017/comments","events_url":"https://api.github.com/repos/pytorch/pytorch/issues/4017/events","html_url":"https://github.com/pytorch/pytorch/issues/4017","id":279180251,"number":4017,"title":"THCBlas error building from source","user":{"login":"gabusleon","id":4027434,"avatar_url":"https://avatars3.githubusercontent.com/u/4027434?v=4","gravatar_id":"","url":"https://api.github.com/users/gabusleon","html_url":"https://github.com/gabusleon","followers_url":"https://api.github.com/users/gabusleon/followers","following_url":"https://api.github.com/users/gabusleon/following{/other_user}","gists_url":"https://api.github.com/users/gabusleon/gists{/gist_id}","starred_url":"https://api.github.com/users/gabusleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabusleon/subscriptions","organizations_url":"https://api.github.com/users/gabusleon/orgs","repos_url":"https://api.github.com/users/gabusleon/repos","events_url":"https://api.github.com/users/gabusleon/events{/privacy}","received_events_url":"https://api.github.com/users/gabusleon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-04T22:51:19Z","updated_at":"2017-12-04T22:51:19Z","closed_at":null,"author_association":"NONE","body":"Hi, I was trying to update from source but I get an error \"no suitable constructor exists to convert from \"int\" to \"__half\"\" when trying to build pytorch/aten/src/THC/THCBlas.cu.\r\n\r\nI am working with cuda 7.5 and GCC 4.8.3 in openSUSE. Any suggest?\r\n\r\nHere is the output error when building from source:\r\n---------------------------------------------------------------------------------------------------------------------------------\r\nATen Excluded: set(['bernoulli', 'bernoulli_'])\r\n[  0%] Built target aten_files_are_generated\r\n[  0%] Building NVCC (Device) object src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCReduceApplyUtils.cu.o\r\n[  1%] Building NVCC (Device) object src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCStorage.cu.o\r\n[  1%] Building NVCC (Device) object src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCSleep.cu.o\r\n[  1%] Building NVCC (Device) object src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCBlas.cu.o\r\n[  1%] Building NVCC (Device) object src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCStorageCopy.cu.o\r\n[  2%] Building NVCC (Device) object src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCTensor.cu.o\r\n[  2%] Building NVCC (Device) object src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCTensorMath.cu.o\r\n[  2%] Building NVCC (Device) object src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCTensorCopy.cu.o\r\n/home/gabriel/pytorch/aten/src/THC/THCBlas.cu(77): error: no suitable constructor exists to convert from \"int\" to \"__half\"\r\n\r\n/home/gabriel/pytorch/aten/src/THC/THCBlas.cu(77): error: no suitable constructor exists to convert from \"float\" to \"__half\"\r\n\r\n2 errors detected in the compilation of \"/tmp/tmpxft_0000587a_00000000-7_THCBlas.cpp1.ii\".\r\nCMake Error at ATen_generated_THCBlas.cu.o.cmake:267 (message):\r\n  Error generating file\r\n  /home/gabriel/pytorch/torch/lib/build/aten/src/ATen/CMakeFiles/ATen.dir/__/THC/./ATen_generated_THCBlas.cu.o\r\n\r\n\r\nsrc/ATen/CMakeFiles/ATen.dir/build.make:70: recipe for target 'src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCBlas.cu.o' failed\r\nmake[2]: *** [src/ATen/CMakeFiles/ATen.dir/__/THC/ATen_generated_THCBlas.cu.o] Error 1\r\nmake[2]: *** Waiting for unfinished jobs....\r\nCMakeFiles/Makefile2:194: recipe for target 'src/ATen/CMakeFiles/ATen.dir/all' failed\r\nmake[1]: *** [src/ATen/CMakeFiles/ATen.dir/all] Error 2\r\nMakefile:129: recipe for target 'all' failed\r\nmake: *** [all] Error 2\r\n"}}
{"actor":{"display_login":"gabusleon"}}