From 6df9c5b48b5ec3b0a8545e1b47207822a959a249 Mon Sep 17 00:00:00 2001 From: miaobyte <734991033@qq.com> Date: Thu, 20 Mar 2025 14:37:12 +0800 Subject: [PATCH 1/4] githubaction:CUDA --- .github/workflows/excuter-cuda-linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/excuter-cuda-linux.yml b/.github/workflows/excuter-cuda-linux.yml index d523bca7..b65169c4 100644 --- a/.github/workflows/excuter-cuda-linux.yml +++ b/.github/workflows/excuter-cuda-linux.yml @@ -57,7 +57,7 @@ jobs: cd /workspace && \ # 构建 common 库 - cd excuter/common && \ + cd excuter/cpp-common && \ mkdir -p build && cd build && \ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -GNinja .. && \ ninja && \ From aca9117f242e3942fb438a6574ee6a4efe1feff5 Mon Sep 17 00:00:00 2001 From: miaobyte <734991033@qq.com> Date: Thu, 20 Mar 2025 14:45:04 +0800 Subject: [PATCH 2/4] cudakernal:bf16 --- excuter/op-mem-cuda/src/deepx/tensorfunc/init_miaobyte.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/excuter/op-mem-cuda/src/deepx/tensorfunc/init_miaobyte.cu b/excuter/op-mem-cuda/src/deepx/tensorfunc/init_miaobyte.cu index e399cf66..aaeed355 100644 --- a/excuter/op-mem-cuda/src/deepx/tensorfunc/init_miaobyte.cu +++ b/excuter/op-mem-cuda/src/deepx/tensorfunc/init_miaobyte.cu @@ -50,7 +50,7 @@ namespace deepx::tensorfunc int idx = blockIdx.x * blockDim.x + threadIdx.x; if (idx < size) { - data[idx] = start + step * static_cast(idx); + data[idx] = start + step * static_cast(static_cast(idx)); } } template __global__ void kernel_arange(double *data, const int size, const double start, const double step); From ef135c55fed93cf4d8ac1fe47196c34e79623dc3 Mon Sep 17 00:00:00 2001 From: miaobyte <734991033@qq.com> Date: Thu, 20 Mar 2025 14:52:14 +0800 Subject: [PATCH 3/4] auto-merge --- .github/workflows/auto-merge.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 7840644e..11a15541 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -24,4 +24,4 @@ jobs: MERGE_RETRIES: "6" MERGE_RETRY_SLEEP: "10000" UPDATE_LABELS: "auto-merge" - UPDATE_METHOD: "merge" \ No newline at end of file + UPDATE_METHOD: "rebase" \ No newline at end of file From 0f54835888cf031cb62cef6f674c3feb653cba1b Mon Sep 17 00:00:00 2001 From: miaobyte <734991033@qq.com> Date: Thu, 20 Mar 2025 14:57:33 +0800 Subject: [PATCH 4/4] auto-merge --- .github/workflows/auto-merge.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 11a15541..a3dc6dc3 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -8,6 +8,10 @@ on: branches: - main # 仅在针对main分支的PR上运行 +permissions: + contents: write + pull-requests: write + jobs: auto-merge: runs-on: ubuntu-latest