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

vtree_learner_tests fails when GPU avaiable #85

Closed
khosravipasha opened this issue Aug 29, 2021 · 1 comment
Closed

vtree_learner_tests fails when GPU avaiable #85

khosravipasha opened this issue Aug 29, 2021 · 1 comment

Comments

@khosravipasha
Copy link
Contributor

For some reason vtree_learner_test fails when CUDA is available even though the code does not seem to use GPU in that case.
The failure happens for the ":topdown" option.

$ julia --project=test test/structurelearner/vtree_learner_tests.jl 
prob circuit structure learn tests: Test Failed at C:\Users\Pasha\.julia\dev\ProbabilisticCircuits\test\structurelearner\vtree_learner_tests.jl:10
  Expression: variable(v) == partition
   Evaluated: 0x00000007 == 2
Stacktrace:

It does not fail on a machine with CUDA not enabled, but in the test the data is always on CPU and don't see anywhere that GPU would be used.

@khosravipasha khosravipasha changed the title vtree_learner fails when GPU avaiable vtree_learner_tests fails when GPU avaiable Aug 29, 2021
@khosravipasha
Copy link
Contributor Author

seems to be fine now

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

1 participant