Updated clients, include vastai-sdk, handle non-UTF-8
This commit is contained in:
1 parent
7db54f3bd7
commit
b55bfa9611
6 files changed
+441
-701
No files matched your search
+1
-1
@@ -417,7 +417,7 @@ class Backend:
|
||||
|
||||
async def tail_log():
|
||||
log.debug(f"tailing file: {self.model_log_file}")
|
||||
async with await open_file(self.model_log_file) as f:
|
||||
async with await open_file(self.model_log_file, encoding='utf-8', errors='ignore'):
|
||||
while True:
|
||||
line = await f.readline()
|
||||
if line:
|
||||
|
||||
Reference in new issue
Block a user