runtime error
r/.local/lib/python3.10/site-packages/gradio_client/utils.py", line 664, in synchronize_async return fsspec.asyn.sync(fsspec.asyn.get_loop(), func, *args, **kwargs) # type: ignore File "/home/user/.local/lib/python3.10/site-packages/fsspec/asyn.py", line 103, in sync raise return_result File "/home/user/.local/lib/python3.10/site-packages/fsspec/asyn.py", line 56, in _runner result[0] = await coro File "/home/user/.local/lib/python3.10/site-packages/gradio/helpers.py", line 361, in cache prediction = await Context.root_block.process_api( File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1484, in process_api result = await self.call_function( File "/home/user/.local/lib/python3.10/site-packages/gradio/blocks.py", line 1106, in call_function prediction = await anyio.to_thread.run_sync( File "/home/user/.local/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync return await get_asynclib().run_sync_in_worker_thread( File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread return await future File "/home/user/.local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run result = context.run(func, *args) File "/home/user/.local/lib/python3.10/site-packages/gradio/utils.py", line 665, in wrapper response = f(*args, **kwargs) File "/home/user/app/app.py", line 81, in inference out_text = tokenizer_gpt.decode(m.generate(reshaped_tensor, max_new_tokens=count)[0]) File "/home/user/app/tsai_gpt/tokenizer.py", line 103, in decode return self.processor.decode(tokens) File "/home/user/.local/lib/python3.10/site-packages/sentencepiece/__init__.py", line 780, in Decode return self._DecodeIds(input) File "/home/user/.local/lib/python3.10/site-packages/sentencepiece/__init__.py", line 337, in _DecodeIds return _sentencepiece.SentencePieceProcessor__DecodeIds(self, ids) IndexError: Out of range: piece id is out of range.
Container logs:
Fetching error logs...