From 58c0d9644270b7e38aefc15bc045d39b213342af Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Tue, 21 Jan 2025 10:43:35 +0800 Subject: [PATCH 1/3] Update publish.yml --- .github/workflows/publish.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 2a5b3b4..350d46c 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -84,8 +84,8 @@ jobs: docker system prune -af # Remove all unused build cache docker builder prune -af - # Optional: If you need more aggressive cleanup - rm -rf /tmp/* + # Clean only user-owned files in /tmp, ignore permission errors + find /tmp -type f -user $(id -u) -exec rm -f {} + 2>/dev/null || true - name: Extract metadata for Docker id: meta From 5bd7a571a438e6a04517ba373fcd492db09af017 Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Tue, 21 Jan 2025 10:46:11 +0800 Subject: [PATCH 2/3] Update eval_aime_benchmark.py --- scripts/eval_aime_benchmark.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/eval_aime_benchmark.py b/scripts/eval_aime_benchmark.py index 5fc7257..81d0e72 100644 --- a/scripts/eval_aime_benchmark.py +++ b/scripts/eval_aime_benchmark.py @@ -15,7 +15,7 @@ logger = logging.getLogger(__name__) # Initialize OpenAI client -client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"), base_url="https://ot7nh9nqf4l7b43s.us-east-1.aws.endpoints.huggingface.cloud/v1/") +client = OpenAI(api_key=os.environ.get("OPENAI_API_KEY"), base_url="https://openrouter.ai/api/v1") SYSTEM_PROMPT = '''You are solving AIME (American Invitational Mathematics Examination) problems. From c6ddbbaae2b864e8b9c159119c5120ff09840fef Mon Sep 17 00:00:00 2001 From: Asankhaya Sharma Date: Tue, 21 Jan 2025 10:47:47 +0800 Subject: [PATCH 3/3] Update setup.py update for new release --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 0c088d5..3ed6bcc 100644 --- a/setup.py +++ b/setup.py @@ -2,7 +2,7 @@ setup( name="optillm", - version="0.0.29", + version="0.0.30", packages=find_packages(), py_modules=['optillm'], package_data={