Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
d5df1e9
ark-dev: Implement Python API rework: Tensor.eval, set_model/current_…
Jun 9, 2026
bb54ed2
ark-dev: Implement P6 Python API rework: add Tensor.eval(), set_model…
Jun 9, 2026
58e2d84
Fix black 26.5.1 lint: remove extra blank line before __all__ in ops.py
chhwang Jun 9, 2026
af144ef
Migrate C++ operator tests to Python
chhwang Jun 9, 2026
a1c3290
Remove deleted C++ test targets from CMakeLists.txt CORRECTNESS_TESTS
chhwang Jun 9, 2026
5ab0207
Relax matmul NT/TN/TT tolerance from 1e-1 to 5e-1
chhwang Jun 9, 2026
1f81343
ark-dev: Implement P7: migrate 9 C++ operator tests to 8 Python test …
Jun 10, 2026
5710540
Merge branch 'main' into pr-e-python-api
chhwang Jun 10, 2026
f282119
ark-dev: Update PR #255 by merging base into head and resolving any…
Jun 10, 2026
565deac
Merge remote-tracking branch 'origin/pr-e-python-api' into pr-f-test-…
chhwang Jun 10, 2026
2d41653
ark-dev: Update PR #256 by merging base branch into head branch and…
Jun 10, 2026
2f08cb0
Merge branch 'main' into pr-e-python-api
chhwang Jun 10, 2026
1d8109c
ark-dev: Update PR #255 by merging base branch into head branch and…
Jun 10, 2026
14521a0
Merge remote-tracking branch 'origin/pr-e-python-api' into pr-f-test-…
chhwang Jun 10, 2026
ccef9f9
ark-dev: Update PR #256 by merging base branch into head branch and…
Jun 10, 2026
a9a7700
Merge branch 'main' into pr-f-test-migration
chhwang Jun 11, 2026
db4738f
Fix Python formatting (black) in migrated test files
chhwang Jun 11, 2026
66e6a03
ark-dev: Fix PR #256 (pr-f-test-migration) red CI: codecov/project ch…
Jun 11, 2026
3e2f6f2
ark-dev: Fix PR #256 (pr-f-test-migration) red CI: codecov/project ch…
Jun 11, 2026
9cdfbfa
ark-dev: Fix PR #256 (pr-f-test-migration) red CI: codecov/project ch…
Jun 11, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 16 additions & 16 deletions .github/workflows/ut.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,11 +72,26 @@ jobs:
cd build
ARK_UT_CORRECTNESS=1 ARK_ROOT=$PWD ctest -L correctness --stop-on-failure --verbose --schedule-random

- name: Install Python Dependencies
if: github.event_name != 'schedule'
run: |
python3 -m pip install -r requirements.txt

- name: Run Python UT
if: github.event_name != 'schedule'
run: |
cd build
PYTHONPATH=$PWD/python ARK_ROOT=$PWD python3 -m pytest \
--cov=python/ark \
--cov-report lcov:py_coverage.info \
--verbose \
../python/unittest/

- name: C++ Coverage
if: github.event_name != 'schedule'
run: |
cd build
lcov --ignore-errors negative --capture --directory . --output-file cpp_coverage.info
lcov --ignore-errors negative,mismatch --capture --directory . --output-file cpp_coverage.info
lcov --ignore-errors unused --remove cpp_coverage.info \
'/usr/*' \
'/tmp/*' \
Expand All @@ -90,21 +105,6 @@ jobs:
--output-file cpp_coverage.info
lcov --list cpp_coverage.info

- name: Install Python Dependencies
if: github.event_name != 'schedule'
run: |
python3 -m pip install -r requirements.txt

- name: Run Python UT
if: github.event_name != 'schedule'
run: |
cd build
PYTHONPATH=$PWD/python ARK_ROOT=$PWD python3 -m pytest \
--cov=python/ark \
--cov-report lcov:py_coverage.info \
--verbose \
../python/unittest/

- name: Report Coverage
if: github.event_name != 'schedule'
env:
Expand Down
13 changes: 1 addition & 12 deletions ark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -79,21 +79,10 @@ if(ARK_BUILD_TESTS)
endforeach()

# Tests that call op_test() and require ARK_UT_CORRECTNESS=1 for real validation.
# Keep in sync: grep -l 'op_test(' ark/ops/*_test.cpp
# Remaining C++ correctness tests (most ops migrated to python/unittest/ops/).
set(CORRECTNESS_TESTS
ops_all_reduce_test
ops_arithmetic_test
ops_cast_test
ops_copy_test
ops_embedding_test
ops_layernorm_test
ops_math_test
ops_matmul_test
ops_reduce_test
ops_rope_test
ops_scalar_test
ops_softmax_test
ops_transpose_test
)
set_tests_properties(${CORRECTNESS_TESTS} PROPERTIES LABELS "correctness")
endif()
Loading
Loading