-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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: running experiments is very slow #5638
Comments
The issue is with computing git status (via dulwich), not DVC status, so using |
@courentin @ettadar do you have large untracked directories in your workspaces? I know @ettadar's issue mentioned |
If it is the case with |
Nop.
Yep, it is already gitignored. This is the output of
|
Can confirm with our It looks like dulwich status is walking the entire directory when checking for untracked files (instead of stopping after the top level directory is ignored). This is probably also the cause of the performance issue reverted in #5596 |
I have a |
Should be resolved by jelmer/dulwich#853 |
Should this be resolved by the recent dvc updates ? |
@jdonzallaz the upstream fix for dulwich has not been merged yet, so this issue will still affect the latest DVC release ( |
For reference, while we are waiting on a dulwich release, anyone experiencing this issue can install the latest dulwich from source to get the fix (this will only work for DVC installed via pip)
|
Bug Report
Description
Hello!
I'm trying to test the suggestion made in #5557 but running
dvc exp run export_corpus_test_fr --set-param debug=true
is taking a lot of time (~8min) while reproducing the stage without experiment does not take so much time.I tried to add as many directories in
.dvcignore
as I could but it doesn't change anything. So I suspect something in dvc.Environment information
I'm using the dvc version from master (862e18) and dulwich from master too (bbcc4b).
Additional Information:
Profiling information here: exp.prof.zip
The text was updated successfully, but these errors were encountered: