Skip to content

Commit

Permalink
Update env_vars.py (#951)
Browse files Browse the repository at this point in the history
Remove redundant key
  • Loading branch information
kpister authored Jan 23, 2024
1 parent 3cefd82 commit 407a8d3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bitsandbytes/cuda_setup/env_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def to_be_ignored(env_var: str, value: str) -> bool:
"OLDPWD",
"SSH_AUTH_SOCK", # SSH stuff, therefore unrelated
"SSH_TTY",
"GOOGLE_VM_CONFIG_LOCK_FILE", # on GCP setups, requires elevated permissions, causing problems in Jupyter notebooks
"GOOGLE_VM_CONFIG_LOCK_FILE", # GCP: requires elevated permissions, causing problems in VMs and Jupyter notebooks
"HOME", # Linux shell default
"TMUX", # Terminal Multiplexer
"XDG_DATA_DIRS", # XDG: Desktop environment stuff
Expand All @@ -20,7 +20,6 @@ def to_be_ignored(env_var: str, value: str) -> bool:
"PATH", # this is for finding binaries, not libraries
"LESSOPEN", # related to the `less` command
"LESSCLOSE",
"GOOGLE_VM_CONFIG_LOCK_FILE", # Google Cloud stuff, contains root only paths
"_", # current Python interpreter
}
return env_var in ignorable
Expand Down

0 comments on commit 407a8d3

Please sign in to comment.