Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError when mapping back in OpenAIBatchRequestProcesssor #193

Open
RyanMarten opened this issue Dec 3, 2024 · 0 comments
Open

KeyError when mapping back in OpenAIBatchRequestProcesssor #193

RyanMarten opened this issue Dec 3, 2024 · 0 comments
Assignees

Comments

@RyanMarten
Copy link
Contributor

run_in_event_loop(watch_batches())
 File "/tmp/ray/session_2024-11-27_21-23-10_067307_1/runtime_resources/pip/71dcb4dc7a71bcfe09f323529818e20eee2981bc/virtualenv/lib/python3.10/site-packages/bespokelabs/curator/request_processor/event_loop.py", line 29, in run_in_event_loop
 return asyncio.run(coroutine)
 File "/home/ray/anaconda3/lib/python3.10/asyncio/runners.py", line 44, in run
 return loop.run_until_complete(main)
 File "uvloop/loop.pyx", line 1517, in uvloop.loop.Loop.run_until_complete
 File "/tmp/ray/session_2024-11-27_21-23-10_067307_1/runtime_resources/pip/71dcb4dc7a71bcfe09f323529818e20eee2981bc/virtualenv/lib/python3.10/site-packages/bespokelabs/curator/request_processor/openai_batch_request_processor.py", line 269, in watch_batches
 await batch_watcher.watch()
 File "/tmp/ray/session_2024-11-27_21-23-10_067307_1/runtime_resources/pip/71dcb4dc7a71bcfe09f323529818e20eee2981bc/virtualenv/lib/python3.10/site-packages/bespokelabs/curator/request_processor/openai_batch_request_processor.py", line 428, in watch
 all_response_files.extend(await asyncio.gather(*download_tasks))
 File "/tmp/ray/session_2024-11-27_21-23-10_067307_1/runtime_resources/pip/71dcb4dc7a71bcfe09f323529818e20eee2981bc/virtualenv/lib/python3.10/site-packages/bespokelabs/curator/request_processor/openai_batch_request_processor.py", line 489, in download_batch_to_generic_responses_file
 generic_request = generic_request_map[request_idx]
KeyError: 470999
@RyanMarten RyanMarten self-assigned this Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant