Describe the bug
env variables are string types and cant be typed as bool.
if os.getenv("ENABLE_VLLM", False):
something
os.environ["ENABLE_VLLM"] needs to be casted first from str to bool before applying if
To Reproduce
if os.getenv("ENABLE_VLLM", False):
print('hi')
will print hi whereas it shouldnt.
Describe the bug
env variables are string types and cant be typed as bool.
os.environ["ENABLE_VLLM"] needs to be casted first from str to bool before applying if
To Reproduce
export ENABLE_VLLM=Falsewill print hi whereas it shouldnt.