This commit is contained in:
yuyuyzl committed 2022-05-15 17:27:03 +08:00
1 parent f5568c4c4e
commit 94e27a90ea
1 file changed
+2 -1
+2 -1
View File
@@ -177,7 +177,8 @@ class ModelClientProcess(Process):
self.output_queue.put_nowait(cached)
model_cache.move_to_end(input_hash)
hit+=1
print('cached',hit/tot*100)
if args.perf:
print('cached',str(hit/tot*100)+'%')
else:
if args.perf:
tic = time.perf_counter()