LeelaChessZero / lc0

The rewritten engine, originally for tensorflow. Now all other backends have been ported here.
GNU General Public License v3.0
2.46k stars 534 forks source link

Lc0 0.28.2 DirectX 12 - Analysis Bug #1696

Open aochoam opened 2 years ago

aochoam commented 2 years ago

Using lc0 dx in analysis mode, the default network is ignored and lc0 shows a weird output like an infinite loop of irregular moves. Default Network: 752187.pb.gz. Lc0 0.28.2 DirectX 12

============= Log started. ============= 0220 08:21:49.990775 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name TaskWorkers type spin default 4 min 0 max 128 0220 08:21:49.990778 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name MinimumProcessingWork type spin default 20 min 2 max 100000 0220 08:21:49.990782 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name MinimumPickingWork type spin default 1 min 1 max 100000 0220 08:21:49.990786 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name MinimumRemainingPickingWork type spin default 20 min 0 max 100000 0220 08:21:49.990789 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name MinimumPerTaskProcessing type spin default 8 min 1 max 100000 0220 08:21:49.990793 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name IdlingMinimumWork type spin default 0 min 0 max 10000 0220 08:21:49.990796 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name ThreadIdlingThreshold type spin default 1 min 0 max 128 0220 08:21:49.990800 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name SyzygyPath type string default 0220 08:21:49.990803 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name Ponder type check default true 0220 08:21:49.990807 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name UCI_Chess960 type check default false 0220 08:21:49.990810 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name UCI_ShowWDL type check default false 0220 08:21:49.990814 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name UCI_ShowMovesLeft type check default false 0220 08:21:49.990817 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name ConfigFile type string default lc0.config 0220 08:21:49.990821 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name SmartPruningFactor type string default 1.330000 0220 08:21:49.990825 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name SmartPruningMinimumBatches type spin default 0 min 0 max 10000 0220 08:21:49.990828 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name RamLimitMb type spin default 0 min 0 max 100000000 0220 08:21:49.990833 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name MoveOverheadMs type spin default 200 min 0 max 100000000 0220 08:21:49.990837 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name TimeManager type string default legacy 0220 08:21:49.990840 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << option name LogFile type string default 0220 08:21:50.205632 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << uciok 0220 08:21:50.208925 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.208979 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.210840 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name Threads value 6 0220 08:21:50.210963 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.211004 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.211298 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MultiPV value 1 0220 08:21:50.211326 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.211333 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.211448 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name Ponder value true 0220 08:21:50.211501 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.211518 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.211684 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name WeightsFile value 752187.pb.gz 0220 08:21:50.211773 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.211781 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.211902 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name Backend value dx12 0220 08:21:50.211916 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.211920 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.212016 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name BackendOptions value 0220 08:21:50.212026 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.212029 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.212140 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name NNCacheSize value 40000000 0220 08:21:50.212330 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.212338 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.212403 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MinibatchSize value 256 0220 08:21:50.212416 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.212422 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.212545 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MaxPrefetch value 32 0220 08:21:50.212573 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.212579 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.212628 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name CPuct value 1.745000 0220 08:21:50.212657 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.212663 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.212719 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name CPuctBase value 38739.000000 0220 08:21:50.212768 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.212775 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.212899 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name CPuctFactor value 3.894000 0220 08:21:50.212915 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.212920 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213006 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name TwoFoldDraws value true 0220 08:21:50.213021 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213025 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213083 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name VerboseMoveStats value false 0220 08:21:50.213100 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213106 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213168 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name FpuStrategy value absolute 0220 08:21:50.213179 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213182 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213267 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name FpuValue value 0.330000 0220 08:21:50.213285 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213292 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213373 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name CacheHistoryLength value 3 0220 08:21:50.213390 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213396 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213460 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name PolicyTemperature value 1.359000 0220 08:21:50.213479 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213485 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213546 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MaxCollisionEvents value 917 0220 08:21:50.213558 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213562 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213667 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MaxCollisionVisits value 80000 0220 08:21:50.213686 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213693 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213755 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MaxCollisionVisitsScalingStart value 28 0220 08:21:50.213770 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213776 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213874 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MaxCollisionVisitsScalingEnd value 145000 0220 08:21:50.213889 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213893 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.213963 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MaxCollisionVisitsScalingPower value 1.250000 0220 08:21:50.213977 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.213982 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214057 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name OutOfOrderEval value true 0220 08:21:50.214075 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214081 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214159 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MaxOutOfOrderEvalsFactor value 2.400000 0220 08:21:50.214174 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214179 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214263 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name StickyEndgames value true 0220 08:21:50.214271 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214274 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214321 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name SyzygyFastPlay value true 0220 08:21:50.214344 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214351 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214453 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name PerPVCounters value false 0220 08:21:50.214468 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214472 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214538 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name ScoreType value centipawn 0220 08:21:50.214547 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214550 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214618 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name HistoryFill value fen_only 0220 08:21:50.214627 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214630 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214691 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MovesLeftMaxEffect value 0.034500 0220 08:21:50.214709 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214713 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214759 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MovesLeftThreshold value 0.000000 0220 08:21:50.214778 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214785 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214840 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MovesLeftSlope value 0.002700 0220 08:21:50.214853 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.214857 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.214996 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MovesLeftConstantFactor value 0.000000 0220 08:21:50.215036 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215042 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215086 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MovesLeftScaledFactor value 1.652100 0220 08:21:50.215131 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215137 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215209 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MovesLeftQuadraticFactor value -0.652100 0220 08:21:50.215238 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215246 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215371 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MaxConcurrentSearchers value 1 0220 08:21:50.215389 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215395 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215448 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name DrawScoreSideToMove value 0 0220 08:21:50.215460 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215464 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215516 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name DrawScoreOpponent value 0 0220 08:21:50.215533 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215538 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215611 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name DrawScoreWhite value 0 0220 08:21:50.215623 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215627 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215703 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name DrawScoreBlack value 0 0220 08:21:50.215721 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215728 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215810 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name NodesPerSecondLimit value 0.000000 0220 08:21:50.215827 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215833 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215902 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name SolidTreeThreshold value 100 0220 08:21:50.215916 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215920 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.215969 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MultiGather value true 0220 08:21:50.215983 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.215987 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216061 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name TaskWorkers value 4 0220 08:21:50.216078 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216083 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216166 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MinimumProcessingWork value 20 0220 08:21:50.216181 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216186 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216256 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MinimumPickingWork value 1 0220 08:21:50.216297 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216303 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216402 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MinimumRemainingPickingWork value 20 0220 08:21:50.216417 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216420 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216481 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MinimumPerTaskProcessing value 8 0220 08:21:50.216535 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216544 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216608 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name IdlingMinimumWork value 0 0220 08:21:50.216620 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216623 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216674 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name ThreadIdlingThreshold value 1 0220 08:21:50.216682 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216685 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216757 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name SyzygyPath value C:\Arena\TB\syzygy\ 0220 08:21:50.216789 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216797 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216905 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name UCI_ShowWDL value true 0220 08:21:50.216922 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216926 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.216976 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name ConfigFile value lc0.config 0220 08:21:50.216993 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.216999 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.217071 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name SmartPruningFactor value 1.330000 0220 08:21:50.217088 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.217092 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.217221 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name SmartPruningMinimumBatches value 0 0220 08:21:50.217237 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.217241 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.217290 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name RamLimitMb value 16000 0220 08:21:50.217304 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.217308 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.217366 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name MoveOverheadMs value 200 0220 08:21:50.217384 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.217390 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.217470 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name TimeManager value legacy 0220 08:21:50.217486 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.217490 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.217564 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> setoption name LogFile value C:/Arena/Engines/lc0_dx12/log.txt 0220 08:21:50.218750 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> isready 0220 08:21:50.218763 28180 c:\projects\lc0\src\chess\uciloop.cc:225] << readyok 0220 08:21:50.421089 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> position startpos 0220 08:21:50.421463 28180 c:\projects\lc0\src\chess\uciloop.cc:136] >> go infinite 0220 08:21:50.421515 28180 c:\projects\lc0\src\engine.cc:131] Loading Syzygy tablebases from C:\Arena\TB\syzygy\ 0220 08:21:50.488758 28180 c:\projects\lc0\src\syzygy\syzygy.cc:992] Found 188 WDL, 0 DTM and 186 DTZ tablebase files. 0220 08:21:50.488856 28180 c:\projects\lc0\src\neural\factory.cc:124] Loading weights file from: 752187.pb.gz 0220 08:21:50.736623 28180 c:\projects\lc0\src\neural\factory.cc:91] Creating backend [dx12]... 0220 08:22:07.827040 30944 c:\projects\lc0\src\mcts\stoppers\stoppers.cc:109] RAM limit 16000MB. Cache takes 11840MB. Remaining memory is enough for 20800000 nodes. 0220 08:22:07.827295 30944 c:\projects\lc0\src\engine.cc:302] Timer started at 0220 08:19:36.190503 0220 08:22:07.828321 11808 c:\projects\lc0\src\mcts\search.cc:892] Start a watchdog thread. 0220 08:22:07.829362 25608 c:\projects\lc0\src\mcts\search.h:243] Started search thread. 0220 08:22:07.829429 30944 c:\projects\lc0\src\mcts\search.cc:816] Search started. 151638ms already passed. 0220 08:22:07.829473 30944 c:\projects\lc0\src\chess\uciloop.cc:136] >> stop 0220 08:22:07.829499 30944 c:\projects\lc0\src\mcts\search.cc:934] Stopping search due to stop uci command. 0220 08:22:07.829520 30944 c:\projects\lc0\src\chess\uciloop.cc:136] >> quit 0220 08:22:07.829542 30944 c:\projects\lc0\src\mcts\search.cc:944] Aborting search, if it is still active. 0220 08:22:07.829558 34224 c:\projects\lc0\src\mcts\search.h:243] Started search thread. 0220 08:22:07.829659 12984 c:\projects\lc0\src\mcts\search.h:243] Started search thread. 0220 08:22:07.829702 21836 c:\projects\lc0\src\mcts\search.h:243] Started search thread. 0220 08:22:07.830188 20628 c:\projects\lc0\src\mcts\search.h:243] Started search thread. 0220 08:22:07.830605 28272 c:\projects\lc0\src\mcts\search.h:243] Started search thread. 0220 08:22:12.152290 11808 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 1 seldepth 1 time 155961 nodes 1 score cp 0 wdl 333 334 333 tbhits 0 pv b1a3

0220 08:37:50.865229 32660 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 626555 nodes 100844028 score cp 0 nps 162352 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:37:55.866943 19448 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 631557 nodes 101692668 score cp 0 nps 162411 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:00.868560 20648 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 636558 nodes 102567162 score cp 0 nps 162509 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:05.869927 31972 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 641560 nodes 103411449 score cp 0 nps 162559 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:10.870751 31972 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 646561 nodes 104414712 score cp 0 nps 162856 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:15.872445 31972 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 651562 nodes 105308448 score cp 0 nps 162978 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:20.874661 20648 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 656565 nodes 106142967 score cp 0 nps 163008 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:25.876168 31972 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 661566 nodes 106977783 score cp 0 nps 163038 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:30.877641 32660 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 666568 nodes 107691791 score cp 0 nps 162884 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:35.880797 5228 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 671571 nodes 108597769 score cp 0 nps 163021 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:40.889579 19756 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 676580 nodes 109455111 score cp 0 nps 163082 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:45.890521 5228 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 681581 nodes 110307060 score cp 0 nps 163135 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:50.892358 19448 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 686583 nodes 111175412 score cp 0 nps 163212 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:38:55.893900 31972 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 691584 nodes 111998196 score cp 0 nps 163222 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:00.894736 5228 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 696585 nodes 112966900 score cp 0 nps 163442 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:05.895296 20648 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 701586 nodes 113936628 score cp 0 nps 163661 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:10.897620 32660 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 706588 nodes 114928628 score cp 0 nps 163908 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:15.898250 31972 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 711589 nodes 115922676 score cp 0 nps 164155 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:20.898993 5228 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 716590 nodes 116880884 score cp 0 nps 164348 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:25.901155 5228 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 721592 nodes 117844980 score cp 0 nps 164547 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:30.902238 19448 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 726593 nodes 118690565 score cp 0 nps 164578 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:35.902938 20648 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 731594 nodes 119553524 score cp 0 nps 164633 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:40.903998 32660 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 736595 nodes 120484340 score cp 0 nps 164780 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:45.906537 31972 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 741597 nodes 121189875 score cp 0 nps 164619 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:50.914096 20648 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 746605 nodes 122023667 score cp 0 nps 164631 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:39:55.914814 5228 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 751606 nodes 122918679 score cp 0 nps 164727 tbhits 0 pv e2e3 b8c6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:40:00.918354 32660 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 756609 nodes 123846131 score cp 0 nps 164865 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:40:05.921159 32660 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 761612 nodes 124756467 score cp 0 nps 164978 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:40:10.922496 31972 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 766614 nodes 125656819 score cp 0 nps 165077 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:40:15.932289 5228 c:\projects\lc0\src\chess\uciloop.cc:225] << info depth 7 seldepth 12 time 771623 nodes 126540787 score cp 0 nps 165151 tbhits 0 pv e2e3 b8a6 b1a3 a8b8 a1b1 b8a8 b1a1 a8b8 0220 08:40:17.317195 31972 c:\projects\lc0\src\utils\exception.h:39] Exception: Dx error: La instancia de dispositivo de GPU se ha suspendido. Use GetDeviceRemovedReason para averiguar cuᬠes la acci󮠡decuada. (c:\projects\lc0\src\neural\dx\network_dx.cc:277)

aochoam commented 2 years ago

Could somebody clarify why the DicrectX 12 is not working with the default network?

Thank you.

borg323 commented 2 years ago

What GPU do you have? We have seen bad drivers from some vendors. In the meantime, you can try combinations of the following BackendOptions to see if they help: fp16=false enable-gemm-metacommand=false enable-conv-metacommand=false

aochoam commented 2 years ago

No issues with OpenCL

Intel® Iris® Xe Graphics Driver Details Up to date Provider Intel Corporation Version 30.0.101.1340 Date 2/3/2022

Device Details Adapter Compatibility: Intel Corporation Video Processor: Intel® Iris® Xe Graphics Family Resolution: 1920 x 1080 Bits Per Pixel: 32 Number of Colors: 4294967296 Refresh Rate - Current: 60 Hz Refresh Rate - Maximum: 60 Hz Refresh Rate - Minimum: 48 Hz Adapter DAC Type: Internal Adapter RAM: 1.00 GB Availability: Running at full power Status: This device is working properly. Location: PCI bus 0, device 2, function 0 Device Id: PCI\VEN_8086&DEV_9A49&SUBSYS_0A211028&REV_01\3&11583659&0&10


borg323 commented 2 years ago

I think you need some of the above mentioned options to get it to run, but performance is not very good - AFAIK the driver has no fast path for the data format we use.

You can try onednn as well, but setting it up is quite involved:

  1. Replace the dll with the one from https://github.com/LeelaChessZero/lc0/pull/1558#issuecomment-838864622.
  2. Set BackendOptions to gpu=0 (or on the command line --backend-opts=gpu=0).
  3. Create a cl_cache directory where lc0 is. The initialization takes about 30 seconds the first time you run a search for a given net size, but the code generated is cached in this directory so it will be fast next time - you may want to do this first run from the command line.
aochoam commented 2 years ago

Even with the distributable, I get the same error. Basically, this version is unusable.

Sorry. Thank you.

borg323 commented 2 years ago

Appreciate your testing - we are working on an improved version for the next release that should be easier to use.