I think my OpenCL driver may have been too old.
I am installing the 2.0 driver now.
LCZero is using my cores, not my GPU.
Moderators: hgm, Rebel, chrisw
-
- Posts: 12606
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: LCZero is using my cores, not my GPU.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 1243
- Joined: Sat Dec 13, 2008 7:00 pm
Re: LCZero is using my cores, not my GPU.
Dann, what GPU do you actually have?Dann Corbit wrote:I think my OpenCL driver may have been too old.
I am installing the 2.0 driver now.
For NVIDIA and AMD cards the OpenCL support is included in the regular video driver. If you only have a built-in Intel GPU (which is inside the CPU), it is better to use the CPU directly.
-
- Posts: 1243
- Joined: Sat Dec 13, 2008 7:00 pm
Re: LCZero is using my cores, not my GPU.
Leela needs the GPU memory to store the network input, weights and intermediate results. But this isn't all that much memory - a few hundred MB.Jhoravi wrote: While running in GPU does LCZero use the GPU memory too or just the system RAM?
The system RAM is used to store the search tree and result cache.
-
- Posts: 12606
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: LCZero is using my cores, not my GPU.
AMD Radeon 6950.Gian-Carlo Pascutto wrote:Dann, what GPU do you actually have?Dann Corbit wrote:I think my OpenCL driver may have been too old.
I am installing the 2.0 driver now.
For NVIDIA and AMD cards the OpenCL support is included in the regular video driver. If you only have a built-in Intel GPU (which is inside the CPU), it is better to use the CPU directly.
2 TFlops
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 1243
- Joined: Sat Dec 13, 2008 7:00 pm
Re: LCZero is using my cores, not my GPU.
It appears due to a gross oversight on AMD's end, OpenCL support is missing from the final drivers for these cards: https://community.amd.com/thread/192320Dann Corbit wrote: AMD Radeon 6950.
2 TFlops
This would explain why it's not being detected.
-
- Posts: 12606
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: LCZero is using my cores, not my GPU.
I was installing OpenCL 2.0 drivers when I left this morning. If it turns out that the install does not work, I found an end-around:Gian-Carlo Pascutto wrote:It appears due to a gross oversight on AMD's end, OpenCL support is missing from the final drivers for these cards: https://community.amd.com/thread/192320Dann Corbit wrote: AMD Radeon 6950.
2 TFlops
This would explain why it's not being detected.
https://forums.guru3d.com/threads/non-g ... ost5277469
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 12606
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: LCZero is using my cores, not my GPU.
Some AMD guy said it is not a defect and it is not an oversight. The cards are no longer supported.
The cards used to work on OpenCL. They sent an update that broke it.
No wonder Nvidia takes these guys out behind the woodshed and beats the stuffings out of them.
The cards used to work on OpenCL. They sent an update that broke it.
No wonder Nvidia takes these guys out behind the woodshed and beats the stuffings out of them.
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
-
- Posts: 12038
- Joined: Mon Jul 07, 2008 10:50 pm
Re: LCZero is using my cores, not my GPU.
https://github.com/gcp/leela-zeroGian-Carlo Pascutto wrote:Dann, what GPU do you actually have?Dann Corbit wrote:I think my OpenCL driver may have been too old.
I am installing the 2.0 driver now.
For NVIDIA and AMD cards the OpenCL support is included in the regular video driver. If you only have a built-in Intel GPU (which is inside the CPU), it is better to use the CPU directly.
great contribution that you are making. thanks.
but may I ask why your program does not seem to be making as much rapid progress as lczero. do you have less people running it.?
-
- Posts: 2071
- Joined: Thu May 04, 2006 3:40 am
- Location: Dune
Re: LCZero is using my cores, not my GPU.
The Deepmind team had access to much superior hardware.duncan wrote:https://github.com/gcp/leela-zeroGian-Carlo Pascutto wrote:Dann, what GPU do you actually have?Dann Corbit wrote:I think my OpenCL driver may have been too old.
I am installing the 2.0 driver now.
For NVIDIA and AMD cards the OpenCL support is included in the regular video driver. If you only have a built-in Intel GPU (which is inside the CPU), it is better to use the CPU directly.
great contribution that you are making. thanks.
but may I ask why your program does not seem to be making as much rapid progress as lczero. do you have less people running it.?
-
- Posts: 12606
- Joined: Wed Mar 08, 2006 8:57 pm
- Location: Redmond, WA USA
Re: LCZero is using my cores, not my GPU.
The last line of the report was this:smatovic wrote:Is there a command line flag or something to tell it to use the GPU?You can run lc0 with --tune-only,Code: Select all
--gpu arg ID of the OpenCL device(s) to use (disables autodetection).
that will output a list of your OpenCL devices with OpenCL IDs,
then you can select the device with --gpu arg and run --tune-only and --full-tuner,
that will try a thousands of configuration options and create a config file for your device.
e.g.--Code: Select all
lczero --tune-only lczero --gpu 0 --tune-only --full-tuner
Srdja
(1269/5310) KWG=32 KWI=2 MDIMA=8 MDIMC=8 MWG=64 NDIMB=8 NDIMC=8 NWG=16 SA=0 SB=0 STRM=1 STRN=1 VWM=8 VWN=2 0.7962 ms (10.5 GFLOPS)
How do I start up with those settings?
Taking ideas is not a vice, it is a virtue. We have another word for this. It is called learning.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.
But sharing ideas is an even greater virtue. We have another word for this. It is called teaching.