Closed boris-drazic closed 10 months ago
Earlier, as the number of prompts is increased to 3, the max_batch_size should also be changed to 3 (As max_batch_size is fixed at 1). Now we have updated the PR (#3140). We have added max_batch_size as a fixture and the number of prompts are generated w.r.t number of batch_size passed as input in the fixtures.
Is this ready to be closed? @boris-drazic
once merged to main it will be
Closing this ticket as #3140 PR has been merged to main. Thank you.
CPU demo errors out if more then one user input is passed in.
To replicate, on branch
saichand/mistral_cpu_demo
edit filemodels/experimental/mistral/demo/mistral_cpu_demo.py
and add some more inputs tosample_context
, e.g.,then run the test with
pytest models/experimental/mistral/demo/mistral_cpu_demo.py::test_demo_mistral_single_layer
This is the error: