No video

MLOps Workflows: Scalable Teamwork

  Рет қаралды 919

DagsHub

DagsHub

Күн бұрын

Пікірлер: 2
@vipuljrml2778
@vipuljrml2778 3 жыл бұрын
The difference between dvc add and dvc commit at around 1:20:00 is still not clear to me. Since most dvc commands are just like git commands, shouldn’t you commit it after you’ve staged it with dvc add to record the addition of Bitcoin to Universe.txt? It shouldn’t matter whether you’re working in a pipeline or not, should it?
@nirbarazida2118
@nirbarazida2118 3 жыл бұрын
Hi Vipul, This is a great question. DVC does have a lot of common commands as Git. However, not all of them serve the same purpose; the `add` command is one of them. The Git add command adds the changes in the working directory to the staging area. It tells Git that you want to include updates to a particular file in the next commit. However, the dvc add command tracks the files and stages them by creating a corresponding .dvc file. It acts as a combination of the Git add and the Git commit commands. In our case, we already tracked the Universe.txt file with DVC. Hence, we could choose rather use dvc add or dvc commit to track the changes. The results of running both of these commands will be the same. You raised an excellent point referring to DVC pipelines. In a use-case where DVC tracks a file in a pipeline (meaning the md5 hash is held in a dvc.lock and not in a .dvc file), and we want to track the changes outside the pipeline - we can only use the dvc commit command. By running this command, DVC will update the md5 hash in the dvc.lock. If running the dvc add command, it will fail with a message of "overlap tracking". This is because DVC is trying to create an md5 hash in a .dvc pointer file in addition to the md5 hash of the file in the dvc.lock file. I hope it helped you understand the workflow better. If you have any further questions, feel free to ask them here or on our Discord channel -discord.com/channels/698874030052212737/737944278692790343
MLOps Workflows: Intro to GitOps for ML
1:32:41
DagsHub
Рет қаралды 979
女孩妒忌小丑女? #小丑#shorts
00:34
好人小丑
Рет қаралды 86 МЛН
OMG what happened??😳 filaretiki family✨ #social
01:00
Filaretiki
Рет қаралды 13 МЛН
АЗАРТНИК 4 |СЕЗОН 1 Серия
40:47
Inter Production
Рет қаралды 333 М.
DagsHub Learning: Automate Your Labeling Process
53:50
DagsHub
Рет қаралды 763
⏪ Making LLMs Backwards Compatible with Jason Liu
53:40
DagsHub
Рет қаралды 1 М.
Страшно отдавать ребенка в российскую школу | Разборы
17:15
Кто убил СССР: называем поименно
54:09
НО.Медиа из России
Рет қаралды 63 М.