← back to Exo
up the rlimit (#1148)
47ceb54bc17ba348535277b3d706449cccf63d06 · 2026-01-13 15:00:54 +0000 · Evan Quiney
Fixes #1117
Manual testing:
Launched 100 instances. worked. yay.
Files touched
Diff
commit 47ceb54bc17ba348535277b3d706449cccf63d06
Author: Evan Quiney <evanev7@gmail.com>
Date: Tue Jan 13 15:00:54 2026 +0000
up the rlimit (#1148)
Fixes #1117
Manual testing:
Launched 100 instances. worked. yay.
---
src/exo/main.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/exo/main.py b/src/exo/main.py
index 43d69aa5..85bc095b 100644
--- a/src/exo/main.py
+++ b/src/exo/main.py
@@ -1,6 +1,7 @@
import argparse
import multiprocessing as mp
import os
+import resource
import signal
from dataclasses import dataclass, field
from typing import Self
@@ -195,6 +196,8 @@ class Node:
def main():
args = Args.parse()
+ soft, hard = resource.getrlimit(resource.RLIMIT_NOFILE)
+ resource.setrlimit(resource.RLIMIT_NOFILE, (max(soft, 65535), hard))
mp.set_start_method("spawn")
# TODO: Refactor the current verbosity system
← f8112fdf nix: convert to flake-parts
·
back to Exo
·
Add tensor sharding for GPT-OSS (#1144) 1200a7db →