graph4nlp icon indicating copy to clipboard operation
graph4nlp copied to clipboard

Support for CUDA 12

Open ruze00 opened this issue 1 year ago • 2 comments

CUDA 12 has been out for a while now and most people are using PyTorch with 12.1. This library should be upgraded if it is still being used.

ruze00 avatar Apr 18 '24 03:04 ruze00

My cuda version is 12.1, and I can run it on this project,but when install dgl,there is a erro:AttributeError: module 'dgl.function' has no attribute 'copy_src',The solution is to replace the copy_src(src, out) function with copy_u(u, out)

Chenxuanqi666 avatar Jun 15 '24 07:06 Chenxuanqi666

How did you and what version of dgl did you install?

basuarya avatar Oct 28 '24 19:10 basuarya