This commit is contained in:
Sander Land committed 2020-08-26 15:53:54 +02:00
1 parent 8901dfe25a
commit d1032baef5
8 files changed
+10 -16

No files matched your search

+1 -3
View File
@@ -80,8 +80,6 @@ maxVisits = 500
# But there's no substitute for experimenting and seeing what's best for your hardware and your usage case.
# Keep in mind that the number of threads you want doesn't necessarily have much to do with how many cores you
# have on your system, and could easily exceed the number of cores. GPU batching is (usually) the dominant consideration.
numAnalysisThreads = 8
numSearchThreadsPerAnalysisThread = 8
numSearchThreads = 8
# nnMaxBatchSize is the max number of positions to send to a single GPU at once. Generally, it should be the case that:
@@ -89,7 +87,7 @@ numSearchThreads = 8
# That way, when each threads tries to request a GPU eval, your batch size summed across GPUs is large enough to handle them
# all at once. However, it can be sensible to set this a little smaller if you are limited on GPU memory,
# too large a number may fail if the GPU doesn't have enough memory.
nnMaxBatchSize = 64
nnMaxBatchSize = 96
# Eigen-specific settings--------------------------------------
# These only apply when using the Eigen (pure CPU) version of KataGo.
+3 -7
View File
@@ -87,7 +87,7 @@ class BadukPanWidget(Widget):
]
if near_move:
self.set_animating_pv(near_move[0][0], near_move[0][1])
else:
elif self.animating_pv is not None:
self.set_animating_pv(None, None) # any click kills PV from label/move
if inside and self.animating_pv is not None:
d_sq = (pos[0] - self.animating_pv[3][0]) ** 2 + (pos[1] - self.animating_pv[3][1])
@@ -533,18 +533,14 @@ class BadukPanWidget(Widget):
draw_text(pos=board_coords, text=str(i + 1), font_size=self.grid_size * sizefac / 1.45, font_name="Roboto")
def set_animating_pv(self, pv, node):
if pv == None:
if pv is None:
self.animating_pv = None
if node is not None and (
not self.animating_pv or not (self.animating_pv[0] == pv and self.animating_pv[1] == node)
):
self.animating_pv = (pv, node, time.time(), self.last_mouse_pos)
if self.katrain.controls.status_state[1] == STATUS_TEACHING and self.katrain.analysis_controls.ownership.active:
self.draw_board_contents() # loss visualization
else:
self.draw_hover_contents()
self.draw_hover_contents()
def show_pv_from_comments(self, pv_str):
self.set_animating_pv(pv_str[1:].split(" "), self.katrain.controls.active_comment_node.parent)
Binary file not shown.
@@ -668,11 +668,11 @@ msgstr "Download KataGo versions"
#. TODO - shown on on the binaries select dropdown
msgid "katago binaries available"
msgstr "{num} available binaries found"
msgstr "{num} available katago versions found"
#. TODO - shown on on the katago binary select dropdown
msgid "default katago option"
msgstr "Detect platform and use provided binary"
msgstr "Detect platform and use provided OpenCL KataGo binary"
#. TODO - error message on trying to download models when already done
msgid "All binaries downloaded"
Binary file not shown.
@@ -655,11 +655,11 @@ msgstr "{num} available model(s) found"
#. shown on on the katago binary select dropdown
msgid "default katago option"
msgstr "Detect platform and use provided binary"
msgstr "Detect platform and use provided OpenCL KataGo binary"
#. shown on on the binaries select dropdown
msgid "katago binaries available"
msgstr "{num} available binaries found"
msgstr "{num} available katago versions found"
#. error message on trying to download models when already done
msgid "All models downloaded"
Binary file not shown.
@@ -664,11 +664,11 @@ msgstr "Download KataGo versions"
#. TODO - shown on on the binaries select dropdown
msgid "katago binaries available"
msgstr "{num} available binaries found"
msgstr "{num} available katago versions found"
#. TODO - shown on on the katago binary select dropdown
msgid "default katago option"
msgstr "Detect platform and use provided binary"
msgstr "Detect platform and use provided OpenCL KataGo binary"
#. TODO - error message on trying to download models when already done
msgid "All binaries downloaded"