Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ RUN apt-get update && apt-get install -y \
gcc \
&& rm -rf /var/lib/apt/lists/*

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY requirements-serve.txt .
RUN pip install --no-cache-dir -r requirements-serve.txt

COPY . .

Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ emoji: 🗄️
colorFrom: indigo
colorTo: blue
sdk: docker
app_file: server/app.py
app_port: 7860
pinned: false
tags:
- openenv
- agent-environment
- rl-environment
- sql
- world-modeling
- llm-training
Expand Down
7 changes: 7 additions & 0 deletions requirements-serve.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# What the environment server actually imports. Installed into the Space image.
# Kept as its own file, and included by requirements.txt below, so the two
# cannot drift: the image and the full install share one definition of these.
fastapi==0.115.0
uvicorn[standard]==0.30.6
pydantic==2.8.2
duckdb>=0.10.0
14 changes: 9 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
fastapi==0.115.0
uvicorn[standard]==0.30.6
pydantic==2.8.2
# Serving dependencies, shared with the Space image. One definition, included
# rather than repeated.
-r requirements-serve.txt

# Client and evaluation scripts (inference.py, baseline_runner.py).
openai>=1.0.0
pyyaml==6.0.2
requests==2.32.3
openenv-core>=0.2.0
duckdb>=0.10.0
# Training dependencies

# Training only (train.py, scripts/ablation.py). Deliberately absent from the
# Space image: no served module imports any of these, and installing torch into
# the image took minutes and gigabytes for code the server never runs.
trl>=0.8.0
transformers>=4.40.0
torch>=2.1.0
Expand Down
Loading