Regenerate ld.so.cache (#1708)
fixes https://github.com/huggingface/text-generation-inference/issues/1711 Signed-off-by: Raphael Glon <oOraph@users.noreply.github.com> Co-authored-by: Raphael Glon <oOraph@users.noreply.github.com>
This commit is contained in:
parent
8dca3b04f8
commit
53c2c3dbc7
|
@ -1209,6 +1209,16 @@ fn terminate(process_name: &str, mut process: Child, timeout: Duration) -> io::R
|
|||
}
|
||||
|
||||
fn main() -> Result<(), LauncherError> {
|
||||
match Command::new("ldconfig").spawn() {
|
||||
Ok(_) => {}
|
||||
Err(err) => {
|
||||
tracing::warn!(
|
||||
"Unable to refresh ldconfig cache. Skipping (useless in most cases). Details {:?}",
|
||||
err
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
// Pattern match configuration
|
||||
let args: Args = Args::parse();
|
||||
|
||||
|
|
Loading…
Reference in New Issue