New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move llmware base directory #644
Comments
Hi @c-w-m, thank you for that feature request! I think it is definitely something that should be at least considered to be implemented. |
@c-w-m - could you please take a look at the LLMWareConfig class in configs.py - it provides a variety of options for setting the home path and where artifacts are stored locally - I am copying and pasting the relevant config parameters below found in this file: class LLMWareConfig:
"""LLMWare global configuration object - use set/get to update """
if platform.system() == "Windows":
_base_fp = {"home_path": os.environ.get("USERPROFILE"),
"llmware_path_name": "llmware_data" + os.sep}
else:
_base_fp = {"home_path": os.environ.get("HOME"),
"llmware_path_name": "llmware_data" + os.sep}
_fp = {"model_repo_path_name": "model_repo" + os.sep,
"library_path_name": "accounts" + os.sep,
"input_path_name": "input_channel" + os.sep,
"parser_path_name": "parser_history" + os.sep,
"query_path_name": "query_history" + os.sep,
"prompt_path_name": "prompt_history" + os.sep,
"tmp_path_name": "tmp" + os.sep} To set the parameter: Please confirm back if this resolves/advances the issue ... |
Problem: I'm running out of storage on my primary drive
Suggested fix: allow an environment variable to set the base path
Example Refactor:
llmware\llmware\configs.py
_base_fp
The text was updated successfully, but these errors were encountered: