chore: rebase from template
Browse files- play_with_endpoint.py +2 -2
play_with_endpoint.py
CHANGED
@@ -72,7 +72,7 @@ while not is_finished:
|
|
72 |
is_finished = True
|
73 |
|
74 |
print(
|
75 |
-
f"Sending {i}-th piece of the key (remaining size is {sys.getsizeof(evaluation_keys_remaining)})"
|
76 |
)
|
77 |
i += 1
|
78 |
|
@@ -119,7 +119,7 @@ for i in range(nb_samples):
|
|
119 |
}
|
120 |
|
121 |
if is_first:
|
122 |
-
print(f"Size of the payload: {sys.getsizeof(payload) / 1024} kilobytes")
|
123 |
is_first = False
|
124 |
|
125 |
# Run the inference on HF servers
|
|
|
72 |
is_finished = True
|
73 |
|
74 |
print(
|
75 |
+
f"Sending {i}-th piece of the key (remaining size is {sys.getsizeof(evaluation_keys_remaining) / 1024:.2f} kbytes)"
|
76 |
)
|
77 |
i += 1
|
78 |
|
|
|
119 |
}
|
120 |
|
121 |
if is_first:
|
122 |
+
print(f"Size of the payload: {sys.getsizeof(payload) / 1024:.2f} kilobytes")
|
123 |
is_first = False
|
124 |
|
125 |
# Run the inference on HF servers
|