Code Monkey home page Code Monkey logo

deepwalk-dgl's People

Contributors

shawxh avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

deepwalk-dgl's Issues

Issue with multiple process only CPU!!

I am facing an issue when trying to run multiple processes with only the CPU setup. But there is no issue when running with single process. It is an Assertion Error: "Torch not compiled with CUDA enabled". Is there a way to run multiple processes with the only CPU. Below is the error detail.

Unhandled exception in thread started by <function thread_wrapped_func..decorated_function.._queue_result at 0x0000027DB407C048>
Traceback (most recent call last):
File "C:\Users\ajay madhavan\Documents\GE project\DeepWalk-dgl-master\DeepWalk-dgl-master\deepwalk-final.py", line 30, in queue_result
res = func(*args, **kwargs)
File "C:\Users\ajay madhavan\Documents\GE project\DeepWalk-dgl-master\DeepWalk-dgl-master\deepwalk-final.py", line 125, in fast_train_sp
trainer.emb_model.set_device(gpu_id)
File "C:\Users\ajay madhavan\Documents\GE project\DeepWalk-dgl-master\DeepWalk-dgl-master\model.py", line 146, in set_device
self.lookup_table = self.lookup_table.to(self.device)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\cuda_init
.py", line 149, in _lazy_init
check_driver()
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\cuda_init
.py", line 47, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\ajay madhavan\Documents\GE project\DeepWalk-dgl-master\DeepWalk-dgl-master\deepwalk-final.py", line 33, in _queue_result
trace = traceback.format_exc()
NameError: name 'traceback' is not defined
Using backend: pytorch
num batchs: 5 in subprocess [1]
The device is cuda:1
Unhandled exception in thread started by <function thread_wrapped_func..decorated_function.._queue_result at 0x000002151C2AC048>
Traceback (most recent call last):
File "C:\Users\ajay madhavan\Documents\GE project\DeepWalk-dgl-master\DeepWalk-dgl-master\deepwalk-final.py", line 30, in queue_result
res = func(*args, **kwargs)
File "C:\Users\ajay madhavan\Documents\GE project\DeepWalk-dgl-master\DeepWalk-dgl-master\deepwalk-final.py", line 125, in fast_train_sp
trainer.emb_model.set_device(gpu_id)
File "C:\Users\ajay madhavan\Documents\GE project\DeepWalk-dgl-master\DeepWalk-dgl-master\model.py", line 146, in set_device
self.lookup_table = self.lookup_table.to(self.device)
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\cuda_init
.py", line 149, in _lazy_init
check_driver()
File "C:\ProgramData\Anaconda3\lib\site-packages\torch\cuda_init
.py", line 47, in _check_driver
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\ajay madhavan\Documents\GE project\DeepWalk-dgl-master\DeepWalk-dgl-master\deepwalk-final.py", line 33, in _queue_result
trace = traceback.format_exc()
NameError: name 'traceback' is not defined

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.