Updated Instructions on Profiling SGLang Infer System with AMD GPUs (#1966)

Co-authored-by: wunhuang <wunhuang@amd.com>
This commit is contained in:
leishaoSC
2024-11-08 23:19:03 -08:00
committed by GitHub
parent e3126e3c5f
commit d1150e9a00
10 changed files with 729 additions and 1 deletions

12
3rdparty/amd/profiling/rpd.patch vendored Normal file
View File

@@ -0,0 +1,12 @@
diff --git a/rpd_tracer/Makefile b/rpd_tracer/Makefile
index e9d9feb..b2e9e1a 100644
--- a/rpd_tracer/Makefile
+++ b/rpd_tracer/Makefile
@@ -16,7 +16,7 @@ ifneq (,$(HIP_PATH))
$(info Building with roctracer)
RPD_LIBS += -L/opt/rocm/lib -lroctracer64 -lroctx64 -lamdhip64 -lrocm_smi64
RPD_INCLUDES += -I/opt/rocm/include -I/opt/rocm/include/roctracer -I/opt/rocm/include/hsa
- RPD_SRCS += RoctracerDataSource.cpp RocmSmiDataSource.cpp
+ RPD_SRCS += RoctracerDataSource.cpp
RPD_INCLUDES += -D__HIP_PLATFORM_AMD__
endif