Not logged inCSS-Forum
Forum CSS-Online Help Search Login
CSS-Shop Impressum Datenschutz
Up Topic Hauptforen / CSS-Forum / Metal backend for Lc0
- - By Lothar Jung Date 2022-08-25 14:31 Upvotes 1
…ist fertig.

https://github.com/LeelaChessZero/lc0/pull/1693

Freie Bahn für Siegfried das backend zu testen!!

Läuft auf T78 Netzen.
Parent - By Max Siegfried Date 2022-08-29 23:13
Lothar Jung schrieb:

…ist fertig.

<a class='ura' href='https://github.com/LeelaChessZero/lc0/pull/1693'>https://github.com/LeelaChessZero/lc0/pull/1693</a>

Freie Bahn für Siegfried das backend zu testen!!

Läuft auf T78 Netzen.


Das kann ich gerne machen sobald ich demnächst etwas Zeit finde.
Soll ich nur einen Benchmark machen, welchen genau? Oder auch die Stockfish Test Suite 2021 laufen lassen?
Soll ich Homebrew, brew install lc0 verwenden oder die v0.29.0-rc0 oder welche genau? https://github.com/LeelaChessZero/lc0/releases
Welches T78 oder T80 Netz soll ich testen?

Wie genau kompilierst du LC0? Es ist schon lange her seit dem ich es selbst gemacht habe.
Machst du es über das Terminal wie bei Stockfish?
make clean
make -j profile-build COMP=clang ARCH=apple-silicon
./stockfish compiler
make strip
- By Lothar Jung Date 2022-08-25 16:18 Upvotes 1
Benchmarks:

Benchmark
`lc0 benchmark -w ./weights/703810 --backend=metal`

With autoreleasepool:
===========================
Total time (ms) : 342038
Nodes searched  : 616860
Nodes/second    : 1803

Without autoreleasepool:
===========================
Total time (ms) : 345335
Nodes searched  : 530779
Nodes/second    : 1537

---
OpenCL is much better
===========================
Total time (ms) : 343131
Nodes searched  : 1618334
Nodes/second    : 4716

Blas
===========================
Total time (ms) : 348162
Nodes searched  : 623787
Nodes/second    : 1792
- - By Lothar Jung Date 2022-10-14 10:25 Upvotes 1
Hier eine neue Version:

Attention policy and mish support has been added to metal backend. So if you have a Mac M1, you can now run T79, T80 and T81 on there. Encoder layers not yet supported, so T78 won't run. Working on that now.
https://github.com/LeelaChessZero/lc0/pull/1693
Parent - By Max Siegfried Date 2022-10-14 14:16
Lothar Jung schrieb:

Hier eine neue Version:

Attention policy and mish support has been added to metal backend. So if you have a Mac M1, you can now run T79, T80 and T81 on there. Encoder layers not yet supported, so T78 won't run. Working on that now.
<a class='ura' href='https://github.com/LeelaChessZero/lc0/pull/1693'>https://github.com/LeelaChessZero/lc0/pull/1693</a>


Das sind doch großartige Nachrichten.
Parent - - By Max Siegfried Date 2022-11-06 20:43
Lothar Jung schrieb:

Hier eine neue Version:

Attention policy and mish support has been added to metal backend. So if you have a Mac M1, you can now run T79, T80 and T81 on there. Encoder layers not yet supported, so T78 won't run. Working on that now.
<a class='ura' href='https://github.com/LeelaChessZero/lc0/pull/1693'>https://github.com/LeelaChessZero/lc0/pull/1693</a>


Welches große Netz sollte man für lange Analysen verwenden?
T78? T80?
Parent - By Lothar Jung Date 2022-11-07 09:04 Upvotes 1
Nur T80 läuft.
- By Lothar Jung Date 2022-10-15 20:55 Upvotes 1
Jetzt auch mit T78 Support:

Encoder layers now implemented in metal backend. So T78 can now run. But since I don't have a cuda GPU, here's a dump of `go nodes 1000` so others can help do a sanity check on the cuda backend.
```
```
- - By Lothar Jung Date 2022-11-06 15:14 Upvotes 1
Hier die Benchmarkwerte des gefixten Metalbackend:

After the fix:
T10 (11248) - opencl 615 nps, metal 859 nps
T75 (751175) - opencl 1489 nps, metal 1757 nps
T79 (792013) - opencl n/a, metal 1861 nps
T60 (610565) - opencl 136 nps, metal 131 nps
Parent - By Max Siegfried Date 2022-11-06 15:20
Lothar Jung schrieb:

Hier die Benchmarkwerte des gefixten Metalbackend:

After the fix:
T10 (11248) - opencl 615 nps, metal 859 nps
T75 (751175) - opencl 1489 nps, metal 1757 nps
T79 (792013) - opencl n/a, metal 1861 nps
T60 (610565) - opencl 136 nps, metal 131 nps


Ich sage es ja immer wieder, es geht nichts über ein gutes Stück Metal das Leistung bringt.
Parent - By Max Siegfried Date 2022-11-06 21:15
Lothar Jung schrieb:

Hier die Benchmarkwerte des gefixten Metalbackend:

After the fix:
T10 (11248) - opencl 615 nps, metal 859 nps
T75 (751175) - opencl 1489 nps, metal 1757 nps
T79 (792013) - opencl n/a, metal 1861 nps
T60 (610565) - opencl 136 nps, metal 131 nps


Würdest du beim MacBook Pro 16-Zoll M1 MAX bei der CPU Verwendung bleiben oder doch zur GPU mit 32 Kernen wechseln?
Up Topic Hauptforen / CSS-Forum / Metal backend for Lc0

Powered by mwForum 2.29.3 © 1999-2014 Markus Wichitill