Skip to content

dvc remove does not remove neither output files from cache nor the files on remote #1266

@markbudiak

Description

@markbudiak

I have a ML pipeline where I have multiple steps. The outputs are also pushed to the remote storage on aws. I want to delete one step of the pipeline and all its outputs. I used the command:

dvc remove --purge classification.dvc

This removes the dvc file and the outputs from local data directory. Then I ran the command to update dvc also on remote:

dvc push
Surprisingly, the output was still in local cache folder and also on remote.
How can I fix this issue? Did I use the wrong command parameters to update dvc? Or do I need to use another commands?

DVC version: 0.19.12
method of installation: pip
Platform:

  • Distributor ID: Ubuntu
  • Description: Ubuntu 18.04.1 LTS
  • Release: 18.04
  • Codename: bionic

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions