"vllm/executor/mp_distributed_executor.py" did not exist on "dda4811591fdb90d263bc9b8ac522436369aef13"
Unverified Commit 4e9cf8c1 authored by rongfu.leng's avatar rongfu.leng Committed by GitHub
Browse files

[Bugfix] fix gettid method is not define (#16084)


Signed-off-by: default avatarrongfu.leng <rongfu.leng@daocloud.io>
parent 2976dc27
......@@ -4,6 +4,11 @@
#include <string>
#include <sched.h>
#endif
#if __GLIBC__ == 2 && __GLIBC_MINOR__ < 30
#include <unistd.h>
#include <sys/syscall.h>
#define gettid() syscall(SYS_gettid)
#endif
#include "cpu_types.hpp"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment