[fix] baseline4 docker build move ex_engine into qwen3_6_scripts, remove COPY ex_engine from Dockerfile
This commit is contained in:
BIN
qwen3_6_scripts/ex_engine/csrc/build/moe_tcu_dispatch.so
Executable file
BIN
qwen3_6_scripts/ex_engine/csrc/build/moe_tcu_dispatch.so
Executable file
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
# ninja log v5
|
||||
0 16174 1786771249505078466 moe_tcu_dispatch.o 6bbcd5788d3ff5a2
|
||||
16174 16403 1786771249733081078 moe_tcu_dispatch.so e209420b05efccea
|
||||
0 16332 1786771396774778797 moe_tcu_dispatch.o 6bbcd5788d3ff5a2
|
||||
16332 16567 1786771397006781497 moe_tcu_dispatch.so e209420b05efccea
|
||||
@@ -0,0 +1,25 @@
|
||||
ninja_required_version = 1.3
|
||||
cxx = c++
|
||||
|
||||
cflags = -DTORCH_EXTENSION_NAME=moe_tcu_dispatch -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1011\" -isystem /usr/local/corex/lib64/python3/dist-packages/torch/include -isystem /usr/local/corex/lib64/python3/dist-packages/torch/include/torch/csrc/api/include -isystem /usr/local/corex/lib64/python3/dist-packages/torch/include/TH -isystem /usr/local/corex/lib64/python3/dist-packages/torch/include/THC -isystem /usr/local/include/python3.10 -D_GLIBCXX_USE_CXX11_ABI=0 -fPIC -std=c++17 -O2 -std=c++17
|
||||
post_cflags =
|
||||
cuda_dlink_post_cflags =
|
||||
ldflags = -shared -L/usr/local/corex/lib64/python3/dist-packages/torch/lib -lc10 -ltorch_cpu -ltorch -ltorch_python
|
||||
|
||||
rule compile
|
||||
command = $cxx -MMD -MF $out.d $cflags -c $in -o $out $post_cflags
|
||||
depfile = $out.d
|
||||
deps = gcc
|
||||
|
||||
|
||||
|
||||
rule link
|
||||
command = $cxx $in $ldflags -o $out
|
||||
|
||||
build moe_tcu_dispatch.o: compile /home/dylan/0814/project_6/ex_engine/csrc/moe_tcu_dispatch.cpp
|
||||
|
||||
|
||||
|
||||
build moe_tcu_dispatch.so: link moe_tcu_dispatch.o
|
||||
|
||||
default moe_tcu_dispatch.so
|
||||
Binary file not shown.
BIN
qwen3_6_scripts/ex_engine/csrc/build/tmp_moe_tcu_dispatch/moe_tcu_dispatch.so
Executable file
BIN
qwen3_6_scripts/ex_engine/csrc/build/tmp_moe_tcu_dispatch/moe_tcu_dispatch.so
Executable file
Binary file not shown.
Reference in New Issue
Block a user