Skip to content
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

Improvements #23

Merged
merged 3 commits into from
Aug 22, 2024
Merged

Improvements #23

merged 3 commits into from
Aug 22, 2024

Conversation

kyteinsky
Copy link
Contributor

No description provided.

1. migrate default config to llama compatible config
2. use COMPUTE_DEVICE to determine gpu offloading
3. use TaskProcessingProvider class for registration

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
1. better handling of app enabled state
2. download models on /init

Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
Copy link
Member

@bigcat88 bigcat88 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did not test, but lgtm

@kyteinsky kyteinsky merged commit fd39799 into main Aug 22, 2024
2 checks passed
from nc_py_api.ex_app.providers.task_processing import TaskProcessingProvider

from chains import generate_chains

chains = generate_chains()
models_to_fetch = {
"https://huggingface.co/bartowski/Meta-Llama-3.1-8B-Instruct-GGUF/resolve/4f0c246f125fc7594238ebe7beb1435a8335f519/Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf": { "save_path": os.path.join(persistent_storage(), "Meta-Llama-3.1-8B-Instruct-Q4_K_M.gguf") },
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mh, we should download this from a nextcloud-controlled location

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants