Created
November 24, 2019 03:14
-
-
Save eely22/2498e666ac140d263e1688f5d1787582 to your computer and use it in GitHub Desktop.
pytorch audio install issue
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Sending build context to Docker daemon 668.7kB | |
| Step 1/21 : FROM pytorch/pytorch:1.1.0-cuda10.0-cudnn7.5-devel | |
| ---> 1be771bff6d1 | |
| Step 2/21 : WORKDIR /workspace/ | |
| ---> Using cache | |
| ---> ae7d466850b7 | |
| Step 3/21 : RUN apt-get update -y | |
| ---> Using cache | |
| ---> c3d261d70ab6 | |
| Step 4/21 : RUN apt-get install -y git curl ca-certificates bzip2 cmake tree htop bmon iotop sox libsox-dev libsox-fmt-all vim | |
| ---> Using cache | |
| ---> aa3b1318aa39 | |
| Step 5/21 : RUN pip install cython visdom cffi tensorboardX wget | |
| ---> Using cache | |
| ---> 146f1580f43d | |
| Step 6/21 : ENV CUDA_HOME=/usr/local/cuda | |
| ---> Using cache | |
| ---> e9b68ef15c27 | |
| Step 7/21 : RUN git clone https://github.com/SeanNaren/warp-ctc.git | |
| ---> Using cache | |
| ---> 1655ebb2e711 | |
| Step 8/21 : RUN cd warp-ctc; mkdir build; cd build; cmake ..; make | |
| ---> Using cache | |
| ---> 74319a2d6718 | |
| Step 9/21 : RUN cd warp-ctc; cd pytorch_binding; python setup.py install | |
| ---> Using cache | |
| ---> df7c3fc31b8d | |
| Step 10/21 : RUN git clone https://github.com/pytorch/audio.git | |
| ---> Using cache | |
| ---> d7b2538fe7b7 | |
| Step 11/21 : RUN cd audio; NO_CUDA=1 python setup.py install | |
| ---> Running in 21374a03e1ee | |
| No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda' | |
| DEBUG: False IS_WHEEL: False IS_CONDA: False | |
| -- Building version 0.4.0a0+c90c18d | |
| running install | |
| running bdist_egg | |
| running egg_info | |
| creating torchaudio.egg-info | |
| writing torchaudio.egg-info/PKG-INFO | |
| writing dependency_links to torchaudio.egg-info/dependency_links.txt | |
| writing requirements to torchaudio.egg-info/requires.txt | |
| writing top-level names to torchaudio.egg-info/top_level.txt | |
| writing manifest file 'torchaudio.egg-info/SOURCES.txt' | |
| reading manifest file 'torchaudio.egg-info/SOURCES.txt' | |
| writing manifest file 'torchaudio.egg-info/SOURCES.txt' | |
| installing library code to build/bdist.linux-x86_64/egg | |
| running install_lib | |
| running build_py | |
| creating build | |
| creating build/lib.linux-x86_64-3.6 | |
| creating build/lib.linux-x86_64-3.6/torchaudio | |
| copying torchaudio/transforms.py -> build/lib.linux-x86_64-3.6/torchaudio | |
| copying torchaudio/common_utils.py -> build/lib.linux-x86_64-3.6/torchaudio | |
| copying torchaudio/sox_effects.py -> build/lib.linux-x86_64-3.6/torchaudio | |
| copying torchaudio/__init__.py -> build/lib.linux-x86_64-3.6/torchaudio | |
| copying torchaudio/functional.py -> build/lib.linux-x86_64-3.6/torchaudio | |
| copying torchaudio/kaldi_io.py -> build/lib.linux-x86_64-3.6/torchaudio | |
| copying torchaudio/version.py -> build/lib.linux-x86_64-3.6/torchaudio | |
| creating build/lib.linux-x86_64-3.6/torchaudio/compliance | |
| copying torchaudio/compliance/__init__.py -> build/lib.linux-x86_64-3.6/torchaudio/compliance | |
| copying torchaudio/compliance/kaldi.py -> build/lib.linux-x86_64-3.6/torchaudio/compliance | |
| creating build/lib.linux-x86_64-3.6/torchaudio/datasets | |
| copying torchaudio/datasets/yesno.py -> build/lib.linux-x86_64-3.6/torchaudio/datasets | |
| copying torchaudio/datasets/commonvoice.py -> build/lib.linux-x86_64-3.6/torchaudio/datasets | |
| copying torchaudio/datasets/__init__.py -> build/lib.linux-x86_64-3.6/torchaudio/datasets | |
| copying torchaudio/datasets/utils.py -> build/lib.linux-x86_64-3.6/torchaudio/datasets | |
| copying torchaudio/datasets/librispeech.py -> build/lib.linux-x86_64-3.6/torchaudio/datasets | |
| copying torchaudio/datasets/vctk.py -> build/lib.linux-x86_64-3.6/torchaudio/datasets | |
| running build_ext | |
| building '_torch_sox' extension | |
| creating build/temp.linux-x86_64-3.6 | |
| creating build/temp.linux-x86_64-3.6/torchaudio | |
| gcc -pthread -B /opt/conda/compiler_compat -Wl,--sysroot=/ -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC -I/opt/conda/lib/python3.6/site-packages/torch/include -I/opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include -I/opt/conda/lib/python3.6/site-packages/torch/include/TH -I/opt/conda/lib/python3.6/site-packages/torch/include/THC -I/opt/conda/include/python3.6m -c torchaudio/torch_sox.cpp -o build/temp.linux-x86_64-3.6/torchaudio/torch_sox.o -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_torch_sox -D_GLIBCXX_USE_CXX11_ABI=0 -std=c++11 | |
| cc1plus: warning: command line option '-Wstrict-prototypes' is valid for C/ObjC but not for C++ | |
| In file included from /opt/conda/lib/python3.6/site-packages/torch/include/ATen/ATen.h:9:0, | |
| from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/types.h:3, | |
| from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader_options.h:4, | |
| from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/base.h:3, | |
| from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader/stateful.h:3, | |
| from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data/dataloader.h:3, | |
| from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/data.h:3, | |
| from /opt/conda/lib/python3.6/site-packages/torch/include/torch/csrc/api/include/torch/all.h:4, | |
| from /opt/conda/lib/python3.6/site-packages/torch/include/torch/extension.h:4, | |
| from torchaudio/torch_sox.cpp:1: | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:40:42: error: expected primary-expression before '>' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:40:44: error: expected primary-expression before ')' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:40:42: error: expected primary-expression before '>' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:40:44: error: expected primary-expression before ')' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:40:42: error: expected primary-expression before '>' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:40:44: error: expected primary-expression before ')' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:40:42: error: expected primary-expression before '>' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:40:44: error: expected primary-expression before ')' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:40:42: error: expected primary-expression before '>' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:40:44: error: expected primary-expression before ')' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:40:42: error: expected primary-expression before '>' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:40:44: error: expected primary-expression before ')' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:40:42: error: expected primary-expression before '>' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:40:44: error: expected primary-expression before ')' token | |
| auto* data = tensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:39:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(tensor.scalar_type(), "write_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:67:42: error: expected primary-expression before '>' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:67:44: error: expected primary-expression before ')' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:67:42: error: expected primary-expression before '>' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:67:44: error: expected primary-expression before ')' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:67:42: error: expected primary-expression before '>' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:67:44: error: expected primary-expression before ')' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:67:42: error: expected primary-expression before '>' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:67:44: error: expected primary-expression before ')' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:67:42: error: expected primary-expression before '>' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:67:44: error: expected primary-expression before ')' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:67:42: error: expected primary-expression before '>' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:67:44: error: expected primary-expression before ')' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:67:42: error: expected primary-expression before '>' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:67:44: error: expected primary-expression before ')' token | |
| auto* data = output.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:66:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(output.scalar_type(), "read_audio_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:373:43: error: expected primary-expression before '>' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:373:45: error: expected primary-expression before ')' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:373:43: error: expected primary-expression before '>' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:373:45: error: expected primary-expression before ')' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:373:43: error: expected primary-expression before '>' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:373:45: error: expected primary-expression before ')' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:373:43: error: expected primary-expression before '>' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:373:45: error: expected primary-expression before ')' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:373:43: error: expected primary-expression before '>' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:373:45: error: expected primary-expression before ')' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:373:43: error: expected primary-expression before '>' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:373:45: error: expected primary-expression before ')' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp: In lambda function: | |
| torchaudio/torch_sox.cpp:373:43: error: expected primary-expression before '>' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| torchaudio/torch_sox.cpp:373:45: error: expected primary-expression before ')' token | |
| auto* data = otensor.data_ptr<scalar_t>(); | |
| ^ | |
| /opt/conda/lib/python3.6/site-packages/torch/include/ATen/Dispatch.h:11:12: note: in definition of macro 'AT_PRIVATE_CASE_TYPE' | |
| return __VA_ARGS__(); \ | |
| ^ | |
| torchaudio/torch_sox.cpp:372:3: note: in expansion of macro 'AT_DISPATCH_ALL_TYPES' | |
| AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] { | |
| ^ | |
| error: command 'gcc' failed with exit status 1 | |
| The command '/bin/sh -c cd audio; NO_CUDA=1 python setup.py install' returned a non-zero code: 1 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment