gorgonia / gorgonia

Gorgonia is a library that helps facilitate machine learning in Go.

Home Page:https://gorgonia.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed to run on colab

wailovet opened this issue · comments

I try to compile convnet_cuda in colab (gpu)
error:

/root/go/src/gorgonia.org/gorgonia/cuda.go:141:23: v.Pointer undefined (type Value has no field or method Pointer)
/root/go/src/gorgonia.org/gorgonia/cuda.go:186:48: v.Pointer undefined (type Value has no field or method Pointer)
/root/go/src/gorgonia.org/gorgonia/cuda.go:199:24: retVal.Pointer undefined (type Value has no field or method Pointer)
/root/go/src/gorgonia.org/gorgonia/vm_tape_cuda.go:190:45: dv.d.Pointer undefined (type Value has no field or method Pointer)
/root/go/src/gorgonia.org/gorgonia/vm_tape_cuda.go:197:25: dv.d.Pointer undefined (type Value has no field or method Pointer)
/root/go/src/gorgonia.org/gorgonia/vm_tape_cuda.go:227:50: from.Pointer undefined (type Value has no field or method Pointer)
/root/go/src/gorgonia.org/gorgonia/vm_tape_cuda.go:232:20: to.Pointer undefined (type Value has no field or method Pointer)

cudatest:

CUDA version: 11020
CUDA devices: 1

Device 0
========
Name      :	"Tesla T4"
Clock Rate:	1590000 kHz
Memory    :	15843721216 bytes
Compute   : 	7.5

go version: 1.16.4

https://colab.research.google.com/drive/1TM2mjQvvO0gS5JFpU_NJPyR6p473LCLr?usp=sharing

Wow. I didn't realize that this could work on Colab. Let me look into it

Wow. I didn't realize that this could work on Colab. Let me look into it

Thank you.I don't have NVIDIA equipment,it's very depressing.

@chewxy Hello~ Is there any progress on this issue?

This seems to be a versioning issue. Will send a fix in a bit