Skip to content

Commit

Permalink
[debug] .contiguous()
Browse files Browse the repository at this point in the history
Signed-off-by: Yu Chin Fabian Lim <[email protected]>
  • Loading branch information
fabianlim committed Feb 4, 2025
1 parent 965620d commit d6d4086
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 11 deletions.
7 changes: 1 addition & 6 deletions .buildkite/test-pipeline.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -288,12 +288,7 @@ steps:
- vllm/attention
- tests/kernels
commands:
# - pytest -v -s kernels --shard-id=$$BUILDKITE_PARALLEL_JOB --num-shards=$$BUILDKITE_PARALLEL_JOB_COUNT
# DEBUG
# - pytest -v -s kernels/test_mamba_ssm_ssd.py
# DEBUG make all run the same shard ID
- pytest -v -s kernels --shard-id=2 --num-shards=$$BUILDKITE_PARALLEL_JOB_COUNT
# parallelism: 1
- pytest -v -s kernels --shard-id=$$BUILDKITE_PARALLEL_JOB --num-shards=$$BUILDKITE_PARALLEL_JOB_COUNT
parallelism: 4

- label: Tensorizer Test # 11min
Expand Down
10 changes: 5 additions & 5 deletions tests/kernels/test_mamba_ssm_ssd.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,11 +275,11 @@ def test_mamba_chunk_scan_cont_batch(d_head, n_heads, seq_len_chunk_size_cases,
d_head, itype):

Y, new_states = mamba_chunk_scan_combined(
X,
dt,
A,
B,
C,
X.contiguous(),
dt.contiguous(),
A.contiguous(),
B.contiguous(),
C.contiguous(),
chunk_size,
D=None,
cu_seqlens=cu_seqlens,
Expand Down

0 comments on commit d6d4086

Please sign in to comment.