mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 20:04:52 +00:00
cleanup
This commit is contained in:
parent
de892fb434
commit
160a50af77
@ -369,12 +369,6 @@ fn shard_manager(
|
||||
// Copy current process env
|
||||
let mut envs: Vec<(OsString, OsString)> = env::vars_os().collect();
|
||||
|
||||
// Use cuda allocator. It leads to less memory fragmentation
|
||||
// envs.push((
|
||||
// "PYTORCH_CUDA_ALLOC_CONF".into(),
|
||||
// "backend:cudaMallocAsync".into(),
|
||||
// ));
|
||||
|
||||
// Torch Distributed Env vars
|
||||
envs.push(("RANK".into(), rank.to_string().into()));
|
||||
envs.push(("WORLD_SIZE".into(), world_size.to_string().into()));
|
||||
|
Loading…
Reference in New Issue
Block a user