Skip to content

chore(testdata): add fseq.json under silero testdata for future test enhancements - #153

Open
crutcher wants to merge 3 commits into
mainfrom
crutcher/debug-cuda-crosstest
Open

chore(testdata): add fseq.json under silero testdata for future test enhancements#153
crutcher wants to merge 3 commits into
mainfrom
crutcher/debug-cuda-crosstest

Conversation

@crutcher

Copy link
Copy Markdown
Member

Partially unpacked cuda vs flex crosstest. The CUDA error is in the FusedLstm code.

$ cargo test --package bunsen --lib --features cuda -- kits::speech::silero_vad::cross_test::tests::backend_golden_crosstest --exact
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s
     Running unittests src/lib.rs (target/debug/deps/bunsen-38988ac2e73a0fdf)

running 1 test
test kits::speech::silero_vad::cross_test::tests::backend_golden_crosstest ... FAILED

failures:

---- kits::speech::silero_vad::cross_test::tests::backend_golden_crosstest stdout ----
unrolled::frame_features
unrolled::lstm_step

thread 'kits::speech::silero_vad::cross_test::tests::backend_golden_crosstest' (969848) panicked at crates/bunsen/src/kits/speech/silero_vad/cross_test.rs:127:14:
Tensors are not approx eq:
  => Position 0: 0 != -0.7615942
     diff (rel = +1.00e0, abs = +7.62e-1), tol (rel = +5.00e-3, abs = +1.00e-5)
  => Position 8: 0 != -0.7615942
     diff (rel = +1.00e0, abs = +7.62e-1), tol (rel = +5.00e-3, abs = +1.00e-5)
  => Position 11: 0 != 0.7615942
     diff (rel = +1.00e0, abs = +7.62e-1), tol (rel = +5.00e-3, abs = +1.00e-5)
  => Position 12: 0 != -0.7615942
     diff (rel = +1.00e0, abs = +7.62e-1), tol (rel = +5.00e-3, abs = +1.00e-5)
  => Position 16: 0.7615942 != 0
     diff (rel = +1.00e0, abs = +7.62e-1), tol (rel = +5.00e-3, abs = +1.00e-5)
52 more errors...
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace


failures:
    kits::speech::silero_vad::cross_test::tests::backend_golden_crosstest

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 262 filtered out; finished in 1.44s

error: test failed, to rerun pass `-p bunsen --lib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant