facebookresearch / WavAugment

A library for speech data augmentation in time-domain
MIT License
640 stars 57 forks source link

expected primary-expression before ‘)’ token #9

Closed mpc001 closed 4 years ago

mpc001 commented 4 years ago

Hello,

Issue description

Errors including augment/augment.cpp:87:47: error: expected primary-expression before ‘)’ token and augment/augment.cpp:102:47: error: expected primary-expression before ‘)’ token are raised.

Steps to reproduce the issue

pip install git+https://github.com/facebookresearch/WavAugment.git

Details

Collecting git+https://github.com/facebookresearch/WavAugment.git
  Cloning https://github.com/facebookresearch/WavAugment.git to /tmp/pip-req-build-dcqem2tm
  Running command git clone -q https://github.com/facebookresearch/WavAugment.git /tmp/pip-req-build-dcqem2tm
Requirement already satisfied: torch in ./venv/lib/python3.7/site-packages (from augment==0.2) (1.0.1.post2)
Building wheels for collected packages: augment
  Building wheel for augment (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /data/audio_spec/tools/venv/bin/python -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-dcqem2tm/setup.py'"'"'; __file__='"'"'/tmp/pip-req-build-dcqem2tm/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /tmp/pip-wheel-f8y481bc
       cwd: /tmp/pip-req-build-dcqem2tm/
  Complete output (314 lines):
  running bdist_wheel
  running build
  running build_py
  creating build
  creating build/lib.linux-x86_64-3.7
  creating build/lib.linux-x86_64-3.7/augment
  copying augment/effects.py -> build/lib.linux-x86_64-3.7/augment
  copying augment/__init__.py -> build/lib.linux-x86_64-3.7/augment
  warning: build_py: byte-compiling is disabled, skipping.

  running build_ext
  building 'augment_cpp' extension
  creating build/temp.linux-x86_64-3.7
  creating build/temp.linux-x86_64-3.7/augment
  gcc -pthread -B /data/audio_spec/tools/venv/compiler_compat -Wl,--sysroot=/ -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/vol/cuda/10.0.130/include -fPIC -I/data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include -I/data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include -I/data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/TH -I/data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/THC -I/data/audio_spec/tools/venv/include/python3.7m -c augment/augment.cpp -o build/temp.linux-x86_64-3.7/augment/augment.o -O3 -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=augment_cpp -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 augment/augment.cpp:18:0:
  augment/speech_augment.h: In member function ‘void cpp_sox::EffectChain::apply(const std::vector<int>&, sox_signalinfo_t, sox_encodinginfo_t, std::vector<int>&, sox_signalinfo_t&, sox_encodinginfo_t&)’:
  augment/speech_augment.h:122:19: warning: unused variable ‘samples_read’ [-Wunused-variable]
       const int64_t samples_read = sox_read(read_out, dst.data(), output_length);
                     ^
  augment/speech_augment.h: In member function ‘cpp_sox::EffectChain& cpp_sox::EffectChain::add_effect(const string&, const std::vector<std::basic_string<char> >&)’:
  augment/speech_augment.h:154:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
         for (auto i = 0; i < num_opts; ++i) {
                            ^
  In file included from /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/ATen.h:9:0,
                   from /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include/torch/types.h:3,
                   from /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include/torch/data/dataloader_options.h:4,
                   from /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include/torch/data/dataloader.h:3,
                   from /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include/torch/data.h:3,
                   from /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/torch/csrc/api/include/torch/all.h:4,
                   from /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/torch/extension.h:4,
                   from augment/augment.cpp:8:
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:86:46: error: invalid initialization of reference of type ‘const at::Type&’ from expression of type ‘c10::ScalarType’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
                                                ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:70:32: note: in definition of macro ‘AT_DISPATCH_ALL_TYPES’
       const at::Type& the_type = TYPE;                                         \
                                  ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:87:45: error: expected primary-expression before ‘>’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp:87:47: error: expected primary-expression before ‘)’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:87:45: error: expected primary-expression before ‘>’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp:87:47: error: expected primary-expression before ‘)’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:87:45: error: expected primary-expression before ‘>’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp:87:47: error: expected primary-expression before ‘)’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:87:45: error: expected primary-expression before ‘>’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp:87:47: error: expected primary-expression before ‘)’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:87:45: error: expected primary-expression before ‘>’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp:87:47: error: expected primary-expression before ‘)’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:87:45: error: expected primary-expression before ‘>’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp:87:47: error: expected primary-expression before ‘)’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:87:45: error: expected primary-expression before ‘>’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp:87:47: error: expected primary-expression before ‘)’ token
         auto *data = itensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:86:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(itensor.scalar_type(), "write_audio_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:101:46: error: invalid initialization of reference of type ‘const at::Type&’ from expression of type ‘c10::ScalarType’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
                                                ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:70:32: note: in definition of macro ‘AT_DISPATCH_ALL_TYPES’
       const at::Type& the_type = TYPE;                                         \
                                  ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:102:45: error: expected primary-expression before ‘>’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp:102:47: error: expected primary-expression before ‘)’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:102:45: error: expected primary-expression before ‘>’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp:102:47: error: expected primary-expression before ‘)’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:102:45: error: expected primary-expression before ‘>’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp:102:47: error: expected primary-expression before ‘)’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:102:45: error: expected primary-expression before ‘>’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp:102:47: error: expected primary-expression before ‘)’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:102:45: error: expected primary-expression before ‘>’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp:102:47: error: expected primary-expression before ‘)’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:102:45: error: expected primary-expression before ‘>’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp:102:47: error: expected primary-expression before ‘)’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp: In lambda function:
  augment/augment.cpp:102:45: error: expected primary-expression before ‘>’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                               ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: note: in expansion of macro ‘AT_DISPATCH_ALL_TYPES’
       AT_DISPATCH_ALL_TYPES(otensor.scalar_type(), "effects_buffer", [&] {
       ^
  augment/augment.cpp:102:47: error: expected primary-expression before ‘)’ token
         auto *data = otensor.data_ptr<scalar_t>();
                                                 ^
  /data/audio_spec/tools/venv/lib/python3.7/site-packages/torch/lib/include/ATen/Dispatch.h:10:12: note: in definition of macro ‘AT_PRIVATE_CASE_TYPE’
       return __VA_ARGS__();                          \
              ^
  augment/augment.cpp:101:5: 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
  ----------------------------------------
  ERROR: Failed building wheel for augment

Additional Details

Thanks for the help! @eugene-kharitonov

Btw, thanks for the amazing repository.

eugene-kharitonov commented 4 years ago

Hey, thanks for reporting! I'll try to reproduce, can you share the pytorch version you have?

mpc001 commented 4 years ago

hi, sure, the pytorch version is 1.0.1.post2 and the python version is 3.7.3.

eugene-kharitonov commented 4 years ago

Hello, Sorry for a bit of delay. I've double checked and it seems that it indeed has to do with the pytorch version. The used API comes from pytorch v1.4 (the current stable is 1.6).

Is it a possibility to use a fresher pytorch?

mpc001 commented 4 years ago

Hi, Sorry for a late reply! This works for me. Many thanks for your help!