DAMHelper / utils /env_utils.py
enricorampazzo's picture
removing unnecessary dependencies when running in hf, using conditionals to avoid loading npu libraries in hf
2720b8d
raw
history blame
67 Bytes
import os
def in_hf() -> bool:
return os.getenv("env") == "hf"