Closed AbhishekBose closed 4 weeks ago
commit_from_url
and with_model_downloaded
are gated behind the fetch-models
feature, as shown in the SessionBuilder
docs: https://docs.rs/ort/2.0.0-rc.4/ort/struct.SessionBuilder.html#method.commit_from_url
Enable the fetch-models
feature for ort
to use the method.
commit_from_url
found for structSessionBuilder
in the current scope --> src/main.rs:82:10The documentation says that commit_from_url is present in v2. This is my .toml file
[dependencies] actix-web = "4.9.0" ndarray = "0.16.1" ort = "2.0.0-rc.4" serde = "1.0.207" tokenizers = "0.20.0" tokio = "1.39.2"
Inside builder I am able to see this