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

Remove hardcoded root path for HF models #3459

Merged
merged 1 commit into from
Dec 17, 2024
Merged

Conversation

emerzon
Copy link
Contributor

@emerzon emerzon commented Dec 14, 2024

Description

Remove hardcoded root path for HF models, using user home dir instead

How Has This Been Tested?

Model server started and correctly loaded models

NOTICE:   12/13/2024 08:27:53 PM               custom_models.py   99: Loaded model from local cache: /home/egomes/.cache/huggingface/hub/models--danswer--hybrid-intent-token-classifier/snapshots/54ed7e946f84a252c5d4e5d7a0bc839f466e9c64

Accepted Risk (provide if relevant)

N/A

Related Issue(s) (provide if relevant)

N/A

Copy link

vercel bot commented Dec 14, 2024

@emerzon is attempting to deploy a commit to the Danswer Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@Weves Weves left a comment

Choose a reason for hiding this comment

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

Awesome, thanks for this!

@Weves Weves merged commit b5d0df9 into onyx-dot-app:main Dec 17, 2024
3 of 7 checks passed
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.

2 participants