benepstein
07/24/2025, 6:22 PM18:15:11:ERROR:copilot.state.extract: Error updating milestones
Traceback (most recent call last):
baml_client/async_client.py", line 318, in ExtractReminderStatus
baml_client/runtime.py", line 98, in call_function_async
pyo3_async_runtimes.RustPanic: rust future panicked: unknown error
thread 'tokio-runtime-worker' panicked at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-io-2.4.1/src/reactor.rs:101:39:
cannot initialize I/O event notification: Os { code: 24, kind: Uncategorized, message: "Too many open files" }
thread 'tokio-runtime-worker' panicked at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-io-2.4.1/src/reactor.rs:101:39:
cannot initialize I/O event notification: Os { code: 24, kind: Uncategorized, message: "Too many open files" }
thread 'tokio-runtime-worker' panicked at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-io-2.4.1/src/reactor.rs:101:39:
cannot initialize I/O event notification: Os { code: 24, kind: Uncategorized, message: "Too many open files" }
thread 'tokio-runtime-worker' panicked at /root/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/async-io-2.4.1/src/reactor.rs:101:39:
cannot initialize I/O event notification: Os { code: 24, kind: Uncategorized, message: "Too many open files" }
i'm on baml 0.201.0Vaibhav (BAML ๐)
07/24/2025, 8:15 PMVaibhav (BAML ๐)
07/24/2025, 8:17 PMVaibhav (BAML ๐)
07/24/2025, 8:17 PMbenepstein
07/24/2025, 8:28 PMbenepstein
07/24/2025, 8:28 PMVaibhav (BAML ๐)
07/24/2025, 8:32 PMVaibhav (BAML ๐)
07/24/2025, 8:35 PMbenepstein
07/24/2025, 8:43 PMVaibhav (BAML ๐)
07/24/2025, 9:54 PMVaibhav (BAML ๐)
07/24/2025, 9:54 PMVaibhav (BAML ๐)
07/24/2025, 9:55 PMbenepstein
07/24/2025, 10:29 PMbenepstein
07/24/2025, 10:31 PMVaibhav (BAML ๐)
07/25/2025, 7:11 AMaaronv (BAML)
07/25/2025, 3:57 PMbenepstein
07/25/2025, 9:46 PMc4d-highcpu-4 (4 vCPUs, 7 GB Memory)benepstein
07/25/2025, 9:47 PMbenepstein
07/25/2025, 9:51 PMasync def do_predictions(p: Coroutine[Any, Any, T]):
res = await p
...
async def extract_all(elements: list):
coros = [b.ExtractResume(e) for e in elements)]
await do_predictions(coros)
async def main():
while True:
l1 = [...]
l2 = [...]
l3 = [...]
...
l10 = [...]
await asyncio.gather(*[extract_all(l) for l in [l1, l2, l3, l4, ..., l10]
await asyncio.sleep(0.1)
something like thisaaronv (BAML)
07/29/2025, 5:12 PMaaronv (BAML)
07/29/2025, 5:13 PMaaronv (BAML)
07/29/2025, 8:43 PMaaronv (BAML)
07/29/2025, 8:44 PMbenepstein
07/30/2025, 1:39 AMbenepstein
07/30/2025, 1:40 AMaaronv (BAML)
07/30/2025, 5:02 AM