Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
derek285 opened this issue Nov 18, 2019 · 2 comments

Comments

@derek285
Copy link

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
Copy link
Owner

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

@derek285
Copy link
Author

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

soga thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants