Skip to content

Error: unable to load weights from PyTorch #197

Answered by debanjum
elissasoroj asked this question in Q&A
Discussion options

You must be logged in to vote

@elissasoroj, it's unfortunate that you can't set it up a second time after getting it to work previously.

I'll need some more details to investigate. Can you share the following:

  1. Which Khoj version are you on? (you can get that by running khoj --version)
  2. How the search-type section in your ~/.khoj/khoj.yml file looks?
  3. The name of files under ~/.khoj/search/asymmetric directory (i.e ls -l ~/.khoj/search/asymmetric)
  4. Did you use pip or conda to install khoj? Or are you just installing khoj via pip but in a (mini)conda environment?
  5. The more verbose output from khoj failing using khoj --no-gui --verbose

It's strange that khoj can't find the multi_qa sentence transformer model (or is seeing …

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@elissasoroj
Comment options

@debanjum
Comment options

Answer selected by elissasoroj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants