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

LSTMAD: RuntimeError: Creating MTGP constants failed. at /pytorch/aten/src/THC/THCTensorRandom.cu:34 #91

Closed
WGierke opened this issue Jun 21, 2018 · 1 comment
Labels
bug Something isn't working cuda_deployment

Comments

@WGierke
Copy link
Contributor

WGierke commented Jun 21, 2018

Traceback (most recent call last):
  File "main.py", line 123, in <module>
    main()
  File "main.py", line 17, in main
    run_experiments()
  File "main.py", line 93, in run_experiments
    detectors = [RecurrentEBM(num_epochs=15), LSTMAD(), Donut(), LSTM_Enc_Dec(num_epochs=15),
  File "/repo/src/algorithms/lstm_ad.py", line 53, in __init__
    torch.manual_seed(0)
  File "/usr/local/lib/python3.6/dist-packages/torch/random.py", line 33, in manual_seed
    torch.cuda.manual_seed_all(seed)
  File "/usr/local/lib/python3.6/dist-packages/torch/cuda/random.py", line 86, in manual_seed_all
    _lazy_call(lambda: _C._cuda_manualSeedAll(seed))
  File "/usr/local/lib/python3.6/dist-packages/torch/cuda/__init__.py", line 121, in _lazy_call
    callable()
  File "/usr/local/lib/python3.6/dist-packages/torch/cuda/random.py", line 86, in <lambda>
    _lazy_call(lambda: _C._cuda_manualSeedAll(seed))
RuntimeError: Creating MTGP constants failed. at /pytorch/aten/src/THC/THCTensorRandom.cu:34
@WGierke WGierke added the bug Something isn't working label Jun 21, 2018
@WGierke WGierke changed the title RuntimeError: Creating MTGP constants failed. at /pytorch/aten/src/THC/THCTensorRandom.cu:34 LSTMAD: RuntimeError: Creating MTGP constants failed. at /pytorch/aten/src/THC/THCTensorRandom.cu:34 Jun 21, 2018
WGierke pushed a commit that referenced this issue Jun 28, 2018
* adds second training set to train params of gaussian dist via spliting

* adds cuda support for all algorithms

* Run LSTMAD, Donut and DAGMM with NNAutoencoder on CUDA (#105)

* Ignore device placement on ReEBM as well

* Adapt LSTMED

* Sort detector execution by framework

* Closes #89 #91 #92 #93 #94 #95 #96
@WGierke
Copy link
Contributor Author

WGierke commented Jun 28, 2018

Closed via d5cced5

@WGierke WGierke closed this as completed Jun 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuda_deployment
Projects
None yet
Development

No branches or pull requests

1 participant