You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run flash_attn.layers.rotary.apply_rotary_emb_qkv_(qkv, cos, sin) in my env, I get FileNotFoundError: [Errno 2] No such file or directory: 'ldconfig'.
Initially the triton and flash are in another path .venv/lib/python3.10/site-packages/triton/common/build.py" and then they end up calling this /usr/local/lib/python3.10/
.venv/lib/python3.10/site-packages/triton/common/build.py", line 21, in libcuda_dirs
libs = subprocess.check_output(["ldconfig", "-p"]).decode()
File "/usr/local/lib/python3.10/subprocess.py", line 421, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
File "/usr/local/lib/python3.10/subprocess.py", line 503, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/local/lib/python3.10/subprocess.py", line 971, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/local/lib/python3.10/subprocess.py", line 1863, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'ldconfig'
When I run flash_attn.layers.rotary.apply_rotary_emb_qkv_(qkv, cos, sin) in my env, I get FileNotFoundError: [Errno 2] No such file or directory: 'ldconfig'.
I tried following these possible Solution:
sudo apt-get install libc-bin
,sudo env "PATH=$PATH:/sbin" apt install libc-bin
,sudo env "PATH=$PATH" apt install libc-bin
sgl-project/sglang#319
export PATH=$PATH:/sbin
sgl-project/sglang#41 (comment)
#599 run
ldconfig
before tritonAny idea?
The text was updated successfully, but these errors were encountered: