distro icon indicating copy to clipboard operation
distro copied to clipboard

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

Open derek285 opened this issue 5 years ago • 2 comments

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]

derek285 avatar Nov 18 '19 02:11 derek285

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

nagadomi avatar Nov 18 '19 13:11 nagadomi

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

soga thx

derek285 avatar Nov 19 '19 02:11 derek285