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
I am trying to use sentence transformers for model retrieval fine-tuning use case. But I am not able to run it on Google Colab's TPUv2. My kernel is restarting if I am importing sentence_transformers itself.
P.S. v3.0.0 makes training a lot more easier a good feature/refactor of fine tuning from previous versions. Kudos to @tomaarsen and other contributors.
Thanks in advance
The text was updated successfully, but these errors were encountered:
This looks quite similar to this issue: huggingface/transformers#28609 (comment)
Could you try pip uninstall tensorflow before running the Sentence Transformers related imports?
I am trying to use sentence transformers for model retrieval fine-tuning use case. But I am not able to run it on Google Colab's TPUv2. My kernel is restarting if I am importing
sentence_transformers
itself.Here is the snippet of the code
The import itself makes the kernel to restart,
![image](https://private-user-images.githubusercontent.com/39427312/337760576-533c8869-5c46-4e2e-8760-03af8372f98a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjExNDMwNTAsIm5iZiI6MTcyMTE0Mjc1MCwicGF0aCI6Ii8zOTQyNzMxMi8zMzc3NjA1NzYtNTMzYzg4NjktNWM0Ni00ZTJlLTg3NjAtMDNhZjgzNzJmOThhLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzE2VDE1MTIzMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWZjMjg2ZmQ0M2Y0ODA3ZTg5OGM3NGM1OTliMjBiYTYxMDY3MWFlYTQ3ZDY4YmE3YWZjYWNhMGRlYWU4OTUwZTImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.aYUCAEWS1UjgwULMgBabjfPhYmqZNdbQFJReqWwIlHM)
ERROR: Unknown command line flag 'xla_latency_hiding_scheduler_rerun'
Am I doing something wrong here ?
Here, is the link to the notebook: Colab Notebook
P.S. v3.0.0 makes training a lot more easier a good feature/refactor of fine tuning from previous versions. Kudos to @tomaarsen and other contributors.
Thanks in advance
The text was updated successfully, but these errors were encountered: