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: '### Model A: voyage-multilingual-2' #24

Open
Muennighoff opened this issue Jul 30, 2024 · 0 comments
Open

KeyError: '### Model A: voyage-multilingual-2' #24

Muennighoff opened this issue Jul 30, 2024 · 0 comments

Comments

@Muennighoff
Copy link
Contributor

I'm seeing this KeyError in the logs but I'm not sure why / cannot reproduce it in the UI. If anyone ever encounters an Error in the UI definitely let us know.

2024-07-30 20:29:32 | ERROR | stderr |     return await get_async_backend().run_sync_in_worker_thread(                 
2024-07-30 20:29:32 | ERROR | stderr |   File "/env/lib/conda/gritkto/lib/python3.10/site-packages/anyio/_backends/_asy
ncio.py", line 2144, in run_sync_in_worker_thread                                                                      
2024-07-30 20:29:32 | ERROR | stderr |     return await future                                                         
2024-07-30 20:29:32 | ERROR | stderr |   File "/env/lib/conda/gritkto/lib/python3.10/site-packages/anyio/_backends/_asy
ncio.py", line 851, in run                                                                                             
2024-07-30 20:29:32 | ERROR | stderr |     result = context.run(func, *args)                                           
2024-07-30 20:29:32 | ERROR | stderr |   File "/env/lib/conda/gritkto/lib/python3.10/site-packages/gradio/utils.py", li
ne 639, in run_sync_iterator_async                                                                                     
2024-07-30 20:29:32 | ERROR | stderr |     return next(iterator)                                                       
2024-07-30 20:29:32 | ERROR | stderr |   File "/env/lib/conda/gritkto/lib/python3.10/site-packages/gradio/utils.py", li
ne 801, in gen_wrapper                                                                                                 
2024-07-30 20:29:32 | ERROR | stderr |     response = next(iterator)                                                   
2024-07-30 20:29:32 | ERROR | stderr |   File "/data/niklas/arena/ui.py", line 208, in retrieve_side_by_side           
2024-07-30 20:29:32 | ERROR | stderr |     retrieved_txt0, retrieved_txt1, model_name0, model_name1 = gen_func(text, co
rpus, model_name0, model_name1)                                                                                        
2024-07-30 20:29:32 | ERROR | stderr |   File "/data/niklas/arena/models.py", line 215, in retrieve_parallel           
2024-07-30 20:29:32 | ERROR | stderr |     results = [future.result() for future in futures]                           
2024-07-30 20:29:32 | ERROR | stderr |   File "/data/niklas/arena/models.py", line 215, in <listcomp>                  
2024-07-30 20:29:32 | ERROR | stderr |     results = [future.result() for future in futures]                           
2024-07-30 20:29:32 | ERROR | stderr |   File "/env/lib/conda/gritkto/lib/python3.10/concurrent/futures/_base.py", line
 451, in result                                                                                                        
2024-07-30 20:29:32 | ERROR | stderr |     return self.__get_result()                                                  
2024-07-30 20:29:32 | ERROR | stderr |   File "/env/lib/conda/gritkto/lib/python3.10/concurrent/futures/_base.py", line
 403, in __get_result                                                                                                  
2024-07-30 20:29:32 | ERROR | stderr |     raise self._exception                                                       
2024-07-30 20:29:32 | ERROR | stderr |   File "/env/lib/conda/gritkto/lib/python3.10/concurrent/futures/thread.py", lin
e 58, in run                                                                                                           
2024-07-30 20:29:32 | ERROR | stderr |     result = self.fn(*self.args, **self.kwargs)                                 
2024-07-30 20:29:32 | ERROR | stderr |   File "/data/niklas/arena/models.py", line 230, in retrieve                    
2024-07-30 20:29:32 | ERROR | stderr |     model = self.load_model(model_name)                                         
2024-07-30 20:29:32 | ERROR | stderr |   File "/data/niklas/arena/models.py", line 97, in load_model                   
2024-07-30 20:29:32 | ERROR | stderr |     revision=self.model_meta[model_name].get("revision", None),                 
2024-07-30 20:29:32 | ERROR | stderr | KeyError: '### Model A: voyage-multilingual-2' 
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