Skip to content

Commit

Permalink
Make CodeEval respect device_eval_batch_size (#2969)
Browse files Browse the repository at this point in the history
* Make CodeEval respect device_eval_batch_size

* fix

* fix

* Avoid materializing dataset in memory

* fix

* fix

* Helper func

* fix

* Remove todo

* fix documentation

* use pre-commit run

* Tests

* fix error msg

* left padding

* final touches

* Fix gpu test

* Tests

* Return tensor

* fix

* pyright

* fix pyright

* Allow subset batches

* pyright

---------

Co-authored-by: Eitan Turok <eitan.turok@databricks.com>
Co-authored-by: Daniel King <43149077+dakinggg@users.noreply.github.com>
  • Loading branch information
3 people committed Feb 15, 2024
1 parent c47e012 commit 6a5972f
Show file tree
Hide file tree
Showing 4 changed files with 394 additions and 269 deletions.

0 comments on commit 6a5972f

Please sign in to comment.