Skip to content

Commit

Permalink
UnloadPrompts: Add a config toggle for whether or not tgis prompt art…
Browse files Browse the repository at this point in the history
…ifacts should be unloaded

This allows for the prompt cache to be purged when it's something that the
runtime "owns" and for the runtime to not purge the cache if the cache is
the same as local_models_dir (auto-load prompts).

caikit#180

Signed-off-by: Gabe Goodhart <[email protected]>
  • Loading branch information
gabe-l-hart committed Sep 8, 2023
1 parent c16c33a commit a7e7811
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions caikit_nlp/config/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ torch_dtype: float32
# Path of folder that will contain all the source prompts
source_prompt_base: ""

# Whether or not to purge TGIS prompts on model deletion
unload_tgis_prompt_artifacts: false

runtime:
library: caikit_nlp

0 comments on commit a7e7811

Please sign in to comment.