On Thursday, 26-12-2024 at 14:16 hen...@privatembox.com wrote:
> Hello
> 
> I have these settings in .bashrc of my home dir:
> 
> $ cat .bashrc
> export TF_CPP_MIN_LOG_LEVEL=3
> export CUDA_VISIBLE_DEVICES=-1
> 
> but every time after i login the system, the settings are not activated.
> I have to source it by hand to make it work.

As long as you only need these settings to apply to you user session:

$ nano ~./bashrc

(add the following lines to the end of file, and save )

# My specific settings 202412
export TF_CPP_MIN_LOG_LEVEL=3
export CUDA_VISIBLE_DEVICES=-1

Save and exit your editor, then the next time you log in, these settings will 
be applied to your session.

(does this do what you want?)

> 
> what's wrong with me?
> 
> Thanks.
> 
> 

Reply via email to