Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
9 changes: 8 additions & 1 deletion .ci/scripts/unittest-buck2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,17 @@ BUILDABLE_KERNELS_PRIM_OPS_TARGETS=$(buck2 query //kernels/prim_ops/... | grep -
for op in "build" "test"; do
buck2 $op $BUILDABLE_OPTIMIZED_OPS \
//examples/selective_build:select_all_dtype_selective_lib_portable_lib \
//extension/llm/custom_ops/spinquant/test:fast_hadamard_transform_test \
//extension/llm/runner/test:test_multimodal_input \
//extension/llm/runner/test:test_generation_config \
//kernels/portable/... \
$BUILDABLE_KERNELS_PRIM_OPS_TARGETS //runtime/backend/... //runtime/core/... \
//runtime/executor: //runtime/kernel/... //runtime/platform/...
done

# Build only without testing
buck2 build //codegen/tools/... # Needs torch for testing which we don't have in our OSS buck setup.
buck2 build //codegen/tools/... \
//extension/llm/runner/io_manager:io_manager \
//extension/llm/modules/... \
//extension/llm/runner:multimodal_runner_lib \
//extension/llm/runner:text_decoder_runner
3 changes: 3 additions & 0 deletions .lintrunner.toml
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ exclude_patterns = [
'**/*.png',
'**/*.webp',
'**/*.jpeg',
'**/*.mp3',
'**/*.mp4',
'**/*.pte',
'**/*.pth',
Expand All @@ -216,6 +217,8 @@ exclude_patterns = [
'**/*.jpg',
'**/*.jar',
'**/*.gif',
'extension/llm/tokenizers',
'extension/llm/tokenizers/**',
# File contains @generated
'extension/llm/custom_ops/spinquant/fast_hadamard_transform_special.h',
'extension/llm/custom_ops/spinquant/test/fast_hadamard_transform_special_unstrided_cpu.h',
Expand Down
Loading