nagadomi / distro

Unofficial maintenance repository of Torch7. It supports CUDA10.1, Volta, Turing, Docker https://hub.docker.com/r/nagadomi/torch7
BSD 3-Clause "New" or "Revised" License
201 stars 57 forks source link

multinomial_alias Function call failed. Tensor.lua:462: bad argument #1 to 'set' #3

Open derek285 opened 4 years ago

derek285 commented 4 years ago

I build on CUDA10.1 does this error matter? thx when I run ./test.sh 186/186 multinomial_with_replacement ..................... [PASS]

Completed 10292116 asserts in 186 tests with 0 failures and 1 error

multinomial_alias Function call failed ...ce/opensrc/distro/install/share/lua/5.1/torch/Tensor.lua:462: bad argument #1 to 'set' (expecting number or Tensor or Storage) stack traceback: [C]: in function 'set' .../distro/install/share/lua/5.1/torch/Tensor.lua:462: in function 'view' .../distro/install/share/lua/5.1/cutorch/test.lua:3264: in function 'v' .../distro/install/share/lua/5.1/cutorch/test.lua:4916: in function <.../distro/install/share/lua/5.1/cutorch/test.lua:4914> [C]: in function 'xpcall' .../distro/install/share/lua/5.1/torch/Tester.lua:477: in function '_pcall' .../distro/install/share/lua/5.1/torch/Tester.lua:436: in function '_run' .../distro/install/share/lua/5.1/torch/Tester.lua:355: in function 'run' ...distro/install/share/lua/5.1/cutorch/test.lua:4934: in function 'test' [string "cutorch.test()"]:1: in main chunk [C]: in function 'pcall' .../distro/install/lib/luarocks/rocks/trepl/scm-1/bin/th:136: in main chunk [C]: at 0x55fb80499570


.../distro/install/share/lua/5.1/torch/Tester.lua:363: An error was found while running tests!
seed: 12433199
Running 186 tests 1/186 SpatialDilatedConvolution_backward_batch .............. [PASS]

nagadomi commented 4 years ago

The torch's test has some problems before forking, and I have only test the functions I use.

derek285 commented 4 years ago

The torch's test has some problems before forking, and I have only test the functions I use.

soga thx