Skip to content

Commit

Permalink
#0: Add chunked generation test to t3k demo
Browse files Browse the repository at this point in the history
  • Loading branch information
cglagovichTT committed Dec 12, 2024
1 parent 48e9da1 commit 813e5c2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/scripts/t3000/run_t3000_demo_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ run_t3000_llama3_70b_tests() {
# Output verification demo for old llama3-70b codebase, to be removed once old codebase is deleted
env WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest models/demos/t3000/llama3_70b/demo/demo.py::test_LlamaModel_demo[wormhole_b0-True-device_params0-short_context-check_enabled-greedy-tt-70b-T3000-80L-decode_only-trace_mode_off-text_completion-llama3] --timeout=900 ; fail+=$?

# Test chunked prefill for llama2-70b
env WH_ARCH_YAML=wormhole_b0_80_arch_eth_dispatch.yaml pytest models/demos/t3000/llama2_70b/tests/test_chunked_generation.py::test_batch_prefill --timeout=900 ; fail+=$?

# Record the end time
end_time=$(date +%s)
duration=$((end_time - start_time))
Expand Down

0 comments on commit 813e5c2

Please sign in to comment.