mirror of
https://github.com/tinygrad/tinygrad.git
synced 2026-01-09 06:58:11 -05:00
hotfix: remote print -> DEBUG=3
This commit is contained in:
@@ -290,7 +290,7 @@ class RemoteConnection:
|
||||
|
||||
def batch_submit(self):
|
||||
data = self.req.serialize()
|
||||
with Timing(f"*** send {len(self.req._q):-3d} requests {len(self.req._h):-3d} hashes with len {len(data)/1024:.2f} kB in ", enabled=DEBUG>=1):
|
||||
with Timing(f"*** send {len(self.req._q):-3d} requests {len(self.req._h):-3d} hashes with len {len(data)/1024:.2f} kB in ", enabled=DEBUG>=3):
|
||||
self.conn.request("POST", "/batch", data)
|
||||
response = self.conn.getresponse()
|
||||
assert response.status == 200, f"POST /batch failed: {response}"
|
||||
|
||||
Reference in New Issue
Block a user