File size: 7,309 Bytes
c1a41d7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
running install
running bdist_egg
running egg_info
writing quiptools_cuda.egg-info/PKG-INFO
writing dependency_links to quiptools_cuda.egg-info/dependency_links.txt
writing top-level names to quiptools_cuda.egg-info/top_level.txt
reading manifest file 'quiptools_cuda.egg-info/SOURCES.txt'
writing manifest file 'quiptools_cuda.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_ext
building 'quiptools_cuda' extension
/usr/local/cuda/bin/nvcc -I/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/torch/include -I/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -I/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/torch/include/TH -I/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/torch/include/THC -I/usr/local/cuda/include -I/home/jc3464/anaconda3/envs/smoothquant/include/python3.8 -c quiptools.cu -o build/temp.linux-x86_64-3.8/quiptools.o -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_BFLOAT16_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr --compiler-options '-fPIC' -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -DTORCH_EXTENSION_NAME=quiptools_cuda -D_GLIBCXX_USE_CXX11_ABI=0 -gencode=arch=compute_52,code=compute_52 -gencode=arch=compute_52,code=sm_52 -std=c++14
/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/torch/include/c10/core/SymInt.h(84): warning: integer conversion resulted in a change of sign

quiptools.cu(17): error: name must be a namespace name

quiptools.cu(38): error: name followed by "::" must be a class or namespace name

quiptools.cu(38): error: type name is not allowed

quiptools.cu(38): error: name followed by "::" must be a class or namespace name

quiptools.cu(38): error: identifier "a" is undefined

quiptools.cu(39): error: name followed by "::" must be a class or namespace name

quiptools.cu(39): error: type name is not allowed

quiptools.cu(39): error: name followed by "::" must be a class or namespace name

quiptools.cu(39): error: identifier "b" is undefined

quiptools.cu(40): error: name followed by "::" must be a class or namespace name

quiptools.cu(40): error: type name is not allowed

quiptools.cu(40): error: identifier "c" is undefined

quiptools.cu(41): error: identifier "fill_fragment" is undefined

quiptools.cu(50): error: identifier "load_matrix_sync" is undefined

quiptools.cu(52): error: identifier "mma_sync" is undefined

quiptools.cu(55): error: name followed by "::" must be a class or namespace name

quiptools.cu(55): error: identifier "store_matrix_sync" is undefined

quiptools.cu(110): error: name followed by "::" must be a class or namespace name

quiptools.cu(110): error: type name is not allowed

quiptools.cu(110): error: name followed by "::" must be a class or namespace name

quiptools.cu(110): error: identifier "a" is undefined

quiptools.cu(111): error: name followed by "::" must be a class or namespace name

quiptools.cu(111): error: type name is not allowed

quiptools.cu(111): error: name followed by "::" must be a class or namespace name

quiptools.cu(111): error: identifier "b" is undefined

quiptools.cu(112): error: name followed by "::" must be a class or namespace name

quiptools.cu(112): error: type name is not allowed

quiptools.cu(112): error: identifier "c0" is undefined

quiptools.cu(113): error: identifier "fill_fragment" is undefined

quiptools.cu(115): error: name followed by "::" must be a class or namespace name

quiptools.cu(115): error: type name is not allowed

quiptools.cu(115): error: identifier "c1" is undefined

quiptools.cu(125): error: identifier "load_matrix_sync" is undefined

quiptools.cu(128): error: identifier "mma_sync" is undefined

quiptools.cu(134): error: name followed by "::" must be a class or namespace name

quiptools.cu(134): error: identifier "store_matrix_sync" is undefined

quiptools.cu(135): error: name followed by "::" must be a class or namespace name

quiptools.cu(189): error: name followed by "::" must be a class or namespace name

quiptools.cu(189): error: type name is not allowed

quiptools.cu(189): error: name followed by "::" must be a class or namespace name

quiptools.cu(189): error: identifier "a" is undefined

quiptools.cu(190): error: name followed by "::" must be a class or namespace name

quiptools.cu(190): error: type name is not allowed

quiptools.cu(190): error: name followed by "::" must be a class or namespace name

quiptools.cu(190): error: identifier "b" is undefined

quiptools.cu(191): error: name followed by "::" must be a class or namespace name

quiptools.cu(191): error: type name is not allowed

quiptools.cu(191): error: identifier "c0" is undefined

quiptools.cu(192): error: identifier "fill_fragment" is undefined

quiptools.cu(194): error: name followed by "::" must be a class or namespace name

quiptools.cu(194): error: type name is not allowed

quiptools.cu(194): error: identifier "c1" is undefined

quiptools.cu(197): error: name followed by "::" must be a class or namespace name

quiptools.cu(197): error: type name is not allowed

quiptools.cu(197): error: identifier "c2" is undefined

quiptools.cu(200): error: name followed by "::" must be a class or namespace name

quiptools.cu(200): error: type name is not allowed

quiptools.cu(200): error: identifier "c3" is undefined

quiptools.cu(210): error: identifier "load_matrix_sync" is undefined

quiptools.cu(213): error: identifier "mma_sync" is undefined

quiptools.cu(225): error: name followed by "::" must be a class or namespace name

quiptools.cu(225): error: identifier "store_matrix_sync" is undefined

quiptools.cu(226): error: name followed by "::" must be a class or namespace name

quiptools.cu(227): error: name followed by "::" must be a class or namespace name

quiptools.cu(228): error: name followed by "::" must be a class or namespace name

65 errors detected in the compilation of "quiptools.cu".
/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/torch/utils/cpp_extension.py:411: UserWarning: Attempted to use ninja as the BuildExtension backend but we could not find ninja.. Falling back to using the slow distutils backend.
  warnings.warn(msg.format('we could not find ninja.'))
/home/jc3464/anaconda3/envs/smoothquant/lib/python3.8/site-packages/torch/utils/cpp_extension.py:813: UserWarning: The detected CUDA version (11.2) has a minor version mismatch with the version that was used to compile PyTorch (11.3). Most likely this shouldn't be a problem.
  warnings.warn(CUDA_MISMATCH_WARN.format(cuda_str_version, torch.version.cuda))
error: command '/usr/local/cuda/bin/nvcc' failed with exit code 1