You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmm, I can reproduce it. @OS-leonardopratesi can you please make a reproducible small repo for this? Otherwise it's hard to guess what is going on here.
in the data/predictions.parquet when I run it in the queue.
so, something is a bit more complicated happening. Do you have more stages? I can imagine that run caching can break things when scripts are dynamic and depend on the execution path. But we need something reproducible I think.
Bug Report
Description
When running experiments with queue we encountered this error :
ERROR: failed to reproduce 'inference': output 'data/predictions.parquet' does not exist
Reproduce
This error happens when the directory has this specific structure:
and in
inference.py
we declare the path to thedata
folder as this:LOCAL_FOLDER: Path = Path(__file__).parent.parent / "data"
An example of the dvc.yaml used:
In this configuration
dvc exp run --queue
will throw an error that it does not find the output of the step.The fix we found is to declare the local folder path using cwd() instead:
LOCAL_FOLDER: Path = Path.cwd() / "data"
Environment information
DVC version: 3.56.0 (pip)
Platform: Python 3.10.12 on Linux-5.15.167.4-microsoft-standard-WSL2-x86_64-with-glibc2.35
Subprojects:
dvc_data = 3.16.7
dvc_objects = 5.1.0
dvc_render = 1.0.2
dvc_task = 0.40.2
scmrepo = 3.3.8
Supports:
http (aiohttp = 3.11.4, aiohttp-retry = 2.9.1),
https (aiohttp = 3.11.4, aiohttp-retry = 2.9.1),
s3 (s3fs = 2024.10.0, boto3 = 1.35.36)
Config:
Global: /home/leopra96/.config/dvc
System: /etc/xdg/dvc
Cache types: hardlink, symlink
Cache directory: ext4 on /dev/sdc
Caches: local
Remotes: s3
Workspace directory: ext4 on /dev/sdc
Repo: dvc (subdir), git
Repo.site_cache_dir: /var/tmp/dvc/repo/3a1e0f4a3b3ed376f7986e42bf618f01
The text was updated successfully, but these errors were encountered: