tvalentyn commented on issue #31287:
URL: https://github.com/apache/beam/issues/31287#issuecomment-2111201742
new error:
```
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _
checkpoint_file =
'/home/runner/.cache/huggingface/hub/models--sentence-transformers--all-mpnet-base-v2/snapshots/84f2bcc00d77236f9e89c8a360a00fb1139bf47d/model.safetensors'
is_quantized = False
def load_state_dict(checkpoint_file: Union[str, os.PathLike],
is_quantized: bool = False):
"""
Reads a PyTorch checkpoint file, returning properly formatted errors
if they arise.
"""
if checkpoint_file.endswith(".safetensors") and
is_safetensors_available():
# Check format of the archive
> with safe_open(checkpoint_file, framework="pt") as f:
E FileNotFoundError: No such file or directory:
"/home/runner/.cache/huggingface/hub/models--sentence-transformers--all-mpnet-base-v2/snapshots/84f2bcc00d77236f9e89c8a360a00fb1139bf47d/model.safetensors"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]