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

Absolute model cache paths #387

Merged
merged 6 commits into from
Mar 10, 2023
Merged

Absolute model cache paths #387

merged 6 commits into from
Mar 10, 2023

Conversation

pandu-k
Copy link
Collaborator

@pandu-k pandu-k commented Mar 10, 2023

  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    Bug fix

  • What is the current behavior? (You can also link to an open issue here)
    the model cache dir is relative, and therefore unpredictable. This can lead to the interpreter not being able to load a model if the CWD changes.

  • What is the new behavior (if this is a feature change)?
    The model cache directories are now consistent and relative to the Marqo root.

  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)
    No

  • Have unit tests been run against this PR? (Has there also been any additional testing?)
    In progress

  • Please check if the PR fulfills these requirements

  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes/features)
  • Docs have been added / updated (for bug fixes / features)

@pandu-k
Copy link
Collaborator Author

pandu-k commented Mar 10, 2023

@pandu-k pandu-k changed the title Make model cache paths relative to the Marqo root dir Absolute model cache paths Mar 10, 2023
@pandu-k pandu-k marked this pull request as ready for review March 10, 2023 03:20
@pandu-k pandu-k requested a review from wanliAlex March 10, 2023 03:20
@pandu-k
Copy link
Collaborator Author

pandu-k commented Mar 10, 2023

@pandu-k
Copy link
Collaborator Author

pandu-k commented Mar 10, 2023

@pandu-k pandu-k temporarily deployed to marqo-test-suite March 10, 2023 06:04 — with GitHub Actions Inactive
@pandu-k
Copy link
Collaborator Author

pandu-k commented Mar 10, 2023

@pandu-k pandu-k temporarily deployed to marqo-test-suite March 10, 2023 06:40 — with GitHub Actions Inactive
@wanliAlex wanliAlex merged commit 57a664e into mainline Mar 10, 2023
@wanliAlex wanliAlex deleted the absolute_cache_paths branch March 10, 2023 07:34
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