Open oOTigger opened 1 month ago
lib/kernels/test/src/test_batch_norm_kernel.cc
line 52 at r10 (raw file):
std::vector<float> host_output_data = fill_host_data<float>(output_accessor.ptr, num_elements); REQUIRE(contains_non_zero(host_output_data));
Suggestion:
CHECK
Attention: Patch coverage is 0%
with 122 lines
in your changes missing coverage. Please review.
Project coverage is 38.77%. Comparing base (
7bd12e3
) to head (dcd9f9b
).
flake.lock
line 84 at r14 (raw file):
"root": "root", "version": 7 }
Btw can you tell your editor to stop messing with whitespace in files, or alternatively don't push those changes? It unnecessarily clutters up the diff
flake.lock
line 84 at r14 (raw file):
Btw can you tell your editor to stop messing with whitespace in files, or alternatively don't push those changes? It unnecessarily clutters up the diff
You should be able to set up whatever editorconfig integration your editor uses: https://editorconfig.org/
flake.lock
line 84 at r14 (raw file):
Is there a .editorconfig file that I'm supposed to be matching somewhere? It looks like the default one is below. Is this fine? root = true # Unix-style newlines with a newline ending every file [*] end_of_line = lf insert_final_newline = true [{CMakeLists.txt,*.cmake}] indent_style = space indent_size = 2 [*.{cc,h,cu,cpp}] indent_style = space indent_size = 2 [*.py] indent_style = space indent_size = 4 [*.toml] indent_style = space indent_size = 2
Yes, just the one in the root of the repository: https://github.com/flexflow/FlexFlow/blob/repo-refactor/.editorconfig. If you enable whatever editorconfig support your editor has it should automatically find it and apply those settings
Add unit tests for the kernel functions of the following operators:
MultiHeadAttention
Cast
Combine
Concat
Flat
Partition
Replicate
Reshape
Softmax
Transpose
The changes made to
initializer_kernels.h
,array_shape.h
, andutils/fmt.h
were needed in order for tests to compile.This change is![Reviewable](https://reviewable.io/review_button.svg)