[ML] Make it easier to map the autodetect process to Job ID
- Vorherrschende Sprache
- C++
- Sterne
- 157
- Forks
- 67
- Ø Merge
- 17 Std. 52 Min.
- Gemergte PRs (30 T.)
- 20
Beschreibung
When running multiple anomaly detector jobs it can be useful to know which `autodetect` process relates to which job. The same could also applies to Data Frame Analytics. Knowing the job ID would be useful when collecting runtime metrics for each job such as the amount of memory the process is using.
Pytorch inference has a `modelid` argument that is parsed and never used but serves as a useful marker, similarly `autodetect` could have a `job_id` argument.
It is possible to extract the job Id from the named pipe filename which is for the log pipe is constructed as
`--logPipe=/path/to/autodetect_{JOB_ID}_log_{PPID}`
Beitragsleitfaden
Rechercherichtung
Beginne damit nachzuverfolgen, wie die autodetect-Kommandozeilenargumente zusammengestellt und geparst werden, und vergleiche diesen Pfad anschließend mit dem geparsten, aber nicht verwendeten modelid-Argument von PyTorch. Die Änderung ist abgeschlossen, wenn autodetect-Prozesse die korrekte job ID als Marker ausweisen und konsistent mit der job ID übereinstimmen, die im log-pipe-Dateinamen für anomaly detector- und Data Frame Analytics-Jobs dargestellt wird.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- cpp
- Bereich
- machine-learning
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100