mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-11 04:14:52 +00:00
remove log
This commit is contained in:
parent
3d082ccba4
commit
55605a1247
@ -387,8 +387,6 @@ pub async fn get_base_tokenizer(api: &Api, api_repo: &ApiRepo) -> Option<Tokeniz
|
|||||||
// Read the JSON contents of the file as an instance of `User`.
|
// Read the JSON contents of the file as an instance of `User`.
|
||||||
let config: serde_json::Value = serde_json::from_reader(reader).ok()?;
|
let config: serde_json::Value = serde_json::from_reader(reader).ok()?;
|
||||||
|
|
||||||
tracing::info!("{config}");
|
|
||||||
|
|
||||||
if let Some(serde_json::Value::String(base_model_id)) = config.get("base_model_name_or_path") {
|
if let Some(serde_json::Value::String(base_model_id)) = config.get("base_model_name_or_path") {
|
||||||
let api_base_repo = api.repo(Repo::with_revision(
|
let api_base_repo = api.repo(Repo::with_revision(
|
||||||
base_model_id.to_string(),
|
base_model_id.to_string(),
|
||||||
|
Loading…
Reference in New Issue
Block a user