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

exp: temp dir runs ignore .dvc/config.local #7490

Closed
dberenbaum opened this issue Mar 22, 2022 · 3 comments
Closed

exp: temp dir runs ignore .dvc/config.local #7490

dberenbaum opened this issue Mar 22, 2022 · 3 comments

Comments

@dberenbaum
Copy link
Collaborator

Hello, when running experiments in parallel, I am finding that local cache settings are ignored.

I am using dvc 2.9.2.

when I am in my repo:

(venv) [me@computer folder]$ dvc config -l
remote.remote.url=//remote/url
core.remote=remote
remote.remote.url=//local/remote/url
cache.dir=/cache/dir
cache.type=hardlink,symlink

but when I cd to one of the temporary experiment directories:

(venv) [me@computer tmp0zpspb9w]$ dvc config -l
remote.almds.url=//remote/url
core.remote=remote
cache.dir=/cache/dir

I mentioned this on Discord and was told that this could be relevant to this issue.

Originally posted by @gregstarr in #5800 (comment)

@dberenbaum
Copy link
Collaborator Author

@pmrowla Any thoughts on how to handle this?

@pmrowla
Copy link
Contributor

pmrowla commented Mar 23, 2022

This is a known issue (duplicate of #7254)

Right now we generate our own config.local in the temp dir so that we can configure the cache directory to point to the correct location (and we don't propagate anything else from the parent repo's config.local)

@dberenbaum
Copy link
Collaborator Author

Thanks @pmrowla! Closing as a duplicate.

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

No branches or pull requests

2 participants