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

Error while hosting as provider #533

Open
filopedraz opened this issue Oct 31, 2023 · 0 comments
Open

Error while hosting as provider #533

filopedraz opened this issue Oct 31, 2023 · 0 comments

Comments

@filopedraz
Copy link

Description

Oct 31 07:53:33.251 [ERROR] [hivemind.moe.server.runtime.run:101] Caught 3736, attempting to recover
Traceback (most recent call last):
  File "/opt/conda/lib/python3.10/site-packages/hivemind/moe/server/runtime.py", line 91, in run
    outputs, batch_size = self.process_batch(pool, batch_index, *batch)
  File "/opt/conda/lib/python3.10/site-packages/hivemind/moe/server/runtime.py", line 110, in process_batch
    outputs = pool.process_func(*batch)
  File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/petals/src/petals/server/backend.py", line 232, in __call__
    (hidden_states,) = self.backends[inference_info.uid].inference_step(hidden_states, hypo_ids, inference_info)
  File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/home/petals/src/petals/server/backend.py", line 119, in inference_step
    with self.memory_cache.use_cache(
  File "/opt/conda/lib/python3.10/contextlib.py", line 135, in __enter__
    return next(self.gen)
  File "/home/petals/src/petals/server/memory_cache.py", line 221, in use_cache
    yield tuple(self._allocated_tensors[handle] for handle in handles)
  File "/home/petals/src/petals/server/memory_cache.py", line 221, in <genexpr>
    yield tuple(self._allocated_tensors[handle] for handle in handles)
KeyError: 3736
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