Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Binyang2014 committed Oct 10, 2023
1 parent 95524e4 commit 362a1b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@ jobs:
curl -L https://github.com/Kitware/CMake/releases/download/v3.26.4/cmake-3.26.4-linux-x86_64.tar.gz -o /tmp/cmake-3.26.4-linux-x86_64.tar.gz
tar xzf /tmp/cmake-3.26.4-linux-x86_64.tar.gz -C /tmp
sudo ln -s /tmp/cmake-3.26.4-linux-x86_64/bin/cmake /usr/bin/cmake
- name: Dubious ownership exception
run: |
git config --global --add safe.directory /__w/mscclpp-ark/mscclpp-ark
git config --global --add safe.directory /__w/ark/ark
- name: Autobuild
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion ark/include/ark.h
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ class Model {
Tensor *local_all_reduce(Tensor *input, int gpu_id, int gpu_num,
Tensor *output, const std::string &name="local_all_reduce");
/// Verify if this model is valid.
/// @return true if the model is valid, false otherwise.data fr
/// @return true if the model is valid, false otherwise.
bool verify() const;

protected:
Expand Down
1 change: 0 additions & 1 deletion ark/ops/ops_all_gather_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
// Licensed under the MIT license.

#include "env.h"
#include "ipc/ipc_coll.h"
#include "ops_test_common.h"
#include "unittest/unittest_utils.h"

Expand Down
7 changes: 0 additions & 7 deletions ark/ops/ops_sendrecv_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,6 @@ void test_sendrecv_internal() {

ark::Executor exe{gpu_id, 2, model, "test_sendrecv"};
exe.compile();
if (gpu_id == 0) {
std::vector<ark::half_t> data(1024);
for (int i = 0; i < 1024; ++i) {
data[i] = ark::half_t(i + 1);
}
tns_x->write(data.data());
}

if (gpu_id == 0) {
std::vector<ark::half_t> data(1024);
Expand Down

0 comments on commit 362a1b1

Please sign in to comment.