experimental_experiment.torch_bench._bash_bench_models_helper¶
- experimental_experiment.torch_bench._bash_bench_models_helper.get_dummy_model() Tuple[Callable, Tuple[Any, ...]] [source]¶
Returns a dummy model used to validate the command line.
- experimental_experiment.torch_bench._bash_bench_models_helper.get_dummy_model_fail() Tuple[Callable, Tuple[Any, ...]] [source]¶
Returns a dummy model failing.
- experimental_experiment.torch_bench._bash_bench_models_helper.get_dummy_model_fail_convert() Tuple[Callable, Tuple[Any, ...]] [source]¶
Returns a dummy model.
- experimental_experiment.torch_bench._bash_bench_models_helper.get_llama_model_layer(num_hidden_layers: int = 1) Tuple[Callable, Tuple[Any, ...]] [source]¶
Returns a llama model with a specific number of layers.