Skip to content

Commit

Permalink
remove useless examples
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Jul 25, 2024
1 parent 8bdc9b0 commit 16c57b5
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 78 deletions.
25 changes: 0 additions & 25 deletions examples/llama_cpp.yaml

This file was deleted.

File renamed without changes.
23 changes: 0 additions & 23 deletions examples/llama_mps.yaml

This file was deleted.

23 changes: 0 additions & 23 deletions examples/llama_tiny_mps.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions optimum_benchmark/backends/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,7 @@ def __init__(self, config: BackendConfigT):
self.generation_config = None
elif self.config.library == "llama_cpp":
self.logger.info("\t+ Benchmarking a Llama.cpp model")
self.pretrained_config = get_transformers_generation_config(self.config.model, **self.config.model_kwargs)
self.model_shapes = {}
self.pretrained_processor = None
self.generation_config = None
else:
self.logger.info("\t+ Benchmarking a Transformers model")
self.generation_config = get_transformers_generation_config(self.config.model, **self.config.model_kwargs)
Expand Down
4 changes: 0 additions & 4 deletions tests/configs/_llama_cpp_.yaml

This file was deleted.

0 comments on commit 16c57b5

Please sign in to comment.