Fix task running in Google Colab does not fetch the notebook diff appropriately (#1204)

This commit is contained in:
allegroai
2024-03-17 14:59:35 +02:00
parent b7c5ec9538
commit 57614e68a5
2 changed files with 9 additions and 6 deletions

View File

@@ -282,9 +282,6 @@
"new_task.update_parameters({\"General/max_depth\": 3})\n",
"# We can even rename it if we wanted\n",
"new_task.rename(f\"Cloned Task\")\n",
"# Make sure that the diff does not contain Colab invocation!\n",
"# cf. https://github.com/allegroai/clearml/issues/1204\n",
"new_task.set_script(diff=\"pass\")\n",
"# Now enqueue it for the colab worker to start working on it!\n",
"Task.enqueue(task=new_task, queue_name=\"default\")"
]