guillaume-be / rust-bert

Rust native ready-to-use NLP pipelines and transformer-based models (BERT, DistilBERT, GPT2,...)
https://docs.rs/crate/rust-bert
Apache License 2.0
2.67k stars 216 forks source link

Error on running example in Linux #446

Open harshakhmk opened 9 months ago

harshakhmk commented 9 months ago

Hi, I am trying to run example sentence embeddings but I was getting error


Fail to run custom command for torch-sys v0. 15.0
Error this tch version expect by torch 2.2 got 2.3 this check can be bypassed by setting the LIBTORCH_BYPASS_VERSION check environment variable

Custom build comment for ort v1. 15.5
Ort failed to download https://github.com/microsoft/onnxruntime/releases/tag/v1.15.1 Transport(Transport kind connection failed, message: some TLS connection unit failed URL some URL scheme htps cannot be a base false username password host