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
@@ -1,5 +1,5 @@
# Build stage
FROM python:3.12-slim AS builder
FROM python:3.12-slim-bullseye AS builder

# Define build argument with default value
ARG PORT=8000
Expand All @@ -26,7 +26,7 @@ COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

# Final stage
FROM python:3.12-slim
FROM python:3.12-slim-bullseye

# Add labels for the final image
LABEL org.opencontainers.image.source="https://github.com/codelion/optillm"
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.proxy_only
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build stage
FROM python:3.12-slim AS builder
FROM python:3.12-slim-bullseye AS builder

# Define build argument with default value
ARG PORT=8000
Expand All @@ -26,7 +26,7 @@ COPY requirements_proxy_only.txt .
RUN pip install --no-cache-dir -r requirements_proxy_only.txt

# Final stage
FROM python:3.12-slim
FROM python:3.12-slim-bullseye

LABEL org.opencontainers.image.source=https://github.com/codelion/optillm
LABEL org.opencontainers.image.description="OptiLLM proxy-only image for API routing without model serving capabilities"
Expand Down
2 changes: 1 addition & 1 deletion optillm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import os

# Version information
__version__ = "0.1.4"
__version__ = "0.1.5"

# Get the path to the root optillm.py
spec = util.spec_from_file_location(
Expand Down
19 changes: 4 additions & 15 deletions requirements_proxy_only.txt
Original file line number Diff line number Diff line change
@@ -1,22 +1,11 @@
numpy
networkx
openai
z3-solver
aiohttp
flask
azure.identity
scikit-learn
litellm
requests
beautifulsoup4
lxml
presidio_analyzer
presidio_anonymizer
nbformat
nbconvert
ipython
ipykernel
gradio
# Constrain spacy version to avoid blis build issues on ARM64
spacy<3.8.0
cerebras_cloud_sdk
numpy
networkx
z3-solver
sympy
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="optillm",
version="0.1.4",
version="0.1.5",
packages=find_packages(include=['optillm', 'optillm.*']), # This ensures all subpackages are included
py_modules=['optillm'],
package_data={
Expand Down