From 82ec660eedb7a1d0a8fb787910cfb7fe7108dec6 Mon Sep 17 00:00:00 2001 From: Chan Jun Shern Date: Fri, 23 Feb 2024 02:15:46 +0000 Subject: [PATCH] Suppress 'HTTP/1.1 200 OK' logs from openai library (#1468) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since [the `openai-python` library update](https://github.com/openai/evals/pull/1444), eval runs are getting flooded with excessive "HTTP/1.1. 200 OK" logs from the openai library: ``` junshern@JunSherns-MacBook-Pro ⚒ oaieval gpt-3.5-turbo 2d_movement [2024-02-15 12:22:08,549] [registry.py:262] Loading registry from /Users/junshern/projects/oss_evals/evals/evals/registry/evals [2024-02-15 12:22:08,898] [registry.py:262] Loading registry from /Users/junshern/.evals/evals [2024-02-15 12:22:08,900] [oaieval.py:211] Run started: 240215042208OCODJ2NY [2024-02-15 12:22:08,949] [data.py:94] Fetching /Users/junshern/projects/oss_evals/evals/evals/registry/data/2d_movement/samples.jsonl [2024-02-15 12:22:08,949] [eval.py:36] Evaluating 100 samples [2024-02-15 12:22:08,955] [eval.py:144] Running in threaded mode with 10 threads! 0%| | 0/100 [00:00