Skip to content

Commit

Permalink
Only use self.model_name_or_path in cache path
Browse files Browse the repository at this point in the history
  • Loading branch information
parkervg authored May 10, 2024
1 parent 57d68c3 commit c0a94f0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blendsql/models/_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class Model:
def __attrs_post_init__(self):
self.cache = Cache(
Path(platformdirs.user_cache_dir("blendsql"))
/ f"{self.__class__}_{self.model_name_or_path}.diskcache"
/ f"{self.model_name_or_path}.diskcache"
)
self.prompts: List[str] = []
if self.requires_config:
Expand Down

0 comments on commit c0a94f0

Please sign in to comment.