mlco2 / mlco2/codecarbon

Incorrect runtimes reported in emissions files

オープン
#653 コメント 5 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

question
主要言語
Python
スター
1.9k
フォーク
323
平均マージ
1日 12時間
マージ済み PR(30日)
12

説明

  • CodeCarbon version: 2.6.0
  • Python version: 3.10
  • Operating System: Linux (Google Colab)
Description

I was trying to record the emissions generated while fine-tuning the Gemma-7B model on an A100 GPU on Google Colab. While the code ran without any errors, the duration reported by the library in the emissions seems to be incorrect.

In two trials, the total duration is reported as 33.5 seconds and 33.2 seconds, respectively, while the actual durations were closer to 30 minutes. I also recorded the emissions subtask-wise, and the durations for individual subtasks are reported as negative (e.g., -1723972816).

Since I did not face this issue with other notebooks I ran on Google Colab with other models and GPUs, as well as other models on the same GPU, I was wondering where the error came from in this scenario? Thanks!

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

Google Colab で CodeCarbon 2.6.0、Gemma-7B のファインチューニング、A100 GPU を使用してレポートを再現し、合計時間とサブタスクの所要時間を実際の実行時間と比較します。まず、排出量ファイルとサブタスクについて実行時間の値がどのように記録されているかを追跡します。所要時間が負ではなく、観測された実行時間とよく一致すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。