Track operations with Jobs

Every long-running operation on Picsellia, from a Processing to a training or an annotation import, runs in the background as a Job. The Jobs tab is where you follow it, read its logs, and relaunch it if it failed, and it keeps a record of what was run on which object, when, and by whom.

1. What is a Job?

When using Picsellia to advance your Computer Vision project, you may need to perform tasks that require significant time and computing resources. These tasks, such as importing a large annotation file, training a model, or enhancing your Data, are referred to as Job on Picsellia.

The Jobs tab lets you track the progress of these Job and access their logs. There are three types of Picsellia Job:

  • Processings: executions of a Processing, a script applied to a Datalake, a DatasetVersion, or a ModelVersion, for instance to pre-annotate or augment your Data. Both public and user-created Processing can be accessed in the Jobs tab.
  • Trainings: model trainings completed on Picsellia's infrastructure. Both public models and user-imported models and training scripts can be accessed in the Jobs tab.
  • Internals: Picsellia's native object manipulations, such as annotation imports or Dataset forks.

Trainings and Processing can each run on the Compute Connector of your choice, and their consumption is reflected in your DPU & MPU usage.

Jobs tab

📘

In the Jobs tab you can filter by Job type. By default, the All, Processings and Trainings tabs are displayed. Click on the small icon next to those tabs to also display Internal Job.

2. Job details

For each Job, you'll find several pieces of contextual information (from left to right):

  • The status of the Job, shown by the color of its icon: Pending, Running, Succeeded, Failed, or Killed when it was stopped before the end
  • The name of the Job (clicking on it displays the logs of this action)
  • The Picsellia object affected by this Job (clicking on it shows the related object, e.g. DatasetVersion)
  • The time elapsed since the Job was triggered
  • The time the Job took to complete

Job details

As mentioned, by clicking on the Job name, you access a detailed view of the related Job.

Detailed view of a Job

In addition to the Job details already displayed in the Jobs tab, this detailed view lets you access:

  • The user who triggered the Job, shown next to the time it was triggered
  • The Job logs if available. For example, internal Job do not generate logs. For the private Processing and trainings imported by users, it depends on the logs generated by the dockerized script imported into the private model or Processing registry of Picsellia.
  • The Job ID (for SDK use)
  • The possibility of relaunching the Job with the Re-run button in the case of a Processing (top right corner)
📘

Thanks to the Job, you can have a clear overview of all the ongoing operations related to the Organization you're connected to.

3. Follow a Job from launch to completion

Right after launching a Processing or a training, you should see its Job at the top of the list. Filter on the matching tab, for instance Processings, to find it faster, and click on its name to open its detailed view.

A Job can stay Pending for several minutes before it runs. Once your Job has been scheduled (and you start being billed), the status changes to Running, and logs are displayed in real time. Those logs come from the stdout of the server the Job runs on. While a Processing is running, its row in Jobs > Processings shows a Stop job button, which stops it before the end.

Processing logs

This way, you can track the progress and the status of your Job and check that everything is going well. It is also a way to keep track of any action performed on a Datalake, a DatasetVersion, or a ModelVersion, such as which Processing was executed, when, and by whom.

Once your Job is over, you have access to the full history of its logs and its total running time, and its status switches to Succeeded, or Failed if there were issues at runtime. A Job stopped before the end is marked Killed.

If your Job fails, you can locate the issue with the stack trace in its logs:

Processing fail

Once you have detected and fixed the issue, and updated the Docker image of your Processing, click on the Re-run button at the top right of the Job. This creates and launches a new run with the same configuration (inputs and parameters), and the detailed view keeps the history of every run with its logs.

Relaunch a Processing with the same configuration


Did this page help you?