You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The python dependency postcommit suite went perma-red because of a strange failure to find the sentence-transformers package in HF embeddings tests despite pip showing version 2.2.2 installed. The test should be re-enabled once the problem is resolved.
Issue Priority
Priority: 2 (default / most normal work should be filed as P2)
Issue Components
Component: Python SDK
Component: Java SDK
Component: Go SDK
Component: Typescript SDK
Component: IO connector
Component: Beam YAML
Component: Beam examples
Component: Beam playground
Component: Beam katas
Component: Website
Component: Infrastructure
Component: Spark Runner
Component: Flink Runner
Component: Samza Runner
Component: Twister2 Runner
Component: Hazelcast Jet Runner
Component: Google Cloud Dataflow Runner
The text was updated successfully, but these errors were encountered:
>>> from sentence_transformers import SentenceTransformer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/sentence_transformers/__init__.py", line 3, in <module>
from .datasets import SentencesDataset, ParallelSentencesDataset
File "/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/sentence_transformers/datasets/__init__.py", line 3, in <module>
from .ParallelSentencesDataset import ParallelSentencesDataset
File "/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/sentence_transformers/datasets/ParallelSentencesDataset.py", line 4, in <module>
from .. import SentenceTransformer
File "/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/sentence_transformers/SentenceTransformer.py", line 12, in <module>
from huggingface_hub import HfApi, HfFolder, Repository, hf_hub_url, cached_download
ImportError: cannot import name 'cached_download' from 'huggingface_hub' (/usr/local/google/home/xqhu/Dev/beam/sdks/python/test-suites/tox/py39/build/srcs/sdks/python/target/.tox-py39-embeddings/py39-embeddings/lib/python3.9/site-packages/huggingface_hub/__init__.py)
What needs to happen?
The python dependency postcommit suite went perma-red because of a strange failure to find the
sentence-transformers
package in HF embeddings tests despite pip showing version 2.2.2 installed. The test should be re-enabled once the problem is resolved.Issue Priority
Priority: 2 (default / most normal work should be filed as P2)
Issue Components
The text was updated successfully, but these errors were encountered: