preemo_text-generation-infe.../benchmark/src
Jason Sun 1e646fb41d
Compilation fix: Correct method argument types in generation.rs and validation.rs (#10)
* fix: Correct method argument types in generation and validation

In the `generation.rs` and `validation.rs` files, corrected the argument types
passed to the `decode` method. Replaced `Vec<u32>` with `&[u32]` using the
`as_ref()` method to match the expected argument types. This resolves the
mismatched types compilation error during the Rust build process.

Closes
[#9](https://github.com/Preemo-Inc/text-generation-inference/issues/9)

* Update benchmark/src/generation.rs

Co-authored-by: Yang, Bo <pop.atry@gmail.com>

* Update router/src/validation.rs

Co-authored-by: Yang, Bo <pop.atry@gmail.com>

---------

Co-authored-by: Yang, Bo <pop.atry@gmail.com>
2023-08-23 13:52:49 -07:00
..
app.rs feat(benchmarker): add summary tables (#368) 2023-05-25 13:38:36 +02:00
event.rs feat(benchmark): tui based benchmarking tool (#149) 2023-03-30 15:26:27 +02:00
generation.rs Compilation fix: Correct method argument types in generation.rs and validation.rs (#10) 2023-08-23 13:52:49 -07:00
lib.rs feat(benchmarker): add summary tables (#368) 2023-05-25 13:38:36 +02:00
main.rs docs(benchmarker): Adding some help for the options in `text-generation-benchmark`. (#462) 2023-07-04 18:35:37 +02:00
table.rs feat(benchmarker): add summary tables (#368) 2023-05-25 13:38:36 +02:00
utils.rs feat(benchmark): tui based benchmarking tool (#149) 2023-03-30 15:26:27 +02:00