---
title: "SO-101 失敗から学ぶアームを作る Log#10 | 初めての実機で、π0.5 の SO-101 は12回とも箱へ"
slug: so101-pi05-first-real-run-twelve-of-twelve
date: 2026-11-24
day: 572
meta_description: "Physical Intelligence の π0.5 をお手本50本で学習させた SO-101 は、初めての実機で5か所すべてに置いたブロックを12回中12回、箱に入れた。答えを待つたびに腕が止まり、動いた時間の約半分は止まっていた。"
tags: [SO-101, LeRobot, π0.5, Physical Intelligence, 模倣学習, 推論, Runpod, Claude Code, 依頼箱]
series: "フィジカルAI研究室"
---

**Physical Intelligence の [π0.5](https://www.physicalintelligence.company/blog/pi05)（パイレイテンゴ）を、ロボットアーム [SO-101](https://github.com/TheRobotStudio/SO-ARM100) のお手本50本で学習させたモデルは、初めての実機で、お手本と同じ5か所に置いた赤いブロックを12回中12回、白い箱に入れた。** ただし腕は、次の動きを AI に問い合わせて答えを待つたびに0.2〜0.4秒ずつ止まり、動かしていた時間の半分あまりは止まっていた。

これで分かったこと、変わったこと。

- お手本を録った5か所なら、人が手を出さずに、つかんで箱まで運べる。12回とも途中での手直しはなく、腕がガクッと飛んだ回もなかった
- 問い合わせ1回に送る画像を JPEG にしただけで、送る大きさは461KBから約22KBに、答えが返るまでは中央値1.27秒から約0.38秒に縮んだ。腕の止まり1回は、約1秒から0.21〜0.39秒になった
- かかった費用は、Runpod の A40 を5回借りて合わせて約181円（仕組みの確かめ33円・待ちの直しの確かめ28円・実機10回62円・実機2回29円・ゆっくり流す試し29円）。1回の答えを30コマにした学び直しは、学習と確かめで約609円

困っているのはカクカクのほうだ。π0.5 は1回の答えで、先の10コマ（SO-101 は1秒30コマなので0.33秒ぶん）の関節の目標を返す。答えが返るまで約0.38秒かかるので、10コマを流し終えても次の答えがまだ届いていない。その間、腕は止まって待つ。立ち会って見ていても、相当カクカクしていた。答えをゆっくり流す直し方も試したが、止まりは減らず、かえってカクカクした。残る手は、1回の答えを1秒ぶん（30コマ）にして学び直すことで、その学習は一晩で終わった。録ったお手本で確かめると、答えは中央値0.47秒で返り、止まりは消える見込みが立った。実機で比べるのはこれから。

【動画】LOG572_01_real_run_stop_and_go_a_trim.mp4 π0.5 で動く SO-101 をスマホで横から撮った映像（動き出しから元の姿勢に戻るまでの26秒・音声なし）。奥の白いアームが赤いブロックをつかみ、白い箱へ運ぶ。動いては止まり、を細かくくり返す

| やったこと | なぜ | 結果 |
|---|---|---|
| 実機で動かす仕組みを作った（依頼283） | 学習に使った形のまま、カメラ2台の画像と関節の角度を Pod の π0.5 に送り、答えを SO-101 に流すため | 録ったお手本を流すと、答えとお手本の差は中央値0.4〜0.8°。ただ答えが返るまで1.27秒 |
| 待ちを縮めた（依頼285） | 遅いのは AI の計算（0.18秒）ではなく、画像を生のまま送る時間だった | JPEG にして0.36秒。流している途中で次を問い合わせる形も足した |
| 実機で10回動かした（依頼286） | 2つの問い合わせ方を場所1で3回ずつ比べ、場所2〜5へ広げる | 10回とも箱に入った。電流は6つ全部読んでも1秒30コマのまま |
| 場所3と場所4で動かした（依頼287） | 8・9回目は案内と違う場所2に置いていたので、場所3・4がまだだった | 2回とも箱に入った。5か所で12回中12回 |
| 答えをゆっくり流した（依頼288） | 答えの長さ0.33秒が待ちの0.38秒より短い | 0.8倍・0.7倍とも止まりは減らず、余計カクカクした。この回は待ちも0.51秒に延びていた |
| 1回の答えを30コマにして学び直した（依頼289） | 答えを1秒ぶんにすれば、待ちが動いている間に隠れる見込み | A40 で6.37時間・約594円。答えは中央値0.47秒で返り、先のコマほどずれが大きい。実機はこれから |

【図解】LOG572_so101_stop_and_go.html

GPU を買うか借りるかの判断は、Runpod で実際に借りて学習させた費用をもとに、別のページにまとめています。

【バナー】gpu-buy-or-rent


## 作業ログ ― SO-101 で π0.5 の答えを動きにする仕組み（依頼283）

【ファイル一式】LOG572

前の回（LOG568）で、場所1〜5に10本ずつ、合わせて50本のお手本から π0.5 を学習させた。学習した重み（2999ステップ）は Hugging Face の非公開の置き場所と、外付けの SSD（KIOXIA）にある。この回は、それを実物の SO-101 で動かすところから始めた。

### この記録で使う言葉

| 言葉 | 意味 |
|---|---|
| 推論 | 学習したモデルに、いまのカメラの画像と関節の角度を見せて、次にどう動くかを答えさせること |
| 答え（チャンク） | π0.5 が1回の推論で返す、先の10コマぶんの関節の目標。SO-101 は1秒30コマで動かすので、10コマは0.33秒ぶん |
| Pod | [Runpod](https://www.runpod.io/) で時間借りする GPU のマシン。ここで π0.5 のサーバーを動かし、手元の Mac から問い合わせる |
| so101a | 前の回で学習した SO-101 用のモデルの呼び名（`lab_start.sh --model so101a`） |
| 先に問い合わせる | 答えを流している途中で次の問い合わせを出しておく形。使い切ってから問い合わせる形と比べた |
| 止まり | 答えを流し終えたのに次の答えが届いておらず、腕が止まって待っている時間 |
| 電流 | サーボ（関節のモーター）に流れている電流。STS3215 の Present_Current（番地69）を読む。つかんだときやぶつかったときに跳ねる |
| リーダー・フォロワー | SO-101 は2本1組。人が手で動かす黒いリーダーと、同じ動きをする白いフォロワー。推論ではフォロワーを π0.5 が動かす |

### 依頼283 で作ったのは、Mac 側のクライアントと Pod のサーバーの立ち上げ

mechArm 270 で使ってきた推論の仕組み（`pi05/run_policy_client.py`）は mechArm 用で、SO-101 にはそのまま使えない。依頼283 では、SO-101 用のクライアント（`so101/run_so101_policy.py`）を新しく作り、`lab_start.sh` に `--model so101a` を足した。フォロワーは動かさず、録ってあるお手本を流して答えを確かめるところまでにした。

- ねらい：お手本を録ったときと同じカメラの設定・同じ画像の縮め方で π0.5 に見せ、答えを、録るときと同じ入口（1コマで動かせる量を10°までに抑える `lerobot_safe_259.py`）から SO-101 に流す
- 変わったこと：始めに1回 Enter を押せば、あとは止まらずに動き続ける。止める操作はスペース（一時停止）と q（終わる）だけで、一時停止中に t を押すとリーダーで手直しできる。記録はお手本と同じ LeRobot の形で残る
- 見込める効果：推論の記録を、そのままお手本に足して学び直しに使える（手直しの入ったコマには印が付く）

依頼文では、答えの関節5つは差分なので今の角度に足す、と書いていた。Claude Code が確かめると、学習の設定の出口で角度に直してから返していたので、足すと18〜52°ずれる。クライアントでは足さない形にした。

#### 依頼283 の依頼文


```markdown
---
作業フォルダ: /Users/shimazueiichi/r2r2r-scripts
上限時間: 300
---
# SO-101 の π0.5 を実機で動かす流れを作り、録ったお手本で確かめる（依頼283・立ち会い不要・フォロワーは動かさない）

依頼282 で、SO-101 のお手本50本（5か所×10本）から π0.5 を学習した（`--model so101a`、Hugging Face `PixelstoMotors/pi05-so101-teleop-even-lora-v1`、KIOXIA `checkpoints/pi05_so101_teleop_even_lora_v1/2999`）。次は実機で動かす（推論）。282 の報告の「推論に進むときに足りないもの」を作る。

**この依頼ではフォロワーを動かさない。** 実機で動かすのは次の依頼（立ち会い）でやる。この依頼は、コード・テスト・Pod でのサーバーの立ち上げと、録ったお手本を流して予測を確かめるところまで。

mechArm の `lab_start.sh`・`pi05/run_policy_client.py` と、既存の --model（trim〜split2）の動きは変えない。

## 1. lab_start.sh に so101a を足す
- `lab_start.sh --model so101a` で Pod を借り、Hugging Face から `pi05-so101-teleop-even-lora-v1` の 2999 を取り、SO-101 の設定（`pi05_so101_teleop_even_lora`）と `so101_policy.py` を入れてサーバーを立てる
- Pod を借りる・消す・記録の持ち帰りは今の lab_start.sh / lab_stop.sh と同じ流れ
- 記録は KIOXIA の `lab/{--log の名前}/`（mechArm と同じ。番号は実機の回に Claude が決める）

## 2. SO-101 用の Mac 側のクライアントを新しく作る（例 `so101/run_so101_policy.py`）
run_policy_client.py は mechArm 用なので、SO-101 用を別に作る。中身はこう:
- **カメラ**：お手本を録ったときと同じ2台・同じ露出の設定（`camera_lock_259_desk.json`・`camera_lock_259_wrist.json`）で読み、学習と同じ作り方で 320×240 に縮める（BOX、JPEG の品質95）
- **送る形**：`so101_policy.py` に書いた keys の名前で、state（関節6つ）・2台の画像・課題の言葉 `Put the red block into the white box` をサーバーへ送る
- **受けた答え**：（10, 6）。関節5つは差分なので今の角度に足して絶対値に直し、爪は絶対値のまま
- **送り方**：入口は録ったときと同じ `lerobot_safe_259.py`（1コマで動かせる量の上限 10°）を通してフォロワーへ送る。30fps で1コマずつ送る
- **1回で実行する長さ**：既定は答えの10コマ全部（0.33秒）を実行してから次を問い合わせる。`--exec-steps N`（1〜10）で、先頭の N コマだけ実行して問い合わせ直せるようにする（エイイチがまだ決めていない。実機で比べられるように）
- **安全範囲**：学習に使った50本（KIOXIA の `datasets/so101_redblock_box_teleop_even_v1/`）の関節の幅に ±10° を足した範囲。外へ出る指令は端で切る（止めない）
- **確かめと止め方**：始めの1回だけ Enter で確かめ、あとは止まらずに続ける。スペースで一時停止（その場で止める）、q で終わる。**このほかの確認・停止の条件を足さない**（安全の理由で止まる所を増やさない）
- **始めの寄せ方**：今の姿勢から最初の目標へは、録ったときと同じ寄せ方（1コマ10°まで）
- **人の手直し**：一時停止中に t を押すとリーダーアームでのテレオペに切り替わり、もう一度 t で推論に戻る。切り替えの寄せ方も録ったときと同じ。手直しの間のコマには「人が手を入れた」印を付ける
- **ドライラン**：既定はドライラン（フォロワーに送らない）。送るには `--execute`

## 3. 記録（LOG570 で決めた記録の項目に合わせる）
- 1回ごとに、お手本と同じ LeRobot の v3.0 の形で残す（カメラ2台・関節6つの実測・送った指令・時刻）。お手本と同じ道具で開けて、あとで学習に足せる形にする。置き場所は KIOXIA の `lab/{--log の名前}/`（Hugging Face には送らない）
- 1コマごとに、状態（model＝AI の動き／correct＝人の手直し／pause）と、答えの何番目のコマか、を付ける
- 1回ごとに1行：試行の名前・だれが動かしたか（AI／AI＋人の手直し）・ブロックの場所の番号（1〜5。始めに聞く）・モデル（checkpoint の step）・`--exec-steps`・結果（終わるときに y＝成功 / n＝失敗 / Enter＝記録しない を聞く）
- 成功／失敗は、今の判定の表 `runs/pi05_policy_verdicts_v1.csv` に行を足せるか確かめる。**列が足りなければ列を勝手に足さず、報告に案を書く**
- 電流は、この依頼では足さない（読める速さを実機で測ってから決める。次の依頼）

## 4. 確かめ（フォロワーは動かさない）
1. テストを書いて通す（差分→絶対値、安全範囲の端で切る、--exec-steps、記録の形、t の切り替えで印が付くこと）。既存のテスト（test_lab_start.sh など）も通ること。mechArm の --model の lab_start.sh のドライランの出力が変わらないこと（282 と同じ比べ方）
2. 実際に `lab_start.sh --model so101a` で Pod を借りてサーバーを立てる
3. **録ったお手本を流して確かめる**：50本から場所ごとに1本ずつ（5本）、録ったコマの画像と関節をクライアントからサーバーへ送り、返ってきた答えとお手本の次の10コマの角度を比べる（関節ごとの差の中央値と最大）。カメラを使わず、データから読む形でよい
4. 一度に答えが返るまでの時間（中央値・最長）を測る。0.33秒より長いかどうかを書く（長ければ、待つ間に動きが止まる）
5. Pod は削除まで行い、ログを KIOXIA に持ち帰ってから消す

## 報告に書くこと
- 足した・変えたファイルの一覧と git の commit（個別に add。`git add .`・`git clean` は使わない）
- 3 の5本の比べた結果（場所ごと・関節ごと）
- 答えが返るまでの時間、GPU の型番・借りた時間・費用（円も）
- 実機で動かすときの起動のコマンド（ドライランと --execute の両方）
- 判定の表に行を足すときの列の案（足りなかった場合）
- 最後の1行は「判定：合格／止めた」のどちらか
```

### 録ったお手本5本を流すと、答えはお手本と0.4〜0.8°の差だった

フォロワーを動かさずに、答えが正しいかを見る方法として、お手本の画像と関節の角度をそのままサーバーに送り、返ってきた10コマと、お手本の次の10コマを比べた。場所1〜5から1本ずつ、10コマおきに問い合わせた。

| 場所 | 問い合わせ | 差の中央値（関節の順） | 差の最大 |
|---|---|---|---|
| 1 | 55回 | 0.50／0.80／0.52／0.84／0.43／0.48 | 7.7／10.9／8.4／7.9／3.6／20.4 |
| 2 | 53回 | 0.56／0.51／0.61／0.53／0.28／0.42 | 5.2／5.0／8.9／10.0／2.6／16.7 |
| 3 | 58回 | 0.73／0.56／0.84／0.90／0.44／0.33 | 19.7／15.3／7.9／7.5／9.6／11.3 |
| 4 | 43回 | 0.32／0.47／0.84／0.59／0.36／0.44 | 9.5／16.9／9.2／15.2／3.4／16.6 |
| 5 | 41回 | 0.55／0.50／0.90／0.65／0.40／0.55 | 5.7／10.2／9.1／9.9／5.1／19.4 |

関節の順は shoulder_pan／shoulder_lift／elbow_flex／wrist_flex／wrist_roll／爪で、単位は度（爪だけは0〜100の値）。最大が大きいのは、つかむ・離すの切り替わりのように、人のお手本でも動きが急に変わる所だった。

#### replay_demo_20261124_144925.json（お手本5本と答えの差）

```json
{
  "data": "/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes",
  "stride": 10,
  "joints": [
    "shoulder_pan",
    "shoulder_lift",
    "elbow_flex",
    "wrist_flex",
    "wrist_roll",
    "gripper"
  ],
  "episodes": {},
  "by_place": {
    "1": {
      "episode": "so101_redblock_box_teleop_v1_ep002",
      "frames": 551,
      "queries": 55,
      "as_is": {
        "median": [
          0.5,
          0.8,
          0.52,
          0.84,
          0.43,
          0.48
        ],
        "max": [
          7.68,
          10.89,
          8.36,
          7.87,
          3.56,
          20.38
        ]
      },
      "plus_state": {
        "median": [
          3.32,
          44.8,
          38.52,
          37.06,
          5.02,
          0.48
        ],
        "max": [
          38.59,
          104.55,
          98.14,
          62.68,
          18.91,
          20.38
        ]
      }
    },
    "2": {
      "episode": "so101_redblock_box_teleop_v1_pos23_ep000",
      "frames": 538,
      "queries": 53,
      "as_is": {
        "median": [
          0.56,
          0.51,
          0.61,
          0.53,
          0.28,
          0.42
        ],
        "max": [
          5.24,
          5.01,
          8.89,
          9.97,
          2.61,
          16.69
        ]
      },
      "plus_state": {
        "median": [
          23.43,
          32.13,
          11.96,
          49.64,
          3.48,
          0.42
        ],
        "max": [
          40.87,
          104.23,
          95.33,
          89.39,
          20.01,
          16.69
        ]
      }
    },
    "3": {
      "episode": "so101_redblock_box_teleop_v1_pos23_ep010",
      "frames": 581,
      "queries": 58,
      "as_is": {
        "median": [
          0.73,
          0.56,
          0.84,
          0.9,
          0.44,
          0.33
        ],
        "max": [
          19.65,
          15.34,
          7.88,
          7.5,
          9.57,
          11.27
        ]
      },
      "plus_state": {
        "median": [
          37.46,
          14.25,
          10.77,
          70.54,
          10.63,
          0.33
        ],
        "max": [
          70.37,
          107.96,
          95.33,
          83.21,
          23.42,
          11.27
        ]
      }
    },
    "4": {
      "episode": "so101_redblock_box_teleop_v1_pos45_ep000",
      "frames": 431,
      "queries": 43,
      "as_is": {
        "median": [
          0.32,
          0.47,
          0.84,
          0.59,
          0.36,
          0.44
        ],
        "max": [
          9.5,
          16.92,
          9.18,
          15.15,
          3.36,
          16.58
        ]
      },
      "plus_state": {
        "median": [
          20.1,
          20.55,
          28.87,
          52.08,
          8.65,
          0.44
        ],
        "max": [
          42.1,
          104.22,
          99.56,
          74.8,
          17.76,
          16.58
        ]
      }
    },
    "5": {
      "episode": "so101_redblock_box_teleop_v1_pos45_ep010",
      "frames": 417,
      "queries": 41,
      "as_is": {
        "median": [
          0.55,
          0.5,
          0.9,
          0.65,
          0.4,
          0.55
        ],
        "max": [
          5.71,
          10.17,
          9.11,
          9.93,
          5.11,
          19.42
        ]
      },
      "plus_state": {
        "median": [
          6.95,
          25.38,
          5.38,
          40.71,
          7.09,
          0.55
        ],
        "max": [
          39.31,
          111.39,
          100.19,
          91.11,
          16.76,
          19.42
        ]
      }
    }
  },
  "all": {
    "as_is": {
      "median": [
        0.52,
        0.56,
        0.75,
        0.72,
        0.38,
        0.43
      ],
      "max": [
        19.65,
        16.92,
        9.18,
        15.15,
        9.57,
        20.38
      ]
    },
    "plus_state": {
      "median": [
        18.32,
        24.03,
        21.98,
        51.54,
        7.34,
        0.43
      ],
      "max": [
        70.37,
        111.39,
        100.19,
        91.11,
        23.42,
        20.38
      ]
    }
  },
  "latency_s": {
    "first": 1.008,
    "n": 249,
    "median": 1.274,
    "max": 3.374,
    "p90": 2.435,
    "over_0.33s": 249
  }
}
```

### 答えが返るまで1.27秒。AI の計算は0.18秒で、残りは画像を送る時間だった

同じ Pod で、答えが返るまでの時間も測った。中央値1.30秒・最長3.07秒。サーバーの中の計算は183ミリ秒（モデル本体は43ミリ秒）で、残りの1.1秒あまりは、カメラ2台の画像を生の配列のまま（1回461KB）、Pod へのトンネル（SSH）で送っている時間だった。1回の答えで動くのは0.33秒なので、このままだと問い合わせのたびに腕が1秒あまり止まる。

#### latency_breakdown_20261124.json

```json
{
  "note": "依頼 283: so101a のサーバー (A40) に学習の 1 本目の 0〜290 コマ目を 10 コマおきに 30 回送った. total はクライアントで測った往復 (SSH のトンネル経由)",
  "payload_bytes": 461080,
  "total_s": {"median": 1.301, "max": 3.069},
  "server_timing_infer_ms": {"median": 183.3, "max": 190.4},
  "policy_timing_infer_ms": {"median": 43.4, "max": 44.7}
}
```

#### 依頼283 の結果（依頼箱の記録）

```markdown
# 結果：20261124_283_SO101のπ0.5を実機で動かす流れを作り録ったお手本で確かめる

- 状態：完了
- 始めた時刻：2026-11-24 14:10
- 終わった時刻：2026-11-24 14:58（48分）
- 作業フォルダ：/Users/shimazueiichi/r2r2r-scripts
- この続きを Claude Code で話すとき：作業フォルダで `claude --resume d81b920a-81ff-44c2-9fbb-8dbcb74d3006`
- 止められた操作：1件（いちばん下に一覧）

## Claude Code の報告

やったこと
- `lab_start.sh --model so101a` を足しました。Pod を借りるところから、Hugging Face から 2999 を取り、`add_so101_config.py`（`so101_policy.py` も写す）と assets を入れてサーバーを立てるところまで、今の流れと同じです。そのあと SO-101 では、空打ちと推論に `so101/run_so101_policy.py` を使います。デーモン・HOME・位置合わせは通りません。`--dry-run` を付けるとフォロワーに送りません。`--exec-steps N` はそのままクライアントに渡します。so101a に mechArm 用の引数を付けたときは止まります。
- Mac 側のクライアント `so101/run_so101_policy.py` を新しく作りました。
  - カメラ2台は録ったときと同じ設定で開き、320×240（BOX・JPEG 品質95）に縮めて送ります。
  - 安全範囲は学習の50本の幅 ±10 で、外へ出る指令は端で切って続けます。
  - 送るのは `lerobot_safe_259.py` の入口を通して 30fps で1コマずつです。
  - キー操作は、始めの Enter・スペース（一時停止）・t（リーダーで手直し）・q（終わる）だけです。ほかに止まる所は足していません。
  - 既定はドライランで、送るときは `--execute` を付けます。
- 記録は LeRobot v3.0 の形で残します。各コマに状態（model／correct／pause）と「答えの何番目か」が付き、1回ごとに `so101_trials.csv` へ1行書きます。LeRobot の入口は KIOXIA の下に記録を作らせないので、Mac の `~/so101_runs/` に書いてから KIOXIA の `lab/<Log>/so101/` へ写します。写したあと、ファイルの数とバイト数が同じかを確かめます。
- 実際に `lab_start.sh --model so101a --log so101_Log09 --serve-only` でサーバーを立て、空打ちが通りました（61.7秒）。お手本5本を流して答えを比べ、そのあと `lab_stop.sh` で Pod を消しました。残っている Pod はありません。
- 立っているうちに、クライアントの流れ全体を本物のサーバーで通しました（偽のカメラ・ドライラン）。一時停止・手直しの印と記録の1行が付き、記録は LeRobot で開けました。

結果
- テストはすべて通りました：
  - `test_run_so101_policy` 18件（差分→絶対値、安全範囲の端で切る、`--exec-steps`、記録の形、t の切り替えで印が付くこと）
  - `test_lab_start` 269件
  - `test_lab_train` 281件
  - `test_lerobot_safe_259` 64件
  - `test_so101_train` 7件（2件は飛ばした）
- mechArm の8モデルは、引数なし・引数ありの2通りでドライランを流しました。出力・Pod へのコマンド・呼ぶ Python は、変える前と1字も違いません。
- **答えはサーバーからすでに絶対値で返ってきます。** 学習の設定の出口で関節5つに state を足しているためです。そのまま読むとお手本に合い、依頼文どおり今の角度を足すと 18〜52° ずれます。なのでクライアントは足していません（足す関数とテストは残してあります）。
- お手本5本を流した結果です。10コマおきに問い合わせ、答えの10コマとお手本の次の10コマを比べた差（度。爪は 0〜100 の値）です。関節の並びは shoulder_pan／shoulder_lift／elbow_flex／wrist_flex／wrist_roll／爪 です。

| 場所 | 問い合わせ | 差の中央値 | 差の最大 |
|---|---|---|---|
| 1 | 55回 | 0.50／0.80／0.52／0.84／0.43／0.48 | 7.7／10.9／8.4／7.9／3.6／20.4 |
| 2 | 53回 | 0.56／0.51／0.61／0.53／0.28／0.42 | 5.2／5.0／8.9／10.0／2.6／16.7 |
| 3 | 58回 | 0.73／0.56／0.84／0.90／0.44／0.33 | 19.7／15.3／7.9／7.5／9.6／11.3 |
| 4 | 43回 | 0.32／0.47／0.84／0.59／0.36／0.44 | 9.5／16.9／9.2／15.2／3.4／16.6 |
| 5 | 41回 | 0.55／0.50／0.90／0.65／0.40／0.55 | 5.7／10.2／9.1／9.9／5.1／19.4 |
| 全体 | 250回 | 0.52／0.56／0.75／0.72／0.38／0.43 | 19.7／16.9／9.2／15.2／9.6／20.4 |

- **答えが返るまでの時間は、中央値 1.27秒・最長 3.37秒です（249回）。** 0.33秒より長く、249回すべてが超えました。このままだと、問い合わせのたびに腕が1秒あまり止まります。サーバーの中の計算は 183ミリ秒（モデル本体は 43ミリ秒）で、残りの約1.1秒は送りの時間です。1回 461KB を SSH のトンネルで送っています。
- Pod は GPU が NVIDIA A40 で、21分9秒借りて約0.21ドル（約33円）でした。
- KIOXIA の `lab/so101_Log09/` に、立ち上げと片付けの記録、`serve.log`、比べた結果の json、時間の内訳の json を置きました。
- commit は 9639711 です（6ファイルを個別に add）。作業のまとめは `logs/20261124_1500.md` に書きました。
- conda の lerobot 環境に msgpack 1.1.2 と websockets 16.0 を入れました。サーバーと話すのに要るためです。

実機で動かすときの起動のコマンド（記録の番号は Log の名前に入れてください）
- ドライラン：`./lab_start.sh --model so101a --log so101_Log10 --dry-run`
- フォロワーに送る：`./lab_start.sh --model so101a --log so101_Log10`
- 先頭の3コマだけで問い合わせ直すとき：上のどちらかに `--exec-steps 3` を足す
- Pod が立っていて、クライアントだけ流すとき：`/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10`（送るときは `--execute` を足す）
- 片付け：`./lab_stop.sh --log so101_Log10`

変えたファイル
- `lab_lib.sh`（so101a のモデルの定義、3f の入れ方、クライアントを流す python）
- `lab_start.sh`（so101a の分かれ目、`--exec-steps`、使い方の説明）
- `test_lab_start.sh`（so101a のテストを23件足した。モデル名の一覧と使い方の行の範囲を直した）
- `so101/run_so101_policy.py`（新しく作った）
- `so101/test_run_so101_policy.py`（新しく作った）
- `so101/check_283_replay_demo.py`（新しく作った）

決めてほしいこと
1. 答えの読み方：依頼文は「関節5つは差分なので今の角度に足す」でしたが、サーバーがすでに足して返すので、クライアントは足さないようにしました。これでよいか。
2. 答えが返るまでの時間（中央値 1.27秒）をどうするか。今のままだと問い合わせのたびに腕が1秒あまり止まります。考えられる手は3つです。
   - SSH のトンネルを使わずに Pod の口へ直接つなぐ
   - 画像を縮めて送るよう、サーバー側に手を入れる
   - 実行している間に次を問い合わせておく
3. 判定の表 `runs/pi05_policy_verdicts_v1.csv` は列が足りないので、行は足していません。今の行の pick／place は「つかめたか／箱に入れたか」の意味で、y／n だけの SO-101 の結果は unknown になります。
   - 足す列の案：ロボットの種類（mecharm／so101）・ブロックの場所の番号（1〜5）・モデル・step・`--exec-steps`・だれが動かしたか（AI／AI＋人の手直し）・記録の置き場所
   - 列を足す代わりに、SO-101 用の表を別に作る手もあります。どちらにするか。
4. 始めの Enter：lab_start.sh で2回目からも、毎回 Enter を待つようにしました。mechArm は2回目から飛ばしています。どちらにするか。
5. 安全範囲の爪の扱い：爪も 0〜100 の値で ±10 にしたので、下の端が −10 になっています。
6. 一時停止の止め方：関節5つは今の位置で止め、爪は前の目標のままにしました（つかんだブロックを落とさないため）。
7. 手直しの間（リーダーの動き）には安全範囲を当てていません。録ったときと同じで、1コマ10°の上限だけが効きます。これでよいか。

判定：合格

## 止められた操作

- {"tool_name": "Bash", "tool_use_id": "toolu_01JKdZ8a7rooC4BtvynXepTQ", "tool_input": {"command": "cd ~/r2r2r-scripts; rm -rf /tmp/so101_int283; mkdir -p /tmp/so101_int283/LogInt; /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python - <<'EOF' 2>&1 | grep -v \"^objc\\|Svt\\|SVT\\|Map:\"\nimport sys, builtins, numpy as np\nfrom pathlib import Path\nsys.path.insert(0,\"so101\"); sys.path.insert(0,\"pi05\")\nimport run_so101_policy as R\nfrom PIL import Image\nep = sorted(Path(\"/Volumes/KIO
```

#### lab_start のログ（依頼283・サーバーを立てて空打ち）

```text
[RANGE ] 安全範囲 (学習データ ±10°) は /Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes から (--model so101a)
[SO101 ] 推論のクライアントは so101/run_so101_policy.py (/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python). --execute (フォロワーに送る)
[SO101 ] 1 回で実行するコマ: 10 (既定. 答えの 10 コマ全部)
[LAB   ] 2026-11-24 14:30:58  GPU=NVIDIA A40  episode=run_0001_20261019_194818  log=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log09  サーバーとトンネルだけ (--serve-only. アームと daemon には触らない)
[MODEL ] --model so101a: SO-101: π0.5 base から so101_redblock_box_teleop_even_v1 (場所 1〜5 を各 10 本) で学習した 2999 (依頼 282)
         PixelstoMotors/pi05-so101-teleop-even-lora-v1 → /workspace/ckpt/so101_teleop_even_v1_2999  設定 pi05_so101_teleop_even_lora  assets local/so101_redblock_box_teleop_even_v1

=== 1. Pod を作る
[POD   ] 作った: id 6laxcb6pzfoej8  GPU=NVIDIA A40  1時間 0.59 ドル  (記録 /Volumes/KIOXIA/r2r2r-data/lab/so101_Log09/pod/lab_pod.json)
    (3 秒)

=== 2. Pod が立ち上がるまで待つ
[POD   ] SSH の IP とポートを API から受け取った (<POD_IP>:<SSH_PORT>)
[POD   ] 入れた: e807a88520be
NVIDIA A40, 46068 MiB
    (30 秒)

=== 3a. スクリプトを送る
    (191 秒)

=== 3b. huggingface_hub を入れ, 鍵を渡す
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[90mHint: The `hf-cli` skill is not installed. Run `hf skills add -g` to teach your AI agents how to use the `hf` CLI.[0m
[32m✓ Logged in[0m
  user: PixelstoMotors
    (13 秒)

=== 3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)

Fetching 28 files:   0%|          | 0/28 [00:00<?, ?it/s]
Fetching 28 files:   4%|▎         | 1/28 [00:00<00:07,  3.52it/s]
Fetching 28 files:  32%|███▏      | 9/28 [00:00<00:01, 16.49it/s]
Fetching 28 files:  39%|███▉      | 11/28 [00:02<00:03,  4.44it/s]
Fetching 28 files:  43%|████▎     | 12/28 [00:02<00:05,  3.19it/s]
Fetching 28 files:  46%|████▋     | 13/28 [00:03<00:04,  3.35it/s]
Fetching 28 files:  50%|█████     | 14/28 [00:05<00:09,  1.51it/s]
Fetching 28 files:  54%|█████▎    | 15/28 [00:05<00:07,  1.78it/s]
Fetching 28 files:  57%|█████▋    | 16/28 [00:05<00:05,  2.03it/s]
Fetching 28 files:  61%|██████    | 17/28 [00:06<00:07,  1.47it/s]
Fetching 28 files:  64%|██████▍   | 18/28 [00:08<00:09,  1.06it/s]
Fetching 28 files:  68%|██████▊   | 19/28 [00:08<00:06,  1.40it/s]
Fetching 28 files:  71%|███████▏  | 20/28 [00:08<00:04,  1.70it/s]
Fetching 28 files:  75%|███████▌  | 21/28 [00:09<00:03,  2.01it/s]
Fetching 28 files:  82%|████████▏ | 23/28 [00:10<00:02,  1.98it/s]
Fetching 28 files:  86%|████████▌ | 24/28 [00:10<00:01,  2.20it/s]
Fetching 28 files:  89%|████████▉ | 25/28 [00:11<00:02,  1.47it/s]
Fetching 28 files:  93%|█████████▎| 26/28 [00:13<00:01,  1.04it/s]
Fetching 28 files:  96%|█████████▋| 27/28 [00:14<00:00,  1.16it/s][32m✓ Downloaded[0m
  path: /workspace/ckpt/so101_teleop_even_v1_2999

Fetching 28 files: 100%|██████████| 28/28 [00:14<00:00,  1.36it/s]
Fetching 28 files: 100%|██████████| 28/28 [00:14<00:00,  1.91it/s]
6.0G	/workspace/ckpt/so101_teleop_even_v1_2999
    (19 秒)

=== 3d. openpi を取る (215abfb)
215abfb docs(droid): fix config search instruction (#1023)
    (34 秒)

=== 3e. uv sync
downloading uv 0.13.9 x86_64-unknown-linux-gnu
WARN: The following commands are shadowed by other commands in your PATH: uv uvx
Using CPython 3.11.13 interpreter at: /usr/bin/python3.11
Creating virtual environment at: .venv
Resolved 279 packages in 3ms
   Building openpi-client @ file:///workspace/openpi/packages/openpi-client
   Building openpi @ file:///workspace/openpi
   Updating https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
Downloading sympy (6.0MiB)
Downloading lxml (4.7MiB)
Downloading numpy (17.4MiB)
Downloading pandas (12.5MiB)
Downloading h5py (4.3MiB)
Downloading fonttools (4.7MiB)
Downloading torchvision (7.1MiB)
Downloading hf-xet (4.9MiB)
Downloading pillow (4.4MiB)
Downloading numba (3.7MiB)
Downloading nvidia-cuda-cupti-cu12 (8.5MiB)
Downloading ruff (11.0MiB)
Downloading nvidia-curand-cu12 (53.7MiB)
Downloading numcodecs (8.4MiB)
Downloading cmake (26.6MiB)
Downloading llvmlite (40.4MiB)
Downloading pyopengl (3.0MiB)
Downloading nvidia-nvjitlink-cu12 (18.8MiB)
Downloading jax-cuda12-plugin (15.9MiB)
Downloading polars (34.6MiB)
Downloading virtualenv (5.8MiB)
Downloading opencv-python-headless (47.7MiB)
Downloading diffusers (3.4MiB)
Downloading labmaze (4.7MiB)
Downloading dm-control (37.5MiB)
Downloading wandb (20.4MiB)
Downloading triton (148.5MiB)
Downloading tensorstore (17.5MiB)
Downloading rerun-sdk (68.1MiB)
Downloading torch (783.1MiB)
Downloading nvidia-cudnn-cu12 (544.5MiB)
Downloading transformers (10.3MiB)
Downloading nvidia-cuda-nvcc-cu12 (38.7MiB)
Downloading pyarrow (40.3MiB)
Downloading av (34.7MiB)
Downloading jaxlib (100.2MiB)
Downloading matplotlib (8.2MiB)
Downloading nvidia-cuda-nvrtc-cu12 (22.6MiB)
Downloading scipy (35.9MiB)
Downloading nvidia-cusparse-cu12 (206.5MiB)
Downloading nvidia-cusparselt-cu12 (149.5MiB)
Downloading imageio-ffmpeg (28.1MiB)
Downloading mujoco (4.4MiB)
Downloading opencv-python (60.1MiB)
Downloading nvidia-cusolver-cu12 (150.9MiB)
Downloading nvidia-cublas-cu12 (374.9MiB)
Downloading nvidia-cufft-cu12 (190.9MiB)
Downloading nvidia-nccl-cu12 (192.0MiB)
Downloading jax-cuda12-pjrt (99.8MiB)
Downloading hf-transfer (3.4MiB)
 Downloaded hf-transfer
Downloading debugpy (3.0MiB)
 Downloaded diffusers
Downloading tokenizers (2.9MiB)
 Downloaded numba
 Downloaded pyopengl
Downloading jax (2.3MiB)
Downloading widgetsnbextension (2.1MiB)
 Downloaded h5py
 Downloaded mujoco
Downloading ml-dtypes (2.1MiB)
Downloading networkx (1.9MiB)
 Downloaded pillow
 Downloaded labmaze
 Downloaded fonttools
Downloading pydantic-core (1.9MiB)
Downloading aiohttp (1.6MiB)
Downloading jedi (1.5MiB)
 Downloaded lxml
 Downloaded hf-xet
Downloading torchcodec (1.3MiB)
Downloading kiwisolver (1.4MiB)
 Downloaded virtualenv
 Downloaded sympy
Downloading sentencepiece (1.2MiB)
Downloading pygments (1.2MiB)
 Downloaded widgetsnbextension
 Downloaded torchcodec
Downloading setuptools (1.1MiB)
 Downloaded networkx
 Downloaded kiwisolver
 Downloaded jax
 Downloaded aiohttp
Downloading nvidia-cufile-cu12 (1.1MiB)
 Downloaded ml-dtypes
 Downloaded debugpy
Downloading pymunk (1.0MiB)
 Downloaded pydantic-core
 Downloaded tokenizers
 Downloaded torchvision
 Downloaded sentencepiece
 Downloaded jedi
 Downloaded pygments
 Downloaded setuptools
 Downloaded pymunk
 Downloaded nvidia-cufile-cu12
 Downloaded matplotlib
 Downloaded numcodecs
 Downloaded nvidia-cuda-cupti-cu12
   Building evdev==1.9.2
 Downloaded transformers
 Downloaded ruff
   Building antlr4-python3-runtime==4.9.3
 Downloaded pandas
 Downloaded jax-cuda12-plugin
 Downloaded tensorstore
 Downloaded numpy
 Downloaded nvidia-nvjitlink-cu12
      Built openpi-client @ file:///workspace/openpi/packages/openpi-client
      Built openpi @ file:///workspace/openpi
 Downloaded nvidia-cuda-nvrtc-cu12
 Downloaded wandb
 Downloaded imageio-ffmpeg
      Built antlr4-python3-runtime==4.9.3
 Downloaded cmake
 Downloaded polars
 Downloaded av
 Downloaded scipy
 Downloaded dm-control
 Downloaded nvidia-cuda-nvcc-cu12
 Downloaded llvmlite
 Downloaded pyarrow
 Downloaded opencv-python-headless
 Downloaded nvidia-curand-cu12
 Downloaded opencv-python
 Downloaded rerun-sdk
      Built evdev==1.9.2
 Downloaded jaxlib
 Downloaded jax-cuda12-pjrt
 Downloaded triton
 Downloaded nvidia-cusparselt-cu12
 Downloaded nvidia-cusolver-cu12
    Updated https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
   Building lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded nvidia-cufft-cu12
 Downloaded nvidia-nccl-cu12
 Downloaded nvidia-cusparse-cu12
      Built lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded nvidia-cublas-cu12
 Downloaded nvidia-cudnn-cu12
 Downloaded torch
Prepared 240 packages in 14.48s
Installed 240 packages in 1.74s
 + absl-py==2.3.0
 + aiohappyeyeballs==2.6.1
 + aiohttp==3.12.4
 + aiosignal==1.3.2
 + annotated-types==0.7.0
 + antlr4-python3-runtime==4.9.3
 + asttokens==3.0.0
 + attrs==25.3.0
 + augmax==0.4.1
 + av==17.0.0
 + beartype==0.19.0
 + beautifulsoup4==4.13.4
 + blinker==1.9.0
 + cachetools==5.5.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + cfgv==3.4.0
 + charset-normalizer==3.4.2
 + chex==0.1.90
 + click==8.2.1
 + cloudpickle==3.1.1
 + cmake==4.0.2
 + comm==0.2.2
 + contourpy==1.3.2
 + crc32c==2.7.1
 + cycler==0.12.1
 + datasets==3.6.0
 + debugpy==1.8.14
 + decorator==5.2.1
 + deepdiff==8.5.0
 + diffusers==0.33.1
 + dill==0.3.8
 + distlib==0.3.9
 + dm-control==1.0.14
 + dm-env==1.6
 + dm-tree==0.1.9
 + docker-pycreds==0.4.0
 + docstring-parser==0.16
 + donfig==0.8.1.post1
 + draccus==0.10.0
 + einops==0.8.1
 + equinox==0.12.2
 + etils==1.12.2
 + evdev==1.9.2
 + executing==2.2.0
 + farama-notifications==0.0.4
 + filelock==3.18.0
 + flask==3.1.1
 + flatbuffers==25.2.10
 + flax==0.10.2
 + fonttools==4.58.1
 + frozenlist==1.6.0
 + fsspec==2025.3.0
 + gcsfs==2025.3.0
 + gdown==5.2.0
 + gitdb==4.0.12
 + gitpython==3.1.44
 + glfw==2.9.0
 + google-api-core==2.24.2
 + google-auth==2.40.2
 + google-auth-oauthlib==1.2.2
 + google-cloud-core==2.4.3
 + google-cloud-storage==3.1.0
 + google-crc32c==1.7.1
 + google-resumable-media==2.7.2
 + googleapis-common-protos==1.70.0
 + gym-aloha==0.1.1
 + gymnasium==0.29.1
 + h5py==3.13.0
 + hf-transfer==0.1.9
 + hf-xet==1.1.2
 + huggingface-hub==0.32.3
 + humanize==4.12.3
 + identify==2.6.12
 + idna==3.10
 + imageio==2.37.0
 + imageio-ffmpeg==0.6.0
 + importlib-metadata==8.7.0
 + importlib-resources==6.5.2
 + iniconfig==2.1.0
 + inquirerpy==0.3.4
 + ipykernel==6.29.5
 + ipython==9.2.0
 + ipython-pygments-lexers==1.1.1
 + ipywidgets==8.1.7
 + itsdangerous==2.2.0
 + jax==0.5.3
 + jax-cuda12-pjrt==0.5.3
 + jax-cuda12-plugin==0.5.3
 + jaxlib==0.5.3
 + jaxtyping==0.2.36
 + jedi==0.19.2
 + jinja2==3.1.6
 + jsonlines==4.0.0
 + jupyter-client==8.6.3
 + jupyter-core==5.8.1
 + jupyterlab-widgets==3.0.15
 + kiwisolver==1.4.8
 + labmaze==1.0.6
 + lerobot==0.1.0 (from git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
 + llvmlite==0.44.0
 + lxml==5.4.0
 + markdown-it-py==3.0.0
 + markupsafe==3.0.2
 + matplotlib==3.10.3
 + matplotlib-inline==0.1.7
 + mdurl==0.1.2
 + mergedeep==1.3.4
 + ml-collections==1.0.0
 + ml-dtypes==0.4.1
 + mpmath==1.3.0
 + msgpack==1.1.0
 + mujoco==2.3.7
 + multidict==6.4.4
 + multiprocess==0.70.16
 + mypy-extensions==1.1.0
 + nest-asyncio==1.6.0
 + networkx==3.5
 + nodeenv==1.9.1
 + numba==0.61.2
 + numcodecs==0.16.1
 + numpy==1.26.4
 + numpydantic==1.6.9
 + nvidia-cublas-cu12==12.6.4.1
 + nvidia-cuda-cupti-cu12==12.6.80
 + nvidia-cuda-nvcc-cu12==12.9.41
 + nvidia-cuda-nvrtc-cu12==12.6.77
 + nvidia-cuda-runtime-cu12==12.6.77
 + nvidia-cudnn-cu12==9.5.1.17
 + nvidia-cufft-cu12==11.3.0.4
 + nvidia-cufile-cu12==1.11.1.6
 + nvidia-curand-cu12==10.3.7.77
 + nvidia-cusolver-cu12==11.7.1.2
 + nvidia-cusparse-cu12==12.5.4.2
 + nvidia-cusparselt-cu12==0.6.3
 + nvidia-ml-py==12.575.51
 + nvidia-nccl-cu12==2.26.2
 + nvidia-nvjitlink-cu12==12.6.85
 + nvidia-nvtx-cu12==12.6.77
 + oauthlib==3.2.2
 + omegaconf==2.3.0
 + opencv-python==4.11.0.86
 + opencv-python-headless==4.11.0.86
 + openpi==0.1.0 (from file:///workspace/openpi)
 + openpi-client==0.1.0 (from file:///workspace/openpi/packages/openpi-client)
 + opt-einsum==3.4.0
 + optax==0.2.4
 + orbax-checkpoint==0.11.13
 + orderly-set==5.4.1
 + packaging==25.0
 + pandas==2.2.3
 + parso==0.8.4
 + pexpect==4.9.0
 + pfzy==0.3.4
 + pillow==11.2.1
 + platformdirs==4.3.8
 + pluggy==1.6.0
 + polars==1.30.0
 + pre-commit==4.2.0
 + prompt-toolkit==3.0.51
 + propcache==0.3.1
 + proto-plus==1.26.1
 + protobuf==4.25.8
 + psutil==7.0.0
 + ptyprocess==0.7.0
 + pure-eval==0.2.3
 + pyarrow==20.0.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + pycparser==2.22
 + pydantic==2.11.5
 + pydantic-core==2.33.2
 + pygments==2.19.1
 + pymunk==7.0.0
 + pynput==1.8.1
 + pynvml==12.0.0
 + pyopengl==3.1.9
 + pyparsing==3.2.3
 + pysocks==1.7.1
 + pytest==8.3.5
 + python-dateutil==2.9.0.post0
 + python-xlib==0.33
 + pytz==2025.2
 + pyyaml==6.0.2
 + pyyaml-include==1.4.1
 + pyzmq==26.4.0
 + regex==2024.11.6
 + requests==2.32.3
 + requests-oauthlib==2.0.0
 + rerun-sdk==0.23.1
 + rich==14.0.0
 + rsa==4.9.1
 + ruff==0.11.12
 + safetensors==0.5.3
 + scipy==1.15.3
 + sentencepiece==0.2.0
 + sentry-sdk==2.29.1
 + setproctitle==1.3.6
 + setuptools==80.9.0
 + shtab==1.7.2
 + simplejson==3.20.1
 + six==1.17.0
 + smmap==5.0.2
 + soupsieve==2.7
 + stack-data==0.6.3
 + sympy==1.14.0
 + tensorstore==0.1.74
 + termcolor==3.1.0
 + tokenizers==0.21.1
 + toml==0.10.2
 + toolz==1.0.0
 + torch==2.7.1
 + torchcodec==0.4.0
 + torchvision==0.22.1
 + tornado==6.5.1
 + tqdm==4.67.1
 + tqdm-loggable==0.2
 + traitlets==5.14.3
 + transformers==4.53.2
 + treescope==0.1.9
 + triton==3.3.1
 + typeguard==4.4.2
 + typing-extensions==4.13.2
 + typing-inspect==0.9.0
 + typing-inspection==0.4.1
 + tyro==0.9.22
 + tzdata==2025.2
 + urllib3==2.4.0
 + virtualenv==20.31.2
 + wadler-lindig==0.1.6
 + wandb==0.19.11
 + wcwidth==0.2.13
 + websockets==15.0.1
 + werkzeug==3.1.3
 + widgetsnbextension==4.0.14
 + wrapt==1.14.1
 + xxhash==3.5.0
 + yarl==1.20.0
 + zarr==3.0.8
 + zipp==3.22.0
    (21 秒)

=== 3f. addon・設定・assets (pi05_so101_teleop_even_lora)
installed: policies/mecharm_policy.py + config.py (pi05_mecharm_lora)
installed: pi05_mecharm_trim_lora (repo_id=local/mecharm_redblock_box_teach_v1_trim2, 4,000 steps)
installed: policies/so101_policy.py + pi05_so101_teleop_even_lora (repo_id=local/so101_redblock_box_teleop_even_v1, 3000 steps, decay_steps 3000, init=π0.5 base)
    (4 秒)

=== 4. サーバーの起動
[SERVE ] --model so101a: --policy.config=pi05_so101_teleop_even_lora --policy.dir=/workspace/ckpt/so101_teleop_even_v1_2999
INFO:websockets.server:server listening on 0.0.0.0:8000
    (55 秒)

=== 5. Mac の 8000 番へのトンネル
[TUNNEL] localhost:8000 → Pod の 8000 番 (pid 11198. このスクリプトが終わると閉じる)
    (3 秒)

=== 5b. 空打ち (1 回目の推論の待ちを先に済ませる)
[WARM  ] 空打ち 61.7 秒 (答え (10, 6))
    (62 秒)
[SERVE ] --serve-only: サーバー (--model so101a) は localhost:8000 で待っています.
         デーモン・HOME・爪・位置合わせ・推論には進みません. 終わるときは Ctrl-C か kill (TERM) (Pod は消さない)

[STOP  ] 「5b. 空打ち (1 回目の推論の待ちを先に済ませる)」で止まりました: トンネルが閉じた (pid が終わった)
[STOP  ] Pod は残っています (id 6laxcb6pzfoej8). 消すなら ./lab_stop.sh --log so101_Log09

=== かかった時間  モデル so101a (PixelstoMotors/pi05-so101-teleop-even-lora-v1)
  1. Pod を作る                      3 秒
  2. Pod が立ち上がるまで待つ     30 秒
  3a. スクリプトを送る        191 秒
  3b. huggingface_hub を入れ, 鍵を渡す     13 秒
  3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)     19 秒
  3d. openpi を取る (215abfb)       34 秒
  3e. uv sync                          21 秒
  3f. addon・設定・assets (pi05_so101_teleop_even_lora)      4 秒
  4. サーバーの起動             55 秒
  5. Mac の 8000 番へのトンネル      3 秒
  5b. 空打ち (1 回目の推論の待ちを先に済ませる)     62 秒
```

#### serve.log（依頼283）

```text
INFO:root:Loading model...
INFO:2026-11-24 05:36:42,434:jax._src.xla_bridge:925: Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
INFO:jax._src.xla_bridge:Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
INFO:2026-11-24 05:36:42,436:jax._src.xla_bridge:925: Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
INFO:jax._src.xla_bridge:Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
INFO:absl:orbax-checkpoint version: 0.11.13
INFO:absl:Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x781cda8bffd0>
INFO:absl:Restoring checkpoint from /workspace/ckpt/so101_teleop_even_v1_2999/params.
INFO:absl:[thread=MainThread] Failed to get flag value for EXPERIMENTAL_ORBAX_USE_DISTRIBUTED_PROCESS_ID.
INFO:absl:[process=0] /jax/checkpoint/read/bytes_per_sec: 1.2 GiB/s (total bytes: 6.3 GiB) (time elapsed: 5 seconds) (per-host)
INFO:absl:Finished restoring checkpoint in 5.22 seconds from /workspace/ckpt/so101_teleop_even_v1_2999/params.
INFO:openpi.shared.download:Downloading gs://big_vision/paligemma_tokenizer.model to /root/.cache/openpi/big_vision/paligemma_tokenizer.model
INFO:tqdm_loggable.tqdm_logging:Progress on: -/4264023 rate:- remaining:? elapsed:00:00 postfix:-
INFO:tqdm_loggable.tqdm_logging:Progress on: 4.07MiB/4.07MiB rate:4,256,804.0iB/s remaining:00:00 elapsed:00:01 postfix:-
INFO:root:Loaded norm stats from /workspace/openpi/assets/pi05_so101_teleop_even_lora/local/so101_redblock_box_teleop_even_v1
INFO:root:Loaded norm stats from /workspace/ckpt/so101_teleop_even_v1_2999/assets/local/so101_redblock_box_teleop_even_v1
INFO:root:Creating server (host: e807a88520be, ip: 172.16.0.2)
INFO:websockets.server:server listening on 0.0.0.0:8000
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 35500) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 35500) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 37804) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 37804) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 36916) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 36916) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 47132) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 47132) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 53566) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 53566) closed
```

#### lab_stop のログ（依頼283）

```text
[STOP  ] so101_Log09 の Pod: id 6laxcb6pzfoej8  GPU=NVIDIA A40  作った時刻 2026-11-24 14:31:01
[LOG   ] serve.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log09/serve.log (33 行)
[STOP  ] Terminate を送った (14:52:10)
[STOP  ] Pod (id 6laxcb6pzfoej8) が消えたことを API で確かめた
[COST  ] 借りていた時間 21 分 9 秒 (0.35 時間) × 1時間 0.59 ドル = 約 0.21 ドル (約 33 円. 1ドル=158円)
[TUNNEL] 残っていた 8000 番のトンネルを閉じました (pid 11198)
```

#### so101/check_283_replay_demo.py

```python
"""録ったお手本を流して so101a の答えを確かめる (依頼 283. フォロワー・カメラは使わない).

学習の 50 本 (raw_episodes) から場所ごとに 1 本 (index.json の並びで場所ごとの最初の本) を選び, --stride コマおきに
そのコマの画像 2 枚 (学習と同じ 320x240 の jpg) と関節 6 つを run_so101_policy.py と同じ形でサーバーへ送る.
返ってきた答え (10, 6) とお手本の次の 10 コマの action (リーダーの目標. 絶対値) を比べ, 場所ごと・関節ごとの差の
中央値と最大を出す. 答えをそのまま絶対値として読む場合 (as_is) と, 関節 5 つに state を足す場合 (plus_state) の両方を
比べ, どちらがお手本に合うかも出す. 答えが返るまでの時間 (1 回目はコンパイルを含むので別に出す) も測る.

    python so101/check_283_replay_demo.py --port 8000 --out-dir so101/check_283
"""

import argparse
import json
import statistics
import sys
import time
from pathlib import Path

import numpy as np
from PIL import Image

HERE = Path(__file__).resolve().parent
sys.path.insert(0, str(HERE))
sys.path.insert(0, str(HERE.parent / "pi05"))

import run_so101_policy as R  # noqa: E402

DATA = Path("/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1")


def pick_episodes(data_dir):
    idx = json.loads((Path(data_dir) / "index.json").read_text())
    chosen = {}
    for e in idx["episodes"]:
        chosen.setdefault(int(e["place"]), e["dir"])
    return dict(sorted(chosen.items()))


def stats(err):
    """err: (N, 10, 6) の差 → 関節ごとの中央値・最大"""
    a = np.abs(err).reshape(-1, 6)
    return {"median": [round(float(x), 2) for x in np.median(a, 0)], "max": [round(float(x), 2) for x in a.max(0)]}


def main(argv=None):
    ap = argparse.ArgumentParser()
    ap.add_argument("--port", type=int, default=8000)
    ap.add_argument("--data-dir", default=str(DATA))
    ap.add_argument("--stride", type=int, default=10, help="何コマおきに問い合わせるか")
    ap.add_argument("--out-dir", default=str(HERE / "check_283"))
    args = ap.parse_args(argv)
    from policy_ws import PolicyClient
    client = R.Policy(args.port, client=PolicyClient(port=args.port, wait_sec=30.0))
    raw = Path(args.data_dir) / "raw_episodes"
    eps = pick_episodes(args.data_dir)
    result = {"data": str(raw), "stride": args.stride, "joints": R.MOTORS, "episodes": {}, "by_place": {}}
    all_asis, all_plus = [], []
    for place, name in eps.items():
        ep = raw / name
        z = np.load(ep / "episode.npz")
        state, actions = z["state"].astype(np.float64), z["actions"].astype(np.float64)
        n = len(state)
        err_asis, err_plus = [], []
        for t in range(0, n - R.HORIZON, args.stride):
            imgs = {c: np.asarray(Image.open(ep / f"frames_{c}" / f"{t:06d}.jpg").convert("RGB")) for c in R.CAMERAS}
            a = client.infer(R.make_obs(state[t], imgs["desk"], imgs["wrist"]))
            want = actions[t:t + R.HORIZON]
            err_asis.append(R.to_absolute(a, state[t], already_absolute=True) - want)
            err_plus.append(R.to_absolute(a, state[t], already_absolute=False) - want)
        err_asis, err_plus = np.array(err_asis), np.array(err_plus)
        all_asis.append(err_asis)
        all_plus.append(err_plus)
        result["by_place"][str(place)] = {"episode": name, "frames": n, "queries": len(err_asis),
                                          "as_is": stats(err_asis), "plus_state": stats(err_plus)}
        s = result["by_place"][str(place)]["as_is"]
        print(f"[PLACE {place}] {name}  {n} コマ・{len(err_asis)} 回  差の中央値 {s['median']}  最大 {s['max']}", flush=True)
    result["all"] = {"as_is": stats(np.concatenate(all_asis)), "plus_state": stats(np.concatenate(all_plus))}
    lat = client.latencies
    rest = lat[1:] if len(lat) > 1 else lat
    result["latency_s"] = {"first": round(lat[0], 3), "n": len(rest), "median": round(statistics.median(rest), 3),
                           "max": round(max(rest), 3), "p90": round(float(np.percentile(rest, 90)), 3),
                           "over_0.33s": sum(1 for x in rest if x > R.HORIZON / R.FPS)}
    client.close()
    out = Path(args.out_dir)
    out.mkdir(parents=True, exist_ok=True)
    p = out / f"replay_demo_{time.strftime('%Y%m%d_%H%M%S')}.json"
    p.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
    print(f"[ALL   ] as_is 中央値 {result['all']['as_is']['median']}  最大 {result['all']['as_is']['max']}")
    print(f"[ALL   ] plus_state 中央値 {result['all']['plus_state']['median']}  最大 {result['all']['plus_state']['max']}")
    print(f"[LATENCY] 1 回目 {result['latency_s']['first']} 秒 / 2 回目から {result['latency_s']}")
    print(f"[OUT   ] {p}")
    return 0


if __name__ == "__main__":
    sys.exit(main())
```

#### commit 9639711 の差分（依頼283）

```diff
commit 9639711e12ad184ae49d3e1384393db044011374
Date: Tue Nov 24 14:58:09 2026 +0900

SO-101 の π0.5 (so101a) を実機で動かす流れを作る (依頼 283・フォロワーは動かしていない). lab_start.sh --model so101a: Hugging Face PixelstoMotors/pi05-so101-teleop-even-lora-v1 → /workspace/ckpt/so101_teleop_even_v1_2999, 設定 pi05_so101_teleop_even_lora (add_so101_config.py --steps 3000), 空打ちと 8 は so101/run_so101_policy.py (デーモン・HOME・位置合わせはない. --dry-run ならフォロワーに送らない. --exec-steps N を渡す. mechArm の引数は付けられない). so101/run_so101_policy.py: カメラ 2 台をお手本と同じ設定で読み 320x240 (BOX・JPEG 95), so101_policy.py の keys で送り, 答え (10, 6) をそのまま絶対値として (サーバーの出口が AbsoluteActions. お手本を流して確かめた), 学習の 50 本の幅 ±10 の端で切って lerobot_safe_259.py の入口 (A・B 10°・休みの姿勢) から 30fps で 1 コマずつ送る. 始めの Enter だけ確かめ, スペースで一時停止・t でリーダーの手直し・q で終わる. 記録は LeRobot v3.0 (ptm.mode・ptm.chunk_step など) と so101_trials.csv. お手本 5 本を流した差の中央値 0.38〜0.75°. 答えが返るまで中央値 1.27 秒 (0.33 秒より長い). mechArm の 8 モデルのドライランの出力は変わらない. テスト: test_lab_start 269 件・test_lab_train 281 件・test_run_so101_policy 18 件・test_lerobot_safe_259 64 件 OK

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/lab_lib.sh b/lab_lib.sh
index 1794678..33bb8f4 100644
--- a/lab_lib.sh
+++ b/lab_lib.sh
@@ -322,7 +322,11 @@ lab_cmd_addon() {           # 3f. 何度流しても同じ結果 (install_addon.
 #   mecharm_redblock_box_split10_v1 だけで π0.5 base から学習するもの (設定 pi05_mecharm_split10_lora). 安全範囲はこのデータから
 # split2 (依頼 229) は split1 と同じ値で, 浅さの線を電源 5A の本は 50px に直して作った mecharm_redblock_box_split10_v2 (10 本) で
 #   学習するもの (設定 pi05_mecharm_split10_v2_lora). 安全範囲はこのデータから
-LAB_MODELS="trim corr corr2 corr3 deep1 deep1b split1 split2"
+# so101a (依頼 283) は SO-101 のお手本 50 本 (場所 1〜5 を各 10 本) で π0.5 base から学習した 2999 (依頼 282 の lab_train.sh --model so101a.
+#   設定 pi05_so101_teleop_even_lora). 推論のクライアントは so101/run_so101_policy.py (mechArm の run_policy_client.py は使わない).
+#   安全範囲 (学習データ ±10°) はこの 50 本から
+LAB_MODELS="trim corr corr2 corr3 deep1 deep1b split1 split2 so101a"
+LAB_SO101_PY=${LAB_SO101_PY:-/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python}   # 依頼 283: SO-101 のクライアントを流す python (conda の lerobot)
 LAB_CORR_STEPS=1500
 LAB_CORR_INIT=/workspace/ckpt/3999/params
 LAB_CORR2_STEPS=1500
@@ -333,6 +337,7 @@ LAB_DEEP1_STEPS=3000        # 依頼 133. add_deep_config.py の --steps (推論
 LAB_DEEP1B_STEPS=3000       # 依頼 135. deep1b の学習の既定のステップ数 (lab_train.sh) と, 推論で入れる設定の --steps
 LAB_SPLIT1_STEPS=3000       # 依頼 228. deep_even10_lora_v1 (deep1) と同じステップ数
 LAB_SPLIT2_STEPS=3000       # 依頼 229. split1 と同じステップ数
+LAB_SO101A_STEPS=3000       # 依頼 282. deep1b と同じステップ数 (decay_steps も同じ). 依頼 283 で推論の設定を入れるときも同じ値
 lab_model_def() {           # lab_model_def trim|corr|... → MODEL_REPO MODEL_CKPT MODEL_CONFIG MODEL_DATA MODEL_DESC MODEL_RANGE_DATA. 知らない名前なら 1
     MODEL_RANGE_DATA=mecharm_redblock_box_teach_v1_trim2        # 安全範囲を作るデータ (依頼 135. deep1・deep1b だけ下で変える)
     case "$1" in
@@ -388,6 +393,13 @@ lab_model_def() {           # lab_model_def trim|corr|... → MODEL_REPO MODEL_C
             MODEL_DATA=mecharm_redblock_box_split10_v2                  # 依頼 229: split10_v1 と同じ 10 本 (5A の本の線 50px で 10 本とも入った)
             MODEL_RANGE_DATA=$MODEL_DATA
             MODEL_DESC="π0.5 base から split10_v2 (案F で撮った 10 本) で学習した $((LAB_SPLIT2_STEPS - 1)) (依頼 229)" ;;
+        so101a)                 # 依頼 283: SO-101 (依頼 282 で学習). 取る場所・設定・assets は lab_train.sh --model so101a と同じ名前
+            MODEL_REPO=PixelstoMotors/pi05-so101-teleop-even-lora-v1
+            MODEL_CKPT=/workspace/ckpt/so101_teleop_even_v1_$((LAB_SO101A_STEPS - 1))
+            MODEL_CONFIG=pi05_so101_teleop_even_lora
+            MODEL_DATA=so101_redblock_box_teleop_even_v1
+            MODEL_RANGE_DATA=$MODEL_DATA
+            MODEL_DESC="SO-101: π0.5 base から so101_redblock_box_teleop_even_v1 (場所 1〜5 を各 10 本) で学習した $((LAB_SO101A_STEPS - 1)) (依頼 282)" ;;
         *) return 1 ;;
     esac
 }
@@ -402,6 +414,7 @@ lab_cmd_addon_model() {     # lab_cmd_addon_model trim|corr|corr2|corr3|deep1|de
     [ "$1" = deep1b ] && add="add_deep_config.py /workspace/openpi --steps $LAB_DEEP1B_STEPS --variant b"     # 依頼 135
     [ "$1" = split1 ] && add="add_deep_config.py /workspace/openpi --steps $LAB_SPLIT1_STEPS --variant split1"     # 依頼 228
     [ "$1" = split2 ] && add="add_deep_config.py /workspace/openpi --steps $LAB_SPLIT2_STEPS --variant split2"     # 依頼 229
+    [ "$1" = so101a ] && add="add_so101_config.py /workspace/openpi --steps $LAB_SO101A_STEPS"                    # 依頼 283 (so101_policy.py も写す)
     # assets は hf download が置いたモデルの assets/local/<データ名> を, openpi の assets/<設定>/local/ に写す
     # (trim の 3f が assets/pi05_mecharm_trim_lora/local/ に写すのと同じ形. corr〜corr3 は trim2 と同じ正規化の値,
     # deep1 は deep_even10_v1 で測り直した値)
@@ -415,9 +428,8 @@ lab_cmd_addon_model() {     # lab_cmd_addon_model trim|corr|corr2|corr3|deep1|de
 # TRAIN_RETIRED: 1 なら新しくは学習しない (--stop で片付けるときだけ使う). deep1 は依頼 133 の 2999 (decay_steps 5000) を
 #   作った形なので, 依頼 135 からは deep1b で学習する
 # so101a (依頼 282): SO-101 のお手本 50 本 (場所 1〜5 を各 10 本) で π0.5 base から学習する. 値は deep1b と同じ.
-#   推論のモデル (LAB_MODELS・lab_model_def・lab_start.sh) にはまだ足さない (SO-101 の推論の入口は別に作る)
+#   推論のモデル (LAB_MODELS・lab_model_def・lab_start.sh) には依頼 283 で足した (学習の lab_train_def は lab_model_def を使わないまま)
 LAB_TRAIN_MODELS="corr corr2 corr3 deep1 deep1b split1 split2 so101a"
-LAB_SO101A_STEPS=3000       # 依頼 282. deep1b と同じステップ数 (decay_steps も同じ)
 lab_train_def() {           # lab_train_def corr|corr2|corr3|deep1|deep1b → TRAIN_* (知らない名前なら 1)
     TRAIN_STEPS=1500; TRAIN_PREP=pod_prep_trim_corr.sh      # ステップ数の既定・4b で流す準備 (依頼 133 で deep1 だけ違う)
     TRAIN_DECAY=steps; TRAIN_RETIRED=0                      # corr〜corr3 は add_trim_corr_config.py の 1_500 (= 既定のステップ数)
diff --git a/lab_start.sh b/lab_start.sh
index e71b566..2468ec6 100755
--- a/lab_start.sh
+++ b/lab_start.sh
@@ -20,6 +20,9 @@
 #                      Pod の /workspace/ckpt/deep_v1_2999. 正規化の値はこの 50 本で測り直したもの (モデルの assets にある))
 #              deep1b = deep1 と同じデータで decay_steps をステップ数と同じにして学習した 2999 (依頼 135. lab_train.sh --model deep1b.
 #                      PixelstoMotors/pi05-mecharm-deep-even10-b-lora-v1. Pod の /workspace/ckpt/deep_b_v1_2999)
+#              so101a = SO-101 のお手本 50 本で π0.5 base から学習した 2999 (依頼 283. PixelstoMotors/pi05-so101-teleop-even-lora-v1.
+#                      Pod の /workspace/ckpt/so101_teleop_even_v1_2999). 1〜5b は同じで, 6〜8 は so101/run_so101_policy.py だけ
+#                      (デーモン・HOME・位置合わせはない). --dry-run ならフォロワーに送らない. --exec-steps N (1〜10) をそのまま渡す
 #              取る場所・設定・assets・サーバーの起動・つなぎ直しの確かめが選んだモデルに合う. 安全範囲 (学習データ ±10°.
 #              run_policy_client.py --raw-dir) は, deep1・deep1b は deep_even10_v1 の raw_episodes (依頼 135), ほかは trim2 の
 #              raw_episodes (corr_v3・corr_v4 と合わせても範囲はほぼ同じで, trim2 の方が狭い. corr_v5 は 11-06 の 184650 の j2 が
@@ -99,6 +102,11 @@ VIA_STRIDE=3         # 依頼 182: --via-stride N で変える (既定は今ま
 FLOW_ARGS=()         # 依頼 176: --flow / --speed N のときだけ run_policy_client.py に渡す
 STEP_ARGS=(--no-step-confirm)   # 依頼 178: 既定はチャンクごとに確かめない. --step-confirm で今までどおり
 FINISH_ARGS=(--auto-finish)     # 依頼 181: 既定は置き終えたら自動で終わる. --no-auto-finish で今までどおり
+EXEC_STEPS=""        # 依頼 283: so101a だけ. 付けなければ run_so101_policy.py の既定 (答えの 10 コマ全部)
+MECHARM_ONLY=()      # 依頼 283: so101a では使えない mechArm の引数 (付けられていれば止める)
+for a in "$@"; do
+    case "$a" in --episode|--no-tilt-fix|--grip-value|--flow|--via-stride|--step-confirm|--no-auto-finish|--speed) MECHARM_ONLY+=("$a") ;; esac
+done
 while [ $# -gt 0 ]; do
     case "$1" in
         --gpu) lab_need_val A40 "$@"; GPU="$2"; shift 2 ;;
@@ -125,12 +133,23 @@ while [ $# -gt 0 ]; do
                  FLOW_ARGS+=(--speed "$((10#$2))"); shift 2 ;;
         --model) [ $# -ge 2 ] || { echo "[ERROR] --model には ${LAB_MODELS// / か } を付ける" >&2; exit 2; }     # 値がないと shift 2 が失敗して回り続ける (codex R1)
                  MODEL="$2"; shift 2 ;;
-        -h|--help) sed -n '2,66p' "$0"; exit 0 ;;
+        --exec-steps) [ $# -ge 2 ] || { echo "[ERROR] --exec-steps には 1〜10 の整数を付ける" >&2; exit 2; }     # 依頼 283 (so101a だけ)
+                      case "$2" in ''|*[!0-9]*) echo "[ERROR] --exec-steps は 1〜10 の整数: $2" >&2; exit 2 ;; esac
+                      [ ${#2} -le 2 ] && [ "$((10#$2))" -ge 1 ] && [ "$((10#$2))" -le 10 ] || { echo "[ERROR] --exec-steps は 1〜10 の整数: $2" >&2; exit 2; }
+                      EXEC_STEPS="$((10#$2))"; shift 2 ;;
+        -h|--help) sed -n '2,69p' "$0"; exit 0 ;;
         *) echo "[ERROR] 知らない引数: $1  (./lab_start.sh --help)" >&2; exit 2 ;;
     esac
 done
 case "$GPU" in *" "*) GPU_ID="$GPU" ;; *) GPU_ID="NVIDIA $GPU" ;; esac
 lab_model_def "$MODEL" || { echo "[ERROR] --model は ${LAB_MODELS// / か }: $MODEL" >&2; exit 2; }
+SO101=0; [ "$MODEL" = so101a ] && SO101=1      # 依頼 283: SO-101 は 6〜8 が別 (so101/run_so101_policy.py)
+if [ $SO101 = 1 ] && [ ${#MECHARM_ONLY[@]} -gt 0 ]; then
+    echo "[ERROR] --model so101a では mechArm の引数は使えない: ${MECHARM_ONLY[*]}" >&2; exit 2
+fi
+if [ $SO101 = 0 ] && [ -n "$EXEC_STEPS" ]; then
+    echo "[ERROR] --exec-steps は --model so101a だけ" >&2; exit 2
+fi
 
 if [ ! -d /Volumes/KIOXIA/r2r2r-data ]; then
     echo "[ERROR] SSD 未マウント: /Volumes/KIOXIA/r2r2r-data" >&2; exit 1
@@ -163,10 +182,17 @@ lab_need_key "$HF_TOKEN_FILE" "Hugging Face の鍵"
 ADD_TRIM=/Volumes/KIOXIA/r2r2r-data/lab/Log11/pod/add_trim_config.py
 [ -f "$ADD_TRIM" ] || { echo "[ERROR] add_trim_config.py がありません: $ADD_TRIM" >&2; exit 1; }
 RAW=/Volumes/KIOXIA/r2r2r-data/datasets/mecharm_redblock_box_teach_v1_trim2/raw_episodes    # 位置合わせのお手本 (どのモデルも trim2)
-[ -d "$RAW/$EPISODE" ] || { echo "[ERROR] お手本がありません: $RAW/$EPISODE" >&2; exit 1; }
+[ $SO101 = 1 ] || [ -d "$RAW/$EPISODE" ] || { echo "[ERROR] お手本がありません: $RAW/$EPISODE" >&2; exit 1; }
 RAW_RANGE=/Volumes/KIOXIA/r2r2r-data/datasets/$MODEL_RANGE_DATA/raw_episodes    # 安全範囲を作る学習データ (lab_lib.sh の lab_model_def. 依頼 135)
 [ -d "$RAW_RANGE" ] || { echo "[ERROR] 安全範囲を作る学習データがありません: $RAW_RANGE" >&2; exit 1; }
 echo "[RANGE ] 安全範囲 (学習データ ±10°) は $RAW_RANGE から (--model $MODEL)"
+if [ $SO101 = 1 ]; then     # 依頼 283: mechArm の位置合わせ・傾き・爪・中継点の行は出さない
+    if [ $SERVE_ONLY = 1 ]; then so101_how="--serve-only なのでクライアントは流さない (空打ちだけ)"
+    elif [ $DRY_RUN = 1 ]; then so101_how="ドライラン (フォロワーに送らない)"
+    else so101_how="--execute (フォロワーに送る)"; fi
+    echo "[SO101 ] 推論のクライアントは so101/run_so101_policy.py ($LAB_SO101_PY). $so101_how"
+    echo "[SO101 ] 1 回で実行するコマ: ${EXEC_STEPS:-10 (既定. 答えの 10 コマ全部)}$([ -n "$EXEC_STEPS" ] && echo ' (--exec-steps)')"
+else
 echo "[FRAME ] 写り方の確かめの基準画像は $RAW の最初のエピソードから (位置合わせと同じ trim2. 依頼 137)"
 if [ ${#TILT_FIX_ARGS[@]} = 0 ]; then
     echo "[TILT  ] 上カメラの傾きのお手本 (各エピソードの 1 枚目の中央値) は $RAW_RANGE から (安全範囲と同じ. 差だけ画像を回して AI に渡す. 依頼 144)"
@@ -192,6 +218,7 @@ if [ ${#FINISH_ARGS[@]} = 0 ]; then
 else
     echo "[FINISH] 箱に置き終えたら自動で終わる (--auto-finish. つかんで放したあと HOME 近くで止まったら HOME へ戻して結果の入力へ. 2 回目のつかみは送らずに止める. 依頼 181)"
 fi
+fi          # 依頼 283: so101a の分かれ目の終わり
 lab_ssh_opts
 
 HF_REPO=$MODEL_REPO                                                        # --model で選んだモデル (lab_lib.sh の lab_model_def)
@@ -503,7 +530,11 @@ cd "$HERE" || fail "$HERE に移れない"
 # 観測の形は安全範囲と同じお手本 ($RAW_RANGE) の 1 枚目と state[0]. この間の Ctrl-C は空打ちだけをやめる
 stage "5b. 空打ち (1 回目の推論の待ちを先に済ませる)"
 trap ':' INT
+if [ $SO101 = 1 ]; then     # 依頼 283: SO-101 の観測の形 (カメラ 2 台・関節 6 つ) で空打ち
+    "$LAB_SO101_PY" so101/run_so101_policy.py --warmup --port "$TUNNEL_PORT" --raw-dir "$RAW_RANGE"
+else
 python3 pi05/policy_warmup.py --port "$TUNNEL_PORT" --raw-dir "$RAW_RANGE"
+fi
 rc=$?
 # 1 は policy_warmup.py が失敗の 1 行を出したとき. それ以外 (落ちた・読み込めない) はここで 1 行出す
 [ $rc = 0 ] || [ $rc = 1 ] || echo "[WARM  ] 空打ちが終了コード $rc で終わりました. 止めずに続けます (1 回目の推論が長くなる)"
@@ -530,8 +561,8 @@ if [ $SERVE_ONLY = 1 ]; then
     done
 fi
 
-# ---- 6. デーモン ----
-if [ $DRY_RUN = 0 ]; then
+# ---- 6. デーモン (SO-101 にはない) ----
+if [ $DRY_RUN = 0 ] && [ $SO101 = 0 ]; then
     stage "6. デーモンの状態"
     st=$("$HERE/tools/daemon_ctl.sh" status 2>&1); echo "$st"
     if ! grep -q ':5555 ' <<<"$st"; then
@@ -550,7 +581,15 @@ while :; do
     round=$((round + 1))
     CONFIRM_ARGS=()      # 依頼 177: 1 回目の試行だけ始めの確かめを待つ. 2 回目からは飛ばす
     [ $round -ge 2 ] && CONFIRM_ARGS=(--skip-first-confirm)
-    if [ $DRY_RUN = 0 ]; then
+    if [ $SO101 = 1 ]; then     # 依頼 283: SO-101. 試行ごとに始めの確かめ (Enter) を待つ. 記録は <Log>/so101/ に
+        stage "8. SO-101 の推論 ($round 回目$([ $DRY_RUN = 1 ] && echo '. ドライラン (フォロワーに送らない)'))"
+        SO101_ARGS=(--port "$TUNNEL_PORT" --raw-dir "$RAW_RANGE" --log-dir "$LOGDIR" --model "$MODEL_TAG" --step "$((LAB_SO101A_STEPS - 1))")
+        [ -n "$EXEC_STEPS" ] && SO101_ARGS+=(--exec-steps "$EXEC_STEPS")
+        [ $DRY_RUN = 0 ] && SO101_ARGS+=(--execute)
+        "$LAB_SO101_PY" so101/run_so101_policy.py "${SO101_ARGS[@]}"
+        rc=$?
+        echo "[CLIENT] run_so101_policy.py が終わった (終了コード $rc. モデル $MODEL_TAG)"
+    elif [ $DRY_RUN = 0 ]; then
         stage "7. HOME → 爪を開く → 位置合わせ ($round 回目)"
         python3 dynamic_tracking_limits/place/place_modules/08_home_from_anywhere.py || fail "HOME に戻せない"
         python3 -c "from visual_servo_pick import get_daemon_socket, daemon_set_gripper, close_daemon_socket; get_daemon_socket(); daemon_set_gripper(0); close_daemon_socket()" \
@@ -573,7 +612,7 @@ while :; do
             ${CONFIRM_ARGS[@]+"${CONFIRM_ARGS[@]}"}
         rc=$?
     fi
-    echo "[CLIENT] run_policy_client.py が終わった (終了コード $rc. モデル $MODEL_TAG)"
+    [ $SO101 = 1 ] || echo "[CLIENT] run_policy_client.py が終わった (終了コード $rc. モデル $MODEL_TAG)"
     stage_done
     if [ -t 0 ]; then
         read -r -p "もう1回やりますか? y=やる / 他=終わる > " again
diff --git a/so101/check_283_replay_demo.py b/so101/check_283_replay_demo.py
new file mode 100644
index 0000000..69d793f
--- /dev/null
+++ b/so101/check_283_replay_demo.py
@@ -0,0 +1,96 @@
+"""録ったお手本を流して so101a の答えを確かめる (依頼 283. フォロワー・カメラは使わない).
+
+学習の 50 本 (raw_episodes) から場所ごとに 1 本 (index.json の並びで場所ごとの最初の本) を選び, --stride コマおきに
+そのコマの画像 2 枚 (学習と同じ 320x240 の jpg) と関節 6 つを run_so101_policy.py と同じ形でサーバーへ送る.
+返ってきた答え (10, 6) とお手本の次の 10 コマの action (リーダーの目標. 絶対値) を比べ, 場所ごと・関節ごとの差の
+中央値と最大を出す. 答えをそのまま絶対値として読む場合 (as_is) と, 関節 5 つに state を足す場合 (plus_state) の両方を
+比べ, どちらがお手本に合うかも出す. 答えが返るまでの時間 (1 回目はコンパイルを含むので別に出す) も測る.
+
+    python so101/check_283_replay_demo.py --port 8000 --out-dir so101/check_283
+"""
+
+import argparse
+import json
+import statistics
+import sys
+import time
+from pathlib import Path
+
+import numpy as np
+from PIL import Image
+
+HERE = Path(__file__).resolve().parent
+sys.path.insert(0, str(HERE))
+sys.path.insert(0, str(HERE.parent / "pi05"))
+
+import run_so101_policy as R  # noqa: E402
+
+DATA = Path("/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1")
+
+
+def pick_episodes(data_dir):
+    idx = json.loads((Path(data_dir) / "index.json").read_text())
+    chosen = {}
+    for e in idx["episodes"]:
+        chosen.setdefault(int(e["place"]), e["dir"])
+    return dict(sorted(chosen.items()))
+
+
+def stats(err):
+    """err: (N, 10, 6) の差 → 関節ごとの中央値・最大"""
+    a = np.abs(err).reshape(-1, 6)
+    return {"median": [round(float(x), 2) for x in np.median(a, 0)], "max": [round(float(x), 2) for x in a.max(0)]}
+
+
+def main(argv=None):
+    ap = argparse.ArgumentParser()
+    ap.add_argument("--port", type=int, default=8000)
+    ap.add_argument("--data-dir", default=str(DATA))
+    ap.add_argument("--stride", type=int, default=10, help="何コマおきに問い合わせるか")
+    ap.add_argument("--out-dir", default=str(HERE / "check_283"))
+    args = ap.parse_args(argv)
+    from policy_ws import PolicyClient
+    client = R.Policy(args.port, client=PolicyClient(port=args.port, wait_sec=30.0))
+    raw = Path(args.data_dir) / "raw_episodes"
+    eps = pick_episodes(args.data_dir)
+    result = {"data": str(raw), "stride": args.stride, "joints": R.MOTORS, "episodes": {}, "by_place": {}}
+    all_asis, all_plus = [], []
+    for place, name in eps.items():
+        ep = raw / name
+        z = np.load(ep / "episode.npz")
+        state, actions = z["state"].astype(np.float64), z["actions"].astype(np.float64)
+        n = len(state)
+        err_asis, err_plus = [], []
+        for t in range(0, n - R.HORIZON, args.stride):
+            imgs = {c: np.asarray(Image.open(ep / f"frames_{c}" / f"{t:06d}.jpg").convert("RGB")) for c in R.CAMERAS}
+            a = client.infer(R.make_obs(state[t], imgs["desk"], imgs["wrist"]))
+            want = actions[t:t + R.HORIZON]
+            err_asis.append(R.to_absolute(a, state[t], already_absolute=True) - want)
+            err_plus.append(R.to_absolute(a, state[t], already_absolute=False) - want)
+        err_asis, err_plus = np.array(err_asis), np.array(err_plus)
+        all_asis.append(err_asis)
+        all_plus.append(err_plus)
+        result["by_place"][str(place)] = {"episode": name, "frames": n, "queries": len(err_asis),
+                                          "as_is": stats(err_asis), "plus_state": stats(err_plus)}
+        s = result["by_place"][str(place)]["as_is"]
+        print(f"[PLACE {place}] {name}  {n} コマ・{len(err_asis)} 回  差の中央値 {s['median']}  最大 {s['max']}", flush=True)
+    result["all"] = {"as_is": stats(np.concatenate(all_asis)), "plus_state": stats(np.concatenate(all_plus))}
+    lat = client.latencies
+    rest = lat[1:] if len(lat) > 1 else lat
+    result["latency_s"] = {"first": round(lat[0], 3), "n": len(rest), "median": round(statistics.median(rest), 3),
+                           "max": round(max(rest), 3), "p90": round(float(np.percentile(rest, 90)), 3),
+                           "over_0.33s": sum(1 for x in rest if x > R.HORIZON / R.FPS)}
+    client.close()
+    out = Path(args.out_dir)
+    out.mkdir(parents=True, exist_ok=True)
+    p = out / f"replay_demo_{time.strftime('%Y%m%d_%H%M%S')}.json"
+    p.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
+    print(f"[ALL   ] as_is 中央値 {result['all']['as_is']['median']}  最大 {result['all']['as_is']['max']}")
+    print(f"[ALL   ] plus_state 中央値 {result['all']['plus_state']['median']}  最大 {result['all']['plus_state']['max']}")
+    print(f"[LATENCY] 1 回目 {result['latency_s']['first']} 秒 / 2 回目から {result['latency_s']}")
+    print(f"[OUT   ] {p}")
+    return 0
+
+
+if __name__ == "__main__":
+    sys.exit(main())
diff --git a/so101/run_so101_policy.py b/so101/run_so101_policy.py
new file mode 100644
index 0000000..319b949
--- /dev/null
+++ b/so101/run_so101_policy.py
@@ -0,0 +1,599 @@
+"""SO-101 の π0.5 (so101a) を実機で動かす Mac 側のクライアント (依頼 283).
+
+mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節 6 つ・LeRobot で動かすため別に作った).
+サーバーは lab_start.sh --model so101a が Pod に立て, Mac の localhost:8000 へトンネルを張ったもの.
+
+使い方 (conda の lerobot 環境の python で. lab_start.sh --model so101a が呼ぶ):
+    python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/<Log>              ドライラン (フォロワーに送らない)
+    python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/<Log> --execute    フォロワーに送る
+    python so101/run_so101_policy.py --warmup                                                  空打ち (lab_start.sh の 5b)
+    --exec-steps N (1〜10): 答えの 10 コマのうち先頭 N コマを実行して問い合わせ直す (既定 10 = 全部. 0.33 秒)
+
+1 回の流れ:
+  1. ブロックの場所の番号 (1〜5) を聞く
+  2. カメラ 2 台をお手本と同じ設定 (camera_lock_259_desk.json・camera_lock_259_wrist.json・640x480・30fps・MJPG) で開く.
+     --execute ならフォロワー・リーダーに lerobot_safe_259.py の入口 (A: 力を入れる前に目標を今の位置に /
+     B: 前に送った目標から 1 コマ 関節 10°・爪 20 まで / 力を抜く前に休みの姿勢) を通してつなぐ
+  3. 1 回目の答えを出して見せ, Enter で確かめる (確かめはこの 1 回だけ)
+  4. 30fps で 1 コマずつ送る. 答えのコマを使い切ったら (--exec-steps) 次を問い合わせる (問い合わせの間は送らない)
+       スペース: 一時停止 (その場で止める. 関節 5 つの目標を今の位置に. 爪は前の目標のまま (つかんだ物を落とさない))
+       一時停止中に t: リーダーでの手直し (テレオペ) に切り替える. もう一度 t で推論に戻る
+       一時停止中にスペース: 推論に戻る / q: 終わる
+     このほかに止まる所・確かめる所は足さない (依頼 283)
+  5. 結果 (y=成功 / n=失敗 / Enter=記録しない) を聞き, 記録を書いて閉じる (閉じるときは入口が休みの姿勢を確かめる)
+
+送る形 (pi05/openpi_addon/so101_policy.py の keys):
+  observation/desk_image・observation/wrist_image: 640x480 を 320x240 に BOX で縮め, JPEG 品質 95 で書いて読み直した RGB
+  (お手本 export_so101_raw_episodes.py と同じ作り方) / observation/state: 関節 6 つ (float32) / prompt: PROMPT
+受ける形: actions (10, 6). サーバーの設定 (add_so101_config.py) は出口で AbsoluteActions (関節 5 つに state を足す) を
+  通すので, 返ってくる値は絶対値 (依頼 283 の確かめ: お手本を流して比べた. check_283_replay_demo.py).
+  SERVER_RETURNS_ABSOLUTE を False にすると関節 5 つに今の角度を足す (爪は絶対値のまま)
+安全範囲: 学習の 50 本 (--raw-dir の episode.npz の state と actions) の関節ごとの最小〜最大 ±10 (爪も 0〜100 の値で ±10).
+  外へ出る目標は端で切って送る (止めない)
+
+記録 (1 回ごと):
+  LeRobot v3.0 (お手本と同じ形・同じ道具で開ける): observation.state (実測)・action (送ろうとした目標. 安全範囲で切ったあと・
+    B の前. お手本の action と同じ位置づけ)・observation.images.desk / wrist (640x480)・時刻 timestamp に加えて
+    ptm.sent (B で切ったあと実際に送った値)・ptm.mode (0=model / 1=correct / 2=pause)・ptm.chunk_step (答えの何番目のコマか.
+    0〜9. model 以外は -1)・ptm.chunk_id (何回目の問い合わせの答えか. model 以外は -1)・ptm.t_wall (UNIX 秒)
+  LeRobot の入口は KIOXIA に記録を作らせないので, ~/so101_runs/<Log>/<試行>/ に書いてから
+  <--log-dir>/so101/<試行>/ へ写す (Hugging Face には送らない)
+  <--log-dir>/so101_trials.csv に 1 行: 試行・だれが動かしたか (AI / AI+人の手直し)・場所・モデル・step・--exec-steps・結果 など
+"""
+
+import argparse
+import csv
+import io
+import json
+import os
+import shutil
+import statistics
+import sys
+import time
+from datetime import datetime
+from pathlib import Path
+
+import numpy as np
+from PIL import Image
+
+HERE = Path(__file__).resolve().parent
+sys.path.insert(0, str(HERE))
+sys.path.insert(0, str(HERE.parent / "pi05"))
+
+MOTORS = ["shoulder_pan", "shoulder_lift", "elbow_flex", "wrist_flex", "wrist_roll", "gripper"]
+JOINTS = [f"{m}.pos" for m in MOTORS]
+PROMPT = "Put the red block into the white box"       # so101_policy.py・お手本の課題の言葉と同じ
+FPS = 30
+HORIZON = 10
+CAM_W, CAM_H = 640, 480
+OUT_W, OUT_H = 320, 240
+JPEG_Q = 95
+RANGE_MARGIN = 10.0
+SERVER_RETURNS_ABSOLUTE = True
+DEFAULT_RAW = Path("/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes")
+LOCAL_RUNS = Path.home() / "so101_runs"
+TRIALS_CSV = "so101_trials.csv"
+TRIAL_COLUMNS = ["trial", "started_at", "operator", "place", "model", "step", "exec_steps", "execute", "result",
+                 "frames", "frames_model", "frames_correct", "frames_pause", "queries", "latency_median_s",
+                 "latency_max_s", "clipped_frames", "record_dir"]
+MODEL, CORRECT, PAUSE = 0, 1, 2
+MODE_NAMES = {MODEL: "model", CORRECT: "correct", PAUSE: "pause"}
+CAMERAS = ("desk", "wrist")
+
+
+# ---- 画像・観測・答え (アームなしで確かめられる部分) ---------------------------------------------
+
+def prep_image(rgb):
+    """カメラの RGB (480, 640, 3) をお手本と同じ作り方で 320x240 にする (BOX で縮め, JPEG 品質 95 で書いて読み直す)."""
+    img = Image.fromarray(np.asarray(rgb, dtype=np.uint8)).resize((OUT_W, OUT_H), Image.Resampling.BOX)
+    buf = io.BytesIO()
+    img.save(buf, format="JPEG", quality=JPEG_Q)
+    buf.seek(0)
+    with Image.open(buf) as im:
+        return np.asarray(im.convert("RGB"))
+
+
+def make_obs(state, desk, wrist, prompt=PROMPT):
+    """サーバーへ送る形 (so101_policy.py の keys). desk・wrist は 320x240 にしたもの."""
+    state = np.asarray(state, dtype=np.float32)
+    if state.shape != (6,):
+        raise ValueError(f"state は関節 6 つ: {state.shape}")
+    for name, im in (("desk", desk), ("wrist", wrist)):
+        if np.asarray(im).shape != (OUT_H, OUT_W, 3):
+            raise ValueError(f"{name} の画像は ({OUT_H}, {OUT_W}, 3): {np.asarray(im).shape}")
+    return {"observation/desk_image": np.asarray(desk, dtype=np.uint8),
+            "observation/wrist_image": np.asarray(wrist, dtype=np.uint8),
+            "observation/state": state, "prompt": prompt}
+
+
+def to_absolute(actions, state, already_absolute=SERVER_RETURNS_ABSOLUTE):
+    """答え (10, 6) を絶対値にする. already_absolute でなければ関節 5 つに今の角度を足す (爪はそのまま)."""
+    a = np.asarray(actions, dtype=np.float64)
+    if a.ndim != 2 or a.shape[1] != 6 or a.shape[0] < 1:
+        raise ValueError(f"答えの形が (N, 6) ではない: {a.shape}")
+    if not np.all(np.isfinite(a)):
+        raise ValueError("答えに数でない値がある")
+    if already_absolute:
+        return a.copy()
+    out = a.copy()
+    out[:, :5] += np.asarray(state, dtype=np.float64)[:5]
+    return out
+
+
+def load_safe_range(raw_dir, margin=RANGE_MARGIN):
+    """学習の本 (raw_dir/*/episode.npz の state と actions) の関節ごとの最小・最大に ±margin. → (lo, hi, 本数)"""
+    eps = sorted(p for p in Path(raw_dir).glob("[!.]*/episode.npz"))
+    if not eps:
+        raise FileNotFoundError(f"安全範囲を作る学習データがない: {raw_dir}")
+    lo, hi = np.full(6, np.inf), np.full(6, -np.inf)
+    for p in eps:
+        z = np.load(p)
+        for k in ("state", "actions"):
+            v = np.asarray(z[k], dtype=np.float64)
+            if v.ndim != 2 or v.shape[1] != 6:
+                raise ValueError(f"{p} の {k} が (N, 6) ではない: {v.shape}")
+            lo, hi = np.minimum(lo, v.min(0)), np.maximum(hi, v.max(0))
+    return lo - margin, hi + margin, len(eps)
+
+
+def clip_to_range(target, lo, hi):
+    """安全範囲の端で切る (止めない). → (切った値, 切った関節の真偽)"""
+    t = np.asarray(target, dtype=np.float64)
+    c = np.clip(t, lo, hi)
+    return c, np.abs(c - t) > 1e-9
+
+
+def plan_chunk(actions_abs, exec_steps, lo, hi):
+    """答え (絶対値) の先頭 exec_steps コマを安全範囲で切った [(答えの何番目, 目標, 切ったか)]"""
+    if not 1 <= exec_steps <= HORIZON:
+        raise ValueError(f"--exec-steps は 1〜{HORIZON}: {exec_steps}")
+    out = []
+    for k in range(min(exec_steps, len(actions_abs))):
+        t, cut = clip_to_range(actions_abs[k], lo, hi)
+        out.append((k, t, bool(cut.any())))
+    return out
+
+
+def next_mode(mode, key):
+    """キーで次の状態. → (次の状態, 終わるか). スペース: 推論 ⇄ 一時停止 (手直し中は一時停止へ) /
+    t: 一時停止 → 手直し, 手直し → 推論 (推論中の t は何もしない) / q: 終わる"""
+    if key == "q":
+        return mode, True
+    if key == " ":
+        return (PAUSE if mode in (MODEL, CORRECT) else MODEL), False
+    if key == "t":
+        if mode == PAUSE:
+            return CORRECT, False
+        if mode == CORRECT:
+            return MODEL, False
+    return mode, False
+
+
+def pause_target(present, last_goal):
+    """一時停止の目標: 関節 5 つは今の位置 (その場で止める), 爪は前の目標のまま (つかんだ物を落とさない)."""
+    t = np.asarray(present, dtype=np.float64).copy()
+    t[5] = float(np.asarray(last_goal, dtype=np.float64)[5])
+    return t
+
+
+def operator_of(modes):
+    return "AI+人の手直し" if CORRECT in set(modes) else "AI"
+
+
+def latency_stats(lat):
+    if not lat:
+        return None, None
+    return float(statistics.median(lat)), float(max(lat))
+
+
+# ---- 記録 (LeRobot v3.0) ------------------------------------------------------------------------
+
+def dataset_features():
+    f = {
+        "observation.state": {"dtype": "float32", "shape": (6,), "names": JOINTS},
+        "action": {"dtype": "float32", "shape": (6,), "names": JOINTS},
+        "ptm.sent": {"dtype": "float32", "shape": (6,), "names": JOINTS},
+        "ptm.mode": {"dtype": "int64", "shape": (1,), "names": None},
+        "ptm.chunk_step": {"dtype": "int64", "shape": (1,), "names": None},
+        "ptm.chunk_id": {"dtype": "int64", "shape": (1,), "names": None},
+        "ptm.t_wall": {"dtype": "float64", "shape": (1,), "names": None},
+    }
+    for c in CAMERAS:
+        f[f"observation.images.{c}"] = {"dtype": "video", "shape": (CAM_H, CAM_W, 3),
+                                         "names": ["height", "width", "channels"]}
+    return f
+
+
+class Recorder:
+    """1 回の試行を LeRobot v3.0 の 1 本として書く (お手本と同じ列 + ptm.*)."""
+
+    def __init__(self, root, repo_id, use_videos=True):
+        from lerobot.datasets.lerobot_dataset import LeRobotDataset
+        self.root = Path(root)
+        self.ds = LeRobotDataset.create(repo_id=repo_id, fps=FPS, features=dataset_features(), root=self.root,
+                                        robot_type="so_follower", use_videos=use_videos)
+        self.modes, self.n = [], 0
+
+    def add(self, state, desk, wrist, action, sent, mode, chunk_step=-1, chunk_id=-1, t_wall=None):
+        self.ds.add_frame({
+            "observation.state": np.asarray(state, dtype=np.float32),
+            "action": np.asarray(action, dtype=np.float32),
+            "ptm.sent": np.asarray(sent, dtype=np.float32),
+            "ptm.mode": np.array([mode], dtype=np.int64),
+            "ptm.chunk_step": np.array([chunk_step if mode == MODEL else -1], dtype=np.int64),
+            "ptm.chunk_id": np.array([chunk_id if mode == MODEL else -1], dtype=np.int64),
+            "ptm.t_wall": np.array([time.time() if t_wall is None else t_wall], dtype=np.float64),
+            "observation.images.desk": np.asarray(desk, dtype=np.uint8),
+            "observation.images.wrist": np.asarray(wrist, dtype=np.uint8),
+            "task": PROMPT,
+        })
+        self.modes.append(mode)
+        self.n += 1
+
+    def close(self):
+        if self.n:
+            self.ds.save_episode()
+        self.ds.finalize()
+
+
+def copy_record(src, dst):
+    """ローカルの記録を KIOXIA へ写す (._ は写さない). 写したあと, ファイルの数とバイト数が同じかを確かめる."""
+    src, dst = Path(src), Path(dst)
+    if dst.exists():
+        raise FileExistsError(f"もうある (上書きしない): {dst}")
+    shutil.copytree(src, dst, ignore=shutil.ignore_patterns("._*", ".DS_Store"))
+    a = sorted((p.relative_to(src), p.stat().st_size) for p in src.rglob("*") if p.is_file() and not p.name.startswith("._"))
+    b = sorted((p.relative_to(dst), p.stat().st_size) for p in dst.rglob("*") if p.is_file() and not p.name.startswith("._"))
+    if a != b:
+        raise IOError(f"写した記録が元と違う: {src} → {dst}")
+    return len(a)
+
+
+def append_trial(csv_path, row):
+    csv_path = Path(csv_path)
+    new = not csv_path.exists()
+    with open(csv_path, "a", newline="") as f:
+        w = csv.DictWriter(f, fieldnames=TRIAL_COLUMNS)
+        if new:
+            w.writeheader()
+        w.writerow({c: row.get(c, "") for c in TRIAL_COLUMNS})
+
+
+# ---- サーバー -----------------------------------------------------------------------------------
+
+class Policy:
+    def __init__(self, port, client=None):
+        if client is None:
+            from policy_ws import PolicyClient
+            client = PolicyClient(port=port, wait_sec=30.0)
+        self.client = client
+        self.latencies = []
+
+    def infer(self, obs):
+        t0 = time.perf_counter()
+        out = self.client.infer(obs)
+        self.latencies.append(time.perf_counter() - t0)
+        a = np.asarray(out["actions"])
+        if a.shape != (HORIZON, 6):
+            raise ValueError(f"答えの形が ({HORIZON}, 6) ではない: {a.shape}")
+        return a
+
+    def close(self):
+        self.client.close()
+
+
+# ---- アーム・カメラ ----------------------------------------------------------------------------
+
+class LiveArm:
+    """--execute: lerobot_safe_259.py の入口 (A・B・休みの姿勢) を通したフォロワー・リーダー・カメラ 2 台."""
+
+    def __init__(self):
+        import camera_lock_259 as cl
+        import lerobot_safe_259 as safe
+        from lerobot.cameras.opencv.configuration_opencv import OpenCVCameraConfig
+        from lerobot.robots.so_follower.config_so_follower import SO101FollowerConfig
+        from lerobot.robots.so_follower.so_follower import SOFollower
+        from lerobot.teleoperators.so_leader.config_so_leader import SO101LeaderConfig
+        from lerobot.teleoperators.so_leader.so_leader import SOLeader
+
+        idx = safe.resolve_camera_indexes()
+        cl.apply_and_verify()       # 始める前にも当てる (lerobot_safe_259.py の main と同じ)
+        safe.install(camera_apply=safe.make_camera_apply(), camera_indexes=idx)
+        cams = {k: OpenCVCameraConfig(index_or_path=idx[k], width=safe.CAM_WIDTH, height=safe.CAM_HEIGHT,
+                                      fps=safe.CAM_FPS, fourcc=safe.CAM_FOURCC) for k in safe.CAMERAS}
+        self.robot = SOFollower(SO101FollowerConfig(port=safe.FOLLOWER_PORT, id=safe.FOLLOWER_ID, cameras=cams,
+                                                    use_degrees=True, max_relative_target=None))
+        self.leader = SOLeader(SO101LeaderConfig(port=safe.LEADER_PORT, id=safe.LEADER_ID, use_degrees=True))
+        self.leader.connect()
+        try:
+            self.robot.connect()    # A・カメラの固定は入口が行う
+        except BaseException:
+            self.leader.disconnect()
+            raise
+        self.last_sent = np.array([self.robot._ptm_last_goal[m] for m in MOTORS], dtype=np.float64)
+
+    def observe(self):
+        o = self.robot.get_observation()
+        return (np.array([o[j] for j in JOINTS], dtype=np.float64), np.asarray(o["desk"]), np.asarray(o["wrist"]))
+
+    def send(self, target):
+        sent = self.robot.send_action({j: float(v) for j, v in zip(JOINTS, target)})     # B が効く
+        self.last_sent = np.array([sent[j] for j in JOINTS], dtype=np.float64)
+        return self.last_sent
+
+    def leader_target(self):
+        a = self.leader.get_action()
+        return np.array([a[j] for j in JOINTS], dtype=np.float64)
+
+    def close(self):
+        try:
+            self.robot.disconnect()     # 入口が休みの姿勢を確かめてから力を抜く (リーダーで戻す)
+        finally:
+            self.leader.disconnect()
+
+
+class DryArm:
+    """ドライラン: フォロワー・リーダーにはつながない. カメラ 2 台はお手本と同じ設定で開く.
+    state は送ったつもりの目標 (始めは休みの姿勢の中心). 送らずにそのまま返す."""
+
+    def __init__(self, cameras=None):
+        import lerobot_safe_259 as safe
+        self.state = np.array([safe.load_rest_pose()[0][m] for m in MOTORS], dtype=np.float64)
+        self.last_sent = self.state.copy()
+        if cameras is None:
+            import camera_lock_259 as cl
+            from lerobot.cameras.opencv.camera_opencv import OpenCVCamera
+            from lerobot.cameras.opencv.configuration_opencv import OpenCVCameraConfig
+            idx = safe.resolve_camera_indexes()
+            cl.apply_and_verify()
+            cameras = {k: OpenCVCamera(OpenCVCameraConfig(index_or_path=idx[k], width=safe.CAM_WIDTH,
+                                                          height=safe.CAM_HEIGHT, fps=safe.CAM_FPS,
+                                                          fourcc=safe.CAM_FOURCC)) for k in safe.CAMERAS}
+            for c in cameras.values():
+                c.connect()
+        self.cameras = cameras
+        self.leader = None
+
+    def observe(self):
+        return self.state.copy(), np.asarray(self.cameras["desk"].read_latest()), np.asarray(self.cameras["wrist"].read_latest())
+
+    def send(self, target):
+        self.state = np.asarray(target, dtype=np.float64).copy()
+        self.last_sent = self.state.copy()
+        return self.last_sent
+
+    def leader_target(self):
+        return None             # ドライランではリーダーにつながない (手直しの間は止めたまま)
+
+    def close(self):
+        for c in self.cameras.values():
+            try:
+                c.disconnect()
+            except Exception as e:      # 閉じられなくても記録は書く
+                print(f"[CAM   ] 閉じられない: {e}")
+
+
+class KeyReader:
+    """端末からキーを 1 つずつ読む (Enter を待たない). start() から (始めの確かめの Enter のあと). 端末でなければ何も読まない."""
+
+    def __init__(self, stream=None):
+        self.stream = stream or sys.stdin
+        self.old = None
+
+    def __enter__(self):
+        return self
+
+    def start(self):
+        if self.old is None and self.stream.isatty():
+            import termios
+            import tty
+            self.old = termios.tcgetattr(self.stream.fileno())
+            tty.setcbreak(self.stream.fileno())
+
+    def __exit__(self, *exc):
+        if self.old is not None:
+            import termios
+            termios.tcsetattr(self.stream.fileno(), termios.TCSADRAIN, self.old)
+        return False
+
+    def poll(self):
+        if self.old is None:
+            return None
+        import select
+        r, _, _ = select.select([self.stream], [], [], 0)
+        return os.read(self.stream.fileno(), 1).decode(errors="ignore").lower() if r else None
+
+
+# ---- 1 回の試行 -----------------------------------------------------------------------------------
+
+def ask_place(inp=input):
+    while True:
+        raw = inp("ブロックの場所の番号 (1〜5) > ").strip()
+        if raw in {"1", "2", "3", "4", "5"}:
+            return int(raw)
+        print(f"  1〜5 の数字で: {raw!r}")
+
+
+def ask_result(inp=input):
+    while True:
+        raw = inp("結果: y=成功 / n=失敗 / Enter=記録しない > ")
+        if raw == "":
+            return ""
+        r = raw.strip().lower()
+        if r in ("y", "n"):
+            return {"y": "success", "n": "failure"}[r]
+        print(f"  分からない入力: {raw!r} (y=成功 / n=失敗 / Enter=記録しない)")
+
+
+def fmt(v):
+    return " ".join(f"{x:+7.1f}" for x in v)
+
+
+def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=time.perf_counter, sleep=time.sleep,
+              out=print):
+    """試行 1 回. 終わったときの情報を返す (記録の close・結果を聞くのは呼ぶ側)."""
+    info = {"queries": 0, "clipped_frames": 0, "frames": 0}
+    state, desk, wrist = arm.observe()
+    a = to_absolute(policy.infer(make_obs(state, prep_image(desk), prep_image(wrist))), state)
+    info["queries"] += 1
+    plan = plan_chunk(a, exec_steps, lo, hi)
+    out(f"[FIRST ] 今の角度       {fmt(state)}")
+    out(f"[FIRST ] 最初の目標     {fmt(plan[0][1])}  (1 コマ 関節 10°・爪 20 までで寄せる)")
+    out(f"[FIRST ] 答えの最後の目標 {fmt(a[-1])}  (かかった {policy.latencies[-1]:.2f} 秒)")
+    inp("Enter で始める (Ctrl-C でやめる) > ")
+    getattr(keys, "start", lambda: None)()        # ここからキーを 1 つずつ読む
+    mode, chunk_id, queue = MODEL, 0, list(plan)
+    last_target = np.asarray(arm.last_sent, dtype=np.float64).copy()
+    out("[RUN   ] 動かしています. スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)")
+    nxt = clock()
+    while True:
+        key = keys.poll()
+        if key:
+            new, quit_ = next_mode(mode, key)
+            if quit_:
+                out("[RUN   ] q で終わります")
+                break
+            if new != mode:
+                out(f"[MODE  ] {MODE_NAMES[mode]} → {MODE_NAMES[new]}")
+                if new == PAUSE:
+                    p_state, _, _ = arm.observe()
+                    last_target = pause_target(p_state, last_target)
+                queue = []           # 推論に戻るときは今の観測で問い合わせ直す
+                mode = new
+        state, desk, wrist = arm.observe()      # 1 回目の答えは上で取った (Enter を待つ前). 記録はこのコマの観測
+        chunk_step = -1
+        if mode == MODEL:
+            if not queue:
+                a = to_absolute(policy.infer(make_obs(state, prep_image(desk), prep_image(wrist))), state)
+                info["queries"] += 1
+                chunk_id += 1
+                queue = plan_chunk(a, exec_steps, lo, hi)
+                nxt = clock()        # 問い合わせの間は送っていない. ここから 30fps を数え直す
+            chunk_step, target, cut = queue.pop(0)
+            info["clipped_frames"] += int(cut)
+            last_target = target
+            sent = arm.send(target)
+        elif mode == CORRECT:
+            lt = arm.leader_target()
+            if lt is not None:
+                last_target = lt
+                sent = arm.send(lt)
+            else:
+                sent = np.asarray(arm.last_sent, dtype=np.float64)
+        else:
+            sent = arm.send(last_target)
+        recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id)
+        info["frames"] += 1
+        nxt += 1.0 / FPS
+        dt = nxt - clock()
+        if dt > 0:
+            sleep(dt)
+        else:
+            nxt = clock()
+    return info
+
+
+def run(args):
+    import lerobot_safe_259 as safe
+    lo, hi, n_eps = load_safe_range(args.raw_dir)
+    print(f"[RANGE ] 安全範囲 (学習の {n_eps} 本の幅 ±{RANGE_MARGIN:g}) " +
+          "  ".join(f"{m} {a:.1f}〜{b:.1f}" for m, a, b in zip(MOTORS, lo, hi)))
+    print(f"[MODE  ] {'--execute: フォロワーに送る' if args.execute else 'ドライラン: フォロワーに送らない (カメラだけ開く)'}"
+          f"  1 回で実行するコマ {args.exec_steps} / {HORIZON}")
+    log_dir = Path(args.log_dir)
+    if not log_dir.is_dir():
+        sys.exit(f"[ERROR] 記録の置き場所がない: {log_dir}")
+    place = ask_place()
+    stamp = datetime.now().strftime("%Y%m%d_%H%M%S")
+    trial = f"so101_{stamp}{'' if args.execute else '_dry'}"
+    local = LOCAL_RUNS / log_dir.name / trial
+    local.parent.mkdir(parents=True, exist_ok=True)
+    safe.check_dataset_root(local)
+    policy = Policy(args.port)
+    recorder = Recorder(local, f"local/{trial}")
+    arm, info, result, err = None, {}, "", None
+    try:
+        arm = LiveArm() if args.execute else DryArm()
+        with KeyReader() as keys:
+            info = run_trial(arm, policy, recorder, lo, hi, args.exec_steps, keys)
+    except KeyboardInterrupt:
+        err = "Ctrl-C"
+        print("\n[STOP  ] Ctrl-C で止めました")
+    except Exception as e:          # サーバーの失敗など. 記録は残す (フォロワーは前の目標のまま. 閉じるときに休みの姿勢へ)
+        err = f"{type(e).__name__}: {e}"
+        print(f"\n[STOP  ] 失敗で止まりました: {err}")
+    finally:
+        try:
+            result = ask_result() if recorder.n else ""
+        except (KeyboardInterrupt, EOFError):
+            result = ""
+        try:
+            recorder.close()
+        finally:
+            policy.close()
+            if arm is not None:
+                arm.close()
+    dst = log_dir / "so101" / trial
+    dst.parent.mkdir(parents=True, exist_ok=True)
+    n_files = copy_record(local, dst)
+    med, mx = latency_stats(policy.latencies)
+    modes = recorder.modes
+    row = {"trial": trial, "started_at": stamp, "operator": operator_of(modes), "place": place, "model": args.model,
+           "step": args.step, "exec_steps": args.exec_steps, "execute": int(args.execute), "result": result,
+           "frames": len(modes), "frames_model": modes.count(MODEL), "frames_correct": modes.count(CORRECT),
+           "frames_pause": modes.count(PAUSE), "queries": info.get("queries", 0),
+           "latency_median_s": "" if med is None else round(med, 3), "latency_max_s": "" if mx is None else round(mx, 3),
+           "clipped_frames": info.get("clipped_frames", 0), "record_dir": str(dst)}
+    append_trial(log_dir / TRIALS_CSV, row)
+    (dst / "trial.json").write_text(json.dumps({**row, "latencies_s": [round(x, 4) for x in policy.latencies],
+                                                 "safe_range": {"lo": lo.tolist(), "hi": hi.tolist()},
+                                                 "stopped_by": err}, ensure_ascii=False, indent=2) + "\n")
+    print(f"[RECORD] {dst} ({n_files} ファイル) / 1 行 → {log_dir / TRIALS_CSV}")
+    if med is not None:
+        print(f"[LATENCY] 答えが返るまで 中央値 {med:.3f} 秒・最長 {mx:.3f} 秒 ({len(policy.latencies)} 回. "
+              f"1 回で実行する {args.exec_steps / FPS:.2f} 秒より{'長い' if med > args.exec_steps / FPS else '短い'})")
+    return 0
+
+
+def warmup(args):
+    """lab_start.sh の 5b: 学習の 1 本目の 1 コマ目で 1 回答えさせて捨てる (アーム・カメラには触らない)."""
+    t0 = time.perf_counter()
+    try:
+        ep = sorted(p.parent for p in Path(args.raw_dir).glob("[!.]*/episode.npz"))[0]
+        state = np.load(ep / "episode.npz")["state"][0]
+        imgs = {c: np.asarray(Image.open(ep / f"frames_{c}" / "000000.jpg").convert("RGB")) for c in CAMERAS}
+        from policy_ws import PolicyClient
+        c = PolicyClient(port=args.port, wait_sec=30.0)
+        a = np.asarray(c.infer(make_obs(state, imgs["desk"], imgs["wrist"]))["actions"])
+        c.close()
+        if a.shape != (HORIZON, 6):
+            raise ValueError(f"答えの形 {a.shape}")
+    except Exception as e:
+        print(f"[WARM  ] 空打ちに失敗: {type(e).__name__}: {e}. 止めずに続けます (1 回目の推論が長くなる)", flush=True)
+        return 1
+    print(f"[WARM  ] 空打ち {time.perf_counter() - t0:.1f} 秒 (答え {a.shape})", flush=True)
+    return 0
+
+
+def main(argv=None):
+    ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
+    ap.add_argument("--port", type=int, default=8000)
+    ap.add_argument("--raw-dir", default=str(DEFAULT_RAW), help="安全範囲を作る学習データ (raw_episodes)")
+    ap.add_argument("--log-dir", help="記録の置き場所 (KIOXIA の lab/<Log>)")
+    ap.add_argument("--model", default="so101a", help="記録に残すモデルの名前")
+    ap.add_argument("--step", default="2999", help="記録に残す checkpoint の step")
+    ap.add_argument("--exec-steps", type=int, default=HORIZON, help="答えの先頭 N コマを実行して問い合わせ直す (1〜10)")
+    ap.add_argument("--execute", action="store_true", help="フォロワーに送る (付けなければドライラン)")
+    ap.add_argument("--warmup", action="store_true", help="空打ちだけして終わる (lab_start.sh の 5b)")
+    args = ap.parse_args(argv)
+    if not 1 <= args.exec_steps <= HORIZON:
+        ap.error(f"--exec-steps は 1〜{HORIZON}")
+    if args.warmup:
+        return warmup(args)
+    if not args.log_dir:
+        ap.error("--log-dir を付ける")
+    return run(args)
+
+
+if __name__ == "__main__":
+    sys.exit(main())
diff --git a/so101/test_run_so101_policy.py b/so101/test_run_so101_policy.py
new file mode 100644
index 0000000..ce94630
--- /dev/null
+++ b/so101/test_run_so101_policy.py
@@ -0,0 +1,326 @@
+"""run_so101_policy.py のテスト (依頼 283). アーム・カメラ・サーバーにはつながない.
+
+使い方 (conda の lerobot 環境で):
+    python -m unittest so101/test_run_so101_policy.py -v
+"""
+
+import csv
+import io
+import json
+import sys
+import tempfile
+import unittest
+from pathlib import Path
+
+import numpy as np
+from PIL import Image
+
+HERE = Path(__file__).resolve().parent
+sys.path.insert(0, str(HERE))
+
+import run_so101_policy as R  # noqa: E402
+
+LO = np.array([-50, -100, -100, -100, -100, 0], dtype=np.float64)
+HI = np.array([50, 100, 100, 100, 100, 60], dtype=np.float64)
+
+
+class FakeArm:
+    def __init__(self, start=None):
+        self.state = np.zeros(6) if start is None else np.asarray(start, dtype=np.float64)
+        self.last_sent = self.state.copy()
+        self.sent = []
+        self.leader = np.array([1, 2, 3, 4, 5, 33], dtype=np.float64)
+        self.img = np.full((R.CAM_H, R.CAM_W, 3), 128, dtype=np.uint8)
+
+    def observe(self):
+        return self.state.copy(), self.img, self.img
+
+    def send(self, target):
+        self.last_sent = np.asarray(target, dtype=np.float64).copy()
+        self.sent.append(self.last_sent.copy())
+        self.state = self.last_sent.copy()
+        return self.last_sent
+
+    def leader_target(self):
+        return self.leader.copy()
+
+
+class FakePolicy:
+    """答えは「今の state + (k+1)」の 10 コマ (絶対値). out を決めればそれを返す."""
+
+    def __init__(self, out=None):
+        self.out, self.obs, self.latencies = out, [], []
+
+    def infer(self, obs):
+        self.obs.append(obs)
+        self.latencies.append(0.1)
+        if self.out is not None:
+            return np.asarray(self.out, dtype=np.float64)
+        s = np.asarray(obs["observation/state"], dtype=np.float64)
+        return np.stack([s + (k + 1) for k in range(R.HORIZON)])
+
+
+class FakeRecorder:
+    def __init__(self):
+        self.rows, self.modes = [], []
+
+    def add(self, state, desk, wrist, action, sent, mode, chunk_step=-1, chunk_id=-1, t_wall=None):
+        self.rows.append({"state": np.asarray(state), "action": np.asarray(action), "sent": np.asarray(sent),
+                          "mode": mode, "chunk_step": chunk_step if mode == R.MODEL else -1,
+                          "chunk_id": chunk_id if mode == R.MODEL else -1})
+        self.modes.append(mode)
+
+
+class FakeKeys:
+    def __init__(self, at):
+        self.at, self.i = dict(at), 0
+
+    def poll(self):
+        k = self.at.get(self.i)
+        self.i += 1
+        return k
+
+
+class FakeClock:
+    def __init__(self):
+        self.t = 0.0
+
+    def __call__(self):
+        return self.t
+
+    def sleep(self, dt):
+        self.t += dt
+
+
+def trial(arm, pol, rec, exec_steps, keys, lo=LO, hi=HI):
+    clk = FakeClock()
+    asked = []
+    info = R.run_trial(arm, pol, rec, lo, hi, exec_steps, keys, inp=lambda p: asked.append(p) or "",
+                       clock=clk, sleep=clk.sleep, out=lambda *a: None)
+    return info, asked
+
+
+class TestImageAndObs(unittest.TestCase):
+    def test_prep_image_same_as_export(self):
+        rng = np.random.default_rng(0)
+        rgb = rng.integers(0, 256, size=(480, 640, 3), dtype=np.uint8)
+        got = R.prep_image(rgb)
+        self.assertEqual(got.shape, (240, 320, 3))
+        # export_so101_raw_episodes.py と同じ: BOX で縮め, quality=95 の jpg に書いて読む
+        with tempfile.TemporaryDirectory() as d:
+            p = Path(d) / "000000.jpg"
+            Image.fromarray(rgb).resize((320, 240), Image.Resampling.BOX).save(p, quality=95)
+            want = np.asarray(Image.open(p).convert("RGB"))
+        np.testing.assert_array_equal(got, want)
+
+    def test_make_obs_keys(self):
+        im = np.zeros((240, 320, 3), np.uint8)
+        o = R.make_obs(np.arange(6), im, im)
+        self.assertEqual(set(o), {"observation/desk_image", "observation/wrist_image", "observation/state", "prompt"})
+        self.assertEqual(o["prompt"], "Put the red block into the white box")
+        self.assertEqual(o["observation/state"].dtype, np.float32)
+        with self.assertRaises(ValueError):
+            R.make_obs(np.arange(5), im, im)
+        with self.assertRaises(ValueError):
+            R.make_obs(np.arange(6), np.zeros((480, 640, 3), np.uint8), im)
+
+
+class TestActions(unittest.TestCase):
+    def test_delta_to_absolute(self):
+        state = np.array([10, 20, 30, 40, 50, 60], dtype=np.float64)
+        a = np.tile(np.array([1, 2, 3, 4, 5, 7], dtype=np.float64), (10, 1))
+        out = R.to_absolute(a, state, already_absolute=False)
+        np.testing.assert_allclose(out[0], [11, 22, 33, 44, 55, 7])      # 関節 5 つは足す・爪は絶対値のまま
+        np.testing.assert_allclose(R.to_absolute(a, state, already_absolute=True), a)
+        with self.assertRaises(ValueError):
+            R.to_absolute(np.zeros((10, 5)), state)
+        bad = a.copy()
+        bad[3, 2] = np.nan
+        with self.assertRaises(ValueError):
+            R.to_absolute(bad, state)
+
+    def test_safe_range_from_raw(self):
+        with tempfile.TemporaryDirectory() as d:
+            for i, (s, a) in enumerate([(np.zeros((4, 6)), np.ones((4, 6)) * 5), (np.ones((3, 6)) * -3, np.ones((3, 6)) * 2)]):
+                e = Path(d) / f"ep{i}"
+                e.mkdir()
+                np.savez(e / "episode.npz", state=s, actions=a)
+            lo, hi, n = R.load_safe_range(d)
+        self.assertEqual(n, 2)
+        np.testing.assert_allclose(lo, [-13] * 6)
+        np.testing.assert_allclose(hi, [15] * 6)
+
+    def test_clip_at_edges(self):
+        t, cut = R.clip_to_range([60, 0, 0, 0, -150, 70], LO, HI)
+        np.testing.assert_allclose(t, [50, 0, 0, 0, -100, 60])
+        self.assertEqual(cut.tolist(), [True, False, False, False, True, True])
+
+    def test_plan_chunk_exec_steps(self):
+        a = np.stack([np.full(6, k, dtype=np.float64) for k in range(10)])
+        for n in (1, 3, 10):
+            p = R.plan_chunk(a, n, LO, HI)
+            self.assertEqual([k for k, _, _ in p], list(range(n)))
+        for bad in (0, 11):
+            with self.assertRaises(ValueError):
+                R.plan_chunk(a, bad, LO, HI)
+
+
+class TestModes(unittest.TestCase):
+    def test_next_mode(self):
+        M, C, P = R.MODEL, R.CORRECT, R.PAUSE
+        self.assertEqual(R.next_mode(M, " "), (P, False))
+        self.assertEqual(R.next_mode(P, " "), (M, False))
+        self.assertEqual(R.next_mode(P, "t"), (C, False))
+        self.assertEqual(R.next_mode(C, "t"), (M, False))
+        self.assertEqual(R.next_mode(C, " "), (P, False))
+        self.assertEqual(R.next_mode(M, "t"), (M, False))        # 推論中の t は何もしない (一時停止中だけ)
+        self.assertEqual(R.next_mode(M, "x"), (M, False))
+        self.assertTrue(R.next_mode(C, "q")[1])
+
+    def test_pause_target_keeps_gripper(self):
+        np.testing.assert_allclose(R.pause_target([1, 2, 3, 4, 5, 40], [9, 9, 9, 9, 9, 10]), [1, 2, 3, 4, 5, 10])
+
+
+class TestRunTrial(unittest.TestCase):
+    def test_exec_steps_requery(self):
+        for n in (10, 3, 1):
+            arm, pol, rec = FakeArm(), FakePolicy(), FakeRecorder()
+            info, asked = trial(arm, pol, rec, n, FakeKeys({12: "q"}))
+            self.assertEqual(len(rec.rows), 12)
+            steps = [r["chunk_step"] for r in rec.rows]
+            self.assertEqual(steps, [i % n for i in range(12)], f"exec_steps {n}")
+            self.assertEqual(info["queries"], -(-12 // n))      # n コマごとに問い合わせ直す (1 回目は Enter の前)
+            self.assertEqual(len(asked), 1)                     # 確かめは始めの 1 回だけ
+            self.assertEqual(R.operator_of(rec.modes), "AI")
+
+    def test_keys_start_after_first_enter(self):
+        order = []
+
+        class Keys(FakeKeys):
+            def start(self):
+                order.append("start")
+
+        arm, pol, rec = FakeArm(), FakePolicy(), FakeRecorder()
+        clk = FakeClock()
+        R.run_trial(arm, pol, rec, LO, HI, 10, Keys({2: "q"}), inp=lambda p: order.append("enter") or "",
+                    clock=clk, sleep=clk.sleep, out=lambda *a: None)
+        self.assertEqual(order, ["enter", "start"])            # Enter の確かめは 1 文字読みに切り替える前
+
+    def test_absolute_targets_sent_in_order(self):
+        arm, pol, rec = FakeArm(start=[1, 1, 1, 1, 1, 10]), FakePolicy(), FakeRecorder()
+        trial(arm, pol, rec, 10, FakeKeys({3: "q"}))
+        # 答えは 1 回目の state + (k+1) の絶対値. 先頭から順に送る
+        np.testing.assert_allclose(arm.sent[0], [2, 2, 2, 2, 2, 11])
+        np.testing.assert_allclose(arm.sent[2], [4, 4, 4, 4, 4, 13])
+
+    def test_clip_out_of_range_continues(self):
+        out = np.tile(np.array([80, 0, 0, 0, 0, 90], dtype=np.float64), (10, 1))
+        arm, pol, rec = FakeArm(), FakePolicy(out), FakeRecorder()
+        info, _ = trial(arm, pol, rec, 10, FakeKeys({25: "q"}))
+        self.assertEqual(len(rec.rows), 25)                    # 止めずに続ける
+        np.testing.assert_allclose(arm.sent[0], [50, 0, 0, 0, 0, 60])
+        self.assertEqual(info["clipped_frames"], 25)
+        self.assertTrue(all((r["action"] <= HI + 1e-9).all() and (r["action"] >= LO - 1e-9).all() for r in rec.rows))
+
+    def test_pause_and_teleop_marks(self):
+        # 2 コマ目でスペース → 4 コマ目で t (手直し) → 7 コマ目で t (推論へ) → 9 コマ目で q
+        arm, pol, rec = FakeArm(start=[0, 0, 0, 0, 0, 20]), FakePolicy(), FakeRecorder()
+        info, asked = trial(arm, pol, rec, 10, FakeKeys({2: " ", 4: "t", 7: "t", 9: "q"}))
+        modes = rec.modes
+        self.assertEqual(modes, [R.MODEL, R.MODEL, R.PAUSE, R.PAUSE, R.CORRECT, R.CORRECT, R.CORRECT, R.MODEL, R.MODEL])
+        self.assertEqual(R.operator_of(modes), "AI+人の手直し")
+        for r in rec.rows:
+            if r["mode"] != R.MODEL:
+                self.assertEqual((r["chunk_step"], r["chunk_id"]), (-1, -1))
+        # 手直しの間はリーダーの目標を送る
+        for r in rec.rows[4:7]:
+            np.testing.assert_allclose(r["action"], arm.leader)
+        # 一時停止の目標: 関節 5 つは今の位置, 爪は前の目標 (1 コマ目の目標 = 20 + 2)
+        np.testing.assert_allclose(rec.rows[2]["action"][5], 22)
+        np.testing.assert_allclose(rec.rows[2]["action"][:5], rec.rows[1]["action"][:5])
+        # 推論に戻るときは問い合わせ直し, 答えの 0 番目から
+        self.assertEqual(rec.rows[7]["chunk_step"], 0)
+        self.assertEqual(rec.rows[7]["chunk_id"], 1)
+        self.assertEqual(info["queries"], 2)
+        self.assertEqual(len(asked), 1)
+
+
+class TestRecord(unittest.TestCase):
+    def test_lerobot_v3_roundtrip_and_copy(self):
+        from lerobot.datasets.lerobot_dataset import LeRobotDataset
+        with tempfile.TemporaryDirectory() as d:
+            root = Path(d) / "local" / "so101_test"
+            rec = R.Recorder(root, "local/so101_test")
+            img = np.zeros((R.CAM_H, R.CAM_W, 3), np.uint8)
+            for i, mode in enumerate([R.MODEL, R.MODEL, R.PAUSE, R.CORRECT, R.MODEL]):
+                rec.add(np.full(6, i), img, img, np.full(6, i + 0.5), np.full(6, i + 0.25), mode, chunk_step=i, chunk_id=0,
+                        t_wall=1000.0 + i)
+            rec.close()
+            info = json.loads((root / "meta" / "info.json").read_text())
+            self.assertEqual(info["codebase_version"], "v3.0")
+            self.assertEqual(info["total_episodes"], 1)
+            self.assertEqual(info["total_frames"], 5)
+            self.assertEqual(info["features"]["observation.state"]["names"], R.JOINTS)
+            self.assertEqual(info["features"]["action"]["names"], R.JOINTS)
+            for c in ("desk", "wrist"):
+                self.assertEqual(info["features"][f"observation.images.{c}"]["shape"], [480, 640, 3])
+            ds = LeRobotDataset("local/so101_test", root=root)
+            self.assertEqual(len(ds), 5)
+            one = lambda i, k: np.asarray(ds.hf_dataset[i][k]).reshape(-1)[0]       # (1,) は 0 次元で返る
+            modes = [int(one(i, "ptm.mode")) for i in range(5)]
+            steps = [int(one(i, "ptm.chunk_step")) for i in range(5)]
+            self.assertEqual(modes, [0, 0, 2, 1, 0])
+            self.assertEqual(steps, [0, 1, -1, -1, 4])         # model 以外は -1
+            self.assertAlmostEqual(float(one(3, "ptm.t_wall")), 1003.0)
+            np.testing.assert_allclose(np.asarray(ds.hf_dataset[2]["action"]), np.full(6, 2.5))
+            np.testing.assert_allclose(np.asarray(ds.hf_dataset[2]["ptm.sent"]), np.full(6, 2.25))
+            dst = Path(d) / "kioxia" / "so101_test"
+            n = R.copy_record(root, dst)
+            self.assertGreater(n, 3)
+            with self.assertRaises(FileExistsError):
+                R.copy_record(root, dst)
+
+    def test_trials_csv(self):
+        with tempfile.TemporaryDirectory() as d:
+            p = Path(d) / R.TRIALS_CSV
+            R.append_trial(p, {"trial": "a", "operator": "AI", "place": 3, "exec_steps": 10, "result": "success"})
+            R.append_trial(p, {"trial": "b", "operator": "AI+人の手直し", "place": 1, "exec_steps": 3, "result": ""})
+            with open(p) as f:
+                rows = list(csv.DictReader(f))
+            self.assertEqual(list(rows[0]), R.TRIAL_COLUMNS)
+            self.assertEqual([r["trial"] for r in rows], ["a", "b"])
+            self.assertEqual(rows[1]["operator"], "AI+人の手直し")
+            self.assertEqual(rows[1]["exec_steps"], "3")
+
+
+class TestArgs(unittest.TestCase):
+    def test_exec_steps_range(self):
+        for bad in ("0", "11"):
+            with self.assertRaises(SystemExit):
+                R.main(["--exec-steps", bad, "--log-dir", "/tmp"])
+
+    def test_ask(self):
+        it = iter(["", "7", "3"])
+        self.assertEqual(R.ask_place(lambda p: next(it)), 3)
+        it = iter(["x", "Y"])
+        self.assertEqual(R.ask_result(lambda p: next(it)), "success")
+        self.assertEqual(R.ask_result(lambda p: ""), "")
+
+    def test_live_send_goes_through_robot_send_action(self):
+        got = []
+
+        class Robot:
+            def send_action(self, a):
+                got.append(a)
+                return {k: v - 1 for k, v in a.items()}         # 入口 (B) が切った値を返す形
+
+        arm = R.LiveArm.__new__(R.LiveArm)
+        arm.robot = Robot()
+        sent = arm.send(np.arange(6, dtype=np.float64))
+        self.assertEqual(list(got[0]), R.JOINTS)
+        np.testing.assert_allclose(sent, np.arange(6) - 1)
+        np.testing.assert_allclose(arm.last_sent, np.arange(6) - 1)
+
+
+if __name__ == "__main__":
+    unittest.main()
diff --git a/test_lab_start.sh b/test_lab_start.sh
index 98810f4..17f8b10 100755
--- a/test_lab_start.sh
+++ b/test_lab_start.sh
@@ -37,6 +37,7 @@ setup() {                   # 1 つの場合ごとに新しい一時フォルダ
 T="$T"
 LAB_ROOT="\$T/data/lab"; LAB_CURRENT="\$LAB_ROOT/.lab_current"
 RUNPOD_KEY_FILE="\$T/keys/runpod"; HF_TOKEN_FILE="\$T/keys/hf"; POD_SSH_KEY="\$T/keys/id"
+LAB_SO101_PY="\$T/bin/python3"
 . "\$T/fakes.sh"
 EOF
     cat > "$T/fakes.sh" <<'EOF'
@@ -518,7 +519,7 @@ check "終了コード 2・使える名前を出す・API を呼ばない" '[ $R
 rm -rf "$T"
 setup
 (cd "$T" && PATH="$T/bin:$PATH" perl -e 'alarm 10; exec @ARGV' ./lab_start.sh --log LogT --dry-run --model < /dev/null > "$T/out.txt" 2>&1); RC=$?
-check "--model だけで値がない → 回り続けずに終了コード 2 (codex R1)" '[ $RC = 2 ] && has out.txt "--model には trim か corr か corr2 か corr3 か deep1 か deep1b か split1 か split2 を付ける"'
+check "--model だけで値がない → 回り続けずに終了コード 2 (codex R1)" '[ $RC = 2 ] && has out.txt "--model には trim か corr か corr2 か corr3 か deep1 か deep1b か split1 か split2 か so101a を付ける"'
 rm -rf "$T"
 for a in "--gpu" "--episode" "--log" "--gpu --dry-run" "--episode --log LogT" "--log --dry-run"; do
     setup
@@ -641,7 +642,7 @@ check "--serve-only でも空打ちまで行う (依頼 176)" 'has out.txt "===
 check "Pod は消さない (DELETE を呼ばない) で, かかった時間と片付け方を出す" '[ $(n_call DELETE) = 0 ] && has out.txt "=== かかった時間" && has out.txt "Pod は残しています (id $ID_NEW). 片付けは ./lab_stop.sh --log LogT"'
 check "記録 lab_start_*.txt に残る・始めの行に --serve-only と出る" 'grep -qF "サーバーとトンネルだけ (--serve-only" "$T/data/lab/LogT"/lab_start_*.txt'
 rm -rf "$T"
-check "--help に --serve-only・--grip-value・--flow / --speed・5b の空打ちの説明が入る (2〜66 行)" 'sed -n "2,66p" "$HERE/lab_start.sh" | grep -qF -- "--serve-only  Pod を作って" && sed -n "2,66p" "$HERE/lab_start.sh" | grep -qF -- "--no-tilt-fix  傾きを" && sed -n "2,66p" "$HERE/lab_start.sh" | grep -qF -- "--grip-value N  爪の閉じる値" && sed -n "2,66p" "$HERE/lab_start.sh" | grep -qF -- "--flow / --speed N  run_policy_client.py に" && sed -n "2,66p" "$HERE/lab_start.sh" | grep -qF -- "# 5b. 空打ち" && grep -qF "sed -n '"'"'2,66p'"'"'" "$HERE/lab_start.sh"'
+check "--help に --serve-only・--grip-value・--flow / --speed・5b の空打ちの説明が入る (2〜69 行)" 'sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--serve-only  Pod を作って" && sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--no-tilt-fix  傾きを" && sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--grip-value N  爪の閉じる値" && sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--flow / --speed N  run_policy_client.py に" && sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "# 5b. 空打ち" && grep -qF "sed -n '"'"'2,69p'"'"'" "$HERE/lab_start.sh"'
 
 echo "== 空打ち (依頼 176): トンネルのあと・アームの前に 1 回. 失敗しても止めずに続ける"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -701,7 +702,7 @@ setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run --step-confirm --
 check "--step-confirm なら --no-step-confirm を渡さず (ほかの引数は同じ), [CONFIRM] で出す" '[ $RC = 0 ] && has py.log "pi05/run_policy_client.py" && ! has py.log "--no-step-confirm" && grep -q -- "pi05/run_policy_client.py .* --flow$" "$T/py.log" && has out.txt "[CONFIRM] チャンクごとに確かめる (--step-confirm"'
 rm -rf "$T"
 check "実機の 8 にも既定で --no-step-confirm を渡す (8 の 2 か所)" '[ "$(grep -c '"'"'${STEP_ARGS\[@\]+"${STEP_ARGS\[@\]}"}'"'"' "$HERE/lab_start.sh")" = 2 ] && grep -qF "STEP_ARGS=(--no-step-confirm)" "$HERE/lab_start.sh" && grep -qF -- "--step-confirm) STEP_ARGS=(); shift ;;" "$HERE/lab_start.sh"'
-check "--help に --step-confirm の説明が入る" 'sed -n "2,66p" "$HERE/lab_start.sh" | grep -qF -- "--step-confirm  実機推論で"'
+check "--help に --step-confirm の説明が入る" 'sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--step-confirm  実機推論で"'
 
 echo "== 置き終えたら自動で終わる (依頼 181): 既定は --auto-finish を渡す. --no-auto-finish で今までどおり"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -711,7 +712,7 @@ setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run --no-auto-finish
 check "--no-auto-finish なら --auto-finish を渡さず (ほかの引数は同じ), [FINISH] で出す" '[ $RC = 0 ] && has py.log "pi05/run_policy_client.py" && ! has py.log "--auto-finish" && grep -q -- "pi05/run_policy_client.py .* --no-step-confirm --flow$" "$T/py.log" && has out.txt "[FINISH] 置き終えても自動では終わらない (--no-auto-finish"'
 rm -rf "$T"
 check "実機の 8 にも既定で --auto-finish を渡す (8 の 2 か所)" '[ "$(grep -c '"'"'${FINISH_ARGS\[@\]+"${FINISH_ARGS\[@\]}"}'"'"' "$HERE/lab_start.sh")" = 2 ] && grep -qF "FINISH_ARGS=(--auto-finish)" "$HERE/lab_start.sh" && grep -qF -- "--no-auto-finish) FINISH_ARGS=(); shift ;;" "$HERE/lab_start.sh"'
-check "--help に --no-auto-finish の説明が入る" 'sed -n "2,66p" "$HERE/lab_start.sh" | grep -qF -- "--no-auto-finish  箱に置き終えたら" && ./lab_start.sh --help | grep -qF -- "--no-auto-finish"'
+check "--help に --no-auto-finish の説明が入る" 'sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--no-auto-finish  箱に置き終えたら" && ./lab_start.sh --help | grep -qF -- "--no-auto-finish"'
 
 echo "== 中継点の間隔 (依頼 182): --via-stride N をそのまま渡す. 既定は今までの 3"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -738,7 +739,43 @@ setup; run --via-stride
 check "--via-stride に値がなければ受けない (終了コード 2)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--via-stride には 0〜10"'
 rm -rf "$T"
 check "実機の 8 にも同じ値を渡す (8 の 2 か所・3 を書き込んだ所は残らない)" '[ "$(grep -cF -- "--steps-per-chunk 10 --via-stride \"\$VIA_STRIDE\"" "$HERE/lab_start.sh")" = 2 ] && ! grep -q -- "--via-stride 3 " "$HERE/lab_start.sh" && grep -qF "VIA_STRIDE=3 " "$HERE/lab_start.sh"'
-check "--help に --via-stride の説明が入る" 'sed -n "2,66p" "$HERE/lab_start.sh" | grep -qF -- "--via-stride N  1 チャンクの中継点の間隔" && ./lab_start.sh --help | grep -qF -- "# 5b. 空打ち"'
+check "--help に --via-stride の説明が入る" 'sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--via-stride N  1 チャンクの中継点の間隔" && ./lab_start.sh --help | grep -qF -- "# 5b. 空打ち"'
+
+echo "== so101a (依頼 283): SO-101 の推論. 1〜5b は同じ形で, 6〜8 は run_so101_policy.py だけ"
+so101_setup() { setup; mkdir -p "$T/data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes"; }
+so101_setup; run --model so101a
+check "終了コード 0" '[ $RC = 0 ]'
+check "Hugging Face の so101a を /workspace/ckpt/so101_teleop_even_v1_2999 に取る" 'has ssh.log "hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1 --local-dir /workspace/ckpt/so101_teleop_even_v1_2999"'
+check "3f で add_so101_config.py --steps 3000 と assets を入れる" 'has ssh.log "add_so101_config.py /workspace/openpi --steps 3000 && mkdir -p assets/pi05_so101_teleop_even_lora/local && cp -r /workspace/ckpt/so101_teleop_even_v1_2999/assets/local/so101_redblock_box_teleop_even_v1 assets/pi05_so101_teleop_even_lora/local/"'
+check "サーバーを pi05_so101_teleop_even_lora で起動する" 'has ssh.log "--policy.config=pi05_so101_teleop_even_lora --policy.dir=/workspace/ckpt/so101_teleop_even_v1_2999"'
+check "空打ちは SO-101 の形 (run_so101_policy.py --warmup) で, mechArm の policy_warmup.py は呼ばない" '[ "$(sed -n 1p "$T/py.log")" = "python3 so101/run_so101_policy.py --warmup --port 8000 --raw-dir $T/data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes" ] && ! has py.log "policy_warmup.py"'
+check "ドライランのクライアントは --execute なしで, 記録の置き場所・モデル・step を渡す" '[ "$(sed -n 2p "$T/py.log")" = "python3 so101/run_so101_policy.py --port 8000 --raw-dir $T/data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes --log-dir $T/data/lab/LogT --model so101a (PixelstoMotors/pi05-so101-teleop-even-lora-v1) --step 2999" ]'
+check "mechArm の run_policy_client.py・位置合わせ・デーモンは流さない" '! has py.log "run_policy_client.py" && ! has py.log "camera_align.py" && ! has out.txt "=== 6." && ! has out.txt "=== 7."'
+check "mechArm の [GRIP]・[VIA]・[FRAME] の行は出さず, [SO101] の行を出す" '! has out.txt "[GRIP  ]" && ! has out.txt "[VIA   ]" && ! has out.txt "[FRAME ]" && has out.txt "[SO101 ] 推論のクライアントは so101/run_so101_policy.py" && has out.txt "[SO101 ] 1 回で実行するコマ: 10 (既定"'
+check "記録 lab_pod.json に so101a を残す" '[ "$(jq -r .model "$T/data/lab/LogT/pod/lab_pod.json")" = so101a ]'
+rm -rf "$T"
+so101_setup; run --model so101a --exec-steps 03
+check "--exec-steps 3 をそのまま渡す" '[ $RC = 0 ] && grep -q -- "so101/run_so101_policy.py .* --step 2999 --exec-steps 3$" "$T/py.log" && has out.txt "[SO101 ] 1 回で実行するコマ: 3 (--exec-steps)"'
+rm -rf "$T"
+so101_setup
+(cd "$T" && PATH="$T/bin:$PATH" ./lab_start.sh --log LogT --model so101a < /dev/null > "$T/out.txt" 2>&1); RC=$?
+check "--dry-run なしなら --execute を付ける (デーモン・HOME は流さない)" '[ $RC = 0 ] && grep -q -- "so101/run_so101_policy.py .* --step 2999 --execute$" "$T/py.log" && ! has out.txt "=== 6." && ! has py.log "08_home_from_anywhere.py"'
+rm -rf "$T"
+for bad in 0 11 abc ""; do
+    so101_setup; run --model so101a --exec-steps "$bad"
+    check "--exec-steps '$bad' は受けない (終了コード 2・API を呼ばない)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--exec-steps"'
+    rm -rf "$T"
+done
+setup; run --exec-steps 3
+check "mechArm の --model に --exec-steps は付けられない" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--exec-steps は --model so101a だけ"'
+rm -rf "$T"
+for arg in "--flow" "--grip-value 30" "--via-stride 5" "--no-tilt-fix" "--episode x"; do
+    so101_setup; run --model so101a $arg
+    check "so101a に mechArm の $arg は付けられない" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--model so101a では mechArm の引数は使えない"'
+    rm -rf "$T"
+done
+check "フォルダからモデルの名前 (so101a)" '[ "$(lab_model_of_dir /workspace/ckpt/so101_teleop_even_v1_2999)" = so101a ]'
+check "--help に so101a と --exec-steps の説明が入る" './lab_start.sh --help | grep -qF "so101a = SO-101 のお手本 50 本" && ./lab_start.sh --help | grep -qF -- "--exec-steps N (1〜10)"'
 
 echo
 echo "OK $OK / NG $NG"
```


## 作業ログ ― 画像を JPEG にして、答えの待ちを0.38秒に縮めた（依頼285）

### 画像を JPEG のまま送り、流している途中で次を問い合わせる

依頼285 では2つを変えた。カメラ2台の320×240の画像を、学習のコマと同じ作り方（品質95の JPEG）のバイト列のまま送り、サーバー側で読み戻す。もう1つは、答えを流している途中で次の問い合わせを出しておく形で、使い切ってから問い合わせる形にも戻せる（`--no-prefetch`）。

- ねらい：答えの待ちを、1回の答えで動く0.33秒より短くして、腕の止まりをなくす
- 変わったこと：1回に送る大きさは461,080バイトから中央値21,755バイト。答えが返るまでは中央値0.98秒（同じ日の測り直し）から0.36秒
- 見込める効果：止まりは1回0.99秒から0.21秒（先に問い合わせる形）に縮んだ。ただ、なくなってはいない

| | 生の画像（依頼283 の形） | JPEG・使い切ってから | JPEG・先に問い合わせる |
|---|---|---|---|
| 1回に送る大きさ | 461,080バイト | 中央値21,755バイト | 同じ |
| 答えが返るまで（中央値／最長） | 0.98／2.21秒 | 0.36／0.47秒 | 0.36／0.45秒 |
| 腕が止まる時間（1回の中央値／最長） | 0.99／1.99秒 | 0.36／0.46秒 | 0.21／0.30秒 |
| 止まった回数・合計（300コマを流す間） | 29回・31.1秒 | 29回・10.6秒 | 58回・12.5秒 |

**先に問い合わせると1回の止まりは短くなるが、答えの5コマほどで次に切り替わるので止まる回数が倍になり、合計はかえって少し長くなった。** 答えが返るまでの0.36秒（約11コマ）が、1回の答えの10コマより長い限り、問い合わせ方を変えても止まりは消えない。止まらずに動き続けるには、待ちを0.17秒より短くするか、1回の答えを長くする必要がある。答えとお手本の差は、JPEG にしても変わらなかった（全体の中央値0.37〜0.74°。依頼283 は0.38〜0.75°）。

#### 依頼285 の依頼文

```markdown
---
作業フォルダ: /Users/shimazueiichi/r2r2r-scripts
上限時間: 180
---
# SO-101 の推論の答えの待ちを縮める（依頼285・立ち会い不要・フォロワーは動かさない）

依頼283 で SO-101 の推論の流れ（`lab_start.sh --model so101a`・`so101/run_so101_policy.py`）を作った。報告では、答えが返るまで中央値 1.27秒・最長 3.37秒。1回の答えで動くのは 0.33秒（10コマ）なので、このままだと問い合わせのたびに腕が1秒あまり止まる。サーバーの中の計算は 183ミリ秒で、残りの約1.1秒は画像を生のまま送る時間（1回 461KB を SSH のトンネルで）。

**実機で止まらずに動き続けるように、待ちを縮める。** mechArm の --model（trim〜split2）の動きとサーバーへの送り方は変えない。

## 1. 画像を JPEG で送る
- クライアントは、カメラ2台の 320×240 の画像を JPEG（品質95。学習のコマと同じ作り方）のバイト列のまま送る
- サーバー側（so101a のときだけ）で受けたら配列に戻してから so101_policy の入力に渡す。学習のときと同じ画像になること（学習のコマは JPEG 品質95 を読み戻したもの）をテストで確かめる
- 1回に送る大きさを測って報告する

## 2. 動いている間に次を問い合わせておく
- 答えの10コマを実行している間に、次の問い合わせを先に出しておく（いつ出すかは任せる。返ってきた答えの先頭が、実行し終えた時点の姿勢から大きく飛ばないようにする）
- 飛びは今の入口（`lerobot_safe_259.py` の1コマ10°の上限）でそのまま抑える。新しい停止の条件は足さない
- `--no-prefetch` で今の形（実行し終えてから問い合わせる）に戻せるようにする
- `--exec-steps N` はそのまま使えること

## 3. 依頼283 の「決めてほしいこと」への答え（エイイチ 2026-11-24 15:43「直してから・おすすめどおり」）
- 答えはサーバーが角度に直して返すので、クライアントでは足さない（283 のまま）
- 始めの Enter は、mechArm と同じく2回目からは飛ばす
- 爪の安全範囲は 0〜100 で切る（下の端が −10 にならないように）
- 一時停止のときは関節5つを今の位置で止め、爪は前の目標のまま。手直しの間は1コマ10°の上限だけ（どちらも 283 のまま）
- 判定の表は SO-101 用に別の表を作ることに決まったが、この依頼では作らない（次の依頼でやる）

## 4. 確かめ
1. テストを足して通す（JPEG の行き帰りで学習と同じ画像になる、先に問い合わせる順番、--no-prefetch、爪の範囲、2回目から Enter を飛ばす）。既存のテストも通り、mechArm の8モデルのドライランの出力が変わらないこと（283 と同じ比べ方）
2. `lab_start.sh --model so101a --log so101_Log09 --serve-only` で Pod を立て、283 と同じお手本5本を流して、答えが返るまでの時間（中央値・最長）と、答えとお手本の差が 283 と変わらないかを測る
3. 偽のカメラ・ドライランで、先に問い合わせる形のクライアントを本物のサーバーで通し、腕が止まる時間（1つの答えを実行し終えてから次のコマを送るまでの間）がどれだけ残るかを測る
4. Pod は削除まで行い、ログを KIOXIA の `lab/so101_Log09/` に持ち帰る

## 報告に書くこと
- 1回に送る大きさ、答えが返るまでの時間、腕が止まる時間（どれも 283 と並べて）
- 答えとお手本の差が変わっていないか
- 足した・変えたファイルと git の commit（個別に add。`git add .`・`git clean` は使わない）
- GPU の型番・借りた時間・費用（円も）
- 実機で動かすときの起動のコマンド
- 最後の1行は「判定：合格／止めた」のどちらか
```

#### 依頼285 の結果（依頼箱の記録）

```markdown
# 結果：20261124_285_SO101の推論の答えの待ちを縮める

- 状態：完了
- 始めた時刻：2026-11-24 15:44
- 終わった時刻：2026-11-24 16:16（32分）
- 作業フォルダ：/Users/shimazueiichi/r2r2r-scripts
- この続きを Claude Code で話すとき：作業フォルダで `claude --resume 9aa9731d-4006-4a96-a71b-d2ca1c1e65f0`

## Claude Code の報告

**やったこと**
- クライアント（so101/run_so101_policy.py）は、カメラ2台の 320×240 の画像を JPEG（品質95）のバイト列のまま送るようにしました。サーバー側の so101_policy.py は、受けたものがバイト列なら PIL で読み戻します。配列で受けたときはこれまでどおりです。
- 答えを実行している間に、次の問い合わせを先に出すようにしました。
  - 出す時：今の答えの残りが r コマになった時。r は答えが返るまでの時間（直近5回の中央値）をコマに直した数で、使えるコマの半分までです。
  - 次の答えは r 番目から使います。問い合わせを出してから r コマは今の答えで動いているので、先頭から使うと r コマ分戻ってしまうためです。
  - 飛びは今の入口（1コマ10°の上限）で抑え、新しい停止の条件は足していません。
  - `--no-prefetch` で依頼283の形に戻せます。`--exec-steps N` もそのまま使えます。
- 依頼283の答えを入れました。
  - 爪の安全範囲は 0〜100 で切ります（下の端は −9.5 ではなく 0 になります）。
  - 始めの Enter は、lab_start.sh が2回目の試行から `--skip-first-confirm` を渡して飛ばします。
  - 答えはクライアントで足さないこと、一時停止と手直しの扱いは 283 のままです。
- Pod は削除まで行い、ログを KIOXIA の `lab/so101_Log09/` と `lab/so101_Log09/285/` に持ち帰りました。作業の記録は logs/20261124_1620.md です。

**結果**

腕が止まる時間は、偽のカメラ・ドライランで本物のサーバーに 300コマ通して測りました。

| | 283 の形（生の画像） | JPEG・使い切ってから（--no-prefetch） | JPEG・先に問い合わせる（既定） |
|---|---|---|---|
| 1回に送る大きさ | 461,080 バイト | 中央値 21,755 バイト | 同じ |
| 答えが返るまで（中央値／最長） | 今日 0.98／2.21 秒（283 の報告では 1.27／3.37 秒） | 0.36／0.47 秒 | 0.36／0.45 秒 |
| 腕が止まる時間（1回あたり 中央値／最長） | 0.99／1.99 秒 | 0.36／0.46 秒 | **0.21／0.30 秒** |
| 止まった回数・合計 | 29回・31.1 秒 | 29回・10.6 秒 | 58回・12.5 秒 |

- 待ちが縮んだのは、ほとんど JPEG にした効果です。
- 先に問い合わせると1回の止まりは短くなりますが、**止まりはなくなりません**。止まる回数が倍になるので、合計はむしろ長くなりました。答えが返るまでの 0.36秒（11コマ）が、1回の答えで動く 10コマより長いためです。止まらずに動き続けるには、待ちを 0.17秒より短くする必要があります。
- 答えとお手本の差（283 と同じお手本5本）：全体の中央値は 0.37〜0.74°（283 は 0.38〜0.75°）で、変わっていません。同じ Pod で生の画像を送った場合も 0.35〜0.75° でした。
- テストはすべて通りました：test_run_so101_policy 35件、test_lab_start 273件、test_lab_train 281件、test_lerobot_safe_259 64件、test_so101_train 7件。
- mechArm の8モデルのドライランの出力は、かかった秒数の行を除いて 283 の版と同じでした。
- GPU は NVIDIA A40 で、借りた時間は 18分1秒、費用は約 0.18 ドル（約 28円、1ドル=158円）です。

**実機で動かすときの起動のコマンド**
- `./lab_start.sh --model so101a --log <Log>`（先に問い合わせる形。既定）
- `./lab_start.sh --model so101a --log <Log> --no-prefetch`（使い切ってから問い合わせる形）
- フォロワーに送らずに試すときは、どちらも `--dry-run` を付けます。

**変えたファイル**（commit 9b52951。ファイルを個別に add しました）
- so101/run_so101_policy.py
- pi05/openpi_addon/so101_policy.py
- lab_start.sh
- so101/test_run_so101_policy.py
- test_lab_start.sh
- 新規：so101/check_285_replay_demo.py、so101/check_285_stall.py

**決めてほしいこと**
1. 既定をどちらにするか。合計の止まりが短いのは使い切ってからの形（10.6秒 対 12.5秒）、1回の止まりが短いのは先に問い合わせる形（0.21秒 対 0.36秒）です。今は依頼どおり先に問い合わせる形を既定にしています。
2. 止まりをなくすには、次のどれかが要ります。
   - 待ちをさらに縮める：サーバーの中の 183ミリ秒のうちモデル本体は 43ミリ秒で、残りは入力の変換などに使われています。Pod の地域を変える手もあります。
   - 答えを長くして学び直す。
   
   進めるかどうか、どれから進めるかを決めてほしいです。

判定：合格
```

#### stall_20261124_161440_exec10.json（止まりの測り直し）

```json
{
  "episode": "so101_redblock_box_teleop_v1_ep002",
  "frames": 300,
  "exec_steps": 10,
  "prefetch": {
    "frames": 300,
    "wall_s": 23.38,
    "moving_fps": 12.83,
    "queries": 59,
    "switches": 58,
    "stall_s": {
      "median": 0.205,
      "max": 0.298,
      "mean": 0.215,
      "total": 12.46,
      "zero_share": 0.0
    },
    "frame_period_s": {
      "median": 0.0343,
      "max": 0.0864
    },
    "latency_s": {
      "median": 0.355,
      "max": 0.45
    },
    "chunk_steps_used": [
      0,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9
    ],
    "payload_bytes": 22003,
    "skips": {
      "5": 58
    }
  },
  "no_prefetch": {
    "frames": 300,
    "wall_s": 21.15,
    "moving_fps": 14.18,
    "queries": 30,
    "switches": 29,
    "stall_s": {
      "median": 0.36,
      "max": 0.457,
      "mean": 0.365,
      "total": 10.59,
      "zero_share": 0.0
    },
    "frame_period_s": {
      "median": 0.0336,
      "max": 0.0599
    },
    "latency_s": {
      "median": 0.354,
      "max": 0.451
    },
    "chunk_steps_used": [
      0,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9
    ],
    "payload_bytes": 22009,
    "skips": {
      "0": 29
    }
  },
  "r283": {
    "frames": 300,
    "wall_s": 42.24,
    "moving_fps": 7.1,
    "queries": 30,
    "switches": 29,
    "stall_s": {
      "median": 0.992,
      "max": 1.989,
      "mean": 1.071,
      "total": 31.07,
      "zero_share": 0.0
    },
    "frame_period_s": {
      "median": 0.0335,
      "max": 0.1069
    },
    "latency_s": {
      "median": 0.992,
      "max": 1.986
    },
    "chunk_steps_used": [
      0,
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9
    ]
  }
}
```

#### replay_demo_20261124_161255.json（JPEG にしたあとの答えの差）

```json
{
  "data": "/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes",
  "stride": 10,
  "joints": [
    "shoulder_pan",
    "shoulder_lift",
    "elbow_flex",
    "wrist_flex",
    "wrist_roll",
    "gripper"
  ],
  "jpeg": {
    "by_place": {
      "1": {
        "episode": "so101_redblock_box_teleop_v1_ep002",
        "frames": 551,
        "queries": 55,
        "median": [
          0.49,
          0.79,
          0.52,
          0.84,
          0.43,
          0.47
        ],
        "max": [
          7.77,
          10.77,
          8.49,
          7.91,
          3.52,
          20.55
        ]
      },
      "2": {
        "episode": "so101_redblock_box_teleop_v1_pos23_ep000",
        "frames": 538,
        "queries": 53,
        "median": [
          0.55,
          0.51,
          0.62,
          0.53,
          0.28,
          0.41
        ],
        "max": [
          5.22,
          4.94,
          8.88,
          9.8,
          2.56,
          16.66
        ]
      },
      "3": {
        "episode": "so101_redblock_box_teleop_v1_pos23_ep010",
        "frames": 581,
        "queries": 58,
        "median": [
          0.71,
          0.56,
          0.84,
          0.9,
          0.43,
          0.33
        ],
        "max": [
          19.64,
          15.32,
          7.85,
          7.48,
          9.67,
          11.29
        ]
      },
      "4": {
        "episode": "so101_redblock_box_teleop_v1_pos45_ep000",
        "frames": 431,
        "queries": 43,
        "median": [
          0.32,
          0.47,
          0.86,
          0.59,
          0.35,
          0.46
        ],
        "max": [
          9.49,
          16.95,
          9.15,
          15.14,
          3.37,
          17.23
        ]
      },
      "5": {
        "episode": "so101_redblock_box_teleop_v1_pos45_ep010",
        "frames": 417,
        "queries": 41,
        "median": [
          0.55,
          0.5,
          0.9,
          0.63,
          0.41,
          0.52
        ],
        "max": [
          5.68,
          10.14,
          9.32,
          9.87,
          5.06,
          19.48
        ]
      }
    },
    "all": {
      "median": [
        0.52,
        0.56,
        0.74,
        0.72,
        0.37,
        0.43
      ],
      "max": [
        19.64,
        16.95,
        9.32,
        15.14,
        9.67,
        20.55
      ]
    },
    "latency_s": {
      "first": 0.361,
      "n": 249,
      "median": 0.363,
      "max": 0.473,
      "p90": 0.437,
      "over_0.33s": 249
    },
    "payload_bytes": {
      "median": 21755,
      "min": 17714,
      "max": 25713
    }
  },
  "array": {
    "by_place": {
      "1": {
        "episode": "so101_redblock_box_teleop_v1_ep002",
        "frames": 551,
        "queries": 55,
        "median": [
          0.57,
          0.83,
          0.62,
          0.84,
          0.34,
          0.5
        ],
        "max": [
          7.01,
          7.98,
          10.87,
          5.7,
          4.57,
          15.14
        ]
      },
      "2": {
        "episode": "so101_redblock_box_teleop_v1_pos23_ep000",
        "frames": 538,
        "queries": 53,
        "median": [
          0.52,
          0.56,
          0.59,
          0.59,
          0.25,
          0.4
        ],
        "max": [
          5.73,
          11.87,
          6.69,
          9.26,
          3.01,
          8.97
        ]
      },
      "3": {
        "episode": "so101_redblock_box_teleop_v1_pos23_ep010",
        "frames": 581,
        "queries": 58,
        "median": [
          0.67,
          0.55,
          0.74,
          0.94,
          0.55,
          0.39
        ],
        "max": [
          17.9,
          12.87,
          14.06,
          7.83,
          4.44,
          24.38
        ]
      },
      "4": {
        "episode": "so101_redblock_box_teleop_v1_pos45_ep000",
        "frames": 431,
        "queries": 43,
        "median": [
          0.35,
          0.42,
          0.87,
          0.65,
          0.33,
          0.37
        ],
        "max": [
          7.5,
          14.96,
          17.88,
          8.08,
          3.12,
          18.13
        ]
      },
      "5": {
        "episode": "so101_redblock_box_teleop_v1_pos45_ep010",
        "frames": 417,
        "queries": 41,
        "median": [
          0.52,
          0.56,
          0.9,
          0.84,
          0.31,
          0.58
        ],
        "max": [
          5.87,
          8.49,
          11.72,
          12.73,
          5.0,
          21.0
        ]
      }
    },
    "all": {
      "median": [
        0.53,
        0.57,
        0.74,
        0.75,
        0.35,
        0.44
      ],
      "max": [
        17.9,
        14.96,
        17.88,
        12.73,
        5.0,
        24.38
      ]
    },
    "latency_s": {
      "first": 0.564,
      "n": 249,
      "median": 0.979,
      "max": 2.211,
      "p90": 1.351,
      "over_0.33s": 249
    },
    "payload_bytes": {
      "median": 461080,
      "min": 461080,
      "max": 461080
    }
  }
}
```

#### lab_start のログ（依頼285）

```text
[LOG   ] ターミナルの出力を残します → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log09/lab_start_20261124_155709.txt
[RANGE ] 安全範囲 (学習データ ±10°) は /Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes から (--model so101a)
[SO101 ] 推論のクライアントは so101/run_so101_policy.py (/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python). --serve-only なのでクライアントは流さない (空打ちだけ)
[SO101 ] 1 回で実行するコマ: 10 (既定. 答えの 10 コマ全部)
[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す (既定. 依頼 285)
[LAB   ] 2026-11-24 15:57:09  GPU=NVIDIA A40  episode=run_0001_20261019_194818  log=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log09  サーバーとトンネルだけ (--serve-only. アームと daemon には触らない)
[MODEL ] --model so101a: SO-101: π0.5 base から so101_redblock_box_teleop_even_v1 (場所 1〜5 を各 10 本) で学習した 2999 (依頼 282)
         PixelstoMotors/pi05-so101-teleop-even-lora-v1 → /workspace/ckpt/so101_teleop_even_v1_2999  設定 pi05_so101_teleop_even_lora  assets local/so101_redblock_box_teleop_even_v1

=== 1. Pod を作る
[POD   ] 記録の Pod (id 6laxcb6pzfoej8) は API で見ると残っていない. 新しく作ります
         古い記録は /Volumes/KIOXIA/r2r2r-data/lab/so101_Log09/pod/lab_pod_20261124_155710.json に残しました
[POD   ] 作った: id 11ozh1wbwtzmw9  GPU=NVIDIA A40  1時間 0.59 ドル  (記録 /Volumes/KIOXIA/r2r2r-data/lab/so101_Log09/pod/lab_pod.json)
    (2 秒)

=== 2. Pod が立ち上がるまで待つ
[POD   ] SSH の IP とポートを API から受け取った (<POD_IP>:<SSH_PORT>)
[POD   ] 入れた: b39f807c50f6
NVIDIA A40, 46068 MiB
    (37 秒)

=== 3a. スクリプトを送る
    (131 秒)

=== 3b. huggingface_hub を入れ, 鍵を渡す
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[90mHint: The `hf-cli` skill is not installed. Run `hf skills add -g` to teach your AI agents how to use the `hf` CLI.[0m
[32m✓ Logged in[0m
  user: PixelstoMotors
    (10 秒)

=== 3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)

Fetching 28 files:   0%|          | 0/28 [00:00<?, ?it/s]
Fetching 28 files:   7%|▋         | 2/28 [00:00<00:01, 18.97it/s]Still waiting to acquire lock on /workspace/ckpt/so101_teleop_even_v1_2999/.cache/huggingface/.gitignore.lock (elapsed: 0.1 seconds)

Fetching 28 files:  32%|███▏      | 9/28 [00:00<00:00, 44.96it/s]
Fetching 28 files:  50%|█████     | 14/28 [00:02<00:03,  4.47it/s]
Fetching 28 files:  61%|██████    | 17/28 [00:03<00:03,  3.64it/s]
Fetching 28 files:  68%|██████▊   | 19/28 [00:04<00:02,  3.29it/s]
Fetching 28 files:  75%|███████▌  | 21/28 [00:04<00:01,  3.99it/s]
Fetching 28 files:  82%|████████▏ | 23/28 [00:05<00:01,  3.15it/s]
Fetching 28 files:  86%|████████▌ | 24/28 [00:05<00:01,  3.39it/s]
Fetching 28 files:  89%|████████▉ | 25/28 [00:07<00:01,  1.88it/s]
Fetching 28 files:  93%|█████████▎| 26/28 [00:08<00:01,  1.62it/s]
Fetching 28 files: 100%|██████████| 28/28 [00:08<00:00,  3.28it/s]
[32m✓ Downloaded[0m
  path: /workspace/ckpt/so101_teleop_even_v1_2999
6.0G	/workspace/ckpt/so101_teleop_even_v1_2999
    (11 秒)

=== 3d. openpi を取る (215abfb)
215abfb docs(droid): fix config search instruction (#1023)
    (98 秒)

=== 3e. uv sync
downloading uv 0.13.9 x86_64-unknown-linux-gnu
WARN: The following commands are shadowed by other commands in your PATH: uv uvx
Using CPython 3.11.13 interpreter at: /usr/bin/python3.11
Creating virtual environment at: .venv
Resolved 279 packages in 3ms
   Building openpi-client @ file:///workspace/openpi/packages/openpi-client
   Building openpi @ file:///workspace/openpi
   Updating https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
Downloading nvidia-nvjitlink-cu12 (18.8MiB)
Downloading tensorstore (17.5MiB)
Downloading polars (34.6MiB)
Downloading av (34.7MiB)
Downloading diffusers (3.4MiB)
Downloading pyopengl (3.0MiB)
Downloading virtualenv (5.8MiB)
Downloading imageio-ffmpeg (28.1MiB)
Downloading numcodecs (8.4MiB)
Downloading matplotlib (8.2MiB)
Downloading rerun-sdk (68.1MiB)
Downloading nvidia-curand-cu12 (53.7MiB)
Downloading labmaze (4.7MiB)
Downloading pyarrow (40.3MiB)
Downloading hf-xet (4.9MiB)
Downloading h5py (4.3MiB)
Downloading pillow (4.4MiB)
Downloading torchvision (7.1MiB)
Downloading jax-cuda12-plugin (15.9MiB)
Downloading ruff (11.0MiB)
Downloading transformers (10.3MiB)
Downloading fonttools (4.7MiB)
Downloading nvidia-cuda-nvcc-cu12 (38.7MiB)
Downloading nvidia-cuda-nvrtc-cu12 (22.6MiB)
Downloading pandas (12.5MiB)
Downloading nvidia-cuda-cupti-cu12 (8.5MiB)
Downloading hf-transfer (3.4MiB)
Downloading nvidia-cusparselt-cu12 (149.5MiB)
Downloading nvidia-cudnn-cu12 (544.5MiB)
Downloading triton (148.5MiB)
Downloading scipy (35.9MiB)
Downloading opencv-python (60.1MiB)
Downloading torch (783.1MiB)
Downloading nvidia-cublas-cu12 (374.9MiB)
Downloading sympy (6.0MiB)
Downloading lxml (4.7MiB)
Downloading jaxlib (100.2MiB)
Downloading wandb (20.4MiB)
Downloading llvmlite (40.4MiB)
Downloading mujoco (4.4MiB)
Downloading nvidia-cufft-cu12 (190.9MiB)
Downloading numba (3.7MiB)
Downloading nvidia-nccl-cu12 (192.0MiB)
Downloading nvidia-cusolver-cu12 (150.9MiB)
Downloading jax-cuda12-pjrt (99.8MiB)
Downloading nvidia-cusparse-cu12 (206.5MiB)
Downloading opencv-python-headless (47.7MiB)
Downloading cmake (26.6MiB)
Downloading dm-control (37.5MiB)
Downloading numpy (17.4MiB)
 Downloaded pyopengl
Downloading debugpy (3.0MiB)
 Downloaded hf-transfer
Downloading tokenizers (2.9MiB)
 Downloaded diffusers
Downloading jax (2.3MiB)
 Downloaded numba
Downloading widgetsnbextension (2.1MiB)
 Downloaded mujoco
Downloading ml-dtypes (2.1MiB)
 Downloaded h5py
Downloading networkx (1.9MiB)
 Downloaded pillow
Downloading pydantic-core (1.9MiB)
 Downloaded fonttools
 Downloaded lxml
Downloading aiohttp (1.6MiB)
 Downloaded labmaze
Downloading jedi (1.5MiB)
Downloading kiwisolver (1.4MiB)
 Downloaded hf-xet
Downloading torchcodec (1.3MiB)
 Downloaded virtualenv
Downloading sentencepiece (1.2MiB)
 Downloaded widgetsnbextension
Downloading pygments (1.2MiB)
 Downloaded jax
Downloading setuptools (1.1MiB)
 Downloaded sympy
 Downloaded debugpy
Downloading nvidia-cufile-cu12 (1.1MiB)
Downloading pymunk (1.0MiB)
 Downloaded kiwisolver
 Downloaded tokenizers
 Downloaded jedi
 Downloaded torchcodec
 Downloaded aiohttp
 Downloaded ml-dtypes
 Downloaded networkx
 Downloaded pydantic-core
 Downloaded sentencepiece
 Downloaded pygments
 Downloaded setuptools
 Downloaded pymunk
 Downloaded nvidia-cufile-cu12
 Downloaded torchvision
   Building evdev==1.9.2
   Building antlr4-python3-runtime==4.9.3
 Downloaded matplotlib
 Downloaded nvidia-cuda-cupti-cu12
 Downloaded numcodecs
      Built openpi-client @ file:///workspace/openpi/packages/openpi-client
      Built openpi @ file:///workspace/openpi
 Downloaded transformers
 Downloaded ruff
      Built antlr4-python3-runtime==4.9.3
 Downloaded pandas
      Built evdev==1.9.2
 Downloaded jax-cuda12-plugin
 Downloaded tensorstore
 Downloaded numpy
 Downloaded nvidia-nvjitlink-cu12
 Downloaded wandb
 Downloaded nvidia-cuda-nvrtc-cu12
 Downloaded cmake
 Downloaded imageio-ffmpeg
 Downloaded polars
 Downloaded av
 Downloaded scipy
 Downloaded dm-control
 Downloaded nvidia-cuda-nvcc-cu12
 Downloaded pyarrow
 Downloaded llvmlite
 Downloaded opencv-python-headless
 Downloaded nvidia-curand-cu12
 Downloaded opencv-python
 Downloaded rerun-sdk
    Updated https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
   Building lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
      Built lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded jax-cuda12-pjrt
 Downloaded jaxlib
 Downloaded triton
 Downloaded nvidia-cusparselt-cu12
 Downloaded nvidia-cusolver-cu12
 Downloaded nvidia-cufft-cu12
 Downloaded nvidia-nccl-cu12
 Downloaded nvidia-cusparse-cu12
 Downloaded nvidia-cublas-cu12
 Downloaded nvidia-cudnn-cu12
 Downloaded torch
Prepared 240 packages in 1m 01s
Installed 240 packages in 1.83s
 + absl-py==2.3.0
 + aiohappyeyeballs==2.6.1
 + aiohttp==3.12.4
 + aiosignal==1.3.2
 + annotated-types==0.7.0
 + antlr4-python3-runtime==4.9.3
 + asttokens==3.0.0
 + attrs==25.3.0
 + augmax==0.4.1
 + av==17.0.0
 + beartype==0.19.0
 + beautifulsoup4==4.13.4
 + blinker==1.9.0
 + cachetools==5.5.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + cfgv==3.4.0
 + charset-normalizer==3.4.2
 + chex==0.1.90
 + click==8.2.1
 + cloudpickle==3.1.1
 + cmake==4.0.2
 + comm==0.2.2
 + contourpy==1.3.2
 + crc32c==2.7.1
 + cycler==0.12.1
 + datasets==3.6.0
 + debugpy==1.8.14
 + decorator==5.2.1
 + deepdiff==8.5.0
 + diffusers==0.33.1
 + dill==0.3.8
 + distlib==0.3.9
 + dm-control==1.0.14
 + dm-env==1.6
 + dm-tree==0.1.9
 + docker-pycreds==0.4.0
 + docstring-parser==0.16
 + donfig==0.8.1.post1
 + draccus==0.10.0
 + einops==0.8.1
 + equinox==0.12.2
 + etils==1.12.2
 + evdev==1.9.2
 + executing==2.2.0
 + farama-notifications==0.0.4
 + filelock==3.18.0
 + flask==3.1.1
 + flatbuffers==25.2.10
 + flax==0.10.2
 + fonttools==4.58.1
 + frozenlist==1.6.0
 + fsspec==2025.3.0
 + gcsfs==2025.3.0
 + gdown==5.2.0
 + gitdb==4.0.12
 + gitpython==3.1.44
 + glfw==2.9.0
 + google-api-core==2.24.2
 + google-auth==2.40.2
 + google-auth-oauthlib==1.2.2
 + google-cloud-core==2.4.3
 + google-cloud-storage==3.1.0
 + google-crc32c==1.7.1
 + google-resumable-media==2.7.2
 + googleapis-common-protos==1.70.0
 + gym-aloha==0.1.1
 + gymnasium==0.29.1
 + h5py==3.13.0
 + hf-transfer==0.1.9
 + hf-xet==1.1.2
 + huggingface-hub==0.32.3
 + humanize==4.12.3
 + identify==2.6.12
 + idna==3.10
 + imageio==2.37.0
 + imageio-ffmpeg==0.6.0
 + importlib-metadata==8.7.0
 + importlib-resources==6.5.2
 + iniconfig==2.1.0
 + inquirerpy==0.3.4
 + ipykernel==6.29.5
 + ipython==9.2.0
 + ipython-pygments-lexers==1.1.1
 + ipywidgets==8.1.7
 + itsdangerous==2.2.0
 + jax==0.5.3
 + jax-cuda12-pjrt==0.5.3
 + jax-cuda12-plugin==0.5.3
 + jaxlib==0.5.3
 + jaxtyping==0.2.36
 + jedi==0.19.2
 + jinja2==3.1.6
 + jsonlines==4.0.0
 + jupyter-client==8.6.3
 + jupyter-core==5.8.1
 + jupyterlab-widgets==3.0.15
 + kiwisolver==1.4.8
 + labmaze==1.0.6
 + lerobot==0.1.0 (from git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
 + llvmlite==0.44.0
 + lxml==5.4.0
 + markdown-it-py==3.0.0
 + markupsafe==3.0.2
 + matplotlib==3.10.3
 + matplotlib-inline==0.1.7
 + mdurl==0.1.2
 + mergedeep==1.3.4
 + ml-collections==1.0.0
 + ml-dtypes==0.4.1
 + mpmath==1.3.0
 + msgpack==1.1.0
 + mujoco==2.3.7
 + multidict==6.4.4
 + multiprocess==0.70.16
 + mypy-extensions==1.1.0
 + nest-asyncio==1.6.0
 + networkx==3.5
 + nodeenv==1.9.1
 + numba==0.61.2
 + numcodecs==0.16.1
 + numpy==1.26.4
 + numpydantic==1.6.9
 + nvidia-cublas-cu12==12.6.4.1
 + nvidia-cuda-cupti-cu12==12.6.80
 + nvidia-cuda-nvcc-cu12==12.9.41
 + nvidia-cuda-nvrtc-cu12==12.6.77
 + nvidia-cuda-runtime-cu12==12.6.77
 + nvidia-cudnn-cu12==9.5.1.17
 + nvidia-cufft-cu12==11.3.0.4
 + nvidia-cufile-cu12==1.11.1.6
 + nvidia-curand-cu12==10.3.7.77
 + nvidia-cusolver-cu12==11.7.1.2
 + nvidia-cusparse-cu12==12.5.4.2
 + nvidia-cusparselt-cu12==0.6.3
 + nvidia-ml-py==12.575.51
 + nvidia-nccl-cu12==2.26.2
 + nvidia-nvjitlink-cu12==12.6.85
 + nvidia-nvtx-cu12==12.6.77
 + oauthlib==3.2.2
 + omegaconf==2.3.0
 + opencv-python==4.11.0.86
 + opencv-python-headless==4.11.0.86
 + openpi==0.1.0 (from file:///workspace/openpi)
 + openpi-client==0.1.0 (from file:///workspace/openpi/packages/openpi-client)
 + opt-einsum==3.4.0
 + optax==0.2.4
 + orbax-checkpoint==0.11.13
 + orderly-set==5.4.1
 + packaging==25.0
 + pandas==2.2.3
 + parso==0.8.4
 + pexpect==4.9.0
 + pfzy==0.3.4
 + pillow==11.2.1
 + platformdirs==4.3.8
 + pluggy==1.6.0
 + polars==1.30.0
 + pre-commit==4.2.0
 + prompt-toolkit==3.0.51
 + propcache==0.3.1
 + proto-plus==1.26.1
 + protobuf==4.25.8
 + psutil==7.0.0
 + ptyprocess==0.7.0
 + pure-eval==0.2.3
 + pyarrow==20.0.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + pycparser==2.22
 + pydantic==2.11.5
 + pydantic-core==2.33.2
 + pygments==2.19.1
 + pymunk==7.0.0
 + pynput==1.8.1
 + pynvml==12.0.0
 + pyopengl==3.1.9
 + pyparsing==3.2.3
 + pysocks==1.7.1
 + pytest==8.3.5
 + python-dateutil==2.9.0.post0
 + python-xlib==0.33
 + pytz==2025.2
 + pyyaml==6.0.2
 + pyyaml-include==1.4.1
 + pyzmq==26.4.0
 + regex==2024.11.6
 + requests==2.32.3
 + requests-oauthlib==2.0.0
 + rerun-sdk==0.23.1
 + rich==14.0.0
 + rsa==4.9.1
 + ruff==0.11.12
 + safetensors==0.5.3
 + scipy==1.15.3
 + sentencepiece==0.2.0
 + sentry-sdk==2.29.1
 + setproctitle==1.3.6
 + setuptools==80.9.0
 + shtab==1.7.2
 + simplejson==3.20.1
 + six==1.17.0
 + smmap==5.0.2
 + soupsieve==2.7
 + stack-data==0.6.3
 + sympy==1.14.0
 + tensorstore==0.1.74
 + termcolor==3.1.0
 + tokenizers==0.21.1
 + toml==0.10.2
 + toolz==1.0.0
 + torch==2.7.1
 + torchcodec==0.4.0
 + torchvision==0.22.1
 + tornado==6.5.1
 + tqdm==4.67.1
 + tqdm-loggable==0.2
 + traitlets==5.14.3
 + transformers==4.53.2
 + treescope==0.1.9
 + triton==3.3.1
 + typeguard==4.4.2
 + typing-extensions==4.13.2
 + typing-inspect==0.9.0
 + typing-inspection==0.4.1
 + tyro==0.9.22
 + tzdata==2025.2
 + urllib3==2.4.0
 + virtualenv==20.31.2
 + wadler-lindig==0.1.6
 + wandb==0.19.11
 + wcwidth==0.2.13
 + websockets==15.0.1
 + werkzeug==3.1.3
 + widgetsnbextension==4.0.14
 + wrapt==1.14.1
 + xxhash==3.5.0
 + yarl==1.20.0
 + zarr==3.0.8
 + zipp==3.22.0
    (67 秒)

=== 3f. addon・設定・assets (pi05_so101_teleop_even_lora)
installed: policies/mecharm_policy.py + config.py (pi05_mecharm_lora)
installed: pi05_mecharm_trim_lora (repo_id=local/mecharm_redblock_box_teach_v1_trim2, 4,000 steps)
installed: policies/so101_policy.py + pi05_so101_teleop_even_lora (repo_id=local/so101_redblock_box_teleop_even_v1, 3000 steps, decay_steps 3000, init=π0.5 base)
    (2 秒)

=== 4. サーバーの起動
[SERVE ] --model so101a: --policy.config=pi05_so101_teleop_even_lora --policy.dir=/workspace/ckpt/so101_teleop_even_v1_2999
INFO:websockets.server:server listening on 0.0.0.0:8000
    (43 秒)

=== 5. Mac の 8000 番へのトンネル
[TUNNEL] localhost:8000 → Pod の 8000 番 (pid 99751. このスクリプトが終わると閉じる)
    (2 秒)

=== 5b. 空打ち (1 回目の推論の待ちを先に済ませる)
[WARM  ] 空打ち 56.4 秒 (答え (10, 6))
    (56 秒)
[SERVE ] --serve-only: サーバー (--model so101a) は localhost:8000 で待っています.
         デーモン・HOME・爪・位置合わせ・推論には進みません. 終わるときは Ctrl-C か kill (TERM) (Pod は消さない)

[SERVE ] 終わりの合図を受けました. トンネルを閉じて終わります

=== かかった時間  モデル so101a (PixelstoMotors/pi05-so101-teleop-even-lora-v1)
  1. Pod を作る                      2 秒
  2. Pod が立ち上がるまで待つ     37 秒
  3a. スクリプトを送る        131 秒
  3b. huggingface_hub を入れ, 鍵を渡す     10 秒
  3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)     11 秒
  3d. openpi を取る (215abfb)       98 秒
  3e. uv sync                          67 秒
  3f. addon・設定・assets (pi05_so101_teleop_even_lora)      2 秒
  4. サーバーの起動             43 秒
  5. Mac の 8000 番へのトンネル      2 秒
  5b. 空打ち (1 回目の推論の待ちを先に済ませる)     56 秒

[LAB   ] Pod は残しています (id 11ozh1wbwtzmw9). 片付けは ./lab_stop.sh --log so101_Log09
[TUNNEL] 8000 番のトンネルを閉じました
```

#### lab_stop のログ（依頼285）

```text
[STOP  ] so101_Log09 の Pod: id 11ozh1wbwtzmw9  GPU=NVIDIA A40  作った時刻 2026-11-24 15:57:11
[LOG   ] serve.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log09/serve_20261124_161506.log (33 行)
[STOP  ] Terminate を送った (16:15:12)
[STOP  ] Pod (id 11ozh1wbwtzmw9) が消えたことを API で確かめた
[COST  ] 借りていた時間 18 分 1 秒 (0.30 時間) × 1時間 0.59 ドル = 約 0.18 ドル (約 28 円. 1ドル=158円)
[TUNNEL] 8000 番のトンネルは残っていません
```

#### so101/check_285_stall.py

```python
"""偽のカメラ・ドライランで run_trial を本物のサーバーに通し, 腕が止まる時間を測る (依頼 285. フォロワー・カメラは使わない).

腕が止まる時間 = 1 つの答えのコマを送り終えてから次の答えの 1 コマ目を送るまでの間 - いつものコマの間 (1/30 秒).
次の 3 つを同じ Pod・同じトンネルで続けて流す:
  prefetch:    今の run_so101_policy.py (JPEG で送る・先に問い合わせる. 既定)
  no_prefetch: 今の run_so101_policy.py に --no-prefetch (JPEG で送る・使い切ってから問い合わせる)
  r283:        依頼 283 の run_so101_policy.py (git の 9639711. 配列で送る・使い切ってから問い合わせる)
偽のカメラは学習の 1 本目の jpg (320x240) を 640x480 に広げて 1 コマずつ返す (JPEG の大きさを本物に近づけるため).
記録は本物の Recorder (LeRobot v3.0) で一時フォルダに書いて捨てる (1 コマの記録にかかる時間も入れるため).
送った時刻は DryArm.send を包んで測り, 答えの切り替えは記録の chunk_id が変わったところ (どの版でも同じ測り方).

    python so101/check_285_stall.py --port 8000 --frames 300 --out-dir so101/check_285
"""

import argparse
import importlib.util
import json
import shutil
import statistics
import subprocess
import sys
import tempfile
import time
from pathlib import Path

import numpy as np
from PIL import Image

HERE = Path(__file__).resolve().parent
sys.path.insert(0, str(HERE))
sys.path.insert(0, str(HERE.parent / "pi05"))

import run_so101_policy as R  # noqa: E402

R283 = "9639711"        # 依頼 283 の commit


class FakeCamera:
    def __init__(self, files):
        self.imgs = [np.asarray(Image.open(f).convert("RGB").resize((R.CAM_W, R.CAM_H), Image.Resampling.BILINEAR))
                     for f in files]
        self.i = 0

    def read_latest(self):
        im = self.imgs[self.i % len(self.imgs)]
        self.i += 1
        return im

    def disconnect(self):
        pass


class Keys:
    def __init__(self, frames):
        self.frames, self.n = frames, 0

    def start(self):
        pass

    def poll(self):
        self.n += 1
        return "q" if self.n > self.frames else None


def load_283():
    src = subprocess.run(["git", "-C", str(HERE.parent), "show", f"{R283}:so101/run_so101_policy.py"],
                         check=True, capture_output=True, text=True).stdout
    d = Path(tempfile.mkdtemp())
    p = d / "run_so101_policy_283.py"
    p.write_text(src)
    spec = importlib.util.spec_from_file_location("run_so101_policy_283", p)
    m = importlib.util.module_from_spec(spec)
    spec.loader.exec_module(m)
    return m


def one(mod, name, port, frames, files, lo, hi, exec_steps, **kw):
    cams = {"desk": FakeCamera(files["desk"]), "wrist": FakeCamera(files["wrist"])}
    arm = mod.DryArm(cameras=cams)
    sends = []
    orig = arm.send

    def send(target):
        sends.append(time.perf_counter())
        return orig(target)

    arm.send = send
    rows = []
    tmp = Path(tempfile.mkdtemp())
    rec = mod.Recorder(tmp / "rec", f"local/check285_{name}")
    orig_add = rec.add

    def add(state, desk, wrist, action, sent, mode, chunk_step=-1, chunk_id=-1, t_wall=None):
        rows.append((mode, chunk_step, chunk_id))
        return orig_add(state, desk, wrist, action, sent, mode, chunk_step, chunk_id, t_wall)

    rec.add = add
    policy = mod.Policy(port)
    t0 = time.perf_counter()
    try:
        info = mod.run_trial(arm, policy, rec, lo, hi, exec_steps, Keys(frames), inp=lambda p: "", out=lambda *a: None,
                             **kw)
    finally:
        wall = time.perf_counter() - t0
        policy.close()
        shutil.rmtree(tmp, ignore_errors=True)
    gaps = [sends[i] - sends[i - 1] for i in range(1, len(rows)) if rows[i][2] != rows[i - 1][2]]
    stalls = [max(0.0, g - 1.0 / R.FPS) for g in gaps]
    period = [sends[i] - sends[i - 1] for i in range(1, len(rows)) if rows[i][2] == rows[i - 1][2]]
    lat = policy.latencies[1:]
    res = {"frames": len(rows), "wall_s": round(wall, 2), "moving_fps": round(len(rows) / wall, 2),
           "queries": info["queries"], "switches": len(gaps),
           "stall_s": {"median": round(statistics.median(stalls), 3), "max": round(max(stalls), 3),
                       "mean": round(statistics.mean(stalls), 3), "total": round(sum(stalls), 2),
                       "zero_share": round(sum(1 for s in stalls if s < 0.005) / len(stalls), 3)},
           "frame_period_s": {"median": round(statistics.median(period), 4), "max": round(max(period), 4)},
           "latency_s": {"median": round(statistics.median(lat), 3), "max": round(max(lat), 3)},
           "chunk_steps_used": sorted({r[1] for r in rows if r[1] >= 0})}
    if getattr(policy, "payloads", None):
        res["payload_bytes"] = int(statistics.median(policy.payloads))
    if "skips" in info:
        res["skips"] = {str(k): info["skips"].count(k) for k in sorted(set(info["skips"]))}
    print(f"[{name:11s}] {json.dumps(res, ensure_ascii=False)}", flush=True)
    return res


def main(argv=None):
    ap = argparse.ArgumentParser()
    ap.add_argument("--port", type=int, default=8000)
    ap.add_argument("--frames", type=int, default=300, help="1 つの形で送るコマ数 (300 = 10 秒)")
    ap.add_argument("--exec-steps", type=int, default=R.HORIZON)
    ap.add_argument("--raw-dir", default=str(R.DEFAULT_RAW))
    ap.add_argument("--modes", default="prefetch,no_prefetch,r283")
    ap.add_argument("--out-dir", default=str(HERE / "check_285"))
    args = ap.parse_args(argv)
    lo, hi, _ = R.load_safe_range(args.raw_dir)
    ep = sorted(p.parent for p in Path(args.raw_dir).glob("[!.]*/episode.npz"))[0]
    files = {c: sorted((ep / f"frames_{c}").glob("[!.]*.jpg"))[:args.frames + 50] for c in R.CAMERAS}
    result = {"episode": ep.name, "frames": args.frames, "exec_steps": args.exec_steps}
    for mode in args.modes.split(","):
        if mode == "r283":
            result[mode] = one(load_283(), mode, args.port, args.frames, files, lo, hi, args.exec_steps)
        else:
            result[mode] = one(R, mode, args.port, args.frames, files, lo, hi, args.exec_steps,
                               prefetch=(mode == "prefetch"))
    out = Path(args.out_dir)
    out.mkdir(parents=True, exist_ok=True)
    p = out / f"stall_{time.strftime('%Y%m%d_%H%M%S')}_exec{args.exec_steps}.json"
    p.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
    print(f"[OUT   ] {p}")
    return 0


if __name__ == "__main__":
    sys.exit(main())
```

#### so101/check_285_replay_demo.py

```python
"""録ったお手本を流して so101a の答えと待ちを確かめる (依頼 285. フォロワー・カメラは使わない).

check_283_replay_demo.py と同じ選び方 (場所ごとに 1 本・--stride コマおき) で, 画像の送り方を 2 通り流して比べる:
  jpeg:  学習の jpg ファイルの中身 (バイト列) をそのまま送る (依頼 285 のクライアントと同じ. サーバーの so101_policy.py が読み戻す)
  array: jpg を読んだ RGB の配列を送る (依頼 283 の形. 1 回 約 461KB)
同じ Pod・同じトンネルで続けて流すので, 答えが返るまでの時間の差は送りの大きさの差. 答えとお手本の次の 10 コマの action の差
(場所ごと・関節ごとの中央値と最大) も両方出す (283 の as_is と同じ比べ方).

    python so101/check_285_replay_demo.py --port 8000 --out-dir so101/check_285
"""

import argparse
import json
import statistics
import sys
import time
from pathlib import Path

import numpy as np
from PIL import Image

HERE = Path(__file__).resolve().parent
sys.path.insert(0, str(HERE))
sys.path.insert(0, str(HERE.parent / "pi05"))

import check_283_replay_demo as C  # noqa: E402
import run_so101_policy as R  # noqa: E402


def lat_stats(lat):
    rest = lat[1:] if len(lat) > 1 else lat
    return {"first": round(lat[0], 3), "n": len(rest), "median": round(statistics.median(rest), 3),
            "max": round(max(rest), 3), "p90": round(float(np.percentile(rest, 90)), 3),
            "over_0.33s": sum(1 for x in rest if x > R.HORIZON / R.FPS)}


def replay(client, raw, eps, stride, mode):
    out, errs = {}, []
    lat0, pay0 = len(client.latencies), len(client.payloads)
    for place, name in eps.items():
        ep = raw / name
        z = np.load(ep / "episode.npz")
        state, actions = z["state"].astype(np.float64), z["actions"].astype(np.float64)
        err = []
        for t in range(0, len(state) - R.HORIZON, stride):
            files = {c: ep / f"frames_{c}" / f"{t:06d}.jpg" for c in R.CAMERAS}
            if mode == "jpeg":
                imgs = {c: f.read_bytes() for c, f in files.items()}
            else:
                imgs = {c: np.asarray(Image.open(f).convert("RGB")) for c, f in files.items()}
            a = client.infer(R.make_obs(state[t], imgs["desk"], imgs["wrist"]))
            err.append(R.to_absolute(a, state[t]) - actions[t:t + R.HORIZON])
        err = np.array(err)
        errs.append(err)
        out[str(place)] = {"episode": name, "frames": len(state), "queries": len(err), **C.stats(err)}
        print(f"[{mode:5s} {place}] {name}  {len(err)} 回  差の中央値 {out[str(place)]['median']}  最大 {out[str(place)]['max']}",
              flush=True)
    lat = client.latencies[lat0:]
    pay = client.payloads[pay0:]
    return {"by_place": out, "all": C.stats(np.concatenate(errs)), "latency_s": lat_stats(lat),
            "payload_bytes": {"median": int(statistics.median(pay)), "min": min(pay), "max": max(pay)}}


def main(argv=None):
    ap = argparse.ArgumentParser()
    ap.add_argument("--port", type=int, default=8000)
    ap.add_argument("--data-dir", default=str(C.DATA))
    ap.add_argument("--stride", type=int, default=10)
    ap.add_argument("--modes", default="jpeg,array")
    ap.add_argument("--out-dir", default=str(HERE / "check_285"))
    args = ap.parse_args(argv)
    from policy_ws import PolicyClient
    client = R.Policy(args.port, client=PolicyClient(port=args.port, wait_sec=30.0))
    raw = Path(args.data_dir) / "raw_episodes"
    eps = C.pick_episodes(args.data_dir)
    result = {"data": str(raw), "stride": args.stride, "joints": R.MOTORS}
    for mode in args.modes.split(","):
        result[mode] = replay(client, raw, eps, args.stride, mode)
        r = result[mode]
        print(f"[{mode:5s}] 差の中央値 {r['all']['median']}  最大 {r['all']['max']}")
        print(f"[{mode:5s}] 1 回の送り {r['payload_bytes']}  答えが返るまで {r['latency_s']}", flush=True)
    client.close()
    out = Path(args.out_dir)
    out.mkdir(parents=True, exist_ok=True)
    p = out / f"replay_demo_{time.strftime('%Y%m%d_%H%M%S')}.json"
    p.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
    print(f"[OUT   ] {p}")
    return 0


if __name__ == "__main__":
    sys.exit(main())
```

#### commit 9b52951 の差分（依頼285）

```diff
commit 9b52951695e71dca7df9e68c87bf61db3b4e7924
Date: Tue Nov 24 16:15:45 2026 +0900

SO-101 の推論の答えの待ちを縮める (依頼 285・フォロワーは動かしていない). run_so101_policy.py: カメラ 2 台の 320x240 を JPEG 品質 95 のバイト列のまま送り (学習のコマと同じ作り方), サーバーの so101_policy.py がバイト列なら PIL で読み戻す (配列はこれまでどおり). 答えを実行している間に, 残りが r コマ (答えが返るまでの時間の直近 5 回の中央値をコマに直したもの. 使えるコマの半分まで) になったコマの観測で次を裏で問い合わせ, 次の答えは r 番目から使う. --no-prefetch で 283 の形. --skip-first-confirm (lab_start.sh が 2 回目の試行から渡す). 爪の安全範囲は 0〜100 で切る. lab_start.sh に --no-prefetch (so101a だけ). 1 回の送り 461080 → 中央値 21755 バイト, 答えが返るまで 中央値 0.98 → 0.36 秒 (同じ Pod で並べて), お手本との差の中央値 0.37〜0.74° (283 と同じ). 腕が止まる時間 (1 回あたり): 283 の形 0.99 秒 / JPEG・使い切ってから 0.36 秒 / JPEG・先に問い合わせる 0.21 秒 (回数は倍). mechArm の 8 モデルのドライランの出力は変わらない. テスト: test_run_so101_policy 35 件・test_lab_start 273 件・test_lab_train 281 件・test_lerobot_safe_259 64 件・test_so101_train 7 件 OK

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/lab_start.sh b/lab_start.sh
index 2468ec6..0ab2bca 100755
--- a/lab_start.sh
+++ b/lab_start.sh
@@ -22,7 +22,9 @@
 #                      PixelstoMotors/pi05-mecharm-deep-even10-b-lora-v1. Pod の /workspace/ckpt/deep_b_v1_2999)
 #              so101a = SO-101 のお手本 50 本で π0.5 base から学習した 2999 (依頼 283. PixelstoMotors/pi05-so101-teleop-even-lora-v1.
 #                      Pod の /workspace/ckpt/so101_teleop_even_v1_2999). 1〜5b は同じで, 6〜8 は so101/run_so101_policy.py だけ
-#                      (デーモン・HOME・位置合わせはない). --dry-run ならフォロワーに送らない. --exec-steps N (1〜10) をそのまま渡す
+#                      (デーモン・HOME・位置合わせはない). --dry-run ならフォロワーに送らない. --exec-steps N (1〜10) をそのまま渡す.
+#                      答えを実行している間に次を先に問い合わせる (依頼 285). --no-prefetch で依頼 283 の形 (使い切ってから問い合わせる).
+#                      2 回目の試行からは --skip-first-confirm を渡し, 始めの Enter を待たない (mechArm と同じ. 依頼 285)
 #              取る場所・設定・assets・サーバーの起動・つなぎ直しの確かめが選んだモデルに合う. 安全範囲 (学習データ ±10°.
 #              run_policy_client.py --raw-dir) は, deep1・deep1b は deep_even10_v1 の raw_episodes (依頼 135), ほかは trim2 の
 #              raw_episodes (corr_v3・corr_v4 と合わせても範囲はほぼ同じで, trim2 の方が狭い. corr_v5 は 11-06 の 184650 の j2 が
@@ -103,6 +105,7 @@ FLOW_ARGS=()         # 依頼 176: --flow / --speed N のときだけ run_policy
 STEP_ARGS=(--no-step-confirm)   # 依頼 178: 既定はチャンクごとに確かめない. --step-confirm で今までどおり
 FINISH_ARGS=(--auto-finish)     # 依頼 181: 既定は置き終えたら自動で終わる. --no-auto-finish で今までどおり
 EXEC_STEPS=""        # 依頼 283: so101a だけ. 付けなければ run_so101_policy.py の既定 (答えの 10 コマ全部)
+NO_PREFETCH=0        # 依頼 285: so101a だけ. 1 なら run_so101_policy.py に --no-prefetch を渡す
 MECHARM_ONLY=()      # 依頼 283: so101a では使えない mechArm の引数 (付けられていれば止める)
 for a in "$@"; do
     case "$a" in --episode|--no-tilt-fix|--grip-value|--flow|--via-stride|--step-confirm|--no-auto-finish|--speed) MECHARM_ONLY+=("$a") ;; esac
@@ -137,7 +140,8 @@ while [ $# -gt 0 ]; do
                       case "$2" in ''|*[!0-9]*) echo "[ERROR] --exec-steps は 1〜10 の整数: $2" >&2; exit 2 ;; esac
                       [ ${#2} -le 2 ] && [ "$((10#$2))" -ge 1 ] && [ "$((10#$2))" -le 10 ] || { echo "[ERROR] --exec-steps は 1〜10 の整数: $2" >&2; exit 2; }
                       EXEC_STEPS="$((10#$2))"; shift 2 ;;
-        -h|--help) sed -n '2,69p' "$0"; exit 0 ;;
+        --no-prefetch) NO_PREFETCH=1; shift ;;     # 依頼 285 (so101a だけ)
+        -h|--help) sed -n '2,71p' "$0"; exit 0 ;;
         *) echo "[ERROR] 知らない引数: $1  (./lab_start.sh --help)" >&2; exit 2 ;;
     esac
 done
@@ -150,6 +154,9 @@ fi
 if [ $SO101 = 0 ] && [ -n "$EXEC_STEPS" ]; then
     echo "[ERROR] --exec-steps は --model so101a だけ" >&2; exit 2
 fi
+if [ $SO101 = 0 ] && [ $NO_PREFETCH = 1 ]; then
+    echo "[ERROR] --no-prefetch は --model so101a だけ" >&2; exit 2
+fi
 
 if [ ! -d /Volumes/KIOXIA/r2r2r-data ]; then
     echo "[ERROR] SSD 未マウント: /Volumes/KIOXIA/r2r2r-data" >&2; exit 1
@@ -192,6 +199,8 @@ if [ $SO101 = 1 ]; then     # 依頼 283: mechArm の位置合わせ・傾き・
     else so101_how="--execute (フォロワーに送る)"; fi
     echo "[SO101 ] 推論のクライアントは so101/run_so101_policy.py ($LAB_SO101_PY). $so101_how"
     echo "[SO101 ] 1 回で実行するコマ: ${EXEC_STEPS:-10 (既定. 答えの 10 コマ全部)}$([ -n "$EXEC_STEPS" ] && echo ' (--exec-steps)')"
+    if [ $NO_PREFETCH = 1 ]; then echo "[SO101 ] 次の問い合わせ: 答えを使い切ってから (--no-prefetch. 依頼 283 の形)"
+    else echo "[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す (既定. 依頼 285)"; fi
 else
 echo "[FRAME ] 写り方の確かめの基準画像は $RAW の最初のエピソードから (位置合わせと同じ trim2. 依頼 137)"
 if [ ${#TILT_FIX_ARGS[@]} = 0 ]; then
@@ -581,12 +590,13 @@ while :; do
     round=$((round + 1))
     CONFIRM_ARGS=()      # 依頼 177: 1 回目の試行だけ始めの確かめを待つ. 2 回目からは飛ばす
     [ $round -ge 2 ] && CONFIRM_ARGS=(--skip-first-confirm)
-    if [ $SO101 = 1 ]; then     # 依頼 283: SO-101. 試行ごとに始めの確かめ (Enter) を待つ. 記録は <Log>/so101/ に
+    if [ $SO101 = 1 ]; then     # 依頼 283: SO-101. 記録は <Log>/so101/ に. 始めの確かめ (Enter) は 1 回目だけ (依頼 285)
         stage "8. SO-101 の推論 ($round 回目$([ $DRY_RUN = 1 ] && echo '. ドライラン (フォロワーに送らない)'))"
         SO101_ARGS=(--port "$TUNNEL_PORT" --raw-dir "$RAW_RANGE" --log-dir "$LOGDIR" --model "$MODEL_TAG" --step "$((LAB_SO101A_STEPS - 1))")
         [ -n "$EXEC_STEPS" ] && SO101_ARGS+=(--exec-steps "$EXEC_STEPS")
+        [ $NO_PREFETCH = 1 ] && SO101_ARGS+=(--no-prefetch)
         [ $DRY_RUN = 0 ] && SO101_ARGS+=(--execute)
-        "$LAB_SO101_PY" so101/run_so101_policy.py "${SO101_ARGS[@]}"
+        "$LAB_SO101_PY" so101/run_so101_policy.py "${SO101_ARGS[@]}" ${CONFIRM_ARGS[@]+"${CONFIRM_ARGS[@]}"}
         rc=$?
         echo "[CLIENT] run_so101_policy.py が終わった (終了コード $rc. モデル $MODEL_TAG)"
     elif [ $DRY_RUN = 0 ]; then
diff --git a/pi05/openpi_addon/so101_policy.py b/pi05/openpi_addon/so101_policy.py
index 0fdba88..fec24b4 100644
--- a/pi05/openpi_addon/so101_policy.py
+++ b/pi05/openpi_addon/so101_policy.py
@@ -16,9 +16,14 @@ mecharm_policy.py (上カメラ 1 台) と同じ作りで, カメラを 2 台に
     "prompt":                  "Put the red block into the white box"
   }
 返ってくる "actions" は (action_horizon, 6) の絶対値 (関節 5 つは差分から戻したもの・爪は絶対値).
+
+依頼 285: 推論のクライアント (so101/run_so101_policy.py) は画像を JPEG (品質 95) のバイト列のまま送る (1 回の送りを
+小さくして, 答えが返るまでの待ちを縮める). 画像がバイト列なら, ここで PIL で読み戻して RGB の配列にしてから渡す
+(学習のコマ (convert_so101_to_lerobot.py) も品質 95 の jpg を PIL で読み戻したもの). 配列ならこれまでどおり.
 """
 
 import dataclasses
+import io
 
 import einops
 import numpy as np
@@ -40,7 +45,17 @@ def make_so101_example() -> dict:
     }
 
 
+def decode_jpeg(data) -> np.ndarray:
+    """JPEG のバイト列 → uint8 (H, W, 3) RGB (convert_so101_to_lerobot.py が学習のコマを読むのと同じ読み方)."""
+    from PIL import Image
+
+    with Image.open(io.BytesIO(bytes(data))) as im:
+        return np.asarray(im.convert("RGB"))
+
+
 def _parse_image(image) -> np.ndarray:
+    if isinstance(image, (bytes, bytearray, memoryview)):     # 依頼 285: クライアントが JPEG のまま送ったもの
+        return decode_jpeg(image)
     image = np.asarray(image)
     if np.issubdtype(image.dtype, np.floating):
         image = (255 * image).astype(np.uint8)
diff --git a/so101/check_285_replay_demo.py b/so101/check_285_replay_demo.py
new file mode 100644
index 0000000..a983b69
--- /dev/null
+++ b/so101/check_285_replay_demo.py
@@ -0,0 +1,92 @@
+"""録ったお手本を流して so101a の答えと待ちを確かめる (依頼 285. フォロワー・カメラは使わない).
+
+check_283_replay_demo.py と同じ選び方 (場所ごとに 1 本・--stride コマおき) で, 画像の送り方を 2 通り流して比べる:
+  jpeg:  学習の jpg ファイルの中身 (バイト列) をそのまま送る (依頼 285 のクライアントと同じ. サーバーの so101_policy.py が読み戻す)
+  array: jpg を読んだ RGB の配列を送る (依頼 283 の形. 1 回 約 461KB)
+同じ Pod・同じトンネルで続けて流すので, 答えが返るまでの時間の差は送りの大きさの差. 答えとお手本の次の 10 コマの action の差
+(場所ごと・関節ごとの中央値と最大) も両方出す (283 の as_is と同じ比べ方).
+
+    python so101/check_285_replay_demo.py --port 8000 --out-dir so101/check_285
+"""
+
+import argparse
+import json
+import statistics
+import sys
+import time
+from pathlib import Path
+
+import numpy as np
+from PIL import Image
+
+HERE = Path(__file__).resolve().parent
+sys.path.insert(0, str(HERE))
+sys.path.insert(0, str(HERE.parent / "pi05"))
+
+import check_283_replay_demo as C  # noqa: E402
+import run_so101_policy as R  # noqa: E402
+
+
+def lat_stats(lat):
+    rest = lat[1:] if len(lat) > 1 else lat
+    return {"first": round(lat[0], 3), "n": len(rest), "median": round(statistics.median(rest), 3),
+            "max": round(max(rest), 3), "p90": round(float(np.percentile(rest, 90)), 3),
+            "over_0.33s": sum(1 for x in rest if x > R.HORIZON / R.FPS)}
+
+
+def replay(client, raw, eps, stride, mode):
+    out, errs = {}, []
+    lat0, pay0 = len(client.latencies), len(client.payloads)
+    for place, name in eps.items():
+        ep = raw / name
+        z = np.load(ep / "episode.npz")
+        state, actions = z["state"].astype(np.float64), z["actions"].astype(np.float64)
+        err = []
+        for t in range(0, len(state) - R.HORIZON, stride):
+            files = {c: ep / f"frames_{c}" / f"{t:06d}.jpg" for c in R.CAMERAS}
+            if mode == "jpeg":
+                imgs = {c: f.read_bytes() for c, f in files.items()}
+            else:
+                imgs = {c: np.asarray(Image.open(f).convert("RGB")) for c, f in files.items()}
+            a = client.infer(R.make_obs(state[t], imgs["desk"], imgs["wrist"]))
+            err.append(R.to_absolute(a, state[t]) - actions[t:t + R.HORIZON])
+        err = np.array(err)
+        errs.append(err)
+        out[str(place)] = {"episode": name, "frames": len(state), "queries": len(err), **C.stats(err)}
+        print(f"[{mode:5s} {place}] {name}  {len(err)} 回  差の中央値 {out[str(place)]['median']}  最大 {out[str(place)]['max']}",
+              flush=True)
+    lat = client.latencies[lat0:]
+    pay = client.payloads[pay0:]
+    return {"by_place": out, "all": C.stats(np.concatenate(errs)), "latency_s": lat_stats(lat),
+            "payload_bytes": {"median": int(statistics.median(pay)), "min": min(pay), "max": max(pay)}}
+
+
+def main(argv=None):
+    ap = argparse.ArgumentParser()
+    ap.add_argument("--port", type=int, default=8000)
+    ap.add_argument("--data-dir", default=str(C.DATA))
+    ap.add_argument("--stride", type=int, default=10)
+    ap.add_argument("--modes", default="jpeg,array")
+    ap.add_argument("--out-dir", default=str(HERE / "check_285"))
+    args = ap.parse_args(argv)
+    from policy_ws import PolicyClient
+    client = R.Policy(args.port, client=PolicyClient(port=args.port, wait_sec=30.0))
+    raw = Path(args.data_dir) / "raw_episodes"
+    eps = C.pick_episodes(args.data_dir)
+    result = {"data": str(raw), "stride": args.stride, "joints": R.MOTORS}
+    for mode in args.modes.split(","):
+        result[mode] = replay(client, raw, eps, args.stride, mode)
+        r = result[mode]
+        print(f"[{mode:5s}] 差の中央値 {r['all']['median']}  最大 {r['all']['max']}")
+        print(f"[{mode:5s}] 1 回の送り {r['payload_bytes']}  答えが返るまで {r['latency_s']}", flush=True)
+    client.close()
+    out = Path(args.out_dir)
+    out.mkdir(parents=True, exist_ok=True)
+    p = out / f"replay_demo_{time.strftime('%Y%m%d_%H%M%S')}.json"
+    p.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
+    print(f"[OUT   ] {p}")
+    return 0
+
+
+if __name__ == "__main__":
+    sys.exit(main())
diff --git a/so101/check_285_stall.py b/so101/check_285_stall.py
new file mode 100644
index 0000000..75786b4
--- /dev/null
+++ b/so101/check_285_stall.py
@@ -0,0 +1,155 @@
+"""偽のカメラ・ドライランで run_trial を本物のサーバーに通し, 腕が止まる時間を測る (依頼 285. フォロワー・カメラは使わない).
+
+腕が止まる時間 = 1 つの答えのコマを送り終えてから次の答えの 1 コマ目を送るまでの間 - いつものコマの間 (1/30 秒).
+次の 3 つを同じ Pod・同じトンネルで続けて流す:
+  prefetch:    今の run_so101_policy.py (JPEG で送る・先に問い合わせる. 既定)
+  no_prefetch: 今の run_so101_policy.py に --no-prefetch (JPEG で送る・使い切ってから問い合わせる)
+  r283:        依頼 283 の run_so101_policy.py (git の 9639711. 配列で送る・使い切ってから問い合わせる)
+偽のカメラは学習の 1 本目の jpg (320x240) を 640x480 に広げて 1 コマずつ返す (JPEG の大きさを本物に近づけるため).
+記録は本物の Recorder (LeRobot v3.0) で一時フォルダに書いて捨てる (1 コマの記録にかかる時間も入れるため).
+送った時刻は DryArm.send を包んで測り, 答えの切り替えは記録の chunk_id が変わったところ (どの版でも同じ測り方).
+
+    python so101/check_285_stall.py --port 8000 --frames 300 --out-dir so101/check_285
+"""
+
+import argparse
+import importlib.util
+import json
+import shutil
+import statistics
+import subprocess
+import sys
+import tempfile
+import time
+from pathlib import Path
+
+import numpy as np
+from PIL import Image
+
+HERE = Path(__file__).resolve().parent
+sys.path.insert(0, str(HERE))
+sys.path.insert(0, str(HERE.parent / "pi05"))
+
+import run_so101_policy as R  # noqa: E402
+
+R283 = "9639711"        # 依頼 283 の commit
+
+
+class FakeCamera:
+    def __init__(self, files):
+        self.imgs = [np.asarray(Image.open(f).convert("RGB").resize((R.CAM_W, R.CAM_H), Image.Resampling.BILINEAR))
+                     for f in files]
+        self.i = 0
+
+    def read_latest(self):
+        im = self.imgs[self.i % len(self.imgs)]
+        self.i += 1
+        return im
+
+    def disconnect(self):
+        pass
+
+
+class Keys:
+    def __init__(self, frames):
+        self.frames, self.n = frames, 0
+
+    def start(self):
+        pass
+
+    def poll(self):
+        self.n += 1
+        return "q" if self.n > self.frames else None
+
+
+def load_283():
+    src = subprocess.run(["git", "-C", str(HERE.parent), "show", f"{R283}:so101/run_so101_policy.py"],
+                         check=True, capture_output=True, text=True).stdout
+    d = Path(tempfile.mkdtemp())
+    p = d / "run_so101_policy_283.py"
+    p.write_text(src)
+    spec = importlib.util.spec_from_file_location("run_so101_policy_283", p)
+    m = importlib.util.module_from_spec(spec)
+    spec.loader.exec_module(m)
+    return m
+
+
+def one(mod, name, port, frames, files, lo, hi, exec_steps, **kw):
+    cams = {"desk": FakeCamera(files["desk"]), "wrist": FakeCamera(files["wrist"])}
+    arm = mod.DryArm(cameras=cams)
+    sends = []
+    orig = arm.send
+
+    def send(target):
+        sends.append(time.perf_counter())
+        return orig(target)
+
+    arm.send = send
+    rows = []
+    tmp = Path(tempfile.mkdtemp())
+    rec = mod.Recorder(tmp / "rec", f"local/check285_{name}")
+    orig_add = rec.add
+
+    def add(state, desk, wrist, action, sent, mode, chunk_step=-1, chunk_id=-1, t_wall=None):
+        rows.append((mode, chunk_step, chunk_id))
+        return orig_add(state, desk, wrist, action, sent, mode, chunk_step, chunk_id, t_wall)
+
+    rec.add = add
+    policy = mod.Policy(port)
+    t0 = time.perf_counter()
+    try:
+        info = mod.run_trial(arm, policy, rec, lo, hi, exec_steps, Keys(frames), inp=lambda p: "", out=lambda *a: None,
+                             **kw)
+    finally:
+        wall = time.perf_counter() - t0
+        policy.close()
+        shutil.rmtree(tmp, ignore_errors=True)
+    gaps = [sends[i] - sends[i - 1] for i in range(1, len(rows)) if rows[i][2] != rows[i - 1][2]]
+    stalls = [max(0.0, g - 1.0 / R.FPS) for g in gaps]
+    period = [sends[i] - sends[i - 1] for i in range(1, len(rows)) if rows[i][2] == rows[i - 1][2]]
+    lat = policy.latencies[1:]
+    res = {"frames": len(rows), "wall_s": round(wall, 2), "moving_fps": round(len(rows) / wall, 2),
+           "queries": info["queries"], "switches": len(gaps),
+           "stall_s": {"median": round(statistics.median(stalls), 3), "max": round(max(stalls), 3),
+                       "mean": round(statistics.mean(stalls), 3), "total": round(sum(stalls), 2),
+                       "zero_share": round(sum(1 for s in stalls if s < 0.005) / len(stalls), 3)},
+           "frame_period_s": {"median": round(statistics.median(period), 4), "max": round(max(period), 4)},
+           "latency_s": {"median": round(statistics.median(lat), 3), "max": round(max(lat), 3)},
+           "chunk_steps_used": sorted({r[1] for r in rows if r[1] >= 0})}
+    if getattr(policy, "payloads", None):
+        res["payload_bytes"] = int(statistics.median(policy.payloads))
+    if "skips" in info:
+        res["skips"] = {str(k): info["skips"].count(k) for k in sorted(set(info["skips"]))}
+    print(f"[{name:11s}] {json.dumps(res, ensure_ascii=False)}", flush=True)
+    return res
+
+
+def main(argv=None):
+    ap = argparse.ArgumentParser()
+    ap.add_argument("--port", type=int, default=8000)
+    ap.add_argument("--frames", type=int, default=300, help="1 つの形で送るコマ数 (300 = 10 秒)")
+    ap.add_argument("--exec-steps", type=int, default=R.HORIZON)
+    ap.add_argument("--raw-dir", default=str(R.DEFAULT_RAW))
+    ap.add_argument("--modes", default="prefetch,no_prefetch,r283")
+    ap.add_argument("--out-dir", default=str(HERE / "check_285"))
+    args = ap.parse_args(argv)
+    lo, hi, _ = R.load_safe_range(args.raw_dir)
+    ep = sorted(p.parent for p in Path(args.raw_dir).glob("[!.]*/episode.npz"))[0]
+    files = {c: sorted((ep / f"frames_{c}").glob("[!.]*.jpg"))[:args.frames + 50] for c in R.CAMERAS}
+    result = {"episode": ep.name, "frames": args.frames, "exec_steps": args.exec_steps}
+    for mode in args.modes.split(","):
+        if mode == "r283":
+            result[mode] = one(load_283(), mode, args.port, args.frames, files, lo, hi, args.exec_steps)
+        else:
+            result[mode] = one(R, mode, args.port, args.frames, files, lo, hi, args.exec_steps,
+                               prefetch=(mode == "prefetch"))
+    out = Path(args.out_dir)
+    out.mkdir(parents=True, exist_ok=True)
+    p = out / f"stall_{time.strftime('%Y%m%d_%H%M%S')}_exec{args.exec_steps}.json"
+    p.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
+    print(f"[OUT   ] {p}")
+    return 0
+
+
+if __name__ == "__main__":
+    sys.exit(main())
diff --git a/so101/run_so101_policy.py b/so101/run_so101_policy.py
index 319b949..2ee3fe7 100644
--- a/so101/run_so101_policy.py
+++ b/so101/run_so101_policy.py
@@ -7,15 +7,22 @@ mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節
     python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/<Log>              ドライラン (フォロワーに送らない)
     python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/<Log> --execute    フォロワーに送る
     python so101/run_so101_policy.py --warmup                                                  空打ち (lab_start.sh の 5b)
-    --exec-steps N (1〜10): 答えの 10 コマのうち先頭 N コマを実行して問い合わせ直す (既定 10 = 全部. 0.33 秒)
+    --exec-steps N (1〜10): 答えの 10 コマのうち先頭 N コマ (0〜N-1 番目) までを使う (既定 10 = 全部. 0.33 秒)
+    --no-prefetch: 答えを実行し終えてから次を問い合わせる (依頼 283 の形. 付けなければ先に問い合わせる. 依頼 285)
+    --skip-first-confirm: 始めの確かめ (Enter) を待たない (lab_start.sh が 2 回目の試行から付ける. mechArm と同じ. 依頼 285)
 
 1 回の流れ:
   1. ブロックの場所の番号 (1〜5) を聞く
   2. カメラ 2 台をお手本と同じ設定 (camera_lock_259_desk.json・camera_lock_259_wrist.json・640x480・30fps・MJPG) で開く.
      --execute ならフォロワー・リーダーに lerobot_safe_259.py の入口 (A: 力を入れる前に目標を今の位置に /
      B: 前に送った目標から 1 コマ 関節 10°・爪 20 まで / 力を抜く前に休みの姿勢) を通してつなぐ
-  3. 1 回目の答えを出して見せ, Enter で確かめる (確かめはこの 1 回だけ)
-  4. 30fps で 1 コマずつ送る. 答えのコマを使い切ったら (--exec-steps) 次を問い合わせる (問い合わせの間は送らない)
+  3. 1 回目の答えを出して見せ, Enter で確かめる (確かめはこの 1 回だけ. --skip-first-confirm なら待たない)
+  4. 30fps で 1 コマずつ送る. 次の問い合わせは, 今の答えの残りが r コマになったコマの観測で先に出しておく (依頼 285).
+       r は答えが返るまでの時間 (直近 5 回の中央値) をコマに直したもの. ただし使える N コマ (--exec-steps) の半分まで.
+       次の答えは r 番目から使う (問い合わせを出したコマから r コマは今の答えで動いたので, 答えの 0〜r-1 番目は
+       もう過ぎた時刻の目標. 先頭から使うと r コマ分戻る). 今の答えを使い切っても次が返っていなければ待つ (その間は送らない).
+       飛びはこれまでどおり入口の B (1 コマ 関節 10°・爪 20) で抑える. 新しい停止の条件は足さない.
+       --no-prefetch なら依頼 283 の形 (答えのコマを使い切ってから問い合わせ, 次の答えは 0 番目から)
        スペース: 一時停止 (その場で止める. 関節 5 つの目標を今の位置に. 爪は前の目標のまま (つかんだ物を落とさない))
        一時停止中に t: リーダーでの手直し (テレオペ) に切り替える. もう一度 t で推論に戻る
        一時停止中にスペース: 推論に戻る / q: 終わる
@@ -23,13 +30,14 @@ mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節
   5. 結果 (y=成功 / n=失敗 / Enter=記録しない) を聞き, 記録を書いて閉じる (閉じるときは入口が休みの姿勢を確かめる)
 
 送る形 (pi05/openpi_addon/so101_policy.py の keys):
-  observation/desk_image・observation/wrist_image: 640x480 を 320x240 に BOX で縮め, JPEG 品質 95 で書いて読み直した RGB
-  (お手本 export_so101_raw_episodes.py と同じ作り方) / observation/state: 関節 6 つ (float32) / prompt: PROMPT
+  observation/desk_image・observation/wrist_image: 640x480 を 320x240 に BOX で縮め, JPEG 品質 95 で書いたバイト列
+  (お手本 export_so101_raw_episodes.py と同じ作り方. 依頼 285 から読み直さずにバイト列のまま送り, サーバーの
+  so101_policy.py が PIL で読み戻す = 学習のコマと同じ画像) / observation/state: 関節 6 つ (float32) / prompt: PROMPT
 受ける形: actions (10, 6). サーバーの設定 (add_so101_config.py) は出口で AbsoluteActions (関節 5 つに state を足す) を
   通すので, 返ってくる値は絶対値 (依頼 283 の確かめ: お手本を流して比べた. check_283_replay_demo.py).
   SERVER_RETURNS_ABSOLUTE を False にすると関節 5 つに今の角度を足す (爪は絶対値のまま)
-安全範囲: 学習の 50 本 (--raw-dir の episode.npz の state と actions) の関節ごとの最小〜最大 ±10 (爪も 0〜100 の値で ±10).
-  外へ出る目標は端で切って送る (止めない)
+安全範囲: 学習の 50 本 (--raw-dir の episode.npz の state と actions) の関節ごとの最小〜最大 ±10. 爪はさらに 0〜100 で切る
+  (依頼 285. 下の端が -10 にならないように). 外へ出る目標は端で切って送る (止めない)
 
 記録 (1 回ごと):
   LeRobot v3.0 (お手本と同じ形・同じ道具で開ける): observation.state (実測)・action (送ろうとした目標. 安全範囲で切ったあと・
@@ -38,7 +46,8 @@ mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節
     0〜9. model 以外は -1)・ptm.chunk_id (何回目の問い合わせの答えか. model 以外は -1)・ptm.t_wall (UNIX 秒)
   LeRobot の入口は KIOXIA に記録を作らせないので, ~/so101_runs/<Log>/<試行>/ に書いてから
   <--log-dir>/so101/<試行>/ へ写す (Hugging Face には送らない)
-  <--log-dir>/so101_trials.csv に 1 行: 試行・だれが動かしたか (AI / AI+人の手直し)・場所・モデル・step・--exec-steps・結果 など
+  <--log-dir>/so101_trials.csv に 1 行: 試行・だれが動かしたか (AI / AI+人の手直し)・場所・モデル・step・--exec-steps・
+  先に問い合わせたか・結果・答えの切り替えで腕が止まった時間 など
 """
 
 import argparse
@@ -47,9 +56,11 @@ import io
 import json
 import os
 import shutil
+import math
 import statistics
 import sys
 import time
+from concurrent.futures import ThreadPoolExecutor
 from datetime import datetime
 from pathlib import Path
 
@@ -69,13 +80,16 @@ CAM_W, CAM_H = 640, 480
 OUT_W, OUT_H = 320, 240
 JPEG_Q = 95
 RANGE_MARGIN = 10.0
+GRIP_MIN, GRIP_MAX = 0.0, 100.0         # 爪の安全範囲の外枠 (依頼 285)
+LEAD_WINDOW = 5                         # 先に問い合わせるコマ数を決める, 答えが返るまでの時間の直近の回数
 SERVER_RETURNS_ABSOLUTE = True
 DEFAULT_RAW = Path("/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes")
 LOCAL_RUNS = Path.home() / "so101_runs"
 TRIALS_CSV = "so101_trials.csv"
 TRIAL_COLUMNS = ["trial", "started_at", "operator", "place", "model", "step", "exec_steps", "execute", "result",
                  "frames", "frames_model", "frames_correct", "frames_pause", "queries", "latency_median_s",
-                 "latency_max_s", "clipped_frames", "record_dir"]
+                 "latency_max_s", "clipped_frames", "record_dir", "prefetch", "payload_bytes", "stall_median_s",
+                 "stall_max_s"]
 MODEL, CORRECT, PAUSE = 0, 1, 2
 MODE_NAMES = {MODEL: "model", CORRECT: "correct", PAUSE: "pause"}
 CAMERAS = ("desk", "wrist")
@@ -83,26 +97,44 @@ CAMERAS = ("desk", "wrist")
 
 # ---- 画像・観測・答え (アームなしで確かめられる部分) ---------------------------------------------
 
-def prep_image(rgb):
-    """カメラの RGB (480, 640, 3) をお手本と同じ作り方で 320x240 にする (BOX で縮め, JPEG 品質 95 で書いて読み直す)."""
+def encode_jpeg(rgb):
+    """カメラの RGB (480, 640, 3) をお手本と同じ作り方で 320x240 の JPEG のバイト列にする (BOX で縮め, 品質 95.
+    export_so101_raw_episodes.py が学習のコマを書くのと同じ). 依頼 285 からこのバイト列のままサーバーへ送る."""
     img = Image.fromarray(np.asarray(rgb, dtype=np.uint8)).resize((OUT_W, OUT_H), Image.Resampling.BOX)
     buf = io.BytesIO()
     img.save(buf, format="JPEG", quality=JPEG_Q)
-    buf.seek(0)
-    with Image.open(buf) as im:
+    return buf.getvalue()
+
+
+def decode_jpeg(data):
+    """JPEG のバイト列 → RGB の配列 (サーバーの so101_policy.decode_jpeg・convert_so101_to_lerobot.py と同じ読み方)."""
+    with Image.open(io.BytesIO(bytes(data))) as im:
         return np.asarray(im.convert("RGB"))
 
 
+def prep_image(rgb):
+    """サーバーが受け取る画像 (320x240 の JPEG を読み戻した RGB). 確かめ用."""
+    return decode_jpeg(encode_jpeg(rgb))
+
+
 def make_obs(state, desk, wrist, prompt=PROMPT):
-    """サーバーへ送る形 (so101_policy.py の keys). desk・wrist は 320x240 にしたもの."""
+    """サーバーへ送る形 (so101_policy.py の keys). desk・wrist は 320x240 の JPEG のバイト列 (encode_jpeg.
+    学習の jpg ファイルの中身でもよい). 配列 (320x240 の RGB) も受ける (サーバーはどちらも読める)."""
     state = np.asarray(state, dtype=np.float32)
     if state.shape != (6,):
         raise ValueError(f"state は関節 6 つ: {state.shape}")
+    ims = {}
     for name, im in (("desk", desk), ("wrist", wrist)):
-        if np.asarray(im).shape != (OUT_H, OUT_W, 3):
-            raise ValueError(f"{name} の画像は ({OUT_H}, {OUT_W}, 3): {np.asarray(im).shape}")
-    return {"observation/desk_image": np.asarray(desk, dtype=np.uint8),
-            "observation/wrist_image": np.asarray(wrist, dtype=np.uint8),
+        if isinstance(im, (bytes, bytearray)):
+            with Image.open(io.BytesIO(bytes(im))) as pim:
+                if pim.format != "JPEG" or pim.size != (OUT_W, OUT_H):
+                    raise ValueError(f"{name} の画像は {OUT_W}x{OUT_H} の JPEG: {pim.format} {pim.size}")
+            ims[name] = bytes(im)
+        else:
+            if np.asarray(im).shape != (OUT_H, OUT_W, 3):
+                raise ValueError(f"{name} の画像は ({OUT_H}, {OUT_W}, 3): {np.asarray(im).shape}")
+            ims[name] = np.asarray(im, dtype=np.uint8)
+    return {"observation/desk_image": ims["desk"], "observation/wrist_image": ims["wrist"],
             "observation/state": state, "prompt": prompt}
 
 
@@ -121,7 +153,8 @@ def to_absolute(actions, state, already_absolute=SERVER_RETURNS_ABSOLUTE):
 
 
 def load_safe_range(raw_dir, margin=RANGE_MARGIN):
-    """学習の本 (raw_dir/*/episode.npz の state と actions) の関節ごとの最小・最大に ±margin. → (lo, hi, 本数)"""
+    """学習の本 (raw_dir/*/episode.npz の state と actions) の関節ごとの最小・最大に ±margin. 爪はさらに 0〜100 で切る
+    (依頼 285). → (lo, hi, 本数)"""
     eps = sorted(p for p in Path(raw_dir).glob("[!.]*/episode.npz"))
     if not eps:
         raise FileNotFoundError(f"安全範囲を作る学習データがない: {raw_dir}")
@@ -133,7 +166,9 @@ def load_safe_range(raw_dir, margin=RANGE_MARGIN):
             if v.ndim != 2 or v.shape[1] != 6:
                 raise ValueError(f"{p} の {k} が (N, 6) ではない: {v.shape}")
             lo, hi = np.minimum(lo, v.min(0)), np.maximum(hi, v.max(0))
-    return lo - margin, hi + margin, len(eps)
+    lo, hi = lo - margin, hi + margin
+    lo[5], hi[5] = max(lo[5], GRIP_MIN), min(hi[5], GRIP_MAX)
+    return lo, hi, len(eps)
 
 
 def clip_to_range(target, lo, hi):
@@ -143,17 +178,31 @@ def clip_to_range(target, lo, hi):
     return c, np.abs(c - t) > 1e-9
 
 
-def plan_chunk(actions_abs, exec_steps, lo, hi):
-    """答え (絶対値) の先頭 exec_steps コマを安全範囲で切った [(答えの何番目, 目標, 切ったか)]"""
+def plan_chunk(actions_abs, exec_steps, lo, hi, skip=0):
+    """答え (絶対値) の skip〜exec_steps-1 番目を安全範囲で切った [(答えの何番目, 目標, 切ったか)].
+    skip: 先に問い合わせたとき, 問い合わせを出してから前の答えで動いたコマ数 (その分の目標はもう過ぎている. 依頼 285)"""
     if not 1 <= exec_steps <= HORIZON:
         raise ValueError(f"--exec-steps は 1〜{HORIZON}: {exec_steps}")
+    if not 0 <= skip < exec_steps:
+        raise ValueError(f"飛ばすコマ {skip} は 0〜{exec_steps - 1}")
     out = []
-    for k in range(min(exec_steps, len(actions_abs))):
+    for k in range(skip, min(exec_steps, len(actions_abs))):
         t, cut = clip_to_range(actions_abs[k], lo, hi)
         out.append((k, t, bool(cut.any())))
     return out
 
 
+def prefetch_lead(latencies, exec_steps, fps=FPS, window=LEAD_WINDOW):
+    """先に問い合わせるコマ数 r (依頼 285): 答えが返るまでの時間 (直近 window 回の中央値) をコマに直して切り上げたもの.
+    ただし exec_steps の半分まで (次の答えは r 番目から使うので, 使えるのは exec_steps - r コマ. これが r より少ないと,
+    次の問い合わせを答えの始めに出しても間に合わず, 毎回の待ちが長くなる). exec_steps 1 なら 0 (先に出せない)."""
+    cap = exec_steps // 2
+    if not latencies:
+        return cap
+    lead = math.ceil(statistics.median(latencies[-window:]) * fps)
+    return max(1, min(lead, cap)) if cap else 0
+
+
 def next_mode(mode, key):
     """キーで次の状態. → (次の状態, 終わるか). スペース: 推論 ⇄ 一時停止 (手直し中は一時停止へ) /
     t: 一時停止 → 手直し, 手直し → 推論 (推論中の t は何もしない) / q: 終わる"""
@@ -186,6 +235,11 @@ def latency_stats(lat):
     return float(statistics.median(lat)), float(max(lat))
 
 
+def stall_of(gaps, fps=FPS):
+    """答えを切り替えたときの送りの間 (秒) → 腕が止まった時間 (いつものコマの間 1/fps を引いたもの. 0 より小さければ 0)"""
+    return [max(0.0, g - 1.0 / fps) for g in gaps]
+
+
 # ---- 記録 (LeRobot v3.0) ------------------------------------------------------------------------
 
 def dataset_features():
@@ -268,8 +322,14 @@ class Policy:
             client = PolicyClient(port=port, wait_sec=30.0)
         self.client = client
         self.latencies = []
+        self.payloads = []          # 1 回に送ったバイト数 (msgpack にしたもの. 依頼 285)
 
     def infer(self, obs):
+        try:
+            from policy_ws import packb
+            self.payloads.append(len(packb(obs)))
+        except ImportError:         # テストの偽のサーバー
+            pass
         t0 = time.perf_counter()
         out = self.client.infer(obs)
         self.latencies.append(time.perf_counter() - t0)
@@ -429,67 +489,110 @@ def fmt(v):
     return " ".join(f"{x:+7.1f}" for x in v)
 
 
+def ask_model(policy, state, desk, wrist):
+    """観測 (カメラの 640x480 の RGB) を JPEG にして問い合わせ, 答えを絶対値にする (裏の糸でも呼ぶ)."""
+    return to_absolute(policy.infer(make_obs(state, encode_jpeg(desk), encode_jpeg(wrist))), state)
+
+
 def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=time.perf_counter, sleep=time.sleep,
-              out=print):
-    """試行 1 回. 終わったときの情報を返す (記録の close・結果を聞くのは呼ぶ側)."""
-    info = {"queries": 0, "clipped_frames": 0, "frames": 0}
+              out=print, prefetch=True, skip_confirm=False):
+    """試行 1 回. 終わったときの情報を返す (記録の close・結果を聞くのは呼ぶ側).
+    prefetch: 今の答えの残りが r コマ (prefetch_lead) になったら, そのコマの観測で次を裏で問い合わせておく (依頼 285).
+    skip_confirm: 始めの確かめ (Enter) を待たない (2 回目の試行から. 依頼 285)"""
+    info = {"queries": 0, "clipped_frames": 0, "frames": 0, "gaps": [], "waits": [], "skips": []}
     state, desk, wrist = arm.observe()
-    a = to_absolute(policy.infer(make_obs(state, prep_image(desk), prep_image(wrist))), state)
+    a = ask_model(policy, state, desk, wrist)
     info["queries"] += 1
     plan = plan_chunk(a, exec_steps, lo, hi)
     out(f"[FIRST ] 今の角度       {fmt(state)}")
     out(f"[FIRST ] 最初の目標     {fmt(plan[0][1])}  (1 コマ 関節 10°・爪 20 までで寄せる)")
     out(f"[FIRST ] 答えの最後の目標 {fmt(a[-1])}  (かかった {policy.latencies[-1]:.2f} 秒)")
-    inp("Enter で始める (Ctrl-C でやめる) > ")
+    if skip_confirm:
+        out("[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)")
+    else:
+        inp("Enter で始める (Ctrl-C でやめる) > ")
     getattr(keys, "start", lambda: None)()        # ここからキーを 1 つずつ読む
     mode, chunk_id, queue = MODEL, 0, list(plan)
+    pending = None              # 先に出した問い合わせ (future, 答えの何番目から使うか)
+    last_model_t = None         # 推論のコマを最後に送った時刻 (答えの切り替えの間を測る. 推論が続いている間だけ)
     last_target = np.asarray(arm.last_sent, dtype=np.float64).copy()
-    out("[RUN   ] 動かしています. スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)")
-    nxt = clock()
-    while True:
-        key = keys.poll()
-        if key:
-            new, quit_ = next_mode(mode, key)
-            if quit_:
-                out("[RUN   ] q で終わります")
-                break
-            if new != mode:
-                out(f"[MODE  ] {MODE_NAMES[mode]} → {MODE_NAMES[new]}")
-                if new == PAUSE:
-                    p_state, _, _ = arm.observe()
-                    last_target = pause_target(p_state, last_target)
-                queue = []           # 推論に戻るときは今の観測で問い合わせ直す
-                mode = new
-        state, desk, wrist = arm.observe()      # 1 回目の答えは上で取った (Enter を待つ前). 記録はこのコマの観測
-        chunk_step = -1
-        if mode == MODEL:
-            if not queue:
-                a = to_absolute(policy.infer(make_obs(state, prep_image(desk), prep_image(wrist))), state)
-                info["queries"] += 1
-                chunk_id += 1
-                queue = plan_chunk(a, exec_steps, lo, hi)
-                nxt = clock()        # 問い合わせの間は送っていない. ここから 30fps を数え直す
-            chunk_step, target, cut = queue.pop(0)
-            info["clipped_frames"] += int(cut)
-            last_target = target
-            sent = arm.send(target)
-        elif mode == CORRECT:
-            lt = arm.leader_target()
-            if lt is not None:
-                last_target = lt
-                sent = arm.send(lt)
+    out(f"[RUN   ] 動かしています ({'先に問い合わせる' if prefetch else '--no-prefetch: 使い切ってから問い合わせる'}). "
+        "スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)")
+    pool = ThreadPoolExecutor(max_workers=1) if prefetch else None
+    try:
+        nxt = clock()
+        while True:
+            key = keys.poll()
+            if key:
+                new, quit_ = next_mode(mode, key)
+                if quit_:
+                    out("[RUN   ] q で終わります")
+                    break
+                if new != mode:
+                    out(f"[MODE  ] {MODE_NAMES[mode]} → {MODE_NAMES[new]}")
+                    if new == PAUSE:
+                        p_state, _, _ = arm.observe()
+                        last_target = pause_target(p_state, last_target)
+                    queue = []           # 推論に戻るときは今の観測で問い合わせ直す
+                    pending = None       # 先に出した問い合わせの答えは使わない (裏で終わるのを待つだけ)
+                    last_model_t = None
+                    mode = new
+            state, desk, wrist = arm.observe()      # 1 回目の答えは上で取った (Enter を待つ前). 記録はこのコマの観測
+            chunk_step, new_chunk = -1, False
+            if mode == MODEL:
+                if not queue:
+                    new_chunk = True
+                    t0 = clock()
+                    if pending is not None:
+                        fut, skip = pending
+                        pending = None
+                        a = fut.result()             # まだ返っていなければ待つ (その間は送らない)
+                    elif pool is not None:           # 始め・一時停止から戻ったとき (裏の糸で前の問い合わせが終わるのを待ってから)
+                        skip = 0
+                        a = pool.submit(ask_model, policy, state, desk, wrist).result()
+                    else:
+                        skip = 0
+                        a = ask_model(policy, state, desk, wrist)
+                    waited = clock() - t0
+                    info["waits"].append(waited)
+                    info["skips"].append(skip)
+                    info["queries"] += 1
+                    chunk_id += 1
+                    queue = plan_chunk(a, exec_steps, lo, hi, skip=skip)
+                    if waited > 0.5 / FPS:
+                        nxt = clock()        # 待っていた間は送っていない. ここから 30fps を数え直す
+                chunk_step, target, cut = queue.pop(0)
+                info["clipped_frames"] += int(cut)
+                last_target = target
+                sent = arm.send(target)
+                t_sent = clock()
+                if new_chunk and last_model_t is not None:
+                    info["gaps"].append(t_sent - last_model_t)
+                last_model_t = t_sent
+                if pool is not None and pending is None:
+                    left = 1 + len(queue)            # このコマから今の答えで動くコマ数 (= 次の答えで飛ばす数)
+                    if left <= prefetch_lead(policy.latencies, exec_steps):
+                        pending = (pool.submit(ask_model, policy, state, desk, wrist), left)
+            elif mode == CORRECT:
+                lt = arm.leader_target()
+                if lt is not None:
+                    last_target = lt
+                    sent = arm.send(lt)
+                else:
+                    sent = np.asarray(arm.last_sent, dtype=np.float64)
             else:
-                sent = np.asarray(arm.last_sent, dtype=np.float64)
-        else:
-            sent = arm.send(last_target)
-        recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id)
-        info["frames"] += 1
-        nxt += 1.0 / FPS
-        dt = nxt - clock()
-        if dt > 0:
-            sleep(dt)
-        else:
-            nxt = clock()
+                sent = arm.send(last_target)
+            recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id)
+            info["frames"] += 1
+            nxt += 1.0 / FPS
+            dt = nxt - clock()
+            if dt > 0:
+                sleep(dt)
+            else:
+                nxt = clock()
+    finally:
+        if pool is not None:
+            pool.shutdown(wait=False, cancel_futures=True)
     return info
 
 
@@ -499,7 +602,8 @@ def run(args):
     print(f"[RANGE ] 安全範囲 (学習の {n_eps} 本の幅 ±{RANGE_MARGIN:g}) " +
           "  ".join(f"{m} {a:.1f}〜{b:.1f}" for m, a, b in zip(MOTORS, lo, hi)))
     print(f"[MODE  ] {'--execute: フォロワーに送る' if args.execute else 'ドライラン: フォロワーに送らない (カメラだけ開く)'}"
-          f"  1 回で実行するコマ {args.exec_steps} / {HORIZON}")
+          f"  1 回で実行するコマ {args.exec_steps} / {HORIZON}"
+          f"  {'--no-prefetch: 使い切ってから問い合わせる' if args.no_prefetch else '先に問い合わせる'}")
     log_dir = Path(args.log_dir)
     if not log_dir.is_dir():
         sys.exit(f"[ERROR] 記録の置き場所がない: {log_dir}")
@@ -515,7 +619,8 @@ def run(args):
     try:
         arm = LiveArm() if args.execute else DryArm()
         with KeyReader() as keys:
-            info = run_trial(arm, policy, recorder, lo, hi, args.exec_steps, keys)
+            info = run_trial(arm, policy, recorder, lo, hi, args.exec_steps, keys, prefetch=not args.no_prefetch,
+                             skip_confirm=args.skip_first_confirm)
     except KeyboardInterrupt:
         err = "Ctrl-C"
         print("\n[STOP  ] Ctrl-C で止めました")
@@ -537,21 +642,33 @@ def run(args):
     dst.parent.mkdir(parents=True, exist_ok=True)
     n_files = copy_record(local, dst)
     med, mx = latency_stats(policy.latencies)
+    stalls = stall_of(info.get("gaps", []))
+    s_med, s_mx = latency_stats(stalls)
+    payload = int(statistics.median(policy.payloads)) if policy.payloads else ""
     modes = recorder.modes
     row = {"trial": trial, "started_at": stamp, "operator": operator_of(modes), "place": place, "model": args.model,
            "step": args.step, "exec_steps": args.exec_steps, "execute": int(args.execute), "result": result,
            "frames": len(modes), "frames_model": modes.count(MODEL), "frames_correct": modes.count(CORRECT),
            "frames_pause": modes.count(PAUSE), "queries": info.get("queries", 0),
            "latency_median_s": "" if med is None else round(med, 3), "latency_max_s": "" if mx is None else round(mx, 3),
-           "clipped_frames": info.get("clipped_frames", 0), "record_dir": str(dst)}
+           "clipped_frames": info.get("clipped_frames", 0), "record_dir": str(dst), "prefetch": int(not args.no_prefetch),
+           "payload_bytes": payload, "stall_median_s": "" if s_med is None else round(s_med, 3),
+           "stall_max_s": "" if s_mx is None else round(s_mx, 3)}
     append_trial(log_dir / TRIALS_CSV, row)
     (dst / "trial.json").write_text(json.dumps({**row, "latencies_s": [round(x, 4) for x in policy.latencies],
+                                                 "payloads_bytes": policy.payloads,
+                                                 "switch_gaps_s": [round(x, 4) for x in info.get("gaps", [])],
+                                                 "waits_s": [round(x, 4) for x in info.get("waits", [])],
+                                                 "skips": info.get("skips", []),
                                                  "safe_range": {"lo": lo.tolist(), "hi": hi.tolist()},
                                                  "stopped_by": err}, ensure_ascii=False, indent=2) + "\n")
     print(f"[RECORD] {dst} ({n_files} ファイル) / 1 行 → {log_dir / TRIALS_CSV}")
     if med is not None:
         print(f"[LATENCY] 答えが返るまで 中央値 {med:.3f} 秒・最長 {mx:.3f} 秒 ({len(policy.latencies)} 回. "
-              f"1 回で実行する {args.exec_steps / FPS:.2f} 秒より{'長い' if med > args.exec_steps / FPS else '短い'})")
+              f"1 回で実行する {args.exec_steps / FPS:.2f} 秒より{'長い' if med > args.exec_steps / FPS else '短い'}. "
+              f"1 回の送り {payload} バイト)")
+    if s_med is not None:
+        print(f"[STALL ] 答えの切り替えで腕が止まった時間 中央値 {s_med:.3f} 秒・最長 {s_mx:.3f} 秒 ({len(stalls)} 回)")
     return 0
 
 
@@ -561,7 +678,7 @@ def warmup(args):
     try:
         ep = sorted(p.parent for p in Path(args.raw_dir).glob("[!.]*/episode.npz"))[0]
         state = np.load(ep / "episode.npz")["state"][0]
-        imgs = {c: np.asarray(Image.open(ep / f"frames_{c}" / "000000.jpg").convert("RGB")) for c in CAMERAS}
+        imgs = {c: (ep / f"frames_{c}" / "000000.jpg").read_bytes() for c in CAMERAS}   # 学習の jpg をそのまま (依頼 285)
         from policy_ws import PolicyClient
         c = PolicyClient(port=args.port, wait_sec=30.0)
         a = np.asarray(c.infer(make_obs(state, imgs["desk"], imgs["wrist"]))["actions"])
@@ -582,7 +699,9 @@ def main(argv=None):
     ap.add_argument("--log-dir", help="記録の置き場所 (KIOXIA の lab/<Log>)")
     ap.add_argument("--model", default="so101a", help="記録に残すモデルの名前")
     ap.add_argument("--step", default="2999", help="記録に残す checkpoint の step")
-    ap.add_argument("--exec-steps", type=int, default=HORIZON, help="答えの先頭 N コマを実行して問い合わせ直す (1〜10)")
+    ap.add_argument("--exec-steps", type=int, default=HORIZON, help="答えの先頭 N コマ (0〜N-1 番目) までを使う (1〜10)")
+    ap.add_argument("--no-prefetch", action="store_true", help="答えを実行し終えてから次を問い合わせる (依頼 283 の形)")
+    ap.add_argument("--skip-first-confirm", action="store_true", help="始めの確かめ (Enter) を待たない (2 回目の試行から)")
     ap.add_argument("--execute", action="store_true", help="フォロワーに送る (付けなければドライラン)")
     ap.add_argument("--warmup", action="store_true", help="空打ちだけして終わる (lab_start.sh の 5b)")
     args = ap.parse_args(argv)
diff --git a/so101/test_run_so101_policy.py b/so101/test_run_so101_policy.py
index ce94630..39d473f 100644
--- a/so101/test_run_so101_policy.py
+++ b/so101/test_run_so101_policy.py
@@ -1,4 +1,6 @@
-"""run_so101_policy.py のテスト (依頼 283). アーム・カメラ・サーバーにはつながない.
+"""run_so101_policy.py のテスト (依頼 283・285). アーム・カメラ・サーバーにはつながない.
+依頼 285: JPEG の行き帰り (クライアント → サーバーの so101_policy.py) で学習と同じ画像になる, 先に問い合わせる順番,
+--no-prefetch, 爪の安全範囲 0〜100, 2 回目から始めの Enter を飛ばす.
 
 使い方 (conda の lerobot 環境で):
     python -m unittest so101/test_run_so101_policy.py -v
@@ -10,6 +12,7 @@ import json
 import sys
 import tempfile
 import unittest
+import unittest.mock
 from pathlib import Path
 
 import numpy as np
@@ -17,8 +20,12 @@ from PIL import Image
 
 HERE = Path(__file__).resolve().parent
 sys.path.insert(0, str(HERE))
+sys.path.insert(0, str(HERE.parent / "pi05"))
 
 import run_so101_policy as R  # noqa: E402
+from test_so101_train import import_so101_policy  # noqa: E402  (openpi を入れずにサーバー側の so101_policy.py を読む)
+
+TRAIN_RAW = R.DEFAULT_RAW
 
 LO = np.array([-50, -100, -100, -100, -100, 0], dtype=np.float64)
 HI = np.array([50, 100, 100, 100, 100, 60], dtype=np.float64)
@@ -92,11 +99,12 @@ class FakeClock:
         self.t += dt
 
 
-def trial(arm, pol, rec, exec_steps, keys, lo=LO, hi=HI):
+def trial(arm, pol, rec, exec_steps, keys, lo=LO, hi=HI, prefetch=False, skip_confirm=False):
+    """既定は依頼 283 の形 (--no-prefetch). 先に問い合わせる形は prefetch=True"""
     clk = FakeClock()
     asked = []
     info = R.run_trial(arm, pol, rec, lo, hi, exec_steps, keys, inp=lambda p: asked.append(p) or "",
-                       clock=clk, sleep=clk.sleep, out=lambda *a: None)
+                       clock=clk, sleep=clk.sleep, out=lambda *a: None, prefetch=prefetch, skip_confirm=skip_confirm)
     return info, asked
 
 
@@ -113,6 +121,67 @@ class TestImageAndObs(unittest.TestCase):
             want = np.asarray(Image.open(p).convert("RGB"))
         np.testing.assert_array_equal(got, want)
 
+    def test_jpeg_bytes_same_as_export_file(self):
+        """クライアントが送るバイト列 = export_so101_raw_episodes.py が書く jpg ファイルの中身 (依頼 285)"""
+        rng = np.random.default_rng(1)
+        rgb = rng.integers(0, 256, size=(480, 640, 3), dtype=np.uint8)
+        with tempfile.TemporaryDirectory() as d:
+            p = Path(d) / "000000.jpg"
+            Image.fromarray(rgb).resize((320, 240), Image.Resampling.BOX).save(p, quality=95)
+            self.assertEqual(R.encode_jpeg(rgb), p.read_bytes())
+
+    def test_server_decodes_same_as_training(self):
+        """サーバーの so101_policy.py がバイト列を読み戻した画像 = 学習のコマ (convert_so101_to_lerobot.py が jpg を
+        PIL で読んだもの). So101Inputs を通しても同じ (依頼 285)"""
+        m, mt = import_so101_policy()
+        rng = np.random.default_rng(2)
+        rgb = rng.integers(0, 256, size=(480, 640, 3), dtype=np.uint8)
+        with tempfile.TemporaryDirectory() as d:
+            p = Path(d) / "000000.jpg"
+            Image.fromarray(rgb).resize((320, 240), Image.Resampling.BOX).save(p, quality=95)
+            train = np.asarray(Image.open(p).convert("RGB"))        # convert_so101_to_lerobot.py の読み方
+        sent = R.encode_jpeg(rgb)
+        np.testing.assert_array_equal(m.decode_jpeg(sent), train)
+        np.testing.assert_array_equal(R.prep_image(rgb), train)
+        obs = R.make_obs(np.arange(6), sent, R.encode_jpeg(rgb[::-1].copy()))
+        self.assertIsInstance(obs["observation/desk_image"], bytes)
+        out = m.So101Inputs(model_type=mt.PI05)(obs)
+        np.testing.assert_array_equal(out["image"]["base_0_rgb"], train)
+        self.assertEqual(out["image"]["left_wrist_0_rgb"].shape, (240, 320, 3))
+        self.assertEqual(out["image"]["right_wrist_0_rgb"].shape, (240, 320, 3))
+        self.assertFalse(out["image"]["right_wrist_0_rgb"].any())
+        # 配列で送ってもこれまでどおり (そのまま渡す)
+        arr = m.So101Inputs(model_type=mt.PI05)(R.make_obs(np.arange(6), train, train))
+        np.testing.assert_array_equal(arr["image"]["base_0_rgb"], train)
+
+    def test_real_training_jpg_roundtrip(self):
+        """学習の jpg そのもの (空打ち・お手本を流すときに送る) をサーバーが読むと学習のコマと同じ"""
+        if not TRAIN_RAW.is_dir():
+            self.skipTest(f"学習データがない: {TRAIN_RAW}")
+        m, _ = import_so101_policy()
+        ep = sorted(p.parent for p in TRAIN_RAW.glob("[!.]*/episode.npz"))[0]
+        for c in R.CAMERAS:
+            f = ep / f"frames_{c}" / "000100.jpg"
+            np.testing.assert_array_equal(m.decode_jpeg(f.read_bytes()), np.asarray(Image.open(f).convert("RGB")))
+
+    def test_payload_smaller(self):
+        from policy_ws import packb
+        rng = np.random.default_rng(3)
+        rgb = np.clip(rng.normal(128, 20, size=(480, 640, 3)), 0, 255).astype(np.uint8)
+        jpg = R.make_obs(np.arange(6), R.encode_jpeg(rgb), R.encode_jpeg(rgb))
+        raw = R.make_obs(np.arange(6), R.prep_image(rgb), R.prep_image(rgb))
+        self.assertGreater(len(packb(raw)), 460000)                 # 依頼 283 の形 (約 461KB)
+        self.assertLess(len(packb(jpg)), len(packb(raw)))
+
+    def test_make_obs_rejects_wrong_jpeg(self):
+        small = io.BytesIO()
+        Image.new("RGB", (160, 120)).save(small, format="JPEG")
+        png = io.BytesIO()
+        Image.new("RGB", (320, 240)).save(png, format="PNG")
+        for bad in (small.getvalue(), png.getvalue()):
+            with self.assertRaises(ValueError):
+                R.make_obs(np.arange(6), bad, bad)
+
     def test_make_obs_keys(self):
         im = np.zeros((240, 320, 3), np.uint8)
         o = R.make_obs(np.arange(6), im, im)
@@ -147,9 +216,32 @@ class TestActions(unittest.TestCase):
                 np.savez(e / "episode.npz", state=s, actions=a)
             lo, hi, n = R.load_safe_range(d)
         self.assertEqual(n, 2)
-        np.testing.assert_allclose(lo, [-13] * 6)
+        np.testing.assert_allclose(lo, [-13] * 5 + [0])           # 爪は 0 より下にしない (依頼 285)
         np.testing.assert_allclose(hi, [15] * 6)
 
+    def test_gripper_range_0_100(self):
+        with tempfile.TemporaryDirectory() as d:
+            e = Path(d) / "ep0"
+            e.mkdir()
+            s = np.zeros((3, 6))
+            s[:, 5] = [0.5, 50, 99.6]                                # 学習の爪は 0.5〜99.6 → ±10 は -9.5〜109.6
+            s[:, 0] = [-20, 0, 20]
+            np.savez(e / "episode.npz", state=s, actions=s)
+            lo, hi, _ = R.load_safe_range(d)
+        self.assertEqual((lo[5], hi[5]), (0.0, 100.0))
+        self.assertEqual((lo[0], hi[0]), (-30.0, 30.0))             # 関節は ±10 のまま
+        t, cut = R.clip_to_range([0, 0, 0, 0, 0, -10], lo, hi)
+        self.assertEqual(t[5], 0.0)
+        self.assertTrue(cut[5])
+
+    def test_real_safe_range_gripper(self):
+        if not TRAIN_RAW.is_dir():
+            self.skipTest(f"学習データがない: {TRAIN_RAW}")
+        lo, hi, n = R.load_safe_range(TRAIN_RAW)
+        self.assertEqual(n, 50)
+        self.assertGreaterEqual(lo[5], 0.0)
+        self.assertLessEqual(hi[5], 100.0)
+
     def test_clip_at_edges(self):
         t, cut = R.clip_to_range([60, 0, 0, 0, -150, 70], LO, HI)
         np.testing.assert_allclose(t, [50, 0, 0, 0, -100, 60])
@@ -245,6 +337,118 @@ class TestRunTrial(unittest.TestCase):
         self.assertEqual(len(asked), 1)
 
 
+class TestPrefetch(unittest.TestCase):
+    """依頼 285: 答えを実行している間に次を問い合わせておく"""
+
+    def test_lead(self):
+        self.assertEqual(R.prefetch_lead([0.1], 10), 3)            # 0.1 秒 = 3 コマ
+        self.assertEqual(R.prefetch_lead([0.25], 10), 5)           # 8 コマだが 10 の半分まで
+        self.assertEqual(R.prefetch_lead([], 10), 5)
+        self.assertEqual(R.prefetch_lead([0.01], 10), 1)
+        self.assertEqual(R.prefetch_lead([0.25], 4), 2)
+        self.assertEqual(R.prefetch_lead([0.25], 1), 0)            # 1 コマなら先に出せない
+        self.assertEqual(R.prefetch_lead([9, 9, 9, 0.1, 0.1, 0.1, 0.1, 0.1], 10), 3)   # 直近 5 回の中央値
+
+    def test_plan_chunk_skip(self):
+        a = np.stack([np.full(6, k, dtype=np.float64) for k in range(10)])
+        self.assertEqual([k for k, _, _ in R.plan_chunk(a, 10, LO, HI, skip=3)], list(range(3, 10)))
+        self.assertEqual([k for k, _, _ in R.plan_chunk(a, 6, LO, HI, skip=2)], [2, 3, 4, 5])
+        for bad in (-1, 6):
+            with self.assertRaises(ValueError):
+                R.plan_chunk(a, 6, LO, HI, skip=bad)
+
+    def test_query_before_chunk_ends_and_no_jump(self):
+        # 答えは「観測の state + (k+1)」. 返るまで 0.1 秒 = 3 コマなので, 残り 3 コマ (7 番目) の観測で次を問い合わせ,
+        # 次の答えは 3 番目から使う → 送る目標は 1 コマ 1 ずつ切れ目なく進む (戻らない・飛ばない)
+        arm, pol, rec = FakeArm(), FakePolicy(), FakeRecorder()
+        info, asked = trial(arm, pol, rec, 10, FakeKeys({24: "q"}), prefetch=True)
+        steps = [r["chunk_step"] for r in rec.rows]
+        self.assertEqual(steps, list(range(10)) + list(range(3, 10)) + list(range(3, 10)))
+        np.testing.assert_allclose(pol.obs[1]["observation/state"], np.full(6, 7))     # 7 番目を送る前の観測 (先に問い合わせた)
+        np.testing.assert_allclose(pol.obs[2]["observation/state"], np.full(6, 14))
+        diffs = np.diff(np.array([s[0] for s in arm.sent]))
+        np.testing.assert_allclose(diffs, np.ones(len(arm.sent) - 1))
+        self.assertEqual(info["skips"], [3, 3])
+        self.assertEqual([r["chunk_id"] for r in rec.rows], [0] * 10 + [1] * 7 + [2] * 7)
+        self.assertEqual(len(asked), 1)
+        for o in pol.obs:                                       # 画像は JPEG のバイト列で送る
+            self.assertIsInstance(o["observation/desk_image"], bytes)
+            self.assertIsInstance(o["observation/wrist_image"], bytes)
+
+    def test_no_prefetch_is_283(self):
+        arm, pol, rec = FakeArm(), FakePolicy(), FakeRecorder()
+        info, _ = trial(arm, pol, rec, 10, FakeKeys({24: "q"}), prefetch=False)
+        self.assertEqual([r["chunk_step"] for r in rec.rows], [i % 10 for i in range(24)])
+        np.testing.assert_allclose(pol.obs[1]["observation/state"], np.full(6, 10))    # 使い切ってから問い合わせる
+        self.assertEqual(info["skips"], [0, 0])
+        self.assertIsInstance(pol.obs[1]["observation/desk_image"], bytes)
+
+    def test_prefetch_with_exec_steps(self):
+        for n, want in ((4, [0, 1, 2, 3, 2, 3, 2, 3, 2, 3]), (3, [0, 1, 2, 1, 2, 1, 2, 1, 2, 1]), (1, [0] * 10)):
+            arm, pol, rec = FakeArm(), FakePolicy(), FakeRecorder()
+            info, _ = trial(arm, pol, rec, n, FakeKeys({10: "q"}), prefetch=True)
+            self.assertEqual([r["chunk_step"] for r in rec.rows], want, f"exec_steps {n}")
+            np.testing.assert_allclose(np.diff(np.array([s[0] for s in arm.sent])), np.ones(9))
+
+    def test_pause_drops_pending_answer(self):
+        # 7 番目で次を先に問い合わせたあと, 8 コマ目で一時停止 → 11 コマ目で推論に戻る. 先の答えは使わず, 戻ったときの観測で
+        # 問い合わせ直して 0 番目から
+        arm, pol, rec = FakeArm(), FakePolicy(), FakeRecorder()
+        info, _ = trial(arm, pol, rec, 10, FakeKeys({8: " ", 11: " ", 14: "q"}), prefetch=True)
+        self.assertEqual([r["mode"] for r in rec.rows], [R.MODEL] * 8 + [R.PAUSE] * 3 + [R.MODEL] * 3)
+        self.assertEqual([r["chunk_step"] for r in rec.rows[11:]], [0, 1, 2])
+        self.assertEqual(len(pol.obs), 3)                       # 1 回目・先に出したもの (使わない)・戻ったとき
+        np.testing.assert_allclose(pol.obs[2]["observation/state"], arm.sent[10])
+        self.assertEqual(rec.rows[11]["chunk_id"], 1)
+        self.assertEqual(info["skips"], [0])
+
+    def test_stall_of(self):
+        self.assertEqual(R.stall_of([1 / 30, 0.02, 0.5]), [0.0, 0.0, 0.5 - 1 / 30])
+
+    def test_no_prefetch_gap_counts_wait(self):
+        class SlowPolicy(FakePolicy):
+            def __init__(self, clk):
+                super().__init__()
+                self.clk = clk
+
+            def infer(self, obs):
+                self.clk.t += 0.2
+                return super().infer(obs)
+
+        clk = FakeClock()
+        arm, rec = FakeArm(), FakeRecorder()
+        pol = SlowPolicy(clk)
+        info = R.run_trial(arm, pol, rec, LO, HI, 10, FakeKeys({15: "q"}), inp=lambda p: "", clock=clk, sleep=clk.sleep,
+                           out=lambda *a: None, prefetch=False)
+        self.assertEqual(len(info["gaps"]), 1)
+        self.assertAlmostEqual(R.stall_of(info["gaps"])[0], 0.2)    # 問い合わせの間だけ止まる
+
+
+class TestConfirm(unittest.TestCase):
+    def test_skip_first_confirm(self):
+        order = []
+
+        class Keys(FakeKeys):
+            def start(self):
+                order.append("start")
+
+        arm, pol, rec = FakeArm(), FakePolicy(), FakeRecorder()
+        clk = FakeClock()
+        R.run_trial(arm, pol, rec, LO, HI, 10, Keys({3: "q"}), inp=lambda p: order.append("enter") or "",
+                    clock=clk, sleep=clk.sleep, out=lambda *a: None, skip_confirm=True)
+        self.assertEqual(order, ["start"])                      # Enter を待たない
+        self.assertEqual(len(rec.rows), 3)
+
+    def test_args(self):
+        seen = {}
+        with unittest.mock.patch.object(R, "run", lambda a: seen.update(vars(a)) or 0):
+            R.main(["--log-dir", "/tmp", "--no-prefetch", "--skip-first-confirm", "--exec-steps", "4"])
+            self.assertTrue(seen["no_prefetch"] and seen["skip_first_confirm"])
+            self.assertEqual(seen["exec_steps"], 4)
+            R.main(["--log-dir", "/tmp"])
+            self.assertFalse(seen["no_prefetch"] or seen["skip_first_confirm"])
+
+
 class TestRecord(unittest.TestCase):
     def test_lerobot_v3_roundtrip_and_copy(self):
         from lerobot.datasets.lerobot_dataset import LeRobotDataset
diff --git a/test_lab_start.sh b/test_lab_start.sh
index 17f8b10..714e6a4 100755
--- a/test_lab_start.sh
+++ b/test_lab_start.sh
@@ -642,7 +642,7 @@ check "--serve-only でも空打ちまで行う (依頼 176)" 'has out.txt "===
 check "Pod は消さない (DELETE を呼ばない) で, かかった時間と片付け方を出す" '[ $(n_call DELETE) = 0 ] && has out.txt "=== かかった時間" && has out.txt "Pod は残しています (id $ID_NEW). 片付けは ./lab_stop.sh --log LogT"'
 check "記録 lab_start_*.txt に残る・始めの行に --serve-only と出る" 'grep -qF "サーバーとトンネルだけ (--serve-only" "$T/data/lab/LogT"/lab_start_*.txt'
 rm -rf "$T"
-check "--help に --serve-only・--grip-value・--flow / --speed・5b の空打ちの説明が入る (2〜69 行)" 'sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--serve-only  Pod を作って" && sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--no-tilt-fix  傾きを" && sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--grip-value N  爪の閉じる値" && sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--flow / --speed N  run_policy_client.py に" && sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "# 5b. 空打ち" && grep -qF "sed -n '"'"'2,69p'"'"'" "$HERE/lab_start.sh"'
+check "--help に --serve-only・--grip-value・--flow / --speed・5b の空打ちの説明が入る (2〜71 行)" 'sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--serve-only  Pod を作って" && sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--no-tilt-fix  傾きを" && sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--grip-value N  爪の閉じる値" && sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--flow / --speed N  run_policy_client.py に" && sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "# 5b. 空打ち" && grep -qF "sed -n '"'"'2,71p'"'"'" "$HERE/lab_start.sh"'
 
 echo "== 空打ち (依頼 176): トンネルのあと・アームの前に 1 回. 失敗しても止めずに続ける"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -692,7 +692,7 @@ grep "pi05/run_policy_client.py" "$T/py.log" > "$T/client.log"
 check "3 回の試行でクライアントを 3 回呼ぶ (終了コード 0)" '[ $RC = 0 ] && [ "$(grep -c . "$T/client.log")" = 3 ] && [ "$(grep -ac "=== 8. " "$T/out.txt")" = 3 ]'
 check "1 回目には付けず, 2 回目・3 回目の終わりに --skip-first-confirm を付ける (ほかの引数は同じ)" '! sed -n 1p "$T/client.log" | grep -q -- "--skip-first-confirm" && sed -n 2p "$T/client.log" | grep -q -- "--flow --skip-first-confirm$" && sed -n 3p "$T/client.log" | grep -q -- "--flow --skip-first-confirm$" && [ "$(sed -n 2p "$T/client.log" | sed "s/ --skip-first-confirm$//")" = "$(sed -n 1p "$T/client.log")" ]'
 rm -rf "$T"
-check "実機の 8 も 2 回目からは --skip-first-confirm を渡し, 7 の HOME・爪を開くは毎回流す" '[ "$(grep -c '"'"'${CONFIRM_ARGS\[@\]+"${CONFIRM_ARGS\[@\]}"}'"'"' "$HERE/lab_start.sh")" = 2 ] && grep -qF "[ \$round -ge 2 ] && CONFIRM_ARGS=(--skip-first-confirm)" "$HERE/lab_start.sh" && [ "$(awk "/^while :; do/,/^done/" "$HERE/lab_start.sh" | grep -c "08_home_from_anywhere.py\|daemon_set_gripper(0)")" = 2 ]'
+check "実機の 8 も 2 回目からは --skip-first-confirm を渡し, 7 の HOME・爪を開くは毎回流す (3 か所目は so101a. 依頼 285)" '[ "$(grep -c '"'"'${CONFIRM_ARGS\[@\]+"${CONFIRM_ARGS\[@\]}"}'"'"' "$HERE/lab_start.sh")" = 3 ] && grep -qF "[ \$round -ge 2 ] && CONFIRM_ARGS=(--skip-first-confirm)" "$HERE/lab_start.sh" && [ "$(awk "/^while :; do/,/^done/" "$HERE/lab_start.sh" | grep -c "08_home_from_anywhere.py\|daemon_set_gripper(0)")" = 2 ]'
 
 echo "== チャンクごとの確かめ (依頼 178): 既定は --no-step-confirm を渡す. --step-confirm で今までどおり"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -702,7 +702,7 @@ setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run --step-confirm --
 check "--step-confirm なら --no-step-confirm を渡さず (ほかの引数は同じ), [CONFIRM] で出す" '[ $RC = 0 ] && has py.log "pi05/run_policy_client.py" && ! has py.log "--no-step-confirm" && grep -q -- "pi05/run_policy_client.py .* --flow$" "$T/py.log" && has out.txt "[CONFIRM] チャンクごとに確かめる (--step-confirm"'
 rm -rf "$T"
 check "実機の 8 にも既定で --no-step-confirm を渡す (8 の 2 か所)" '[ "$(grep -c '"'"'${STEP_ARGS\[@\]+"${STEP_ARGS\[@\]}"}'"'"' "$HERE/lab_start.sh")" = 2 ] && grep -qF "STEP_ARGS=(--no-step-confirm)" "$HERE/lab_start.sh" && grep -qF -- "--step-confirm) STEP_ARGS=(); shift ;;" "$HERE/lab_start.sh"'
-check "--help に --step-confirm の説明が入る" 'sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--step-confirm  実機推論で"'
+check "--help に --step-confirm の説明が入る" 'sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--step-confirm  実機推論で"'
 
 echo "== 置き終えたら自動で終わる (依頼 181): 既定は --auto-finish を渡す. --no-auto-finish で今までどおり"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -712,7 +712,7 @@ setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run --no-auto-finish
 check "--no-auto-finish なら --auto-finish を渡さず (ほかの引数は同じ), [FINISH] で出す" '[ $RC = 0 ] && has py.log "pi05/run_policy_client.py" && ! has py.log "--auto-finish" && grep -q -- "pi05/run_policy_client.py .* --no-step-confirm --flow$" "$T/py.log" && has out.txt "[FINISH] 置き終えても自動では終わらない (--no-auto-finish"'
 rm -rf "$T"
 check "実機の 8 にも既定で --auto-finish を渡す (8 の 2 か所)" '[ "$(grep -c '"'"'${FINISH_ARGS\[@\]+"${FINISH_ARGS\[@\]}"}'"'"' "$HERE/lab_start.sh")" = 2 ] && grep -qF "FINISH_ARGS=(--auto-finish)" "$HERE/lab_start.sh" && grep -qF -- "--no-auto-finish) FINISH_ARGS=(); shift ;;" "$HERE/lab_start.sh"'
-check "--help に --no-auto-finish の説明が入る" 'sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--no-auto-finish  箱に置き終えたら" && ./lab_start.sh --help | grep -qF -- "--no-auto-finish"'
+check "--help に --no-auto-finish の説明が入る" 'sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--no-auto-finish  箱に置き終えたら" && ./lab_start.sh --help | grep -qF -- "--no-auto-finish"'
 
 echo "== 中継点の間隔 (依頼 182): --via-stride N をそのまま渡す. 既定は今までの 3"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -739,7 +739,7 @@ setup; run --via-stride
 check "--via-stride に値がなければ受けない (終了コード 2)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--via-stride には 0〜10"'
 rm -rf "$T"
 check "実機の 8 にも同じ値を渡す (8 の 2 か所・3 を書き込んだ所は残らない)" '[ "$(grep -cF -- "--steps-per-chunk 10 --via-stride \"\$VIA_STRIDE\"" "$HERE/lab_start.sh")" = 2 ] && ! grep -q -- "--via-stride 3 " "$HERE/lab_start.sh" && grep -qF "VIA_STRIDE=3 " "$HERE/lab_start.sh"'
-check "--help に --via-stride の説明が入る" 'sed -n "2,69p" "$HERE/lab_start.sh" | grep -qF -- "--via-stride N  1 チャンクの中継点の間隔" && ./lab_start.sh --help | grep -qF -- "# 5b. 空打ち"'
+check "--help に --via-stride の説明が入る" 'sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--via-stride N  1 チャンクの中継点の間隔" && ./lab_start.sh --help | grep -qF -- "# 5b. 空打ち"'
 
 echo "== so101a (依頼 283): SO-101 の推論. 1〜5b は同じ形で, 6〜8 は run_so101_policy.py だけ"
 so101_setup() { setup; mkdir -p "$T/data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes"; }
@@ -774,6 +774,22 @@ for arg in "--flow" "--grip-value 30" "--via-stride 5" "--no-tilt-fix" "--episod
     check "so101a に mechArm の $arg は付けられない" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--model so101a では mechArm の引数は使えない"'
     rm -rf "$T"
 done
+so101_setup; run --model so101a
+check "既定では --no-prefetch を渡さず, [SO101] で先に問い合わせると出す (依頼 285)" '[ $RC = 0 ] && ! has py.log "--no-prefetch" && has out.txt "[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す"'
+rm -rf "$T"
+so101_setup; run --model so101a --exec-steps 4 --no-prefetch
+check "--no-prefetch をそのまま渡す (依頼 285)" '[ $RC = 0 ] && grep -q -- "so101/run_so101_policy.py .* --step 2999 --exec-steps 4 --no-prefetch$" "$T/py.log" && has out.txt "[SO101 ] 次の問い合わせ: 答えを使い切ってから (--no-prefetch"'
+rm -rf "$T"
+setup; run --no-prefetch
+check "mechArm の --model に --no-prefetch は付けられない (依頼 285)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--no-prefetch は --model so101a だけ"'
+rm -rf "$T"
+# 依頼 285: so101a も 2 回目の試行から --skip-first-confirm を渡す (mechArm と同じ. 端末を作って y・y・n を打つ)
+so101_setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; serve_dir /workspace/ckpt/so101_teleop_even_v1_2999
+sed -i '' 's#^    cat > /dev/null$#    [ -t 0 ] || cat > /dev/null#' "$T/fakes.sh"
+(cd "$T" && feed | PATH="$T/bin:$PATH" LAB_LOGGED=1 script -q /dev/null ./lab_start.sh --log LogT --dry-run --model so101a > "$T/out.txt" 2>&1); RC=$?
+grep "so101/run_so101_policy.py --port" "$T/py.log" > "$T/client.log"
+check "so101a: 3 回の試行で 1 回目には付けず, 2 回目・3 回目の終わりに --skip-first-confirm を付ける (依頼 285)" '[ $RC = 0 ] && [ "$(grep -c . "$T/client.log")" = 3 ] && ! sed -n 1p "$T/client.log" | grep -q -- "--skip-first-confirm" && sed -n 2p "$T/client.log" | grep -q -- "--step 2999 --skip-first-confirm$" && sed -n 3p "$T/client.log" | grep -q -- "--step 2999 --skip-first-confirm$" && [ "$(sed -n 2p "$T/client.log" | sed "s/ --skip-first-confirm$//")" = "$(sed -n 1p "$T/client.log")" ]'
+rm -rf "$T"
 check "フォルダからモデルの名前 (so101a)" '[ "$(lab_model_of_dir /workspace/ckpt/so101_teleop_even_v1_2999)" = so101a ]'
 check "--help に so101a と --exec-steps の説明が入る" './lab_start.sh --help | grep -qF "so101a = SO-101 のお手本 50 本" && ./lab_start.sh --help | grep -qF -- "--exec-steps N (1〜10)"'
 
```


## 作業ログ ― 実機で10回動かし、10回とも箱に入った（依頼286）

### 案内の画面に沿って、立ち会いで動かした

依頼286 は立ち会いの回で、Claude Code が Mac の Terminal に案内の画面（`so101/check_286/session_286.sh`）を開き、その画面で y／n や場所の番号を打って進めた。最初は、案内の画面が電流を測るプログラムを、作業フォルダの1つ上の階層で探して止まった。アームとサーボには何も送っていない段階で、Claude Code がフォルダの指定を直して開き直した。

順番は、電流を読む速さを測る → 場所1で先に問い合わせる形を3回 → 場所1で使い切ってからの形を3回 → 箱に入った回が多かったほうの形で場所2〜5を1回ずつ、とした。

### 電流は6つ全部読んでも、1秒30コマのまま

LOG570 で決めた記録の項目のうち、電流は、読める速さを測ってから何個残すかを決めることにしていた。リーダーでテレオペしながら10秒ずつ3通りを測った。

| 読んだ電流 | コマ／秒（10秒の平均） | コマの間の中央値 | 最も遅いコマ | 電流の読み（中央値） |
|---|---|---|---|---|
| なし | 29.98 | 33.30ms | 43.8ms | ― |
| 爪と肩 | 29.98 | 33.31ms | 44.6ms | 0.63ms |
| 6つ全部 | 29.98 | 33.23ms | 45.1ms | 1.11ms |

30コマ／秒が落ちなかったので、決めておいたとおり6つ全部を残すことにした。12回とも、1コマごとに6つの電流が記録に入っている（つかんだときの爪で最大121、約790mA）。

#### currents_hz_20261124_165913.json

```json
{
  "request": 286,
  "at": "2026-11-24T17:00:18",
  "seconds_each": 10.0,
  "register": {
    "name": "Present_Current",
    "addr": 69,
    "size": 2,
    "unit_mA": 6.5
  },
  "rule": "6 つ全部で 10 秒に 295 コマ以上 (= 30 コマ／秒が落ちない) なら all, 落ちるなら lift_grip",
  "results": [
    {
      "currents": "off",
      "motors": [],
      "frames": 300,
      "seconds": 9.972,
      "hz": 29.98,
      "gap_median_ms": 33.3,
      "gap_max_ms": 43.8,
      "slowest_hz": 22.83,
      "gaps_over_50ms": 0,
      "current_read_median_ms": null,
      "current_read_max_ms": null
    },
    {
      "currents": "lift_grip",
      "motors": [
        "shoulder_lift",
        "gripper"
      ],
      "frames": 300,
      "seconds": 9.972,
      "hz": 29.98,
      "gap_median_ms": 33.31,
      "gap_max_ms": 44.55,
      "slowest_hz": 22.45,
      "gaps_over_50ms": 0,
      "current_read_median_ms": 0.63,
      "current_read_max_ms": 5.04,
      "current_raw_min": [
        0.0,
        0.0
      ],
      "current_raw_max": [
        1.0,
        2.0
      ],
      "current_mA_max": [
        6.5,
        13.0
      ]
    },
    {
      "currents": "all",
      "motors": [
        "shoulder_pan",
        "shoulder_lift",
        "elbow_flex",
        "wrist_flex",
        "wrist_roll",
        "gripper"
      ],
      "frames": 300,
      "seconds": 9.972,
      "hz": 29.98,
      "gap_median_ms": 33.23,
      "gap_max_ms": 45.11,
      "slowest_hz": 22.17,
      "gaps_over_50ms": 0,
      "current_read_median_ms": 1.11,
      "current_read_max_ms": 8.78,
      "current_raw_min": [
        0.0,
        0.0,
        0.0,
        0.0,
        0.0,
        0.0
      ],
      "current_raw_max": [
        6.0,
        1.0,
        4.0,
        24.0,
        1.0,
        1.0
      ],
      "current_mA_max": [
        39.0,
        6.5,
        26.0,
        156.0,
        6.5,
        6.5
      ]
    }
  ],
  "keeps_30": {
    "off": true,
    "lift_grip": true,
    "all": true
  },
  "choice": "all"
}
```

### 場所1の6回は、2つの問い合わせ方とも3回中3回

| 回 | 場所 | 問い合わせ方 | 長さ（秒） | 止まりの合計（秒） | 箱に入ったか |
|---|---|---|---|---|---|
| 1 | 1 | 先に問い合わせる | 182.0 | 104.9 | 入った |
| 2 | 1 | 先に問い合わせる | 38.2 | 22.1 | 入った |
| 3 | 1 | 先に問い合わせる | 33.4 | 19.2 | 入った |
| 4 | 1 | 使い切ってから | 45.7 | 24.8 | 入った |
| 5 | 1 | 使い切ってから | 26.1 | 13.9 | 入った |
| 6 | 1 | 使い切ってから | 48.2 | 26.1 | 入った |
| 7 | 2 | 先に問い合わせる | 30.0 | 17.2 | 入った |
| 8 | 2 | 先に問い合わせる | 49.5 | 29.0 | 入った |
| 9 | 2 | 先に問い合わせる | 36.2 | 21.0 | 入った |
| 10 | 5 | 先に問い合わせる | 30.0 | 17.4 | 入った |

長さは、動かし始めてから q を押して終えるまでの時間で、箱に入れて腕が戻ったあとの時間も入る。1回目だけは q を押すまでに182秒かかり、記録したコマも2227コマ（約74秒）と多い。箱に入ったかどうかは、ほかの回と同じに数えた。

箱に入った回数が同じだったので、場所2〜5は、1回の止まりが短い先に問い合わせる形（0.22〜0.23秒。使い切ってからは0.39秒）を選んだ。画面は8回目を場所3、9回目を場所4と案内していたが、実際にはブロックを場所2に置き、記録の場所の番号にも2を入れていた。記録の番号は置いた場所と合っているので、そのままにした。場所3と場所4は、依頼287 で動かした。

最後に、止まりながらの動きが見ていて気になったかを聞かれ、カクカクが気になった、と答えた。フォロワーがガクッと飛んだ回はなかった。

【画像】LOG572_03_block_over_the_box.jpg π0.5 で動く SO-101 が、赤いブロックをつかんで白い箱の上まで運んだところ。左の黒いアームはリーダーで、推論の間は動かしていない

#### 依頼286 の依頼文

```markdown
---
作業フォルダ: /Users/shimazueiichi/r2r2r-scripts
上限時間: 150
---
# SO-101 の π0.5 を実機で動かす（依頼286・エイイチ立ち会い）

依頼282 で学習したモデル（so101a・2999）を、依頼283・285 で作った流れで SO-101 の実機で初めて動かす。285 で画像を JPEG にして、答えが返るまで 0.36秒になった。1回の答えで動くのは 0.33秒なので、少し止まりながら動く（1回の止まりは先に問い合わせる形で 0.21秒、使い切ってからの形で 0.36秒）。今回は、それでもつかんで箱に入れられるかを見る。

アーム（リーダー・フォロワー）・カメラ2台・KIOXIA はつながっている（エイイチ 16:47）。白い箱・カメラ・照明は録ったときのまま動かさない。**フォロワーを動かしてよい。**

## 1. はじめに：電流が何コマ／秒で読めるかを測る（エイイチの決め：30コマ／秒が落ちなければ6つ全部、落ちるなら爪と肩だけ）
- リーダーでテレオペしながら、10秒ずつ3通りで測る：電流なし／爪と肩（shoulder_lift と gripper）／6つ全部。読む番地は SO-101 のサーボ（Feetech STS3215）の資料で確かめる（Present_Current）
- 各通りの実際のコマ／秒（中央値と最も遅いコマ）を出す。エイイチは画面の案内どおりにリーダーを動かすだけ
- 決めのとおりに選び、2 の推論の記録に1コマごとの電流として残す（選んだものを報告に書く）。クライアントへの足し方は任せるが、電流を読まない既定（--currents off）の動きは変えない

## 2. 推論（Pod は `./lab_start.sh --model so101a --log so101_Log10`。番号が違えばあとで Claude が直す）
順番（ブロックの場所はエイイチに画面で案内する。机の点の目印は録ったときと同じ）:
1. 場所1で、先に問い合わせる形（既定）を3回
2. 場所1で、使い切ってからの形（`--no-prefetch`）を3回
3. 1・2 で箱に入った回が多かったほうの形で、場所2〜5を1回ずつ（4回）
- 合わせて10回。途中で止めたいとエイイチが言ったら、そこまでで片付ける
- 1回の長さの目安は録ったときと同じ 25秒。箱に入れて腕が戻るか、エイイチが q を押したら終わり
- 毎回の終わりに y／n（箱に入ったか）を聞く。n のときは、どこで失敗したかを番号で聞く（1 ブロックまで行かない・2 つかめない・3 持ち上げで落とす・4 箱まで運べない・5 箱の外に落とす・6 その他）
- 手直し（t）はエイイチが使いたいときだけ。使った回は分かるように記録に残す（283 のとおり）

## 置き場所
- 記録は 283 の作りのまま（Mac の `~/so101_runs/` → KIOXIA の `lab/so101_Log10/so101/` にコピーし、数とバイト数を確かめる。Mac 側は消さない）
- 測った電流の結果は `lab/so101_Log10/currents_hz/`
- 判定の表はまだ作らない（次の依頼）。各回の y／n と失敗の番号は so101_trials.csv と報告に残す

## しないこと
- 包まない lerobot、Hugging Face への送信、EEPROM・キャリブレーションの書き換え、カメラの設定ファイル・`lerobot_safe_259.py` の書き換え
- お手本の dataset（Mac・KIOXIA とも）に触る、KIOXIA の既存のファイルの上書き・移動・削除、`git add .`・`git clean`
- 確認や停止の条件を新しく重ねる
- 終わったら Pod は削除まで行う

## エイイチに聞くこと
- 毎回の y／n と失敗の番号
- 止まりながらの動きは、見ていて気になった？（先に問い合わせる形と使い切ってからの形で違った？）
- フォロワーがガクッと飛んだ回はあった？

## 報告
- 電流の3通りのコマ／秒と、選んだもの
- 10回の表（回・場所・形・長さ・止まりの合計・y／n・失敗の番号・手直しの有無）
- 2つの形の比べ（箱に入った回数・止まりの合計）
- GPU の型番・借りた時間・費用（円も）、git の commit（個別に add）
- エイイチの答え
- 最後の1行に「判定：合格／止めた（決めてほしいことあり）／失敗」
```

#### 依頼286 の結果（依頼箱の記録）

```markdown
# 結果：20261124_286_SO101のπ0.5を実機で動かす_立ち会い

- 状態：完了
- 始めた時刻：2026-11-24 16:51
- 終わった時刻：2026-11-24 17:33（42分）
- 作業フォルダ：/Users/shimazueiichi/r2r2r-scripts
- この続きを Claude Code で話すとき：作業フォルダで `claude --resume 1cf20555-a6d3-4789-856e-db9842e0cc0b`

## Claude Code の報告

**やったこと**
- 依頼箱の画面では Eiichi の入力を受けられないため、Mac で Terminal を開き、案内つきの通し `so101/check_286/session_286.sh` を流しました。手順は、電流の速さを測る → 推論 10 回 → 最後の 2 つの問い、の順です。Eiichi はこの Terminal で y／n・失敗の番号・q・t を打ちました。
- サーバーは `./lab_start.sh --model so101a --log so101_Log10 --serve-only` で立てました。推論は `run_so101_policy.py` を 1 回ずつ直接呼んでいます（2 回目からは始めの Enter を飛ばす）。
- 最初は案内の Terminal がファイルの置き場所の誤りで止まりました。アームには触れておらず、直してから開き直しています。
- `run_so101_policy.py` に次の 2 つを足しました。
  - `--currents off／lift_grip／all`。既定の off では電流を読まず、記録の列も作りません。
  - n のときに失敗の番号（1〜6）を聞く問い。
- so101_trials.csv に stall_total_s・fail_reason・currents の列を足しました。
- 電流の番地は STS3215 の Present_Current（番地 69・2 バイト・1 = 6.5 mA）です。使っているライブラリの表でも同じでした。
- 終わったあと Pod を削除し、残っていないことを API で確かめました。

**結果**
- 電流の 3 通り（テレオペで 10 秒ずつ）：

| 通り | コマ／秒（10 秒の平均） | コマの間の中央値 | 最も遅いコマ |
|---|---|---|---|
| 電流なし | 29.98 | 33.30 ms | 43.8 ms |
| 爪と肩 | 29.98 | 33.31 ms | 44.6 ms |
| 6 つ全部 | 29.98 | 33.23 ms | 45.1 ms |

- 30 コマ／秒が落ちなかったので、決めのとおり **6 つ全部** を選びました。10 回とも 1 コマごとに電流が残っています（つかんだときの爪で最大 121 ＝ 約 790 mA）。
- 10 回の表です。長さは実際の時間で、（ ）は記録したコマ数を 30 で割った値です。止まりは答えの切り替えで腕が止まった時間の合計です。

| 回 | 場所 | 形 | 長さ（秒） | 止まりの合計（秒） | y／n | 失敗の番号 | 手直し |
|---|---|---|---|---|---|---|---|
| 1 | 1 | 先に問い合わせる | 182.0（74.2） | 104.9 | y | なし | なし |
| 2 | 1 | 先に問い合わせる | 38.2（15.2） | 22.1 | y | なし | なし |
| 3 | 1 | 先に問い合わせる | 33.4（13.9） | 19.2 | y | なし | なし |
| 4 | 1 | 使い切ってから | 45.7（20.7） | 24.8 | y | なし | なし |
| 5 | 1 | 使い切ってから | 26.1（12.0） | 13.9 | y | なし | なし |
| 6 | 1 | 使い切ってから | 48.2（21.7） | 26.1 | y | なし | なし |
| 7 | 2 | 先に問い合わせる | 30.0（12.5） | 17.2 | y | なし | なし |
| 8 | 記録は 2（案内は 3） | 先に問い合わせる | 49.5（20.0） | 29.0 | y | なし | なし |
| 9 | 記録は 2（案内は 4） | 先に問い合わせる | 36.2（14.9） | 21.0 | y | なし | なし |
| 10 | 5 | 先に問い合わせる | 30.0（12.3） | 17.4 | y | なし | なし |

- 2 つの形の比べ（場所 1）：
  - 箱に入った回数は、先に問い合わせる形 3／3、使い切ってからの形 3／3 で同じでした。同数だったので、場所 2〜5 の形は Eiichi が画面で「先に問い合わせる形」を選びました。
  - 1 回の止まりの中央値は、先に問い合わせる形が 0.22〜0.23 秒、使い切ってからの形が 0.39 秒です。
  - 止まりの合計は、先に問い合わせる形が 104.9／22.1／19.2 秒（1 回目は 182 秒と長い）、使い切ってからの形が 24.8／13.9／26.1 秒です。
  - どちらの形も、実際の時間の約半分は腕が止まっていました。先に問い合わせる形は、1 回の答えで 5 コマほどしか使わず問い合わせが倍になるためです。
- 答えが返るまでの中央値は 0.383〜0.390 秒でした（依頼 285 では 0.36 秒）。
- Mac の `~/so101_runs/so101_Log10/` の 10 本と、KIOXIA の `lab/so101_Log10/so101/` の 10 本は、ファイル数（各 7）・バイト数とも一致しました。Mac 側は消していません。
- GPU は NVIDIA A40 です。借りた時間は 39 分 50 秒、費用は約 0.39 ドル（約 62 円）でした。
- git の commit は c283fbb で、4 つのファイルを個別に add しています。
- テスト：test_run_so101_policy 38 件 OK（3 件足しました）。

**エイイチの答え**
- 止まりながらの動きは気になったか、2 つの形で違ったか：「カクカ。先に問い合わせる形」と入力されました。どちらの意味かは私には読み取れません。
- フォロワーがガクッと飛んだ回：「ない」
- 場所 2〜5 の形：同数のため「先に問い合わせる形」を選択

**変えたファイル**
- `so101/run_so101_policy.py`
- `so101/test_run_so101_policy.py`
- `so101/check_286/currents_hz_286.py`（新規）
- `so101/check_286/session_286.sh`（新規）
- KIOXIA `lab/so101_Log10/` の下：currents_hz/currents_hz_20261124_165913.json、so101/（10 本）、so101_trials.csv、eiichi_answers_286.txt、serve.log、lab_start のログ、pod/
- `logs/20261124_1735.md`

**決めてほしいこと**
1. 8・9 回目は、画面の案内では場所 3・4 でしたが、記録では場所 2 になっています。実際にどこに置いたかを教えてください。so101_trials.csv の place は書き換えずにそのままにしています。
2. Q1 の答え「カクカ。先に問い合わせる形」が、「先に問い合わせる形のほうがカクカクして見えた」のか、「先に問い合わせる形のほうがよかった」のかを教えてください。
3. 1 回目は 182 秒（止まりの合計 104.9 秒）と、目安の 25 秒より大きく長くなりました。この回も合格に数えるかどうかを決めてください。
4. 依頼文の「`./lab_start.sh --model so101a --log so101_Log10`」は、`--serve-only` を付けて流しました。推論は案内用のスクリプトから直接呼んでいます。動かすモデル・Log・推論の引数は同じですが、この手順の違いを認めてもらえるか確かめてください。

判定：止めた（決めてほしいことあり）
```

#### 案内の画面の記録（依頼286・Terminal）

```text
Last login: Tue Nov 24 16:55:42 on ttys003
cd ~/r2r2r-scripts && script -q -t 2 /tmp/r286/session.typescript bash so101/check_286/session_286.sh
(base) shimazueiichi@shimadzueiichinoMacBook-Pro ~ % cd ~/r2r2r-scripts && script -q -t 2 /tmp/r286/session.typescript bash so101/check_286/session_286.sh

==================================================
  依頼 286  SO-101 の π0.5 を実機で動かす
==================================================
このウィンドウの案内どおりに進めます. 白い箱・カメラ・照明は動かさないでください.

==================================================
  1. 電流を読む速さを測る (10 秒 × 3 通り)
==================================================
リーダーを休みの姿勢で持ったら Enter > 

========== 電流を読む速さを測る (10 秒 × 3 通り) ==========
フォロワーに力を入れます. リーダーを休みの姿勢のまま持っていてください.
objc[28307]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1023143a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1135c03a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[28307]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1023143f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1135c03f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.

[1/3] 電流なし: Enter を押したら 10 秒, リーダーでゆっくり大きく動かしてください (肩を上げ下げ・爪を開け閉め) > 
  ... 測っています (10 秒)
  → 29.98 コマ／秒 (コマの間 中央値 33.3 ms・最も遅い 43.8 ms = 22.83 コマ／秒)
  測り終えました. リーダーをそのまま止めておいてください

[2/3] 爪と肩 (shoulder_lift・gripper): Enter を押したら 10 秒, リーダーでゆっくり大きく動かしてください (肩を上げ下げ・爪を開け閉め) > 
  ... 測っています (10 秒)
  → 29.98 コマ／秒 (コマの間 中央値 33.31 ms・最も遅い 44.55 ms = 22.45 コマ／秒)  電流の読み 中央値 0.63 ms
  測り終えました. リーダーをそのまま止めておいてください

[3/3] 6 つ全部: Enter を押したら 10 秒, リーダーでゆっくり大きく動かしてください (肩を上げ下げ・爪を開け閉め) > 
  ... 測っています (10 秒)
  → 29.98 コマ／秒 (コマの間 中央値 33.23 ms・最も遅い 45.11 ms = 22.17 コマ／秒)  電流の読み 中央値 1.11 ms
  測り終えました. リーダーをそのまま止めておいてください

リーダーで休みの姿勢へ戻してください (戻ると力が抜けます)

選んだもの: all  → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/currents_hz/currents_hz_20261124_165913.json
[1] 推論の記録に残す電流: all

==================================================
  1 回目 / 10   場所 1   先に問い合わせる形
==================================================
ブロックを机の場所 1 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 1 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
ブロックの場所の番号 (1〜5) > 1
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[28479]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x159e9c3a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x166998778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[28479]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x159e9c3f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x1669987c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[28479]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x159e9c3a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x167e303a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[28479]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x159e9c3f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x167e303f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.0  -103.3   +91.3   +23.3    -3.0    +1.1
[FIRST ] 最初の目標        -7.8  -103.4   +96.6   +26.4    -3.5    +0.6  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -7.2   -99.8   +85.6   +33.8    -3.3    +2.4  (かかった 0.39 秒)
Enter で始める (Ctrl-C でやめる) > 
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|████████████████████████| 2227/2227 [00:00<00:00, 3569.90 examples/s]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: Svt[info]: LIB Build date: Jul  3 2025 03:06:26
LIB Build date: Jul  3 2025 03:06:26
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[warn]: Svt[warn]: Preset M12 is mapped to M10.
Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Svt[info]: Level of Parallelism: 4
Number of PPCS 59
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: Svt[info]: [asm level on system : up to neon_dotprod]
[asm level selected : up to neon_dotprod]
Svt[info]: Svt[info]: [asm level selected : up to neon_dotprod]
-------------------------------------------
Svt[info]: Svt[info]: -------------------------------------------
SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_170033 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.385 秒・最長 0.711 秒 (446 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 22265 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.226 秒・最長 0.549 秒 (444 回)
[CLIENT] 終了コード 0

==================================================
  2 回目 / 10   場所 1   先に問い合わせる形
==================================================
ブロックを机の場所 1 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 1 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
ブロックの場所の番号 (1〜5) > 1
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[28957]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11327c3a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x1503ac778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[28957]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11327c3f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x1503ac7c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[28957]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11327c3a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1518ac3a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[28957]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11327c3f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1518ac3f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.0  -103.9   +91.1   +19.8    -3.6    +0.7
[FIRST ] 最初の目標        -7.4  -104.0   +94.9   +20.6    -3.5    +0.0  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -6.3  -104.0   +90.3   +25.6    -3.5    +0.4  (かかった 0.39 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 456/456 [00:00<00:00, 3321.55 examples/s]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: Svt[info]: LIB Build date: Jul  3 2025 03:06:26
LIB Build date: Jul  3 2025 03:06:26
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[warn]: Svt[warn]: Preset M12 is mapped to M10.
Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: Svt[info]: [asm level on system : up to neon_dotprod]
[asm level on system : up to neon_dotprod]
Svt[info]: Svt[info]: [asm level selected : up to neon_dotprod]
[asm level selected : up to neon_dotprod]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: Svt[info]: Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
-------------------------------------------
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_170552 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.390 秒・最長 0.617 秒 (92 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 26040 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.233 秒・最長 0.461 秒 (90 回)
[CLIENT] 終了コード 0

==================================================
  3 回目 / 10   場所 1   先に問い合わせる形
==================================================
ブロックを机の場所 1 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 1 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
ブロックの場所の番号 (1〜5) > 1
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[29109]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1227bc3a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x145984778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29109]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1227bc3f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x1459847c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29109]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1227bc3a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x14745c3a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29109]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1227bc3f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x14745c3f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -7.8  -104.0   +91.1   +22.1    -2.7    +0.6
[FIRST ] 最初の目標        -7.6  -104.5   +95.8   +22.6    -3.0    +0.0  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -9.0  -104.0   +88.6   +29.0    -3.3    -0.4  (かかった 0.39 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 416/416 [00:00<00:00, 3429.82 examples/s]
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_170711 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.386 秒・最長 0.490 秒 (84 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 25906 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.224 秒・最長 0.332 秒 (82 回)
[CLIENT] 終了コード 0

==================================================
  4 回目 / 10   場所 1   使い切ってから問い合わせる形 (--no-prefetch)
==================================================
ブロックを机の場所 1 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter >  
(場所の番号を聞かれたら 1 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  --no-prefetch: 使い切ってから問い合わせる
ブロックの場所の番号 (1〜5) > 1
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[29261]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11b0e43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x13dd04778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29261]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11b0e43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x13dd047c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29261]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11b0e43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13f8243a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29261]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11b0e43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13f8243f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -7.8  -103.3   +91.1   +15.3    -3.6    +0.8
[FIRST ] 最初の目標        -8.0  -103.4   +92.0   +17.1    -4.6    +0.0  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -8.1  -103.4   +86.4   +21.0    -4.6    -0.7  (かかった 0.47 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (--no-prefetch: 使い切ってから問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 621/621 [00:00<00:00, 3382.34 examples/s]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Svt[warn]: Preset M12 is mapped to M10.
Preset M12 is mapped to M10.
Svt[info]: Svt[info]: Level of Parallelism: 4
Level of Parallelism: 4
Svt[info]: Svt[info]: Number of PPCS 59
Number of PPCS 59
Svt[info]: Svt[info]: [asm level on system : up to neon_dotprod]
[asm level on system : up to neon_dotprod]
Svt[info]: Svt[info]: [asm level selected : up to neon_dotprod]
[asm level selected : up to neon_dotprod]
Svt[info]: Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
-------------------------------------------
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: Svt[info]: -------------------------------------------
SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_170840 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.385 秒・最長 0.506 秒 (63 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 26406 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.388 秒・最長 0.509 秒 (62 回)
[CLIENT] 終了コード 0

==================================================
  5 回目 / 10   場所 1   使い切ってから問い合わせる形 (--no-prefetch)
==================================================
ブロックを机の場所 1 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 1 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  --no-prefetch: 使い切ってから問い合わせる
ブロックの場所の番号 (1〜5) > 1
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[29416]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10dd203a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x13d1e8778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29416]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10dd203f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x13d1e87c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29416]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10dd203a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13e75c3a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29416]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10dd203f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13e75c3f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.2  -103.3   +91.1   +12.0    -2.7    +0.9
[FIRST ] 最初の目標        -7.9  -102.7   +88.0   +12.4    -2.5    +0.0  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -8.1   -99.7   +74.8   +24.3    -7.8    -0.5  (かかった 0.38 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (--no-prefetch: 使い切ってから問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 359/359 [00:00<00:00, 3310.47 examples/s]
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171005 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.385 秒・最長 0.466 秒 (36 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 26384 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.388 秒・最長 0.471 秒 (35 回)
[CLIENT] 終了コード 0

==================================================
  6 回目 / 10   場所 1   使い切ってから問い合わせる形 (--no-prefetch)
==================================================
ブロックを机の場所 1 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 1 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  --no-prefetch: 使い切ってから問い合わせる
ブロックの場所の番号 (1〜5) > 1
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[29587]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10ac203a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x14d428778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29587]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10ac203f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x14d4287c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29587]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10ac203a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x14df5c3a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29587]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10ac203f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x14df5c3f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.0  -103.9   +91.1   +21.6    -4.0    +0.7
[FIRST ] 最初の目標        -7.9  -104.5   +95.5   +22.1    -5.3    +0.0  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -9.0  -103.9   +87.4   +24.2    -7.1    +1.8  (かかった 0.39 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (--no-prefetch: 使い切ってから問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 652/652 [00:00<00:00, 3415.17 examples/s]
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171104 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.383 秒・最長 0.514 秒 (66 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 26081 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.387 秒・最長 0.519 秒 (65 回)
[CLIENT] 終了コード 0

[形] 場所 1 で箱に入った回数: 先に問い合わせる 3 回 / 使い切ってから 3 回
同じ数です. 場所 2〜5 はどちらの形で? p=先に問い合わせる / n=使い切ってから > p

==================================================
  7 回目 / 10   場所 2   先に問い合わせる形
==================================================
ブロックを机の場所 2 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 2 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
ブロックの場所の番号 (1〜5) > 2
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[29812]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1412c43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x155a00778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29812]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1412c43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x155a007c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29812]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1412c43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1568f03a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[29812]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1412c43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1568f03f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.0  -103.7   +91.1    +8.3    -2.7    +0.7
[FIRST ] 最初の目標        -6.6  -104.3   +93.0    +8.0    -3.6    +0.0  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -8.0  -104.1   +86.2   +15.3    -4.0    -1.8  (かかった 0.39 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 376/376 [00:00<00:00, 3184.90 examples/s]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
LIB Build date: Jul  3 2025 03:06:26
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[warn]: Svt[warn]: Preset M12 is mapped to M10.
Preset M12 is mapped to M10.
Svt[info]: Svt[info]: Level of Parallelism: 4
Level of Parallelism: 4
Svt[info]: Svt[info]: Number of PPCS 59
Number of PPCS 59
Svt[info]: Svt[info]: [asm level on system : up to neon_dotprod]
[asm level on system : up to neon_dotprod]
Svt[info]: Svt[info]: [asm level selected : up to neon_dotprod]
[asm level selected : up to neon_dotprod]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171353 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.386 秒・最長 0.475 秒 (76 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 24994 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.223 秒・最長 0.314 秒 (74 回)
[CLIENT] 終了コード 0

==================================================
  8 回目 / 10   場所 3   先に問い合わせる形
==================================================
ブロックを机の場所 3 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 3 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
ブロックの場所の番号 (1〜5) > 2
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[30015]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10f1a83a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x153038778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30015]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10f1a83f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x1530387c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30015]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10f1a83a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x15448c3a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30015]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10f1a83f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x15448c3f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -7.8  -103.3   +91.2   +17.6    -2.7    +1.1
[FIRST ] 最初の目標        -7.9  -103.6   +95.2   +18.1    -3.4    +0.5  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -8.4  -103.5   +85.4   +27.5    -4.3    -1.1  (かかった 0.39 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 601/601 [00:00<00:00, 3389.10 examples/s]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: Svt[info]: LIB Build date: Jul  3 2025 03:06:26
LIB Build date: Jul  3 2025 03:06:26
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Number of PPCS 59
Svt[info]: Svt[info]: [asm level on system : up to neon_dotprod]
[asm level on system : up to neon_dotprod]
Svt[info]: Svt[info]: [asm level selected : up to neon_dotprod]
[asm level selected : up to neon_dotprod]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171505 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.387 秒・最長 1.008 秒 (121 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 23852 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.226 秒・最長 0.845 秒 (119 回)
[CLIENT] 終了コード 0

==================================================
  9 回目 / 10   場所 4   先に問い合わせる形
==================================================
ブロックを机の場所 4 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 4 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
ブロックの場所の番号 (1〜5) > 2
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[30239]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1272e83a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x14cbc0778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30239]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1272e83f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x14cbc07c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30239]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1272e83a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x14dd243a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30239]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1272e83f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x14dd243f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.0  -104.0   +91.1   +21.8    -3.6    +0.8
[FIRST ] 最初の目標        -7.9  -103.9   +91.7   +23.0    -4.8    +0.0  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標   -11.4  -101.9   +74.0   +33.7    -6.6    +2.7  (かかった 0.41 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 446/446 [00:00<00:00, 3302.99 examples/s]
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171630 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.387 秒・最長 0.472 秒 (90 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 23876 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.227 秒・最長 0.311 秒 (88 回)
[CLIENT] 終了コード 0

==================================================
  10 回目 / 10   場所 5   先に問い合わせる形
==================================================
ブロックを机の場所 5 の目印に置いてください.
動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
置いたら Enter / ここで止めるなら s と Enter > 
(場所の番号を聞かれたら 5 と入力)
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
ブロックの場所の番号 (1〜5) > 5
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[30411]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10f1903a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x13bab8778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30411]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10f1903f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x13bab87c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30411]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10f1903a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13cda43a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[30411]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10f1903f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13cda43f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.4  -103.3   +91.1   +23.9    -2.7    +0.9
[FIRST ] 最初の目標        -8.6  -103.5   +96.9   +24.4    -3.3    +0.0  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標    -8.3  -103.4   +95.8   +26.4    -3.9    -0.1  (かかった 0.41 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 369/369 [00:00<00:00, 3206.69 examples/s]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: Svt[info]: -------------------------------------------
LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Svt[info]: Level of Parallelism: 4
Level of Parallelism: 4
Svt[info]: Svt[info]: Number of PPCS 59
Number of PPCS 59
Svt[info]: Svt[info]: [asm level on system : up to neon_dotprod]
[asm level on system : up to neon_dotprod]
Svt[info]: Svt[info]: [asm level selected : up to neon_dotprod]
[asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: Svt[info]: -------------------------------------------
SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: Svt[info]: SVT [config]: bit-depth / color format 					: 8 / YUV420
SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: Svt[info]: SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: Svt[info]: SVT [config]: BRC mode / rate factor 					: CRF / 30 
SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
SVT [config]: AQ mode / variance boost 					: 2 / 0
Svt[info]: Svt[info]: Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_172110 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.386 秒・最長 0.481 秒 (74 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 26110 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.226 秒・最長 0.324 秒 (72 回)
[CLIENT] 終了コード 0

==================================================
  おしまい. 最後に 2 つだけ聞かせてください (1 行で. Enter で次へ)
==================================================
Q1 止まりながらの動きは見ていて気になった? 先に問い合わせる形と使い切ってからの形で違った? > カクカクが気になった。 。先に問い合わせる形            
Q2 フォロワーがガクッと飛んだ回はあった? (あれば何回目か) > ない

==================================================
  ありがとうございました. このウィンドウは閉じてかまいません (Pod の片付けは Claude が行います)
==================================================
(base) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % 
```

#### eiichi_answers_286.txt（最後の問いへの答え）

```text
エイイチの選択: pre (同数のため)
Q1 止まりながらの動き: カクカ。先に問い合わせる形
Q2 ガクッと飛んだ回: ない
```

#### lab_start のログ（依頼286）

```text
[RANGE ] 安全範囲 (学習データ ±10°) は /Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes から (--model so101a)
[SO101 ] 推論のクライアントは so101/run_so101_policy.py (/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python). --serve-only なのでクライアントは流さない (空打ちだけ)
[SO101 ] 1 回で実行するコマ: 10 (既定. 答えの 10 コマ全部)
[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す (既定. 依頼 285)
[LAB   ] 2026-11-24 16:52:32  GPU=NVIDIA A40  episode=run_0001_20261019_194818  log=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10  サーバーとトンネルだけ (--serve-only. アームと daemon には触らない)
[MODEL ] --model so101a: SO-101: π0.5 base から so101_redblock_box_teleop_even_v1 (場所 1〜5 を各 10 本) で学習した 2999 (依頼 282)
         PixelstoMotors/pi05-so101-teleop-even-lora-v1 → /workspace/ckpt/so101_teleop_even_v1_2999  設定 pi05_so101_teleop_even_lora  assets local/so101_redblock_box_teleop_even_v1

=== 1. Pod を作る
[POD   ] 作った: id 95kzk0szxtq05z  GPU=NVIDIA A40  1時間 0.59 ドル  (記録 /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/pod/lab_pod.json)
    (3 秒)

=== 2. Pod が立ち上がるまで待つ
[POD   ] SSH の IP とポートを API から受け取った (<POD_IP>:<SSH_PORT>)
[POD   ] 入れた: 0f18acb124a8
NVIDIA A40, 46068 MiB
    (27 秒)

=== 3a. スクリプトを送る
    (128 秒)

=== 3b. huggingface_hub を入れ, 鍵を渡す
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[90mHint: The `hf-cli` skill is not installed. Run `hf skills add -g` to teach your AI agents how to use the `hf` CLI.[0m
[32m✓ Logged in[0m
  user: PixelstoMotors
    (10 秒)

=== 3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)

Fetching 28 files:   0%|          | 0/28 [00:00<?, ?it/s]
Fetching 28 files:   4%|▎         | 1/28 [00:00<00:03,  7.06it/s]
Fetching 28 files:  29%|██▊       | 8/28 [00:00<00:00, 31.77it/s]
Fetching 28 files:  43%|████▎     | 12/28 [00:01<00:02,  7.83it/s]
Fetching 28 files:  50%|█████     | 14/28 [00:02<00:02,  5.20it/s]
Fetching 28 files:  57%|█████▋    | 16/28 [00:02<00:02,  4.72it/s]
Fetching 28 files:  61%|██████    | 17/28 [00:02<00:02,  4.56it/s]
Fetching 28 files:  64%|██████▍   | 18/28 [00:03<00:03,  3.27it/s]
Fetching 28 files:  68%|██████▊   | 19/28 [00:04<00:03,  2.93it/s]
Fetching 28 files:  75%|███████▌  | 21/28 [00:04<00:01,  4.16it/s]
Fetching 28 files:  82%|████████▏ | 23/28 [00:05<00:01,  3.33it/s]
Fetching 28 files:  89%|████████▉ | 25/28 [00:05<00:00,  3.46it/s]
Fetching 28 files:  93%|█████████▎| 26/28 [00:07<00:01,  1.71it/s]
Fetching 28 files: 100%|██████████| 28/28 [00:07<00:00,  2.41it/s]
Fetching 28 files: 100%|██████████| 28/28 [00:07<00:00,  3.66it/s]
[32m✓ Downloaded[0m
  path: /workspace/ckpt/so101_teleop_even_v1_2999
6.0G	/workspace/ckpt/so101_teleop_even_v1_2999
    (11 秒)

=== 3d. openpi を取る (215abfb)
215abfb docs(droid): fix config search instruction (#1023)
    (15 秒)

=== 3e. uv sync
downloading uv 0.13.9 x86_64-unknown-linux-gnu
WARN: The following commands are shadowed by other commands in your PATH: uv uvx
Using CPython 3.11.13 interpreter at: /usr/bin/python3.11
Creating virtual environment at: .venv
Resolved 279 packages in 5ms
   Building openpi-client @ file:///workspace/openpi/packages/openpi-client
   Building openpi @ file:///workspace/openpi
   Updating https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
Downloading opencv-python-headless (47.7MiB)
Downloading nvidia-cusolver-cu12 (150.9MiB)
Downloading nvidia-cufft-cu12 (190.9MiB)
Downloading nvidia-cudnn-cu12 (544.5MiB)
Downloading pyarrow (40.3MiB)
Downloading sympy (6.0MiB)
Downloading llvmlite (40.4MiB)
Downloading triton (148.5MiB)
Downloading nvidia-cublas-cu12 (374.9MiB)
Downloading nvidia-cuda-nvrtc-cu12 (22.6MiB)
Downloading scipy (35.9MiB)
Downloading nvidia-cusparselt-cu12 (149.5MiB)
Downloading opencv-python (60.1MiB)
Downloading nvidia-nccl-cu12 (192.0MiB)
Downloading torchvision (7.1MiB)
Downloading wandb (20.4MiB)
Downloading numcodecs (8.4MiB)
Downloading matplotlib (8.2MiB)
Downloading jax-cuda12-plugin (15.9MiB)
Downloading lxml (4.7MiB)
Downloading nvidia-nvjitlink-cu12 (18.8MiB)
Downloading cmake (26.6MiB)
Downloading nvidia-cuda-nvcc-cu12 (38.7MiB)
Downloading rerun-sdk (68.1MiB)
Downloading tensorstore (17.5MiB)
Downloading jax-cuda12-pjrt (99.8MiB)
Downloading nvidia-curand-cu12 (53.7MiB)
Downloading dm-control (37.5MiB)
Downloading torch (783.1MiB)
Downloading polars (34.6MiB)
Downloading nvidia-cusparse-cu12 (206.5MiB)
Downloading pandas (12.5MiB)
Downloading numpy (17.4MiB)
Downloading virtualenv (5.8MiB)
Downloading hf-transfer (3.4MiB)
Downloading imageio-ffmpeg (28.1MiB)
Downloading av (34.7MiB)
Downloading nvidia-cuda-cupti-cu12 (8.5MiB)
Downloading mujoco (4.4MiB)
Downloading transformers (10.3MiB)
Downloading pyopengl (3.0MiB)
Downloading diffusers (3.4MiB)
Downloading jaxlib (100.2MiB)
Downloading h5py (4.3MiB)
Downloading ruff (11.0MiB)
Downloading hf-xet (4.9MiB)
Downloading numba (3.7MiB)
Downloading pillow (4.4MiB)
Downloading fonttools (4.7MiB)
Downloading labmaze (4.7MiB)
 Downloaded diffusers
 Downloaded hf-transfer
Downloading debugpy (3.0MiB)
Downloading tokenizers (2.9MiB)
 Downloaded numba
Downloading jax (2.3MiB)
 Downloaded pyopengl
Downloading widgetsnbextension (2.1MiB)
 Downloaded mujoco
 Downloaded h5py
 Downloaded pillow
Downloading ml-dtypes (2.1MiB)
 Downloaded fonttools
Downloading networkx (1.9MiB)
 Downloaded lxml
Downloading pydantic-core (1.9MiB)
 Downloaded labmaze
Downloading aiohttp (1.6MiB)
Downloading jedi (1.5MiB)
Downloading kiwisolver (1.4MiB)
 Downloaded hf-xet
Downloading torchcodec (1.3MiB)
 Downloaded virtualenv
 Downloaded sympy
Downloading sentencepiece (1.2MiB)
Downloading pygments (1.2MiB)
 Downloaded jax
Downloading setuptools (1.1MiB)
 Downloaded widgetsnbextension
 Downloaded kiwisolver
 Downloaded jedi
Downloading nvidia-cufile-cu12 (1.1MiB)
 Downloaded debugpy
 Downloaded aiohttp
 Downloaded tokenizers
Downloading pymunk (1.0MiB)
 Downloaded torchcodec
 Downloaded networkx
 Downloaded ml-dtypes
 Downloaded pydantic-core
 Downloaded torchvision
 Downloaded pygments
 Downloaded sentencepiece
 Downloaded setuptools
 Downloaded nvidia-cufile-cu12
 Downloaded pymunk
 Downloaded matplotlib
 Downloaded nvidia-cuda-cupti-cu12
 Downloaded numcodecs
   Building evdev==1.9.2
   Building antlr4-python3-runtime==4.9.3
 Downloaded transformers
 Downloaded ruff
 Downloaded pandas
 Downloaded jax-cuda12-plugin
 Downloaded tensorstore
 Downloaded numpy
      Built openpi-client @ file:///workspace/openpi/packages/openpi-client
 Downloaded nvidia-nvjitlink-cu12
      Built openpi @ file:///workspace/openpi
 Downloaded wandb
 Downloaded nvidia-cuda-nvrtc-cu12
      Built antlr4-python3-runtime==4.9.3
 Downloaded imageio-ffmpeg
 Downloaded cmake
 Downloaded av
 Downloaded polars
 Downloaded scipy
 Downloaded dm-control
 Downloaded nvidia-cuda-nvcc-cu12
 Downloaded pyarrow
 Downloaded llvmlite
 Downloaded opencv-python-headless
    Updated https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
   Building lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
      Built evdev==1.9.2
 Downloaded nvidia-curand-cu12
 Downloaded opencv-python
 Downloaded rerun-sdk
      Built lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded jax-cuda12-pjrt
 Downloaded jaxlib
 Downloaded nvidia-cusparselt-cu12
 Downloaded triton
 Downloaded nvidia-cusolver-cu12
 Downloaded nvidia-nccl-cu12
 Downloaded nvidia-cufft-cu12
 Downloaded nvidia-cusparse-cu12
 Downloaded nvidia-cublas-cu12
 Downloaded nvidia-cudnn-cu12
 Downloaded torch
Prepared 240 packages in 16.29s
Installed 240 packages in 2.24s
 + absl-py==2.3.0
 + aiohappyeyeballs==2.6.1
 + aiohttp==3.12.4
 + aiosignal==1.3.2
 + annotated-types==0.7.0
 + antlr4-python3-runtime==4.9.3
 + asttokens==3.0.0
 + attrs==25.3.0
 + augmax==0.4.1
 + av==17.0.0
 + beartype==0.19.0
 + beautifulsoup4==4.13.4
 + blinker==1.9.0
 + cachetools==5.5.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + cfgv==3.4.0
 + charset-normalizer==3.4.2
 + chex==0.1.90
 + click==8.2.1
 + cloudpickle==3.1.1
 + cmake==4.0.2
 + comm==0.2.2
 + contourpy==1.3.2
 + crc32c==2.7.1
 + cycler==0.12.1
 + datasets==3.6.0
 + debugpy==1.8.14
 + decorator==5.2.1
 + deepdiff==8.5.0
 + diffusers==0.33.1
 + dill==0.3.8
 + distlib==0.3.9
 + dm-control==1.0.14
 + dm-env==1.6
 + dm-tree==0.1.9
 + docker-pycreds==0.4.0
 + docstring-parser==0.16
 + donfig==0.8.1.post1
 + draccus==0.10.0
 + einops==0.8.1
 + equinox==0.12.2
 + etils==1.12.2
 + evdev==1.9.2
 + executing==2.2.0
 + farama-notifications==0.0.4
 + filelock==3.18.0
 + flask==3.1.1
 + flatbuffers==25.2.10
 + flax==0.10.2
 + fonttools==4.58.1
 + frozenlist==1.6.0
 + fsspec==2025.3.0
 + gcsfs==2025.3.0
 + gdown==5.2.0
 + gitdb==4.0.12
 + gitpython==3.1.44
 + glfw==2.9.0
 + google-api-core==2.24.2
 + google-auth==2.40.2
 + google-auth-oauthlib==1.2.2
 + google-cloud-core==2.4.3
 + google-cloud-storage==3.1.0
 + google-crc32c==1.7.1
 + google-resumable-media==2.7.2
 + googleapis-common-protos==1.70.0
 + gym-aloha==0.1.1
 + gymnasium==0.29.1
 + h5py==3.13.0
 + hf-transfer==0.1.9
 + hf-xet==1.1.2
 + huggingface-hub==0.32.3
 + humanize==4.12.3
 + identify==2.6.12
 + idna==3.10
 + imageio==2.37.0
 + imageio-ffmpeg==0.6.0
 + importlib-metadata==8.7.0
 + importlib-resources==6.5.2
 + iniconfig==2.1.0
 + inquirerpy==0.3.4
 + ipykernel==6.29.5
 + ipython==9.2.0
 + ipython-pygments-lexers==1.1.1
 + ipywidgets==8.1.7
 + itsdangerous==2.2.0
 + jax==0.5.3
 + jax-cuda12-pjrt==0.5.3
 + jax-cuda12-plugin==0.5.3
 + jaxlib==0.5.3
 + jaxtyping==0.2.36
 + jedi==0.19.2
 + jinja2==3.1.6
 + jsonlines==4.0.0
 + jupyter-client==8.6.3
 + jupyter-core==5.8.1
 + jupyterlab-widgets==3.0.15
 + kiwisolver==1.4.8
 + labmaze==1.0.6
 + lerobot==0.1.0 (from git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
 + llvmlite==0.44.0
 + lxml==5.4.0
 + markdown-it-py==3.0.0
 + markupsafe==3.0.2
 + matplotlib==3.10.3
 + matplotlib-inline==0.1.7
 + mdurl==0.1.2
 + mergedeep==1.3.4
 + ml-collections==1.0.0
 + ml-dtypes==0.4.1
 + mpmath==1.3.0
 + msgpack==1.1.0
 + mujoco==2.3.7
 + multidict==6.4.4
 + multiprocess==0.70.16
 + mypy-extensions==1.1.0
 + nest-asyncio==1.6.0
 + networkx==3.5
 + nodeenv==1.9.1
 + numba==0.61.2
 + numcodecs==0.16.1
 + numpy==1.26.4
 + numpydantic==1.6.9
 + nvidia-cublas-cu12==12.6.4.1
 + nvidia-cuda-cupti-cu12==12.6.80
 + nvidia-cuda-nvcc-cu12==12.9.41
 + nvidia-cuda-nvrtc-cu12==12.6.77
 + nvidia-cuda-runtime-cu12==12.6.77
 + nvidia-cudnn-cu12==9.5.1.17
 + nvidia-cufft-cu12==11.3.0.4
 + nvidia-cufile-cu12==1.11.1.6
 + nvidia-curand-cu12==10.3.7.77
 + nvidia-cusolver-cu12==11.7.1.2
 + nvidia-cusparse-cu12==12.5.4.2
 + nvidia-cusparselt-cu12==0.6.3
 + nvidia-ml-py==12.575.51
 + nvidia-nccl-cu12==2.26.2
 + nvidia-nvjitlink-cu12==12.6.85
 + nvidia-nvtx-cu12==12.6.77
 + oauthlib==3.2.2
 + omegaconf==2.3.0
 + opencv-python==4.11.0.86
 + opencv-python-headless==4.11.0.86
 + openpi==0.1.0 (from file:///workspace/openpi)
 + openpi-client==0.1.0 (from file:///workspace/openpi/packages/openpi-client)
 + opt-einsum==3.4.0
 + optax==0.2.4
 + orbax-checkpoint==0.11.13
 + orderly-set==5.4.1
 + packaging==25.0
 + pandas==2.2.3
 + parso==0.8.4
 + pexpect==4.9.0
 + pfzy==0.3.4
 + pillow==11.2.1
 + platformdirs==4.3.8
 + pluggy==1.6.0
 + polars==1.30.0
 + pre-commit==4.2.0
 + prompt-toolkit==3.0.51
 + propcache==0.3.1
 + proto-plus==1.26.1
 + protobuf==4.25.8
 + psutil==7.0.0
 + ptyprocess==0.7.0
 + pure-eval==0.2.3
 + pyarrow==20.0.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + pycparser==2.22
 + pydantic==2.11.5
 + pydantic-core==2.33.2
 + pygments==2.19.1
 + pymunk==7.0.0
 + pynput==1.8.1
 + pynvml==12.0.0
 + pyopengl==3.1.9
 + pyparsing==3.2.3
 + pysocks==1.7.1
 + pytest==8.3.5
 + python-dateutil==2.9.0.post0
 + python-xlib==0.33
 + pytz==2025.2
 + pyyaml==6.0.2
 + pyyaml-include==1.4.1
 + pyzmq==26.4.0
 + regex==2024.11.6
 + requests==2.32.3
 + requests-oauthlib==2.0.0
 + rerun-sdk==0.23.1
 + rich==14.0.0
 + rsa==4.9.1
 + ruff==0.11.12
 + safetensors==0.5.3
 + scipy==1.15.3
 + sentencepiece==0.2.0
 + sentry-sdk==2.29.1
 + setproctitle==1.3.6
 + setuptools==80.9.0
 + shtab==1.7.2
 + simplejson==3.20.1
 + six==1.17.0
 + smmap==5.0.2
 + soupsieve==2.7
 + stack-data==0.6.3
 + sympy==1.14.0
 + tensorstore==0.1.74
 + termcolor==3.1.0
 + tokenizers==0.21.1
 + toml==0.10.2
 + toolz==1.0.0
 + torch==2.7.1
 + torchcodec==0.4.0
 + torchvision==0.22.1
 + tornado==6.5.1
 + tqdm==4.67.1
 + tqdm-loggable==0.2
 + traitlets==5.14.3
 + transformers==4.53.2
 + treescope==0.1.9
 + triton==3.3.1
 + typeguard==4.4.2
 + typing-extensions==4.13.2
 + typing-inspect==0.9.0
 + typing-inspection==0.4.1
 + tyro==0.9.22
 + tzdata==2025.2
 + urllib3==2.4.0
 + virtualenv==20.31.2
 + wadler-lindig==0.1.6
 + wandb==0.19.11
 + wcwidth==0.2.13
 + websockets==15.0.1
 + werkzeug==3.1.3
 + widgetsnbextension==4.0.14
 + wrapt==1.14.1
 + xxhash==3.5.0
 + yarl==1.20.0
 + zarr==3.0.8
 + zipp==3.22.0
    (23 秒)

=== 3f. addon・設定・assets (pi05_so101_teleop_even_lora)
installed: policies/mecharm_policy.py + config.py (pi05_mecharm_lora)
installed: pi05_mecharm_trim_lora (repo_id=local/mecharm_redblock_box_teach_v1_trim2, 4,000 steps)
installed: policies/so101_policy.py + pi05_so101_teleop_even_lora (repo_id=local/so101_redblock_box_teleop_even_v1, 3000 steps, decay_steps 3000, init=π0.5 base)
    (2 秒)

=== 4. サーバーの起動
[SERVE ] --model so101a: --policy.config=pi05_so101_teleop_even_lora --policy.dir=/workspace/ckpt/so101_teleop_even_v1_2999
INFO:websockets.server:server listening on 0.0.0.0:8000
    (58 秒)

=== 5. Mac の 8000 番へのトンネル
[TUNNEL] localhost:8000 → Pod の 8000 番 (pid 28115. このスクリプトが終わると閉じる)
    (3 秒)

=== 5b. 空打ち (1 回目の推論の待ちを先に済ませる)
[WARM  ] 空打ち 56.4 秒 (答え (10, 6))
    (56 秒)
[SERVE ] --serve-only: サーバー (--model so101a) は localhost:8000 で待っています.
         デーモン・HOME・爪・位置合わせ・推論には進みません. 終わるときは Ctrl-C か kill (TERM) (Pod は消さない)

[SERVE ] 終わりの合図を受けました. トンネルを閉じて終わります

=== かかった時間  モデル so101a (PixelstoMotors/pi05-so101-teleop-even-lora-v1)
  1. Pod を作る                      3 秒
  2. Pod が立ち上がるまで待つ     27 秒
  3a. スクリプトを送る        128 秒
  3b. huggingface_hub を入れ, 鍵を渡す     10 秒
  3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)     11 秒
  3d. openpi を取る (215abfb)       15 秒
  3e. uv sync                          23 秒
  3f. addon・設定・assets (pi05_so101_teleop_even_lora)      2 秒
  4. サーバーの起動             58 秒
  5. Mac の 8000 番へのトンネル      3 秒
  5b. 空打ち (1 回目の推論の待ちを先に済ませる)     56 秒

[LAB   ] Pod は残しています (id 95kzk0szxtq05z). 片付けは ./lab_stop.sh --log so101_Log10
[TUNNEL] 8000 番のトンネルを閉じました
```

#### serve.log（依頼286）

```text
INFO:root:Loading model...
INFO:2026-11-24 07:56:42,348:jax._src.xla_bridge:925: Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
INFO:jax._src.xla_bridge:Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
INFO:2026-11-24 07:56:42,353:jax._src.xla_bridge:925: Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
INFO:jax._src.xla_bridge:Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
INFO:absl:orbax-checkpoint version: 0.11.13
INFO:absl:Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x784d858ab0d0>
INFO:absl:Restoring checkpoint from /workspace/ckpt/so101_teleop_even_v1_2999/params.
INFO:absl:[thread=MainThread] Failed to get flag value for EXPERIMENTAL_ORBAX_USE_DISTRIBUTED_PROCESS_ID.
INFO:absl:[process=0] /jax/checkpoint/read/bytes_per_sec: 912.5 MiB/s (total bytes: 6.3 GiB) (time elapsed: 7 seconds) (per-host)
INFO:absl:Finished restoring checkpoint in 7.12 seconds from /workspace/ckpt/so101_teleop_even_v1_2999/params.
INFO:openpi.shared.download:Downloading gs://big_vision/paligemma_tokenizer.model to /root/.cache/openpi/big_vision/paligemma_tokenizer.model
INFO:tqdm_loggable.tqdm_logging:Progress on: -/4264023 rate:- remaining:? elapsed:00:00 postfix:-
INFO:tqdm_loggable.tqdm_logging:Progress on: 4.07MiB/4.07MiB rate:2,391,953.2iB/s remaining:00:00 elapsed:00:02 postfix:-
INFO:root:Loaded norm stats from /workspace/openpi/assets/pi05_so101_teleop_even_lora/local/so101_redblock_box_teleop_even_v1
INFO:root:Loaded norm stats from /workspace/ckpt/so101_teleop_even_v1_2999/assets/local/so101_redblock_box_teleop_even_v1
INFO:root:Creating server (host: 0f18acb124a8, ip: 172.22.0.2)
INFO:websockets.server:server listening on 0.0.0.0:8000
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 38628) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 38628) closed
ERROR:websockets.server:opening handshake failed
Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 138, in parse
    request_line = yield from parse_line(read_line)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 309, in parse_line
    line = yield from read_line(MAX_LINE_LENGTH)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/streams.py", line 46, in read_line
    raise EOFError(f"stream ends after {p} bytes, before end of line")
EOFError: stream ends after 0 bytes, before end of line

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/server.py", line 545, in parse
    request = yield from Request.parse(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 140, in parse
    raise EOFError("connection closed while reading HTTP request line") from exc
EOFError: connection closed while reading HTTP request line

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/asyncio/server.py", line 356, in conn_handler
    await connection.handshake(
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/asyncio/server.py", line 207, in handshake
    raise self.protocol.handshake_exc
websockets.exceptions.InvalidMessage: did not receive a valid HTTP request
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 38210) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 38210) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 44528) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 44528) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 54920) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 54920) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 46346) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 46346) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 51384) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 51384) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 56208) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 56208) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 33372) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 33372) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 52958) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 52958) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 43738) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 43738) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 55610) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 55610) closed
```

#### lab_stop のログ（依頼286）

```text
[STOP  ] so101_Log10 の Pod: id 95kzk0szxtq05z  GPU=NVIDIA A40  作った時刻 2026-11-24 16:52:35
[LOG   ] serve.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/serve.log (81 行)
[STOP  ] Terminate を送った (17:32:25)
[STOP  ] Pod (id 95kzk0szxtq05z) が消えたことを API で確かめた
[COST  ] 借りていた時間 39 分 50 秒 (0.66 時間) × 1時間 0.59 ドル = 約 0.39 ドル (約 62 円. 1ドル=158円)
[TUNNEL] 8000 番のトンネルは残っていません
```

#### so101/check_286/session_286.sh

```bash
#!/bin/bash
# 依頼 286: エイイチの前の Terminal で流す案内つきの通し (電流の速さ → 推論 10 回 → 2 つの問い).
# サーバーとトンネルは lab_start.sh --model so101a --log so101_Log10 --serve-only が別に張っている (localhost:8000).
set -u
HERE="$(cd "$(dirname "$0")/../.." && pwd)"     # リポジトリの一番上
cd "$HERE" || exit 1
PY=/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python
LOGDIR=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10
HZDIR="$LOGDIR/currents_hz"
CSV="$LOGDIR/so101_trials.csv"
ANS="$LOGDIR/eiichi_answers_286.txt"

big() { printf '\n\033[1;33m==================================================\n  %s\n==================================================\033[0m\n' "$1"; }

big "依頼 286  SO-101 の π0.5 を実機で動かす"
echo "このウィンドウの案内どおりに進めます. 白い箱・カメラ・照明は動かさないでください."

# ---- 1. 電流の速さ ----
if ls "$HZDIR"/currents_hz_*.json >/dev/null 2>&1; then
    echo "[1] 電流の速さはもう測ってあります"
else
    big "1. 電流を読む速さを測る (10 秒 × 3 通り)"
    read -r -p "リーダーを休みの姿勢で持ったら Enter > " _
    "$PY" so101/check_286/currents_hz_286.py --out "$HZDIR" || { echo "[ERROR] 電流の速さを測れなかった"; read -r -p "Enter で閉じる > " _; exit 1; }
fi
HZ=$(ls -t "$HZDIR"/currents_hz_*.json | head -1)
CHOICE=$("$PY" -c "import json,sys;print(json.load(open(sys.argv[1]))['choice'])" "$HZ")
echo "[1] 推論の記録に残す電流: $CHOICE"

# ---- 2. 推論 ----
until nc -z localhost 8000 2>/dev/null; do echo "  サーバーの準備を待っています (Claude が用意しています) ..."; sleep 10; done
count_y() {   # $1 = prefetch 1/0. 場所 1 の y の数
    [ -f "$CSV" ] || { echo 0; return; }
    "$PY" -c "import csv,sys;print(sum(1 for r in csv.DictReader(open(sys.argv[1])) if r['prefetch']==sys.argv[2] and r['place']=='1' and r['result']=='success'))" "$CSV" "$1"
}
n_rows() { [ -f "$CSV" ] && "$PY" -c "import csv,sys;print(sum(1 for _ in csv.DictReader(open(sys.argv[1]))))" "$CSV" || echo 0; }

PLAN=(1:pre 1:pre 1:pre 1:nopre 1:nopre 1:nopre 2:best 3:best 4:best 5:best)
BEST=""
i=$(n_rows)
while [ "$i" -lt 10 ]; do
    item=${PLAN[$i]}; place=${item%%:*}; form=${item##*:}
    if [ "$form" = best ] && [ -z "$BEST" ]; then
        a=$(count_y 1); b=$(count_y 0)
        echo; echo "[形] 場所 1 で箱に入った回数: 先に問い合わせる $a 回 / 使い切ってから $b 回"
        if [ "$a" -gt "$b" ]; then BEST=pre; elif [ "$b" -gt "$a" ]; then BEST=nopre
        else
            while :; do
                read -r -p "同じ数です. 場所 2〜5 はどちらの形で? p=先に問い合わせる / n=使い切ってから > " k
                case "$k" in p) BEST=pre; break ;; n) BEST=nopre; break ;; esac
            done
            echo "エイイチの選択: $BEST (同数のため)" >> "$ANS"
        fi
    fi
    [ "$form" = best ] && form=$BEST
    label=$([ "$form" = pre ] && echo "先に問い合わせる形" || echo "使い切ってから問い合わせる形 (--no-prefetch)")
    big "$((i + 1)) 回目 / 10   場所 $place   $label"
    echo "ブロックを机の場所 $place の目印に置いてください."
    echo "動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)"
    echo "箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます."
    read -r -p "置いたら Enter / ここで止めるなら s と Enter > " k
    [ "$k" = s ] && { echo "[STOP] エイイチの指示で $((i + 1)) 回目の前で止めました" | tee -a "$ANS"; break; }
    ARGS=(--port 8000 --log-dir "$LOGDIR" --model so101a --step 2999 --execute --currents "$CHOICE")
    [ "$form" = nopre ] && ARGS+=(--no-prefetch)
    [ "$i" -ge 1 ] && ARGS+=(--skip-first-confirm)
    echo "(場所の番号を聞かれたら $place と入力)"
    "$PY" so101/run_so101_policy.py "${ARGS[@]}"
    echo "[CLIENT] 終了コード $?"
    new=$(n_rows)
    [ "$new" -gt "$i" ] || { echo "[WARN] 記録の行が増えていない. もう一度同じ回をやります"; }
    i=$new
done

# ---- 3. 問い ----
big "おしまい. 最後に 2 つだけ聞かせてください (1 行で. Enter で次へ)"
read -r -p "Q1 止まりながらの動きは見ていて気になった? 先に問い合わせる形と使い切ってからの形で違った? > " q1
read -r -p "Q2 フォロワーがガクッと飛んだ回はあった? (あれば何回目か) > " q2
{ echo "Q1 止まりながらの動き: $q1"; echo "Q2 ガクッと飛んだ回: $q2"; } >> "$ANS"
big "ありがとうございました. このウィンドウは閉じてかまいません (Pod の片付けは Claude が行います)"
echo DONE_286 > /tmp/r286/session_done
```

#### so101/check_286/currents_hz_286.py

```python
"""SO-101 で電流を読みながらテレオペして, 何コマ／秒で回るかを測る (依頼 286).

run_so101_policy.py の LiveArm (lerobot_safe_259.py の入口 A・B・休みの姿勢. カメラ 2 台も開く) をそのまま使い,
推論の 1 コマと同じ順 (観測 → 電流 → リーダー → 送る) を 30fps で 10 秒ずつ回す. 3 通り:
  off = 電流なし / lift_grip = shoulder_lift と gripper / all = 6 つ全部
電流はフォロワーの Present_Current (STS3215 の番地 69・2 バイト. 1 = 6.5 mA).
結果は <--out>/currents_hz_<時刻>.json (上書きしない). エイイチは画面の案内どおりにリーダーを動かすだけ.

    python so101/check_286/currents_hz_286.py --out /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/currents_hz
"""

import argparse
import json
import statistics
import sys
import time
from datetime import datetime
from pathlib import Path

import numpy as np

sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
import run_so101_policy as R  # noqa: E402

ORDER = ["off", "lift_grip", "all"]
SECONDS = 10.0
FULL_HZ = 29.5          # 10 秒で 295 コマ以上なら「30 コマ／秒が落ちない」とみる


def summarize(name, starts, cur_s, currents, motors):
    gaps = np.diff(starts)
    n = len(starts)
    span = starts[-1] - starts[0] if n > 1 else 0.0
    out = {"currents": name, "motors": motors, "frames": n, "seconds": round(span, 3),
           "hz": round((n - 1) / span, 2) if span else None,
           "gap_median_ms": round(float(np.median(gaps)) * 1e3, 2) if len(gaps) else None,
           "gap_max_ms": round(float(gaps.max()) * 1e3, 2) if len(gaps) else None,
           "slowest_hz": round(1.0 / float(gaps.max()), 2) if len(gaps) else None,
           "gaps_over_50ms": int((gaps > 0.05).sum()),
           "current_read_median_ms": round(statistics.median(cur_s) * 1e3, 2) if cur_s else None,
           "current_read_max_ms": round(max(cur_s) * 1e3, 2) if cur_s else None}
    if currents:
        c = np.asarray(currents)
        out["current_raw_min"] = c.min(0).tolist()
        out["current_raw_max"] = c.max(0).tolist()
        out["current_mA_max"] = (c.max(0) * 6.5).round(1).tolist()
    return out


def run_one(arm, name):
    arm.current_motors = R.CURRENT_SETS[name]
    starts, cur_s, currents = [], [], []
    nxt = time.perf_counter()
    t_end = nxt + SECONDS
    while True:
        t0 = time.perf_counter()
        if t0 >= t_end:
            break
        starts.append(t0)
        arm.observe()
        if arm.current_motors:
            c0 = time.perf_counter()
            currents.append(arm.read_currents())
            cur_s.append(time.perf_counter() - c0)
        lt = arm.leader_target()
        if lt is not None:
            arm.send(lt)
        nxt += 1.0 / R.FPS
        dt = nxt - time.perf_counter()
        if dt > 0:
            time.sleep(dt)
        else:
            nxt = time.perf_counter()
    return summarize(name, starts, cur_s, currents, arm.current_motors)


def main():
    ap = argparse.ArgumentParser()
    ap.add_argument("--out", required=True)
    args = ap.parse_args()
    out = Path(args.out)
    out.mkdir(parents=True, exist_ok=True)
    path = out / f"currents_hz_{datetime.now():%Y%m%d_%H%M%S}.json"
    if path.exists():
        sys.exit(f"[ERROR] もうある (上書きしない): {path}")
    print("\n========== 電流を読む速さを測る (10 秒 × 3 通り) ==========")
    print("フォロワーに力を入れます. リーダーを休みの姿勢のまま持っていてください.")
    arm = R.LiveArm()
    results = []
    try:
        for i, name in enumerate(ORDER, 1):
            label = {"off": "電流なし", "lift_grip": "爪と肩 (shoulder_lift・gripper)", "all": "6 つ全部"}[name]
            input(f"\n[{i}/3] {label}: Enter を押したら 10 秒, リーダーでゆっくり大きく動かしてください "
                  "(肩を上げ下げ・爪を開け閉め) > ")
            print("  ... 測っています (10 秒)")
            r = run_one(arm, name)
            results.append(r)
            print(f"  → {r['hz']} コマ／秒 (コマの間 中央値 {r['gap_median_ms']} ms・最も遅い {r['gap_max_ms']} ms"
                  f" = {r['slowest_hz']} コマ／秒)" + (f"  電流の読み 中央値 {r['current_read_median_ms']} ms" if r['current_read_median_ms'] else ""))
            print("  測り終えました. リーダーをそのまま止めておいてください")
    finally:
        print("\nリーダーで休みの姿勢へ戻してください (戻ると力が抜けます)")
        arm.close()
    full = {r["currents"]: (r["frames"] - 1) / SECONDS >= FULL_HZ for r in results}
    choice = "all" if full.get("all") else "lift_grip"
    rec = {"request": 286, "at": datetime.now().isoformat(timespec="seconds"), "seconds_each": SECONDS,
           "register": {"name": "Present_Current", "addr": 69, "size": 2, "unit_mA": 6.5},
           "rule": f"6 つ全部で 10 秒に {int(FULL_HZ * SECONDS)} コマ以上 (= 30 コマ／秒が落ちない) なら all, 落ちるなら lift_grip",
           "results": results, "keeps_30": full, "choice": choice}
    path.write_text(json.dumps(rec, ensure_ascii=False, indent=2) + "\n")
    print(f"\n選んだもの: {choice}  → {path}")
    return 0


if __name__ == "__main__":
    sys.exit(main())
```

#### commit c283fbb の差分（依頼286）

```diff
commit c283fbbeaf254d4dac5db3d0a50dc0600be6cd7a
Date: Tue Nov 24 17:32:50 2026 +0900

SO-101 の π0.5 (so101a) を実機で初めて動かす (依頼 286・エイイチ立ち会い・フォロワーを動かした). run_so101_policy.py に --currents off/lift_grip/all (既定 off は読まず記録の列も作らない. フォロワーの Present_Current = STS3215 の番地 69・2 バイト・1=6.5mA を 1 コマごとに ptm.current へ) と, n のときの失敗の番号 (1〜6) を足し, so101_trials.csv に stall_total_s・fail_reason・currents. check_286/currents_hz_286.py (テレオペ 10 秒 × 3 通り): off・lift_grip・all とも 29.98 コマ／秒 (最も遅いコマ 43.8・44.6・45.1 ms) → all. check_286/session_286.sh (Terminal での案内つきの通し). so101_Log10 で 10 回とも箱に入った (場所 1 先に問い合わせる 3/3・使い切ってから 3/3, 同数でエイイチが先に問い合わせる形を選び場所 2〜5). テスト: test_run_so101_policy 38 件 OK

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/so101/check_286/currents_hz_286.py b/so101/check_286/currents_hz_286.py
new file mode 100644
index 0000000..3d028cb
--- /dev/null
+++ b/so101/check_286/currents_hz_286.py
@@ -0,0 +1,116 @@
+"""SO-101 で電流を読みながらテレオペして, 何コマ／秒で回るかを測る (依頼 286).
+
+run_so101_policy.py の LiveArm (lerobot_safe_259.py の入口 A・B・休みの姿勢. カメラ 2 台も開く) をそのまま使い,
+推論の 1 コマと同じ順 (観測 → 電流 → リーダー → 送る) を 30fps で 10 秒ずつ回す. 3 通り:
+  off = 電流なし / lift_grip = shoulder_lift と gripper / all = 6 つ全部
+電流はフォロワーの Present_Current (STS3215 の番地 69・2 バイト. 1 = 6.5 mA).
+結果は <--out>/currents_hz_<時刻>.json (上書きしない). エイイチは画面の案内どおりにリーダーを動かすだけ.
+
+    python so101/check_286/currents_hz_286.py --out /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/currents_hz
+"""
+
+import argparse
+import json
+import statistics
+import sys
+import time
+from datetime import datetime
+from pathlib import Path
+
+import numpy as np
+
+sys.path.insert(0, str(Path(__file__).resolve().parents[1]))
+import run_so101_policy as R  # noqa: E402
+
+ORDER = ["off", "lift_grip", "all"]
+SECONDS = 10.0
+FULL_HZ = 29.5          # 10 秒で 295 コマ以上なら「30 コマ／秒が落ちない」とみる
+
+
+def summarize(name, starts, cur_s, currents, motors):
+    gaps = np.diff(starts)
+    n = len(starts)
+    span = starts[-1] - starts[0] if n > 1 else 0.0
+    out = {"currents": name, "motors": motors, "frames": n, "seconds": round(span, 3),
+           "hz": round((n - 1) / span, 2) if span else None,
+           "gap_median_ms": round(float(np.median(gaps)) * 1e3, 2) if len(gaps) else None,
+           "gap_max_ms": round(float(gaps.max()) * 1e3, 2) if len(gaps) else None,
+           "slowest_hz": round(1.0 / float(gaps.max()), 2) if len(gaps) else None,
+           "gaps_over_50ms": int((gaps > 0.05).sum()),
+           "current_read_median_ms": round(statistics.median(cur_s) * 1e3, 2) if cur_s else None,
+           "current_read_max_ms": round(max(cur_s) * 1e3, 2) if cur_s else None}
+    if currents:
+        c = np.asarray(currents)
+        out["current_raw_min"] = c.min(0).tolist()
+        out["current_raw_max"] = c.max(0).tolist()
+        out["current_mA_max"] = (c.max(0) * 6.5).round(1).tolist()
+    return out
+
+
+def run_one(arm, name):
+    arm.current_motors = R.CURRENT_SETS[name]
+    starts, cur_s, currents = [], [], []
+    nxt = time.perf_counter()
+    t_end = nxt + SECONDS
+    while True:
+        t0 = time.perf_counter()
+        if t0 >= t_end:
+            break
+        starts.append(t0)
+        arm.observe()
+        if arm.current_motors:
+            c0 = time.perf_counter()
+            currents.append(arm.read_currents())
+            cur_s.append(time.perf_counter() - c0)
+        lt = arm.leader_target()
+        if lt is not None:
+            arm.send(lt)
+        nxt += 1.0 / R.FPS
+        dt = nxt - time.perf_counter()
+        if dt > 0:
+            time.sleep(dt)
+        else:
+            nxt = time.perf_counter()
+    return summarize(name, starts, cur_s, currents, arm.current_motors)
+
+
+def main():
+    ap = argparse.ArgumentParser()
+    ap.add_argument("--out", required=True)
+    args = ap.parse_args()
+    out = Path(args.out)
+    out.mkdir(parents=True, exist_ok=True)
+    path = out / f"currents_hz_{datetime.now():%Y%m%d_%H%M%S}.json"
+    if path.exists():
+        sys.exit(f"[ERROR] もうある (上書きしない): {path}")
+    print("\n========== 電流を読む速さを測る (10 秒 × 3 通り) ==========")
+    print("フォロワーに力を入れます. リーダーを休みの姿勢のまま持っていてください.")
+    arm = R.LiveArm()
+    results = []
+    try:
+        for i, name in enumerate(ORDER, 1):
+            label = {"off": "電流なし", "lift_grip": "爪と肩 (shoulder_lift・gripper)", "all": "6 つ全部"}[name]
+            input(f"\n[{i}/3] {label}: Enter を押したら 10 秒, リーダーでゆっくり大きく動かしてください "
+                  "(肩を上げ下げ・爪を開け閉め) > ")
+            print("  ... 測っています (10 秒)")
+            r = run_one(arm, name)
+            results.append(r)
+            print(f"  → {r['hz']} コマ／秒 (コマの間 中央値 {r['gap_median_ms']} ms・最も遅い {r['gap_max_ms']} ms"
+                  f" = {r['slowest_hz']} コマ／秒)" + (f"  電流の読み 中央値 {r['current_read_median_ms']} ms" if r['current_read_median_ms'] else ""))
+            print("  測り終えました. リーダーをそのまま止めておいてください")
+    finally:
+        print("\nリーダーで休みの姿勢へ戻してください (戻ると力が抜けます)")
+        arm.close()
+    full = {r["currents"]: (r["frames"] - 1) / SECONDS >= FULL_HZ for r in results}
+    choice = "all" if full.get("all") else "lift_grip"
+    rec = {"request": 286, "at": datetime.now().isoformat(timespec="seconds"), "seconds_each": SECONDS,
+           "register": {"name": "Present_Current", "addr": 69, "size": 2, "unit_mA": 6.5},
+           "rule": f"6 つ全部で 10 秒に {int(FULL_HZ * SECONDS)} コマ以上 (= 30 コマ／秒が落ちない) なら all, 落ちるなら lift_grip",
+           "results": results, "keeps_30": full, "choice": choice}
+    path.write_text(json.dumps(rec, ensure_ascii=False, indent=2) + "\n")
+    print(f"\n選んだもの: {choice}  → {path}")
+    return 0
+
+
+if __name__ == "__main__":
+    sys.exit(main())
diff --git a/so101/check_286/session_286.sh b/so101/check_286/session_286.sh
new file mode 100755
index 0000000..1dc5b6a
--- /dev/null
+++ b/so101/check_286/session_286.sh
@@ -0,0 +1,80 @@
+#!/bin/bash
+# 依頼 286: エイイチの前の Terminal で流す案内つきの通し (電流の速さ → 推論 10 回 → 2 つの問い).
+# サーバーとトンネルは lab_start.sh --model so101a --log so101_Log10 --serve-only が別に張っている (localhost:8000).
+set -u
+HERE="$(cd "$(dirname "$0")/../.." && pwd)"     # リポジトリの一番上
+cd "$HERE" || exit 1
+PY=/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python
+LOGDIR=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10
+HZDIR="$LOGDIR/currents_hz"
+CSV="$LOGDIR/so101_trials.csv"
+ANS="$LOGDIR/eiichi_answers_286.txt"
+
+big() { printf '\n\033[1;33m==================================================\n  %s\n==================================================\033[0m\n' "$1"; }
+
+big "依頼 286  SO-101 の π0.5 を実機で動かす"
+echo "このウィンドウの案内どおりに進めます. 白い箱・カメラ・照明は動かさないでください."
+
+# ---- 1. 電流の速さ ----
+if ls "$HZDIR"/currents_hz_*.json >/dev/null 2>&1; then
+    echo "[1] 電流の速さはもう測ってあります"
+else
+    big "1. 電流を読む速さを測る (10 秒 × 3 通り)"
+    read -r -p "リーダーを休みの姿勢で持ったら Enter > " _
+    "$PY" so101/check_286/currents_hz_286.py --out "$HZDIR" || { echo "[ERROR] 電流の速さを測れなかった"; read -r -p "Enter で閉じる > " _; exit 1; }
+fi
+HZ=$(ls -t "$HZDIR"/currents_hz_*.json | head -1)
+CHOICE=$("$PY" -c "import json,sys;print(json.load(open(sys.argv[1]))['choice'])" "$HZ")
+echo "[1] 推論の記録に残す電流: $CHOICE"
+
+# ---- 2. 推論 ----
+until nc -z localhost 8000 2>/dev/null; do echo "  サーバーの準備を待っています (Claude が用意しています) ..."; sleep 10; done
+count_y() {   # $1 = prefetch 1/0. 場所 1 の y の数
+    [ -f "$CSV" ] || { echo 0; return; }
+    "$PY" -c "import csv,sys;print(sum(1 for r in csv.DictReader(open(sys.argv[1])) if r['prefetch']==sys.argv[2] and r['place']=='1' and r['result']=='success'))" "$CSV" "$1"
+}
+n_rows() { [ -f "$CSV" ] && "$PY" -c "import csv,sys;print(sum(1 for _ in csv.DictReader(open(sys.argv[1]))))" "$CSV" || echo 0; }
+
+PLAN=(1:pre 1:pre 1:pre 1:nopre 1:nopre 1:nopre 2:best 3:best 4:best 5:best)
+BEST=""
+i=$(n_rows)
+while [ "$i" -lt 10 ]; do
+    item=${PLAN[$i]}; place=${item%%:*}; form=${item##*:}
+    if [ "$form" = best ] && [ -z "$BEST" ]; then
+        a=$(count_y 1); b=$(count_y 0)
+        echo; echo "[形] 場所 1 で箱に入った回数: 先に問い合わせる $a 回 / 使い切ってから $b 回"
+        if [ "$a" -gt "$b" ]; then BEST=pre; elif [ "$b" -gt "$a" ]; then BEST=nopre
+        else
+            while :; do
+                read -r -p "同じ数です. 場所 2〜5 はどちらの形で? p=先に問い合わせる / n=使い切ってから > " k
+                case "$k" in p) BEST=pre; break ;; n) BEST=nopre; break ;; esac
+            done
+            echo "エイイチの選択: $BEST (同数のため)" >> "$ANS"
+        fi
+    fi
+    [ "$form" = best ] && form=$BEST
+    label=$([ "$form" = pre ] && echo "先に問い合わせる形" || echo "使い切ってから問い合わせる形 (--no-prefetch)")
+    big "$((i + 1)) 回目 / 10   場所 $place   $label"
+    echo "ブロックを机の場所 $place の目印に置いてください."
+    echo "動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)"
+    echo "箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます."
+    read -r -p "置いたら Enter / ここで止めるなら s と Enter > " k
+    [ "$k" = s ] && { echo "[STOP] エイイチの指示で $((i + 1)) 回目の前で止めました" | tee -a "$ANS"; break; }
+    ARGS=(--port 8000 --log-dir "$LOGDIR" --model so101a --step 2999 --execute --currents "$CHOICE")
+    [ "$form" = nopre ] && ARGS+=(--no-prefetch)
+    [ "$i" -ge 1 ] && ARGS+=(--skip-first-confirm)
+    echo "(場所の番号を聞かれたら $place と入力)"
+    "$PY" so101/run_so101_policy.py "${ARGS[@]}"
+    echo "[CLIENT] 終了コード $?"
+    new=$(n_rows)
+    [ "$new" -gt "$i" ] || { echo "[WARN] 記録の行が増えていない. もう一度同じ回をやります"; }
+    i=$new
+done
+
+# ---- 3. 問い ----
+big "おしまい. 最後に 2 つだけ聞かせてください (1 行で. Enter で次へ)"
+read -r -p "Q1 止まりながらの動きは見ていて気になった? 先に問い合わせる形と使い切ってからの形で違った? > " q1
+read -r -p "Q2 フォロワーがガクッと飛んだ回はあった? (あれば何回目か) > " q2
+{ echo "Q1 止まりながらの動き: $q1"; echo "Q2 ガクッと飛んだ回: $q2"; } >> "$ANS"
+big "ありがとうございました. このウィンドウは閉じてかまいません (Pod の片付けは Claude が行います)"
+echo DONE_286 > /tmp/r286/session_done
diff --git a/so101/run_so101_policy.py b/so101/run_so101_policy.py
index 2ee3fe7..bee3a83 100644
--- a/so101/run_so101_policy.py
+++ b/so101/run_so101_policy.py
@@ -48,6 +48,9 @@ mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節
   <--log-dir>/so101/<試行>/ へ写す (Hugging Face には送らない)
   <--log-dir>/so101_trials.csv に 1 行: 試行・だれが動かしたか (AI / AI+人の手直し)・場所・モデル・step・--exec-steps・
   先に問い合わせたか・結果・答えの切り替えで腕が止まった時間 など
+  n (失敗) のときは, どこで失敗したかの番号 (FAIL_REASONS. 1〜6) も聞いて fail_reason に残す (依頼 286)
+電流 (依頼 286): --currents lift_grip / all で, 1 コマごとにフォロワーの Present_Current (STS3215 の番地 69・2 バイト.
+  1 = 6.5 mA. rustypot の sts3215 の表も 69・2) を読み, 記録の ptm.current (生の値) に残す. 既定 off は読まない (今までどおり)
 """
 
 import argparse
@@ -89,10 +92,13 @@ TRIALS_CSV = "so101_trials.csv"
 TRIAL_COLUMNS = ["trial", "started_at", "operator", "place", "model", "step", "exec_steps", "execute", "result",
                  "frames", "frames_model", "frames_correct", "frames_pause", "queries", "latency_median_s",
                  "latency_max_s", "clipped_frames", "record_dir", "prefetch", "payload_bytes", "stall_median_s",
-                 "stall_max_s"]
+                 "stall_max_s", "stall_total_s", "fail_reason", "currents"]
 MODEL, CORRECT, PAUSE = 0, 1, 2
 MODE_NAMES = {MODEL: "model", CORRECT: "correct", PAUSE: "pause"}
 CAMERAS = ("desk", "wrist")
+CURRENT_SETS = {"off": [], "lift_grip": ["shoulder_lift", "gripper"], "all": list(MOTORS)}    # --currents (依頼 286)
+FAIL_REASONS = {"1": "ブロックまで行かない", "2": "つかめない", "3": "持ち上げで落とす", "4": "箱まで運べない",
+                "5": "箱の外に落とす", "6": "その他"}
 
 
 # ---- 画像・観測・答え (アームなしで確かめられる部分) ---------------------------------------------
@@ -242,7 +248,7 @@ def stall_of(gaps, fps=FPS):
 
 # ---- 記録 (LeRobot v3.0) ------------------------------------------------------------------------
 
-def dataset_features():
+def dataset_features(current_motors=()):
     f = {
         "observation.state": {"dtype": "float32", "shape": (6,), "names": JOINTS},
         "action": {"dtype": "float32", "shape": (6,), "names": JOINTS},
@@ -252,6 +258,8 @@ def dataset_features():
         "ptm.chunk_id": {"dtype": "int64", "shape": (1,), "names": None},
         "ptm.t_wall": {"dtype": "float64", "shape": (1,), "names": None},
     }
+    if current_motors:              # --currents (依頼 286). off のときは列を作らない (今までどおり)
+        f["ptm.current"] = {"dtype": "float32", "shape": (len(current_motors),), "names": list(current_motors)}
     for c in CAMERAS:
         f[f"observation.images.{c}"] = {"dtype": "video", "shape": (CAM_H, CAM_W, 3),
                                          "names": ["height", "width", "channels"]}
@@ -261,15 +269,17 @@ def dataset_features():
 class Recorder:
     """1 回の試行を LeRobot v3.0 の 1 本として書く (お手本と同じ列 + ptm.*)."""
 
-    def __init__(self, root, repo_id, use_videos=True):
+    def __init__(self, root, repo_id, use_videos=True, current_motors=()):
         from lerobot.datasets.lerobot_dataset import LeRobotDataset
         self.root = Path(root)
-        self.ds = LeRobotDataset.create(repo_id=repo_id, fps=FPS, features=dataset_features(), root=self.root,
+        self.current_motors = list(current_motors)
+        self.ds = LeRobotDataset.create(repo_id=repo_id, fps=FPS, features=dataset_features(self.current_motors),
+                                        root=self.root,
                                         robot_type="so_follower", use_videos=use_videos)
         self.modes, self.n = [], 0
 
-    def add(self, state, desk, wrist, action, sent, mode, chunk_step=-1, chunk_id=-1, t_wall=None):
-        self.ds.add_frame({
+    def add(self, state, desk, wrist, action, sent, mode, chunk_step=-1, chunk_id=-1, t_wall=None, current=None):
+        frame = {
             "observation.state": np.asarray(state, dtype=np.float32),
             "action": np.asarray(action, dtype=np.float32),
             "ptm.sent": np.asarray(sent, dtype=np.float32),
@@ -280,7 +290,11 @@ class Recorder:
             "observation.images.desk": np.asarray(desk, dtype=np.uint8),
             "observation.images.wrist": np.asarray(wrist, dtype=np.uint8),
             "task": PROMPT,
-        })
+        }
+        if self.current_motors:
+            c = np.full(len(self.current_motors), np.nan) if current is None else current
+            frame["ptm.current"] = np.asarray(c, dtype=np.float32)
+        self.ds.add_frame(frame)
         self.modes.append(mode)
         self.n += 1
 
@@ -347,7 +361,7 @@ class Policy:
 class LiveArm:
     """--execute: lerobot_safe_259.py の入口 (A・B・休みの姿勢) を通したフォロワー・リーダー・カメラ 2 台."""
 
-    def __init__(self):
+    def __init__(self, current_motors=()):
         import camera_lock_259 as cl
         import lerobot_safe_259 as safe
         from lerobot.cameras.opencv.configuration_opencv import OpenCVCameraConfig
@@ -371,6 +385,14 @@ class LiveArm:
             self.leader.disconnect()
             raise
         self.last_sent = np.array([self.robot._ptm_last_goal[m] for m in MOTORS], dtype=np.float64)
+        self.current_motors = list(current_motors)
+
+    def read_currents(self):
+        """フォロワーの Present_Current (生の値. 1 = 6.5 mA) を current_motors の順に. 読まない設定なら None (依頼 286)"""
+        if not self.current_motors:
+            return None
+        c = self.robot.bus.sync_read("Present_Current", self.current_motors)
+        return np.array([c[m] for m in self.current_motors], dtype=np.float64)
 
     def observe(self):
         o = self.robot.get_observation()
@@ -485,6 +507,16 @@ def ask_result(inp=input):
         print(f"  分からない入力: {raw!r} (y=成功 / n=失敗 / Enter=記録しない)")
 
 
+def ask_fail_reason(inp=input):
+    """n (失敗) のとき, どこで失敗したかの番号 (1〜6. 依頼 286). Enter なら空"""
+    menu = " / ".join(f"{k}={v}" for k, v in FAIL_REASONS.items())
+    while True:
+        raw = inp(f"どこで失敗した? {menu} > ").strip()
+        if raw == "" or raw in FAIL_REASONS:
+            return raw
+        print(f"  1〜6 の数字で: {raw!r}")
+
+
 def fmt(v):
     return " ".join(f"{x:+7.1f}" for x in v)
 
@@ -538,6 +570,7 @@ def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=
                     last_model_t = None
                     mode = new
             state, desk, wrist = arm.observe()      # 1 回目の答えは上で取った (Enter を待つ前). 記録はこのコマの観測
+            current = arm.read_currents() if hasattr(arm, "read_currents") else None     # --currents (依頼 286)
             chunk_step, new_chunk = -1, False
             if mode == MODEL:
                 if not queue:
@@ -582,7 +615,10 @@ def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=
                     sent = np.asarray(arm.last_sent, dtype=np.float64)
             else:
                 sent = arm.send(last_target)
-            recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id)
+            if current is None:
+                recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id)
+            else:
+                recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id, current=current)
             info["frames"] += 1
             nxt += 1.0 / FPS
             dt = nxt - clock()
@@ -614,10 +650,13 @@ def run(args):
     local.parent.mkdir(parents=True, exist_ok=True)
     safe.check_dataset_root(local)
     policy = Policy(args.port)
-    recorder = Recorder(local, f"local/{trial}")
-    arm, info, result, err = None, {}, "", None
+    current_motors = CURRENT_SETS[args.currents] if args.execute else []
+    if args.currents != "off":
+        print(f"[CURRENT] 1 コマごとに電流を読む: {', '.join(current_motors) or '(ドライランなので読まない)'}")
+    recorder = Recorder(local, f"local/{trial}", current_motors=current_motors)
+    arm, info, result, err, reason = None, {}, "", None, ""
     try:
-        arm = LiveArm() if args.execute else DryArm()
+        arm = LiveArm(current_motors) if args.execute else DryArm()
         with KeyReader() as keys:
             info = run_trial(arm, policy, recorder, lo, hi, args.exec_steps, keys, prefetch=not args.no_prefetch,
                              skip_confirm=args.skip_first_confirm)
@@ -630,8 +669,9 @@ def run(args):
     finally:
         try:
             result = ask_result() if recorder.n else ""
+            reason = ask_fail_reason() if result == "failure" else ""
         except (KeyboardInterrupt, EOFError):
-            result = ""
+            result = result or ""
         try:
             recorder.close()
         finally:
@@ -653,7 +693,8 @@ def run(args):
            "latency_median_s": "" if med is None else round(med, 3), "latency_max_s": "" if mx is None else round(mx, 3),
            "clipped_frames": info.get("clipped_frames", 0), "record_dir": str(dst), "prefetch": int(not args.no_prefetch),
            "payload_bytes": payload, "stall_median_s": "" if s_med is None else round(s_med, 3),
-           "stall_max_s": "" if s_mx is None else round(s_mx, 3)}
+           "stall_max_s": "" if s_mx is None else round(s_mx, 3), "stall_total_s": round(sum(stalls), 3),
+           "fail_reason": reason, "currents": args.currents}
     append_trial(log_dir / TRIALS_CSV, row)
     (dst / "trial.json").write_text(json.dumps({**row, "latencies_s": [round(x, 4) for x in policy.latencies],
                                                  "payloads_bytes": policy.payloads,
@@ -704,6 +745,8 @@ def main(argv=None):
     ap.add_argument("--skip-first-confirm", action="store_true", help="始めの確かめ (Enter) を待たない (2 回目の試行から)")
     ap.add_argument("--execute", action="store_true", help="フォロワーに送る (付けなければドライラン)")
     ap.add_argument("--warmup", action="store_true", help="空打ちだけして終わる (lab_start.sh の 5b)")
+    ap.add_argument("--currents", choices=sorted(CURRENT_SETS), default="off",
+                    help="1 コマごとにフォロワーの電流を読んで記録に残す (既定 off = 読まない. 依頼 286)")
     args = ap.parse_args(argv)
     if not 1 <= args.exec_steps <= HORIZON:
         ap.error(f"--exec-steps は 1〜{HORIZON}")
diff --git a/so101/test_run_so101_policy.py b/so101/test_run_so101_policy.py
index 39d473f..81b907c 100644
--- a/so101/test_run_so101_policy.py
+++ b/so101/test_run_so101_policy.py
@@ -510,6 +510,33 @@ class TestArgs(unittest.TestCase):
         self.assertEqual(R.ask_result(lambda p: next(it)), "success")
         self.assertEqual(R.ask_result(lambda p: ""), "")
 
+    def test_ask_fail_reason(self):                             # 依頼 286
+        it = iter(["9", "x", "3"])
+        self.assertEqual(R.ask_fail_reason(lambda p: next(it)), "3")
+        self.assertEqual(R.ask_fail_reason(lambda p: ""), "")
+
+    def test_currents_default_off(self):                        # 依頼 286: 既定は電流を読まない (列も作らない)
+        self.assertNotIn("ptm.current", R.dataset_features())
+        f = R.dataset_features(R.CURRENT_SETS["lift_grip"])
+        self.assertEqual(f["ptm.current"]["shape"], (2,))
+        self.assertEqual(R.CURRENT_SETS["off"], [])
+        self.assertEqual(R.CURRENT_SETS["all"], R.MOTORS)
+
+    def test_run_trial_passes_currents(self):                   # 依頼 286
+        class Arm(FakeArm):
+            def read_currents(self):
+                return np.array([5.0, 7.0])
+
+        class Rec(FakeRecorder):
+            def add(self, *a, current=None, **k):
+                super().add(*a, **k)
+                self.rows[-1]["current"] = current
+
+        arm, pol, rec = Arm(), FakePolicy(), Rec()
+        trial(arm, pol, rec, 10, FakeKeys({4: "q"}))
+        self.assertEqual(len(rec.rows), 4)
+        self.assertTrue(all(list(r["current"]) == [5.0, 7.0] for r in rec.rows))
+
     def test_live_send_goes_through_robot_send_action(self):
         got = []
 
```


## 作業ログ ― 場所3と場所4も箱に入り、5か所で12回中12回（依頼287）

依頼287 では、場所の番号の打ち間違いが起きないように、画面で番号を聞かず、案内した場所の番号をそのまま記録に入れる形（`--place`）にした。場所3（左の手前）と場所4（まん中の手前）で1回ずつ動かし、2回とも箱に入った。

| 回 | 場所 | 記録したコマ | 止まりの合計 | 箱に入ったか |
|---|---|---|---|---|
| 1 | 3 | 771コマ（25.7秒） | 34.1秒 | 入った |
| 2 | 4 | 404コマ（13.5秒） | 17.6秒 | 入った |

| 場所 | 回数 | 箱に入った回数 |
|---|---|---|
| 1 | 6 | 6 |
| 2 | 3 | 3 |
| 3 | 1 | 1 |
| 4 | 1 | 1 |
| 5 | 1 | 1 |

場所2〜5は1〜3回ずつしか試していないので、場所ごとの確からしさまでは言えない。言えるのは、お手本を録った5か所のどれに置いても、少なくとも1回は π0.5 だけで箱まで運べた、というところまで。

#### 依頼287 の依頼文

```markdown
---
作業フォルダ: /Users/shimazueiichi/r2r2r-scripts
上限時間: 60
---
# SO-101 の π0.5 を場所3と場所4で動かす（依頼287・エイイチ立ち会い）

依頼286 で10回動かした。画面は8回目を場所3、9回目を場所4と案内したが、エイイチは場所の番号に2を入れ、ブロックも場所2に置いていた。記録（so101_trials.csv）の place=2 は正しいので直さない。**場所3と場所4はまだ動かしていない。** エイイチの指示（17:36「動かす」）で、場所3と場所4を1回ずつ動かす。

中身は 286 と同じ:
- Pod は `./lab_start.sh --model so101a --log so101_Log10`（286 と同じ Log。記録は so101_trials.csv に行を足す）
- 形は先に問い合わせる形（286 でエイイチが選んだ）。電流は6つ全部
- 286 の session_286.sh を元に `so101/check_287/session_287.sh` を作る（286 のファイルは書き換えない）。電流の速さの測りはしない
- 順番：場所3 → 場所4。場所の番号は画面で聞かず、案内した場所の番号をそのまま記録に入れる（打ち間違いを防ぐ）。画面には「ブロックを場所3（左の手前）の目印に置く」のように大きく出す
- 毎回の終わりに y／n と失敗の番号を聞く（286 と同じ）
- 終わったら Pod は削除まで行う

## しないこと
286 と同じ（包まない lerobot、Hugging Face への送信、キャリブレーションの書き換え、お手本の dataset に触る、KIOXIA の既存のファイルの上書き・移動・削除、`git add .`・`git clean`、確認や停止の条件を重ねる）

## 報告
- 2回の表（回・場所・長さ・止まりの合計・y／n・失敗の番号）と、286 の10回と合わせた場所ごとの成否
- GPU の型番・借りた時間・費用（円も）
- 最後の1行に「判定：合格／止めた／失敗」
```

#### 依頼287 の結果（依頼箱の記録）

```markdown
# 結果：20261124_287_SO101のπ0.5を場所3と4で動かす_立ち会い

- 状態：完了
- 始めた時刻：2026-11-24 17:37
- 終わった時刻：2026-11-24 17:57（21分）
- 作業フォルダ：/Users/shimazueiichi/r2r2r-scripts
- この続きを Claude Code で話すとき：作業フォルダで `claude --resume b0d65414-b121-40bc-a870-c338a5ca8009`

## Claude Code の報告

**やったこと**
- 画面で場所の番号を聞かないようにするため、`so101/run_so101_policy.py` に `--place`（1〜5）を足しました。付けると、その番号をそのまま記録に入れます。付けなければ、これまでどおり画面で聞きます。
- 286 の `session_286.sh` を元に `so101/check_287/session_287.sh` を作りました。286 のファイルは書き換えていません。
  - 形は先に問い合わせる形で、電流は 6 つ全部を読みます。電流の速さは測っていません。
  - 「ブロックを 場所3 (左の手前) の目印に置く」「場所4 (まん中の手前)」を赤い帯で大きく出します。
  - 毎回の終わりに y／n と失敗の番号を聞きます。
- `./lab_start.sh --model so101a --log so101_Log10 --serve-only` でサーバーを立て、Terminal でエイイチが場所3 → 場所4 の順に 1 回ずつ動かしました。
- 終わったあと `lab_stop.sh` で Pod を削除し、API で消えたことと、トンネルが残っていないことを確かめました。

**結果**

| 回 | 場所 | 長さ | 止まりの合計 | y／n | 失敗の番号 |
|---|---|---|---|---|---|
| 1 | 3 | 771 コマ（25.7 秒） | 34.1 秒 | y | なし |
| 2 | 4 | 404 コマ（13.5 秒） | 17.6 秒 | y | なし |

- 記録の place は、2 回とも案内した番号（3・4）で入っています。
- 286 の 10 回と合わせた場所ごとの成否は、合わせて 12 回とも y です。
  - 場所1：6／6
  - 場所2：3／3（286 の 8・9 回目を含む）
  - 場所3：1／1
  - 場所4：1／1
  - 場所5：1／1
- GPU は NVIDIA A40 で、借りた時間は 18 分 25 秒、費用は約 0.18 ドル（約 29 円、1 ドル＝158 円）でした。
- テストは `test_run_so101_policy` の 39 件（1 件足した）がすべて通りました。コミットは 0c0add8 です。
- 同じ Log を使ったため、`lab_start.sh` がいつもの動きで、前の `lab_pod.json` を `lab_pod_20261124_173858.json` に名前を変えて残しました。中身は変えていません。サーバーのログは、上書きせず `serve_20261124_175718.log` という別の名前で持ち帰りました。

**変えたファイル**
- `so101/run_so101_policy.py`（`--place` を足した）
- `so101/test_run_so101_policy.py`（`--place` のテストを 1 件）
- `so101/check_287/session_287.sh`（新しく作った）
- `logs/20261124_1758.md`（作業ログ）
- KIOXIA の `so101_Log10`：`so101_trials.csv` に 2 行、試行の記録 2 つ、`serve_20261124_175718.log`、lab_stop のログ（どれも書き足しか新しいファイル）

**決めてほしいこと**
なし

判定：合格
```

#### 案内の画面の記録（依頼287・Terminal）

```text
Last login: Tue Nov 24 16:58:21 on ttys004
script -q /tmp/r287/session.typescript bash /Users/shimazueiichi/r2r2r-scripts/so101/check_287/session_287.sh
(base) shimazueiichi@shimadzueiichinoMacBook-Pro ~ % script -q /tmp/r287/session.typescript bash /Users/shimazueiichi/r2r2r-scripts/so101/check_287/session_287.sh

==================================================
  依頼 287  SO-101 の π0.5 を 場所3 と 場所4 で動かす
==================================================
このウィンドウの案内どおりに進めます. 白い箱・カメラ・照明は動かさないでください.
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...
  サーバーの準備を待っています (Claude が用意しています) ...

==================================================
  1 回目 / 2   場所 3   先に問い合わせる形
==================================================

                                                  
   ブロックを 場所3 (左の手前) の目印に置く   
                                                  

動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
(場所の番号は聞きません. 記録には 場所 3 と入ります)
置いたら Enter / ここで止めるなら s と Enter > 
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[33664]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x117ac43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x14deac778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[33664]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x117ac43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x14deac7c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[33664]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x117ac43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x14f9d83a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[33664]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x117ac43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x14f9d83f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.1  -103.1   +91.1   +14.5    -3.6    +1.3
[FIRST ] 最初の目標        -7.8  -103.1   +89.4   +22.5    -4.7    +0.5  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標   -11.4  -100.3   +71.8   +39.8    -2.9    +1.2  (かかった 0.40 秒)
Enter で始める (Ctrl-C でやめる) > 
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 771/771 [00:00<00:00, 1941.65 examples/s]
Svt[info]: Svt[info]: -------------------------------------------
-------------------------------------------
Svt[info]: Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Svt[warn]: Preset M12 is mapped to M10.
Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Svt[info]: Number of PPCS 59
Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: Svt[info]: [asm level on system : up to neon_dotprod]
SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: Svt[info]: [asm level selected : up to neon_dotprod]
SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
Svt[info]: Svt[info]: -------------------------------------------
SVT [config]: bit-depth / color format 					: 8 / YUV420
Svt[info]: Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 		: 640 / 480 / 30 / 1
SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: Svt[info]: SVT [config]: bit-depth / color format 			: 8 / YUV420
Svt[info]: SVT [config]: BRC mode / rate factor 				: CRF / 30 
SVT [config]: preset / tune / pred struct 					: 10 / PSNR / random access
Svt[info]: Svt[info]: SVT [config]: AQ mode / variance boost 			: 2 / 0
SVT [config]: gop size / mini-gop size / key-frame type 			: 2 / 16 / key frame
Svt[info]: Svt[info]: SVT [config]: sharpness / luminance-based QP bias 	: 0 / 0
SVT [config]: BRC mode / rate factor 					: CRF / 30 
Svt[info]: Svt[info]: Svt[info]: SVT [config]: AQ mode / variance boost 	: 2 / 0
-------------------------------------------
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_175423 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.372 秒・最長 0.482 秒 (155 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 26041 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.212 秒・最長 0.321 秒 (153 回)
[CLIENT] 終了コード 0
[RECORD] 記録の場所: 3

==================================================
  2 回目 / 2   場所 4   先に問い合わせる形
==================================================

                                                  
   ブロックを 場所4 (まん中の手前) の目印に置く   
                                                  

動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)
箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます.
(場所の番号は聞きません. 記録には 場所 4 と入ります)
置いたら Enter / ここで止めるなら s と Enter > 
[RANGE ] 安全範囲 (学習の 50 本の幅 ±10) shoulder_pan -69.4〜55.2  shoulder_lift -115.1〜68.0  elbow_flex -106.4〜106.5  wrist_flex -12.8〜112.2  wrist_roll -44.2〜35.8  gripper 0.0〜59.5
[MODE  ] --execute: フォロワーに送る  1 回で実行するコマ 10 / 10  先に問い合わせる
[CURRENT] 1 コマごとに電流を読む: shoulder_pan, shoulder_lift, elbow_flex, wrist_flex, wrist_roll, gripper
objc[33855]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10c6003a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x13ce98778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[33855]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10c6003f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x13ce987c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[33855]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10c6003a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13eaf83a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
objc[33855]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x10c6003f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13eaf83f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(1) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
WARNING:lerobot.cameras.opencv.camera_opencv:OpenCVCamera(0) failed to set fourcc=MJPG (actual=, success=False). Continuing with default format.
[FIRST ] 今の角度          -8.0  -103.3   +91.1   +20.7    -2.7    +1.2
[FIRST ] 最初の目標        -7.9  -103.8   +95.6   +21.5    -2.8    +0.1  (1 コマ 関節 10°・爪 20 までで寄せる)
[FIRST ] 答えの最後の目標   -11.5  -102.8   +83.9   +31.5    -2.8    +0.4  (かかった 0.37 秒)
[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)
[RUN   ] 動かしています (先に問い合わせる). スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)
[RUN   ] q で終わります
結果: y=成功 / n=失敗 / Enter=記録しない > y
Map: 100%|██████████████████████████| 404/404 [00:00<00:00, 3314.09 examples/s]
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]:	SVT-AV1 Encoder Lib v3.0.0
Svt[info]: SVT [build]  :	Apple LLVM 15.0.0 (clang-1500.3.9.4)	 64 bit
Svt[info]: LIB Build date: Jul  3 2025 03:06:26
Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 	: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 				: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 				: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 		: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 				: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 				: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
Svt[warn]: Preset M12 is mapped to M10.
Svt[info]: Level of Parallelism: 4
Svt[info]: Number of PPCS 59
Svt[info]: [asm level on system : up to neon_dotprod]
Svt[info]: [asm level selected : up to neon_dotprod]
Svt[info]: -------------------------------------------
Svt[info]: SVT [config]: main profile	tier (auto)	level (auto)
Svt[info]: SVT [config]: width / height / fps numerator / fps denominator 	: 640 / 480 / 30 / 1
Svt[info]: SVT [config]: bit-depth / color format 				: 8 / YUV420
Svt[info]: SVT [config]: preset / tune / pred struct 				: 10 / PSNR / random access
Svt[info]: SVT [config]: gop size / mini-gop size / key-frame type 		: 2 / 16 / key frame
Svt[info]: SVT [config]: BRC mode / rate factor 				: CRF / 30 
Svt[info]: SVT [config]: AQ mode / variance boost 				: 2 / 0
Svt[info]: SVT [config]: sharpness / luminance-based QP bias 			: 0 / 0
Svt[info]: Svt[info]: -------------------------------------------
[RECORD] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_175605 (7 ファイル) / 1 行 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101_trials.csv
[LATENCY] 答えが返るまで 中央値 0.371 秒・最長 0.474 秒 (81 回. 1 回で実行する 0.33 秒より長い. 1 回の送り 24642 バイト)
[STALL ] 答えの切り替えで腕が止まった時間 中央値 0.211 秒・最長 0.317 秒 (79 回)
[CLIENT] 終了コード 0
[RECORD] 記録の場所: 4

==================================================
  おしまい. ありがとうございました. このウィンドウは閉じてかまいません (Pod の片付けは Claude が行います)
==================================================
(base) shimazueiichi@shimadzueiichinoMacBook-Pro ~ % 
```

#### lab_start のログ（依頼287）

```text
[RANGE ] 安全範囲 (学習データ ±10°) は /Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes から (--model so101a)
[SO101 ] 推論のクライアントは so101/run_so101_policy.py (/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python). --serve-only なのでクライアントは流さない (空打ちだけ)
[SO101 ] 1 回で実行するコマ: 10 (既定. 答えの 10 コマ全部)
[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す (既定. 依頼 285)
[LAB   ] 2026-11-24 17:38:57  GPU=NVIDIA A40  episode=run_0001_20261019_194818  log=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10  サーバーとトンネルだけ (--serve-only. アームと daemon には触らない)
[MODEL ] --model so101a: SO-101: π0.5 base から so101_redblock_box_teleop_even_v1 (場所 1〜5 を各 10 本) で学習した 2999 (依頼 282)
         PixelstoMotors/pi05-so101-teleop-even-lora-v1 → /workspace/ckpt/so101_teleop_even_v1_2999  設定 pi05_so101_teleop_even_lora  assets local/so101_redblock_box_teleop_even_v1

=== 1. Pod を作る
[POD   ] 記録の Pod (id 95kzk0szxtq05z) は API で見ると残っていない. 新しく作ります
         古い記録は /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/pod/lab_pod_20261124_173858.json に残しました
[POD   ] 作った: id fwkqkk6y1h7p2k  GPU=NVIDIA A40  1時間 0.59 ドル  (記録 /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/pod/lab_pod.json)
    (2 秒)

=== 2. Pod が立ち上がるまで待つ
[POD   ] SSH の IP とポートを API から受け取った (<POD_IP>:<SSH_PORT>)
[POD   ] 入れた: 320957b9271b
NVIDIA A40, 46068 MiB
    (38 秒)

=== 3a. スクリプトを送る
    (131 秒)

=== 3b. huggingface_hub を入れ, 鍵を渡す
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[90mHint: The `hf-cli` skill is not installed. Run `hf skills add -g` to teach your AI agents how to use the `hf` CLI.[0m
[32m✓ Logged in[0m
  user: PixelstoMotors
    (10 秒)

=== 3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)

Fetching 28 files:   0%|          | 0/28 [00:00<?, ?it/s]
Fetching 28 files:   7%|▋         | 2/28 [00:00<00:01, 14.14it/s]
Fetching 28 files:  36%|███▌      | 10/28 [00:00<00:01, 13.54it/s]
Fetching 28 files:  43%|████▎     | 12/28 [00:01<00:01, 10.92it/s]
Fetching 28 files:  50%|█████     | 14/28 [00:01<00:01,  7.19it/s]
Fetching 28 files:  57%|█████▋    | 16/28 [00:01<00:01,  8.46it/s]
Fetching 28 files:  64%|██████▍   | 18/28 [00:02<00:02,  4.00it/s]
Fetching 28 files:  71%|███████▏  | 20/28 [00:03<00:01,  5.07it/s]
Fetching 28 files:  79%|███████▊  | 22/28 [00:03<00:00,  6.23it/s]
Fetching 28 files:  86%|████████▌ | 24/28 [00:03<00:00,  5.26it/s]
Fetching 28 files:  89%|████████▉ | 25/28 [00:04<00:00,  3.73it/s]
Fetching 28 files:  93%|█████████▎| 26/28 [00:05<00:00,  2.67it/s]
Fetching 28 files: 100%|██████████| 28/28 [00:05<00:00,  3.87it/s]
Fetching 28 files: 100%|██████████| 28/28 [00:05<00:00,  5.32it/s]
[32m✓ Downloaded[0m
  path: /workspace/ckpt/so101_teleop_even_v1_2999
6.0G	/workspace/ckpt/so101_teleop_even_v1_2999
    (8 秒)

=== 3d. openpi を取る (215abfb)
215abfb docs(droid): fix config search instruction (#1023)
    (15 秒)

=== 3e. uv sync
downloading uv 0.13.9 x86_64-unknown-linux-gnu
WARN: The following commands are shadowed by other commands in your PATH: uv uvx
Using CPython 3.11.13 interpreter at: /usr/bin/python3.11
Creating virtual environment at: .venv
Resolved 279 packages in 3ms
   Building openpi-client @ file:///workspace/openpi/packages/openpi-client
   Updating https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
   Building openpi @ file:///workspace/openpi
Downloading pandas (12.5MiB)
Downloading sympy (6.0MiB)
Downloading rerun-sdk (68.1MiB)
Downloading pyarrow (40.3MiB)
Downloading pyopengl (3.0MiB)
Downloading hf-transfer (3.4MiB)
Downloading pillow (4.4MiB)
Downloading hf-xet (4.9MiB)
Downloading nvidia-cuda-cupti-cu12 (8.5MiB)
Downloading numcodecs (8.4MiB)
Downloading tensorstore (17.5MiB)
Downloading numpy (17.4MiB)
Downloading imageio-ffmpeg (28.1MiB)
Downloading scipy (35.9MiB)
Downloading virtualenv (5.8MiB)
Downloading diffusers (3.4MiB)
Downloading nvidia-curand-cu12 (53.7MiB)
Downloading jax-cuda12-plugin (15.9MiB)
Downloading nvidia-cusparselt-cu12 (149.5MiB)
Downloading nvidia-nccl-cu12 (192.0MiB)
Downloading jaxlib (100.2MiB)
Downloading nvidia-cublas-cu12 (374.9MiB)
Downloading nvidia-cuda-nvrtc-cu12 (22.6MiB)
Downloading h5py (4.3MiB)
Downloading triton (148.5MiB)
Downloading nvidia-cuda-nvcc-cu12 (38.7MiB)
Downloading llvmlite (40.4MiB)
Downloading nvidia-cusparse-cu12 (206.5MiB)
Downloading cmake (26.6MiB)
Downloading nvidia-cufft-cu12 (190.9MiB)
Downloading nvidia-nvjitlink-cu12 (18.8MiB)
Downloading jax-cuda12-pjrt (99.8MiB)
Downloading wandb (20.4MiB)
Downloading av (34.7MiB)
Downloading numba (3.7MiB)
Downloading polars (34.6MiB)
Downloading mujoco (4.4MiB)
Downloading dm-control (37.5MiB)
Downloading lxml (4.7MiB)
Downloading matplotlib (8.2MiB)
Downloading nvidia-cudnn-cu12 (544.5MiB)
Downloading torchvision (7.1MiB)
Downloading fonttools (4.7MiB)
Downloading labmaze (4.7MiB)
Downloading torch (783.1MiB)
Downloading nvidia-cusolver-cu12 (150.9MiB)
Downloading opencv-python-headless (47.7MiB)
Downloading opencv-python (60.1MiB)
Downloading ruff (11.0MiB)
Downloading transformers (10.3MiB)
 Downloaded pyopengl
 Downloaded hf-transfer
Downloading debugpy (3.0MiB)
Downloading tokenizers (2.9MiB)
 Downloaded diffusers
Downloading jax (2.3MiB)
 Downloaded numba
Downloading widgetsnbextension (2.1MiB)
 Downloaded h5py
 Downloaded mujoco
 Downloaded pillow
 Downloaded labmaze
Downloading pydantic-core (1.9MiB)
Downloading networkx (1.9MiB)
Downloading ml-dtypes (2.1MiB)
Downloading aiohttp (1.6MiB)
 Downloaded lxml
 Downloaded fonttools
Downloading jedi (1.5MiB)
 Downloaded hf-xet
Downloading kiwisolver (1.4MiB)
Downloading torchcodec (1.3MiB)
 Downloaded virtualenv
Downloading sentencepiece (1.2MiB)
 Downloaded jax
 Downloaded widgetsnbextension
 Downloaded sympy
Downloading pygments (1.2MiB)
Downloading setuptools (1.1MiB)
Downloading nvidia-cufile-cu12 (1.1MiB)
 Downloaded aiohttp
 Downloaded kiwisolver
 Downloaded tokenizers
 Downloaded debugpy
 Downloaded torchcodec
Downloading pymunk (1.0MiB)
 Downloaded networkx
 Downloaded pydantic-core
 Downloaded ml-dtypes
 Downloaded jedi
 Downloaded sentencepiece
 Downloaded torchvision
 Downloaded pygments
 Downloaded setuptools
 Downloaded nvidia-cufile-cu12
 Downloaded pymunk
 Downloaded matplotlib
 Downloaded numcodecs
 Downloaded nvidia-cuda-cupti-cu12
   Building evdev==1.9.2
   Building antlr4-python3-runtime==4.9.3
 Downloaded transformers
 Downloaded ruff
 Downloaded pandas
 Downloaded jax-cuda12-plugin
 Downloaded numpy
 Downloaded tensorstore
      Built openpi-client @ file:///workspace/openpi/packages/openpi-client
 Downloaded nvidia-nvjitlink-cu12
      Built openpi @ file:///workspace/openpi
 Downloaded wandb
 Downloaded nvidia-cuda-nvrtc-cu12
      Built antlr4-python3-runtime==4.9.3
 Downloaded imageio-ffmpeg
 Downloaded cmake
 Downloaded polars
 Downloaded av
 Downloaded scipy
 Downloaded dm-control
 Downloaded nvidia-cuda-nvcc-cu12
 Downloaded llvmlite
 Downloaded pyarrow
 Downloaded opencv-python-headless
 Downloaded nvidia-curand-cu12
 Downloaded opencv-python
 Downloaded rerun-sdk
      Built evdev==1.9.2
    Updated https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
   Building lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded jaxlib
 Downloaded jax-cuda12-pjrt
      Built lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded nvidia-cusolver-cu12
 Downloaded triton
 Downloaded nvidia-cusparselt-cu12
 Downloaded nvidia-cufft-cu12
 Downloaded nvidia-nccl-cu12
 Downloaded nvidia-cusparse-cu12
 Downloaded nvidia-cublas-cu12
 Downloaded nvidia-cudnn-cu12
 Downloaded torch
Prepared 240 packages in 15.65s
Installed 240 packages in 1.78s
 + absl-py==2.3.0
 + aiohappyeyeballs==2.6.1
 + aiohttp==3.12.4
 + aiosignal==1.3.2
 + annotated-types==0.7.0
 + antlr4-python3-runtime==4.9.3
 + asttokens==3.0.0
 + attrs==25.3.0
 + augmax==0.4.1
 + av==17.0.0
 + beartype==0.19.0
 + beautifulsoup4==4.13.4
 + blinker==1.9.0
 + cachetools==5.5.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + cfgv==3.4.0
 + charset-normalizer==3.4.2
 + chex==0.1.90
 + click==8.2.1
 + cloudpickle==3.1.1
 + cmake==4.0.2
 + comm==0.2.2
 + contourpy==1.3.2
 + crc32c==2.7.1
 + cycler==0.12.1
 + datasets==3.6.0
 + debugpy==1.8.14
 + decorator==5.2.1
 + deepdiff==8.5.0
 + diffusers==0.33.1
 + dill==0.3.8
 + distlib==0.3.9
 + dm-control==1.0.14
 + dm-env==1.6
 + dm-tree==0.1.9
 + docker-pycreds==0.4.0
 + docstring-parser==0.16
 + donfig==0.8.1.post1
 + draccus==0.10.0
 + einops==0.8.1
 + equinox==0.12.2
 + etils==1.12.2
 + evdev==1.9.2
 + executing==2.2.0
 + farama-notifications==0.0.4
 + filelock==3.18.0
 + flask==3.1.1
 + flatbuffers==25.2.10
 + flax==0.10.2
 + fonttools==4.58.1
 + frozenlist==1.6.0
 + fsspec==2025.3.0
 + gcsfs==2025.3.0
 + gdown==5.2.0
 + gitdb==4.0.12
 + gitpython==3.1.44
 + glfw==2.9.0
 + google-api-core==2.24.2
 + google-auth==2.40.2
 + google-auth-oauthlib==1.2.2
 + google-cloud-core==2.4.3
 + google-cloud-storage==3.1.0
 + google-crc32c==1.7.1
 + google-resumable-media==2.7.2
 + googleapis-common-protos==1.70.0
 + gym-aloha==0.1.1
 + gymnasium==0.29.1
 + h5py==3.13.0
 + hf-transfer==0.1.9
 + hf-xet==1.1.2
 + huggingface-hub==0.32.3
 + humanize==4.12.3
 + identify==2.6.12
 + idna==3.10
 + imageio==2.37.0
 + imageio-ffmpeg==0.6.0
 + importlib-metadata==8.7.0
 + importlib-resources==6.5.2
 + iniconfig==2.1.0
 + inquirerpy==0.3.4
 + ipykernel==6.29.5
 + ipython==9.2.0
 + ipython-pygments-lexers==1.1.1
 + ipywidgets==8.1.7
 + itsdangerous==2.2.0
 + jax==0.5.3
 + jax-cuda12-pjrt==0.5.3
 + jax-cuda12-plugin==0.5.3
 + jaxlib==0.5.3
 + jaxtyping==0.2.36
 + jedi==0.19.2
 + jinja2==3.1.6
 + jsonlines==4.0.0
 + jupyter-client==8.6.3
 + jupyter-core==5.8.1
 + jupyterlab-widgets==3.0.15
 + kiwisolver==1.4.8
 + labmaze==1.0.6
 + lerobot==0.1.0 (from git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
 + llvmlite==0.44.0
 + lxml==5.4.0
 + markdown-it-py==3.0.0
 + markupsafe==3.0.2
 + matplotlib==3.10.3
 + matplotlib-inline==0.1.7
 + mdurl==0.1.2
 + mergedeep==1.3.4
 + ml-collections==1.0.0
 + ml-dtypes==0.4.1
 + mpmath==1.3.0
 + msgpack==1.1.0
 + mujoco==2.3.7
 + multidict==6.4.4
 + multiprocess==0.70.16
 + mypy-extensions==1.1.0
 + nest-asyncio==1.6.0
 + networkx==3.5
 + nodeenv==1.9.1
 + numba==0.61.2
 + numcodecs==0.16.1
 + numpy==1.26.4
 + numpydantic==1.6.9
 + nvidia-cublas-cu12==12.6.4.1
 + nvidia-cuda-cupti-cu12==12.6.80
 + nvidia-cuda-nvcc-cu12==12.9.41
 + nvidia-cuda-nvrtc-cu12==12.6.77
 + nvidia-cuda-runtime-cu12==12.6.77
 + nvidia-cudnn-cu12==9.5.1.17
 + nvidia-cufft-cu12==11.3.0.4
 + nvidia-cufile-cu12==1.11.1.6
 + nvidia-curand-cu12==10.3.7.77
 + nvidia-cusolver-cu12==11.7.1.2
 + nvidia-cusparse-cu12==12.5.4.2
 + nvidia-cusparselt-cu12==0.6.3
 + nvidia-ml-py==12.575.51
 + nvidia-nccl-cu12==2.26.2
 + nvidia-nvjitlink-cu12==12.6.85
 + nvidia-nvtx-cu12==12.6.77
 + oauthlib==3.2.2
 + omegaconf==2.3.0
 + opencv-python==4.11.0.86
 + opencv-python-headless==4.11.0.86
 + openpi==0.1.0 (from file:///workspace/openpi)
 + openpi-client==0.1.0 (from file:///workspace/openpi/packages/openpi-client)
 + opt-einsum==3.4.0
 + optax==0.2.4
 + orbax-checkpoint==0.11.13
 + orderly-set==5.4.1
 + packaging==25.0
 + pandas==2.2.3
 + parso==0.8.4
 + pexpect==4.9.0
 + pfzy==0.3.4
 + pillow==11.2.1
 + platformdirs==4.3.8
 + pluggy==1.6.0
 + polars==1.30.0
 + pre-commit==4.2.0
 + prompt-toolkit==3.0.51
 + propcache==0.3.1
 + proto-plus==1.26.1
 + protobuf==4.25.8
 + psutil==7.0.0
 + ptyprocess==0.7.0
 + pure-eval==0.2.3
 + pyarrow==20.0.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + pycparser==2.22
 + pydantic==2.11.5
 + pydantic-core==2.33.2
 + pygments==2.19.1
 + pymunk==7.0.0
 + pynput==1.8.1
 + pynvml==12.0.0
 + pyopengl==3.1.9
 + pyparsing==3.2.3
 + pysocks==1.7.1
 + pytest==8.3.5
 + python-dateutil==2.9.0.post0
 + python-xlib==0.33
 + pytz==2025.2
 + pyyaml==6.0.2
 + pyyaml-include==1.4.1
 + pyzmq==26.4.0
 + regex==2024.11.6
 + requests==2.32.3
 + requests-oauthlib==2.0.0
 + rerun-sdk==0.23.1
 + rich==14.0.0
 + rsa==4.9.1
 + ruff==0.11.12
 + safetensors==0.5.3
 + scipy==1.15.3
 + sentencepiece==0.2.0
 + sentry-sdk==2.29.1
 + setproctitle==1.3.6
 + setuptools==80.9.0
 + shtab==1.7.2
 + simplejson==3.20.1
 + six==1.17.0
 + smmap==5.0.2
 + soupsieve==2.7
 + stack-data==0.6.3
 + sympy==1.14.0
 + tensorstore==0.1.74
 + termcolor==3.1.0
 + tokenizers==0.21.1
 + toml==0.10.2
 + toolz==1.0.0
 + torch==2.7.1
 + torchcodec==0.4.0
 + torchvision==0.22.1
 + tornado==6.5.1
 + tqdm==4.67.1
 + tqdm-loggable==0.2
 + traitlets==5.14.3
 + transformers==4.53.2
 + treescope==0.1.9
 + triton==3.3.1
 + typeguard==4.4.2
 + typing-extensions==4.13.2
 + typing-inspect==0.9.0
 + typing-inspection==0.4.1
 + tyro==0.9.22
 + tzdata==2025.2
 + urllib3==2.4.0
 + virtualenv==20.31.2
 + wadler-lindig==0.1.6
 + wandb==0.19.11
 + wcwidth==0.2.13
 + websockets==15.0.1
 + werkzeug==3.1.3
 + widgetsnbextension==4.0.14
 + wrapt==1.14.1
 + xxhash==3.5.0
 + yarl==1.20.0
 + zarr==3.0.8
 + zipp==3.22.0
    (21 秒)

=== 3f. addon・設定・assets (pi05_so101_teleop_even_lora)
installed: policies/mecharm_policy.py + config.py (pi05_mecharm_lora)
installed: pi05_mecharm_trim_lora (repo_id=local/mecharm_redblock_box_teach_v1_trim2, 4,000 steps)
installed: policies/so101_policy.py + pi05_so101_teleop_even_lora (repo_id=local/so101_redblock_box_teleop_even_v1, 3000 steps, decay_steps 3000, init=π0.5 base)
    (2 秒)

=== 4. サーバーの起動
[SERVE ] --model so101a: --policy.config=pi05_so101_teleop_even_lora --policy.dir=/workspace/ckpt/so101_teleop_even_v1_2999
INFO:websockets.server:server listening on 0.0.0.0:8000
    (44 秒)

=== 5. Mac の 8000 番へのトンネル
[TUNNEL] localhost:8000 → Pod の 8000 番 (pid 33000. このスクリプトが終わると閉じる)
    (2 秒)

=== 5b. 空打ち (1 回目の推論の待ちを先に済ませる)
[WARM  ] 空打ち 59.5 秒 (答え (10, 6))
    (60 秒)
[SERVE ] --serve-only: サーバー (--model so101a) は localhost:8000 で待っています.
         デーモン・HOME・爪・位置合わせ・推論には進みません. 終わるときは Ctrl-C か kill (TERM) (Pod は消さない)
Connection to <POD_IP> closed by remote host.

[STOP  ] 「5b. 空打ち (1 回目の推論の待ちを先に済ませる)」で止まりました: トンネルが閉じた (pid が終わった)
[STOP  ] Pod は残っています (id fwkqkk6y1h7p2k). 消すなら ./lab_stop.sh --log so101_Log10

=== かかった時間  モデル so101a (PixelstoMotors/pi05-so101-teleop-even-lora-v1)
  1. Pod を作る                      2 秒
  2. Pod が立ち上がるまで待つ     38 秒
  3a. スクリプトを送る        131 秒
  3b. huggingface_hub を入れ, 鍵を渡す     10 秒
  3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)      8 秒
  3d. openpi を取る (215abfb)       15 秒
  3e. uv sync                          21 秒
  3f. addon・設定・assets (pi05_so101_teleop_even_lora)      2 秒
  4. サーバーの起動             44 秒
  5. Mac の 8000 番へのトンネル      2 秒
  5b. 空打ち (1 回目の推論の待ちを先に済ませる)     60 秒
```

#### serve_20261124_175718.log（依頼287）

```text
INFO:root:Loading model...
INFO:2026-11-24 08:43:10,096:jax._src.xla_bridge:925: Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
INFO:jax._src.xla_bridge:Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
INFO:2026-11-24 08:43:10,099:jax._src.xla_bridge:925: Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
INFO:jax._src.xla_bridge:Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
INFO:absl:orbax-checkpoint version: 0.11.13
INFO:absl:Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x757048271390>
INFO:absl:Restoring checkpoint from /workspace/ckpt/so101_teleop_even_v1_2999/params.
INFO:absl:[thread=MainThread] Failed to get flag value for EXPERIMENTAL_ORBAX_USE_DISTRIBUTED_PROCESS_ID.
INFO:absl:[process=0] /jax/checkpoint/read/bytes_per_sec: 1.2 GiB/s (total bytes: 6.3 GiB) (time elapsed: 5 seconds) (per-host)
INFO:absl:Finished restoring checkpoint in 5.12 seconds from /workspace/ckpt/so101_teleop_even_v1_2999/params.
INFO:openpi.shared.download:Downloading gs://big_vision/paligemma_tokenizer.model to /root/.cache/openpi/big_vision/paligemma_tokenizer.model
INFO:tqdm_loggable.tqdm_logging:Progress on: -/4264023 rate:- remaining:? elapsed:00:00 postfix:-
INFO:tqdm_loggable.tqdm_logging:Progress on: 4.07MiB/4.07MiB rate:4,259,034.2iB/s remaining:00:00 elapsed:00:01 postfix:-
INFO:root:Loaded norm stats from /workspace/openpi/assets/pi05_so101_teleop_even_lora/local/so101_redblock_box_teleop_even_v1
INFO:root:Loaded norm stats from /workspace/ckpt/so101_teleop_even_v1_2999/assets/local/so101_redblock_box_teleop_even_v1
INFO:root:Creating server (host: 320957b9271b, ip: 172.22.0.2)
INFO:websockets.server:server listening on 0.0.0.0:8000
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 56634) opened
ERROR:websockets.server:opening handshake failed
Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 138, in parse
    request_line = yield from parse_line(read_line)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 309, in parse_line
    line = yield from read_line(MAX_LINE_LENGTH)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/streams.py", line 46, in read_line
    raise EOFError(f"stream ends after {p} bytes, before end of line")
EOFError: stream ends after 0 bytes, before end of line

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/server.py", line 545, in parse
    request = yield from Request.parse(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 140, in parse
    raise EOFError("connection closed while reading HTTP request line") from exc
EOFError: connection closed while reading HTTP request line

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/asyncio/server.py", line 356, in conn_handler
    await connection.handshake(
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/asyncio/server.py", line 207, in handshake
    raise self.protocol.handshake_exc
websockets.exceptions.InvalidMessage: did not receive a valid HTTP request
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 56634) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 57786) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 57786) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 40856) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 40856) closed
```

#### lab_stop のログ（依頼287）

```text
[STOP  ] so101_Log10 の Pod: id fwkqkk6y1h7p2k  GPU=NVIDIA A40  作った時刻 2026-11-24 17:38:59
[LOG   ] serve.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/serve_20261124_175718.log (57 行)
[STOP  ] Terminate を送った (17:57:24)
[STOP  ] Pod (id fwkqkk6y1h7p2k) が消えたことを API で確かめた
[COST  ] 借りていた時間 18 分 25 秒 (0.31 時間) × 1時間 0.59 ドル = 約 0.18 ドル (約 29 円. 1ドル=158円)
[TUNNEL] 8000 番のトンネルは残っていません
```

#### so101/check_287/session_287.sh

```bash
#!/bin/bash
# 依頼 287: エイイチの前の Terminal で流す案内つきの通し (場所 3 → 場所 4 を 1 回ずつ. session_286.sh を元にした).
# サーバーとトンネルは lab_start.sh --model so101a --log so101_Log10 --serve-only が別に張っている (localhost:8000).
# 形は先に問い合わせる形 (286 でエイイチが選んだ). 電流は 6 つ全部 (all). 電流の速さの測りはしない.
# 場所の番号は画面で聞かず, 案内した番号を --place で記録に入れる (286 で 3・4 の案内に 2 が入った打ち間違いを防ぐ).
set -u
HERE="$(cd "$(dirname "$0")/../.." && pwd)"     # リポジトリの一番上
cd "$HERE" || exit 1
PY=/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python
LOGDIR=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10
CSV="$LOGDIR/so101_trials.csv"
ANS="$LOGDIR/eiichi_answers_287.txt"

big() { printf '\n\033[1;33m==================================================\n  %s\n==================================================\033[0m\n' "$1"; }
huge() { printf '\n\033[1;37;41m                                                  \n   %s   \n                                                  \033[0m\n\n' "$1"; }

big "依頼 287  SO-101 の π0.5 を 場所3 と 場所4 で動かす"
echo "このウィンドウの案内どおりに進めます. 白い箱・カメラ・照明は動かさないでください."

until nc -z localhost 8000 2>/dev/null; do echo "  サーバーの準備を待っています (Claude が用意しています) ..."; sleep 10; done
n_rows() { [ -f "$CSV" ] && "$PY" -c "import csv,sys;print(sum(1 for _ in csv.DictReader(open(sys.argv[1]))))" "$CSV" || echo 0; }
last_place() { "$PY" -c "import csv,sys;print(list(csv.DictReader(open(sys.argv[1])))[-1]['place'])" "$CSV"; }

PLACES=(3 4)
NAMES=("左の手前" "まん中の手前")
BASE=$(n_rows)          # 286 の 10 行
i=0
while [ "$i" -lt 2 ]; do
    place=${PLACES[$i]}; name=${NAMES[$i]}
    big "$((i + 1)) 回目 / 2   場所 $place   先に問い合わせる形"
    huge "ブロックを 場所${place} (${name}) の目印に置く"
    echo "動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)"
    echo "箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます."
    echo "(場所の番号は聞きません. 記録には 場所 $place と入ります)"
    read -r -p "置いたら Enter / ここで止めるなら s と Enter > " k
    [ "$k" = s ] && { echo "[STOP] エイイチの指示で $((i + 1)) 回目 (場所 $place) の前で止めました" | tee -a "$ANS"; break; }
    ARGS=(--port 8000 --log-dir "$LOGDIR" --model so101a --step 2999 --execute --currents all --place "$place")
    [ "$i" -ge 1 ] && ARGS+=(--skip-first-confirm)
    "$PY" so101/run_so101_policy.py "${ARGS[@]}"
    echo "[CLIENT] 終了コード $?"
    new=$(n_rows)
    if [ "$new" -gt "$((BASE + i))" ]; then
        echo "[RECORD] 記録の場所: $(last_place)"
        i=$((new - BASE))
    else
        echo "[WARN] 記録の行が増えていない. もう一度同じ回 (場所 $place) をやります"
    fi
done

big "おしまい. ありがとうございました. このウィンドウは閉じてかまいません (Pod の片付けは Claude が行います)"
echo DONE_287 > /tmp/r287/session_done
```

#### commit 0c0add8 の差分（依頼287）

```diff
commit 0c0add8d43ac572d483d37e85f2fb08fa260fb56
Date: Tue Nov 24 17:57:34 2026 +0900

SO-101 の π0.5 (so101a) を場所3と場所4で1回ずつ動かす (依頼 287・エイイチ立ち会い・フォロワーを動かした). run_so101_policy.py に --place (1〜5. 付ければ場所の番号を画面で聞かずにその番号を記録に入れる) を足し, check_287/session_287.sh (286 を元に. 先に問い合わせる形・電流 all・場所 3 (左の手前) → 場所 4 (まん中の手前) を大きく案内) を作った. so101_Log10 で 2 回とも箱に入った (場所3 771 コマ・止まり 34.1 秒 / 場所4 404 コマ・止まり 17.6 秒). A40 18分25秒 約 0.18 ドル. テスト: test_run_so101_policy 39 件 OK

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/logs/20261124_1758.md b/logs/20261124_1758.md
new file mode 100644
index 0000000..811a405
--- /dev/null
+++ b/logs/20261124_1758.md
@@ -0,0 +1,15 @@
+# 依頼287 SO-101 の π0.5 (so101a・2999) を場所3と場所4で動かす（エイイチ立ち会い）
+
+## やったこと
+- run_so101_policy.py に --place (1〜5) を足した（付ければ場所の番号を画面で聞かない）。テストを1件足して 39 件 OK
+- so101/check_287/session_287.sh を作った（286 を元に。先に問い合わせる形・電流 all・電流の速さは測らない・場所は --place で渡す）
+- lab_start.sh --model so101a --log so101_Log10 --serve-only → Terminal で session_287.sh → lab_stop.sh で Pod を削除（残りなしを確認）
+
+## 結果
+| 回 | 場所 | 長さ | 止まりの合計 | y/n | 失敗の番号 |
+|---|---|---|---|---|---|
+| 1 | 3 | 771 コマ (25.7 秒) | 34.122 秒 | y | なし |
+| 2 | 4 | 404 コマ (13.5 秒) | 17.639 秒 | y | なし |
+- 286 と合わせた場所ごと: 場所1 6/6・場所2 3/3・場所3 1/1・場所4 1/1・場所5 1/1（12 回とも y）
+- A40・18分25秒・約 0.18 ドル（約 29 円）
+- lab_start が前の lab_pod.json を lab_pod_20261124_173858.json に名前を変えて残した（いつもの動き）
diff --git a/so101/check_287/session_287.sh b/so101/check_287/session_287.sh
new file mode 100755
index 0000000..36eef0a
--- /dev/null
+++ b/so101/check_287/session_287.sh
@@ -0,0 +1,51 @@
+#!/bin/bash
+# 依頼 287: エイイチの前の Terminal で流す案内つきの通し (場所 3 → 場所 4 を 1 回ずつ. session_286.sh を元にした).
+# サーバーとトンネルは lab_start.sh --model so101a --log so101_Log10 --serve-only が別に張っている (localhost:8000).
+# 形は先に問い合わせる形 (286 でエイイチが選んだ). 電流は 6 つ全部 (all). 電流の速さの測りはしない.
+# 場所の番号は画面で聞かず, 案内した番号を --place で記録に入れる (286 で 3・4 の案内に 2 が入った打ち間違いを防ぐ).
+set -u
+HERE="$(cd "$(dirname "$0")/../.." && pwd)"     # リポジトリの一番上
+cd "$HERE" || exit 1
+PY=/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python
+LOGDIR=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10
+CSV="$LOGDIR/so101_trials.csv"
+ANS="$LOGDIR/eiichi_answers_287.txt"
+
+big() { printf '\n\033[1;33m==================================================\n  %s\n==================================================\033[0m\n' "$1"; }
+huge() { printf '\n\033[1;37;41m                                                  \n   %s   \n                                                  \033[0m\n\n' "$1"; }
+
+big "依頼 287  SO-101 の π0.5 を 場所3 と 場所4 で動かす"
+echo "このウィンドウの案内どおりに進めます. 白い箱・カメラ・照明は動かさないでください."
+
+until nc -z localhost 8000 2>/dev/null; do echo "  サーバーの準備を待っています (Claude が用意しています) ..."; sleep 10; done
+n_rows() { [ -f "$CSV" ] && "$PY" -c "import csv,sys;print(sum(1 for _ in csv.DictReader(open(sys.argv[1]))))" "$CSV" || echo 0; }
+last_place() { "$PY" -c "import csv,sys;print(list(csv.DictReader(open(sys.argv[1])))[-1]['place'])" "$CSV"; }
+
+PLACES=(3 4)
+NAMES=("左の手前" "まん中の手前")
+BASE=$(n_rows)          # 286 の 10 行
+i=0
+while [ "$i" -lt 2 ]; do
+    place=${PLACES[$i]}; name=${NAMES[$i]}
+    big "$((i + 1)) 回目 / 2   場所 $place   先に問い合わせる形"
+    huge "ブロックを 場所${place} (${name}) の目印に置く"
+    echo "動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)"
+    echo "箱に入れて腕が戻ったら (目安 25 秒) q を押してください. 終わったら y/n と失敗の番号を聞きます."
+    echo "(場所の番号は聞きません. 記録には 場所 $place と入ります)"
+    read -r -p "置いたら Enter / ここで止めるなら s と Enter > " k
+    [ "$k" = s ] && { echo "[STOP] エイイチの指示で $((i + 1)) 回目 (場所 $place) の前で止めました" | tee -a "$ANS"; break; }
+    ARGS=(--port 8000 --log-dir "$LOGDIR" --model so101a --step 2999 --execute --currents all --place "$place")
+    [ "$i" -ge 1 ] && ARGS+=(--skip-first-confirm)
+    "$PY" so101/run_so101_policy.py "${ARGS[@]}"
+    echo "[CLIENT] 終了コード $?"
+    new=$(n_rows)
+    if [ "$new" -gt "$((BASE + i))" ]; then
+        echo "[RECORD] 記録の場所: $(last_place)"
+        i=$((new - BASE))
+    else
+        echo "[WARN] 記録の行が増えていない. もう一度同じ回 (場所 $place) をやります"
+    fi
+done
+
+big "おしまい. ありがとうございました. このウィンドウは閉じてかまいません (Pod の片付けは Claude が行います)"
+echo DONE_287 > /tmp/r287/session_done
diff --git a/so101/run_so101_policy.py b/so101/run_so101_policy.py
index bee3a83..5ce5419 100644
--- a/so101/run_so101_policy.py
+++ b/so101/run_so101_policy.py
@@ -643,7 +643,7 @@ def run(args):
     log_dir = Path(args.log_dir)
     if not log_dir.is_dir():
         sys.exit(f"[ERROR] 記録の置き場所がない: {log_dir}")
-    place = ask_place()
+    place = args.place or ask_place()            # --place があれば聞かない (依頼 287: 案内した場所をそのまま記録に入れる)
     stamp = datetime.now().strftime("%Y%m%d_%H%M%S")
     trial = f"so101_{stamp}{'' if args.execute else '_dry'}"
     local = LOCAL_RUNS / log_dir.name / trial
@@ -745,6 +745,8 @@ def main(argv=None):
     ap.add_argument("--skip-first-confirm", action="store_true", help="始めの確かめ (Enter) を待たない (2 回目の試行から)")
     ap.add_argument("--execute", action="store_true", help="フォロワーに送る (付けなければドライラン)")
     ap.add_argument("--warmup", action="store_true", help="空打ちだけして終わる (lab_start.sh の 5b)")
+    ap.add_argument("--place", type=int, choices=range(1, 6),
+                    help="ブロックの場所の番号 (1〜5). 付ければ画面で聞かずにこの番号を記録に入れる (依頼 287)")
     ap.add_argument("--currents", choices=sorted(CURRENT_SETS), default="off",
                     help="1 コマごとにフォロワーの電流を読んで記録に残す (既定 off = 読まない. 依頼 286)")
     args = ap.parse_args(argv)
diff --git a/so101/test_run_so101_policy.py b/so101/test_run_so101_policy.py
index 81b907c..7a568f7 100644
--- a/so101/test_run_so101_policy.py
+++ b/so101/test_run_so101_policy.py
@@ -510,6 +510,17 @@ class TestArgs(unittest.TestCase):
         self.assertEqual(R.ask_result(lambda p: next(it)), "success")
         self.assertEqual(R.ask_result(lambda p: ""), "")
 
+    def test_place_arg(self):                                   # 依頼 287: --place なら聞かない
+        seen = {}
+        with unittest.mock.patch.object(R, "run", lambda a: seen.update(vars(a)) or 0):
+            R.main(["--log-dir", "/tmp", "--place", "3"])
+            self.assertEqual(seen["place"], 3)
+            R.main(["--log-dir", "/tmp"])
+            self.assertIsNone(seen["place"])
+        for bad in ("0", "6"):
+            with self.assertRaises(SystemExit):
+                R.main(["--log-dir", "/tmp", "--place", bad])
+
     def test_ask_fail_reason(self):                             # 依頼 286
         it = iter(["9", "x", "3"])
         self.assertEqual(R.ask_fail_reason(lambda p: next(it)), "3")
```


## 作業ログ ― 動画で見ると、腕は1分に40回ほど止まっていた

立ち会いで撮った動画2本を見ると、記録の数字よりも止まりがはっきり分かる。動画のコマを160×90の白黒にして、前のコマとの明るさの差を数え、差がほとんどない所を止まりとした。

| 動画 | 長さ | 0.125秒以上止まった回数 | 止まり1回の中央値 |
|---|---|---|---|
| IMG_4273 | 43.0秒 | 32回 | 0.25秒 |
| IMG_4276 | 61.9秒 | 44回 | 0.29秒 |

止まり1回の長さは、記録に出ていた答えの切り替えの止まり（中央値0.21〜0.23秒）とほぼ同じだった。最長の止まり（4〜7秒）は、動き始める前と箱に入れたあとの待ちを含んでいる。依頼285 の測り直しでは、300コマを流す間に58回止まっていたので、0.125秒より短い止まりは、スマホの動画のこの数え方では拾えていない。

【動画】LOG572_02_real_run_stop_and_go_b_trim.mp4 π0.5 で動く SO-101 をスマホで横から撮った映像（動き出しから元の姿勢に戻るまでの51秒・音声なし）。赤いブロックをつかんで箱に入れるまで、動いては止まりをくり返す

#### 動画の止まりを数えたスクリプト（m.py）

```python
import subprocess,numpy as np,sys
f=sys.argv[1]
w,h=160,90
p=subprocess.run(["ffmpeg","-v","error","-i",f,"-vf",f"scale={w}:{h},format=gray","-f","rawvideo","-"],capture_output=True).stdout
a=np.frombuffer(p,np.uint8).reshape(-1,h,w).astype(float)
d=np.abs(np.diff(a,axis=0)).mean(axis=(1,2))
t=np.arange(len(d))/24
thr=np.percentile(d,90)*0.25
mov=d>thr
# find stop runs
runs=[];s=None
for i,m in enumerate(mov):
  if not m and s is None:s=i
  if m and s is not None: runs.append((s,i));s=None
r=[(b-a)/24 for a,b in runs if (b-a)>=3]
print(f,len(d)/24,"s; stops>=0.125s:",len(r),"median",np.median(r) if r else 0,"max",max(r) if r else 0)
np.save(f.split('/')[-1]+'.npy',d)
```

#### m.py の出力

```text
/mnt/user-data/uploads/b7581a73-IMG_4273-compressed.mp4 43.041666666666664 s; stops>=0.125s: 32 median 0.25 max 3.9583333333333335
/mnt/user-data/uploads/8a9fdf60-IMG_4276-compressed.mp4 61.916666666666664 s; stops>=0.125s: 44 median 0.2916666666666667 max 6.916666666666667
```


## 作業ログ ― カクカクを消す2つの直し方を、両方回す

止まりの元は、答えの長さ（0.33秒）が待ち（約0.38秒）より短いことにある。直し方は2つ考えた。

| 直し方 | 中身 | 代わりに | 確かめ |
|---|---|---|---|
| 答えをゆっくり流す | 10コマを0.33秒ではなく約0.42秒（0.8倍の速さ）で流す。先に問い合わせておけば、流し終わる前に次が届く見込み | 動き全体が2割ほど遅くなる | 学び直しは要らない。依頼288 で実機で試す |
| 1回の答えを30コマにする | 1回で1秒ぶんを返すように学び直す。待ちの0.38秒は、動いている1秒の間に隠れる見込み | 学習に約6.5時間・約600円 | 依頼289 で学び直し、翌日同じ5か所で比べる |

どちらか1つではなく、両方を回すことにした（ゆっくり流す形の結果は次の節）。ゆっくり流す形は、その日のうちにカクカクが消えるかを確かめられる。30コマの学び直しは、速さを落とさずに止まりをなくせる見込みがあり、寝ている間に回せる。2つは別の直し方なので、翌日、同じ5か所で並べて比べられる。

### ゆっくり流しても、止まりは減らず余計カクカクになった（依頼288）

依頼288 では、答えの1コマを送る間を延ばせるようにした（`--play-speed`）。送る角度は変えず、間を空けるだけ。場所1で0.8倍を1回流し、止まりが残ったので0.7倍を1回足し、止まりが小さかった0.7倍で場所2〜5を1回ずつ流した。

| 回 | 場所 | 流した速さ | 長さ（流した時間＋止まり） | 止まりの中央値 | 止まりの合計 | 箱に入ったか |
|---|---|---|---|---|---|---|
| 1 | 1 | 0.8 | 70.3秒（681コマ） | 0.311秒 | 41.9秒 | 入った |
| 2 | 1 | 0.7 | 51.4秒（501コマ） | 0.277秒 | 27.5秒 | 入った |
| 3 | 2 | 0.7 | 48.3秒（471コマ） | 0.279秒 | 25.9秒 | 入った |
| 4 | 3 | 0.7 | 44.1秒（431コマ） | 0.279秒 | 23.5秒 | 入った |
| 5 | 4 | 0.7 | 52.1秒（508コマ） | 0.279秒 | 27.9秒 | 入った |
| 6 | 5 | 0.7 | 40.8秒（396コマ） | 0.281秒 | 21.9秒 | 記録なし |

6回目は、結果を聞かれた所で Enter が押され、成否が記録に残らなかった。

| | 止まりの中央値 | 止まりの合計（中央値） | 1回の長さ（中央値） |
|---|---|---|---|
| 速さ1.0（依頼286・287 の先に問い合わせる形8回。286 の1回目は除く） | 0.21〜0.23秒 | 20.1秒 | 34.5秒 |
| 速さ0.7（依頼288 の5回） | 0.28秒 | 25.9秒 | 48.3秒 |

- ねらい：答えを流す時間を答えの待ちより長くして、腕の止まりをなくす
- 変わったこと：止まりの中央値は0.21〜0.23秒から0.28秒に増え、1回の長さは約1.4倍になった。立ち会いで見ても、余計カクカクになった
- 見込める効果：この形では止まりは消えない。ゆっくり流す直し方はここでやめ、1回の答えを30コマにする学び直し（依頼289）に絞る

**止まりが減らなかった訳は2つあった。** 1つは、この回の Pod は答えが返るまでが中央値0.50〜0.51秒で、依頼286・287 の0.37〜0.39秒より遅かったこと。GPU は同じ A40 で、遅くなった理由はまだ分かっていない。もう1つは、先に問い合わせる形の仕組みにある。次の答えは、問い合わせてから進んだぶんを飛ばして使うので、1つの答えで新しく使えるのは10コマの半分の5コマで頭打ちになる。ゆっくり流すと1コマあたりの時間は延びるが、1秒あたりに進む量は変わらず、止まりの長さは、答えが返るまでの時間から5コマを流す時間を引いた分（0.8倍で 0.514−0.208≒0.31秒、0.7倍で 0.502−0.238≒0.26秒）でほぼ決まる。測った値とも合う。腕なしの試しでは、答えが0.37秒で返る場合でも、止まりがほぼ消えるのは0.45〜0.5倍まで落としたときだった。

立ち会いで撮った動画は、カメラの設定がタイムラプス（早回し）になっていて、1回が3〜6秒に縮んでいる。0.2秒ほどの止まりはコマの間に埋もれて見えないので、カクカクの比べには使えない。5本とも、ブロックをつかんで箱に入れるところまでは写っている。

【動画】LOG572_04_slow_play_timelapse_trim.mp4 依頼288 の回をスマホのタイムラプス（早回し）で撮った5本をつないだもの（19秒・音声なし）。止まりは写っていないが、どの回もブロックをつかんで白い箱に入れている

### 1回の答えを30コマにして学び直すと、止まりは消え、1回の長さは半分ほどになる見込み

学び直し（依頼289）は、依頼288 が終わった直後の18:52に始まった。新しいモデルの呼び名は so101b。1回の答えを30コマ（1秒ぶん）にしたこと以外は、お手本50本・ステップ数・学習率まで so101a と同じにしている。違いが出たときに、30コマにしたせいだと言い切れるようにするため。Runpod の A40 が借りられれば約6.5時間・約610〜650円の見込みで、学習のあと Pod をもう一度20分ほど借り、録ったお手本5本を流して答えの正しさと待ち時間を測る（約30円）。どちらもアームは動かさない。

止まりが消える見込みの訳はこうだ。先に問い合わせる形では、届いた答えのうち問い合わせ中に進んだぶんを飛ばして使う。30コマの答えなら、飛ばしたあとにも15コマ前後（約0.5秒）が残る。答えが返るまでの0.38〜0.51秒は、その間に収まる。10コマの答えでは、どう工夫しても新しく使えるのは5コマ（約0.17秒）で、待ちより短かった。

| | so101a（10コマ・実測） | so101b（30コマ・見込み） |
|---|---|---|
| 1回の止まり | 0.21〜0.23秒 | ほぼ0秒 |
| 動かした時間のうち止まっていた割合 | 約58% | ほぼ0% |
| 1回の長さ（中央値） | 約35秒 | 15〜20秒ほど（止まっていた分が消える） |
| 箱に入る回数 | 12回中12回 | 同じくらいを期待。ただし下がる心配もある |

下がるかもしれない所も3つある。

- 途中で直す回数が減る。AI がカメラを見直すのが、0.33秒ごとから0.5〜1秒ごとになる。ブロックが少しずれた、爪の中で滑った、というときの立て直しが遅れ、つかむ瞬間の正確さが落ちるかもしれない
- 先の動きほど外れやすい。30コマ目（1秒先）の予測は、10コマ目より当てにくい。学習の誤差（loss）は so101a より少し高く出るかもしれない
- 答えのつなぎ目で段がつく。次の答えに切り替わる所で、腕がわずかにカクッと動くかもしれない。大きく飛ぶことは、今の1コマ10°の上限が防ぐ

前のアーム（mechArm 270）では、1秒10コマで10コマ、つまり1秒ぶんの答えを使って、ブロックを箱に入れられていた。1秒ぶんの答えでも作業そのものは成り立つと見ている。

確かめは、学習のあとの録ったお手本での測りと、実機の立ち会いの2段にする。実機では so101a と同じ5か所に置き、箱に入った回数、止まりの合計と1回の長さ、答えのつなぎ目での電流の跳ねや急な動きを並べる。止まりが消えても箱に入る回数が下がるなら、答えの長さを20コマあたりにする中間の形も考える。

#### 依頼288 の結果（依頼箱の記録）

```markdown
# 結果：20261124_288_SO101の答えを0.8倍の速さで流しカクカクを消す_立ち会い

- 状態：完了
- 始めた時刻：2026-11-24 18:03
- 終わった時刻：2026-11-24 18:52（49分）
- 作業フォルダ：/Users/shimazueiichi/r2r2r-scripts
- この続きを Claude Code で話すとき：作業フォルダで `claude --resume 4e9057c8-bc52-45df-9fd3-bc654afd4fd3`

## Claude Code の報告

## やったこと
- `so101/run_so101_policy.py` に `--play-speed X` を足しました（0 より大きく 1 まで。既定は 1.0 で今までどおり）。
  - 答えの 1 コマを送る間を 1/(30×X) 秒にしました。送る角度は変えていません。
  - 先に問い合わせるコマ数 r と、止まった時間（STALL）も、この速さで数えます。
  - so101_trials.csv の行の最後に流した速さを残します。今の CSV は見出しに「play_speed」の列がありません。KIOXIA の既存のファイルを書き換えないため、見出しはそのままにして、行の最後に値が 1 つ増えた形で足しています。
- `lab_start.sh` から `--play-speed` を渡せるようにしました（so101a だけ）。
- `so101/check_288/session_288.sh` を 287 を元に作りました。場所の番号は聞かず、案内した場所を記録に入れます。速さの選び方は依頼の順番どおりに自動で進めます。
- Pod を `lab_start.sh --model so101a --log so101_Log10 --serve-only` で立て、Terminal でエイイチに 6 回動かしてもらいました。終わったあと `lab_stop.sh` で Pod を削除し、残りがないことを確かめました。
- テストはすべて通りました。
  - test_run_so101_policy 45 件（既定 1.0 で今までと同じ動きと間・0.8 で間が延びる・先に問い合わせる時の計算・CSV の行を足した）
  - test_lerobot_safe_259 64 件・test_so101_train 7 件・test_lab_start 284 件・test_lab_train 281 件
- mechArm の 8 モデルのドライランの出力は、変える前と同じでした（時刻の行だけ違う）。

## 結果
| 回 | 場所 | 流した速さ | 長さ（流した時間＋止まり） | 止まりの中央値 | 止まりの合計 | y／n |
|---|---|---|---|---|---|---|
| 1 | 1 | 0.8 | 70.3 秒（681 コマ） | 0.311 秒 | 41.9 秒 | y |
| 2 | 1 | 0.7 | 51.4 秒（501 コマ） | 0.277 秒 | 27.5 秒 | y |
| 3 | 2 | 0.7 | 48.3 秒（471 コマ） | 0.279 秒 | 25.9 秒 | y |
| 4 | 3 | 0.7 | 44.1 秒（431 コマ） | 0.279 秒 | 23.5 秒 | y |
| 5 | 4 | 0.7 | 52.1 秒（508 コマ） | 0.279 秒 | 27.9 秒 | y |
| 6 | 5 | 0.7 | 40.8 秒（396 コマ） | 0.281 秒 | 21.9 秒 | 記録なし |

- 6 回目は結果を聞く所で Enter が押されたため、成否が残っていません。
- 1 回目の止まりが 0.05 秒を超えたので、0.7 を足しました。0.7 のほうが小さかったので、場所 2〜5 は 0.7 で流しました。

**286・287 の速さ 1.0（先に問い合わせる形の 8 回）との比べ:**

| | 止まりの中央値 | 止まりの合計（中央値） | 1 回の長さ（中央値） |
|---|---|---|---|
| 286・287（1.0） | 0.21〜0.23 秒 | 20.1 秒 | 34.5 秒 |
| 今回（0.7 の 5 回） | 0.28 秒 | 25.9 秒 | 48.3 秒 |

- 286 の 1 回目（2227 コマの長い回）は比べる数から除いています。
- 止まりは減らず、1 回の長さは約 1.4 倍になりました。

**止まりが減らなかった訳:**
- 今回の Pod は答えが返るまでが中央値 0.50〜0.51 秒でした。286・287 は 0.37〜0.39 秒です。GPU は同じ A40 ですが、遅くなった理由は分かっていません。
- 止まりは「答えが返るまでの時間 −（5 コマ ÷ 30×速さ）」でほぼ決まります。0.8 なら 0.514 − 0.208 ≒ 0.31 秒、0.7 なら 0.502 − 0.238 ≒ 0.26 秒で、測った値と合います。
- 次の答えは、問い合わせたあとに進んだ分を飛ばして使います。そのため 1 つの答えで新しく使えるのは 10 コマの半分の 5 コマで頭打ちです。ゆっくり流しても止まりがその分短くなるだけで、腕が 1 秒あたりに進む量は変わりません。
- 腕なしの試しでは、答えが 0.37 秒で返る場合でも、止まりがほぼ消えるのは 0.45〜0.5 倍まで落としたときでした。

## エイイチの答え
「カクカクは減った？」→「余計カクカクになった」

## 費用
NVIDIA A40・借りた時間 18 分 24 秒・約 0.18 ドル（約 29 円）

## 変えたファイル
commit 60e6e31（ファイルを 1 つずつ指定して add しました）
- `so101/run_so101_policy.py`
- `so101/test_run_so101_policy.py`
- `lab_start.sh`
- `test_lab_start.sh`
- `so101/check_288/session_288.sh`（新しく作った）
- `logs/20261124_1851.md`（新しく作った）

## 決めてほしいこと
- 今回の結果では、ゆっくり流してもカクカクは消えません。流す速さで続けるか、依頼 289（1 回の答えを 30 コマにして学び直す）に絞るか。
- 答えが返るまでが 0.37 秒から 0.51 秒に延びた理由を調べるか。
- 場所 5 の回は成否が残っていません。y か n かを教えてもらえれば、記録に足すかどうかを含めて決めてください。

判定：失敗
```

#### eiichi_answers_288.txt（回ごとの止まりと、最後の問いへの答え）

```text
1 回目 (場所1 を 0.8 で) 場所1 速さ0.8 止まりの中央値 0.311
[STALL ] 0.8 の止まりの中央値 0.311 秒 > 0.05 秒 → 場所1 で 0.7 を 1 回足します
2 回目 (場所1 を 0.7 で) 場所1 速さ0.7 止まりの中央値 0.277
[STALL ] 0.8: 0.311 秒 / 0.7: 0.277 秒 → 場所2〜5 は 0.7 で
3 回目 (場所2 を 0.7 で) 場所2 速さ0.7 止まりの中央値 0.279
4 回目 (場所3 を 0.7 で) 場所3 速さ0.7 止まりの中央値 0.279
5 回目 (場所4 を 0.7 で) 場所4 速さ0.7 止まりの中央値 0.279
6 回目 (場所5 を 0.7 で) 場所5 速さ0.7 止まりの中央値 0.281
Q カクカクは減った?: 余計カクカクになった
```

#### so101_trials.csv（依頼286〜288 の18回）

```csv
trial,started_at,operator,place,model,step,exec_steps,execute,result,frames,frames_model,frames_correct,frames_pause,queries,latency_median_s,latency_max_s,clipped_frames,record_dir,prefetch,payload_bytes,stall_median_s,stall_max_s,stall_total_s,fail_reason,currents
so101_20261124_170033,20261124_170033,AI,1,so101a,2999,10,1,success,2227,2227,0,0,445,0.385,0.711,459,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_170033,1,22265,0.226,0.549,104.938,,all
so101_20261124_170552,20261124_170552,AI,1,so101a,2999,10,1,success,456,456,0,0,91,0.39,0.617,31,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_170552,1,26040,0.233,0.461,22.122,,all
so101_20261124_170711,20261124_170711,AI,1,so101a,2999,10,1,success,416,416,0,0,83,0.386,0.49,25,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_170711,1,25906,0.224,0.332,19.218,,all
so101_20261124_170840,20261124_170840,AI,1,so101a,2999,10,1,success,621,621,0,0,63,0.385,0.506,30,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_170840,0,26406,0.388,0.509,24.763,,all
so101_20261124_171005,20261124_171005,AI,1,so101a,2999,10,1,success,359,359,0,0,36,0.385,0.466,36,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171005,0,26384,0.388,0.471,13.914,,all
so101_20261124_171104,20261124_171104,AI,1,so101a,2999,10,1,success,652,652,0,0,66,0.383,0.514,118,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171104,0,26081,0.387,0.519,26.134,,all
so101_20261124_171353,20261124_171353,AI,2,so101a,2999,10,1,success,376,376,0,0,75,0.386,0.475,18,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171353,1,24994,0.223,0.314,17.192,,all
so101_20261124_171505,20261124_171505,AI,2,so101a,2999,10,1,success,601,601,0,0,120,0.387,1.008,31,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171505,1,23852,0.226,0.845,28.971,,all
so101_20261124_171630,20261124_171630,AI,2,so101a,2999,10,1,success,446,446,0,0,89,0.387,0.472,10,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_171630,1,23876,0.227,0.311,20.997,,all
so101_20261124_172110,20261124_172110,AI,5,so101a,2999,10,1,success,369,369,0,0,73,0.386,0.481,21,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_172110,1,26110,0.226,0.324,17.408,,all
so101_20261124_175423,20261124_175423,AI,3,so101a,2999,10,1,success,771,771,0,0,154,0.372,0.482,20,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_175423,1,26041,0.212,0.321,34.122,,all
so101_20261124_175605,20261124_175605,AI,4,so101a,2999,10,1,success,404,404,0,0,80,0.371,0.474,24,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_175605,1,24642,0.211,0.317,17.639,,all
so101_20261124_184200,20261124_184200,AI,1,so101a,2999,10,1,success,681,681,0,0,136,0.514,0.626,91,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_184200,1,25428,0.311,0.425,41.897,,all,0.8
so101_20261124_184359,20261124_184359,AI,1,so101a,2999,10,1,success,501,501,0,0,100,0.502,0.667,9,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_184359,1,24382,0.277,0.432,27.497,,all,0.7
so101_20261124_184528,20261124_184528,AI,2,so101a,2999,10,1,success,471,471,0,0,94,0.513,0.651,9,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_184528,1,24385,0.279,0.419,25.851,,all,0.7
so101_20261124_184653,20261124_184653,AI,3,so101a,2999,10,1,success,431,431,0,0,86,0.512,0.679,21,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_184653,1,23822,0.279,0.442,23.535,,all,0.7
so101_20261124_184812,20261124_184812,AI,4,so101a,2999,10,1,success,508,508,0,0,101,0.512,0.673,18,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_184812,1,25253,0.279,0.437,27.862,,all,0.7
so101_20261124_184937,20261124_184937,AI,5,so101a,2999,10,1,,396,396,0,0,79,0.513,0.643,25,/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/so101/so101_20261124_184937,1,26150,0.281,0.411,21.928,,all,0.7
```

#### lab_start のログ（依頼288）

```text
[RANGE ] 安全範囲 (学習データ ±10°) は /Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes から (--model so101a)
[SO101 ] 推論のクライアントは so101/run_so101_policy.py (/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python). --serve-only なのでクライアントは流さない (空打ちだけ)
[SO101 ] 1 回で実行するコマ: 10 (既定. 答えの 10 コマ全部)
[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す (既定. 依頼 285)
[LAB   ] 2026-11-24 18:32:51  GPU=NVIDIA A40  episode=run_0001_20261019_194818  log=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10  サーバーとトンネルだけ (--serve-only. アームと daemon には触らない)
[MODEL ] --model so101a: SO-101: π0.5 base から so101_redblock_box_teleop_even_v1 (場所 1〜5 を各 10 本) で学習した 2999 (依頼 282)
         PixelstoMotors/pi05-so101-teleop-even-lora-v1 → /workspace/ckpt/so101_teleop_even_v1_2999  設定 pi05_so101_teleop_even_lora  assets local/so101_redblock_box_teleop_even_v1

=== 1. Pod を作る
[POD   ] 記録の Pod (id fwkqkk6y1h7p2k) は API で見ると残っていない. 新しく作ります
         古い記録は /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/pod/lab_pod_20261124_183252.json に残しました
[POD   ] 作った: id 3gn2i41m01ilz0  GPU=NVIDIA A40  1時間 0.59 ドル  (記録 /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/pod/lab_pod.json)
    (3 秒)

=== 2. Pod が立ち上がるまで待つ
[POD   ] SSH の IP とポートを API から受け取った (<POD_IP>:<SSH_PORT>)
[POD   ] 入れた: b78cfb5a5859
NVIDIA A40, 46068 MiB
    (51 秒)

=== 3a. スクリプトを送る
    (199 秒)

=== 3b. huggingface_hub を入れ, 鍵を渡す
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[90mHint: The `hf-cli` skill is not installed. Run `hf skills add -g` to teach your AI agents how to use the `hf` CLI.[0m
[32m✓ Logged in[0m
  user: PixelstoMotors
    (13 秒)

=== 3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)

Fetching 28 files:   0%|          | 0/28 [00:00<?, ?it/s]
Fetching 28 files:   4%|▎         | 1/28 [00:00<00:08,  3.23it/s]
Fetching 28 files:  32%|███▏      | 9/28 [00:00<00:01, 16.64it/s]
Fetching 28 files:  39%|███▉      | 11/28 [00:01<00:03,  4.62it/s]
Fetching 28 files:  46%|████▋     | 13/28 [00:02<00:02,  5.39it/s]
Fetching 28 files:  50%|█████     | 14/28 [00:02<00:02,  5.38it/s]
Fetching 28 files:  54%|█████▎    | 15/28 [00:04<00:06,  2.03it/s]
Fetching 28 files:  57%|█████▋    | 16/28 [00:04<00:05,  2.25it/s]
Fetching 28 files:  61%|██████    | 17/28 [00:05<00:05,  2.06it/s]
Fetching 28 files:  64%|██████▍   | 18/28 [00:05<00:04,  2.29it/s]
Fetching 28 files:  71%|███████▏  | 20/28 [00:05<00:02,  3.44it/s]
Fetching 28 files:  79%|███████▊  | 22/28 [00:05<00:01,  4.90it/s]
Fetching 28 files:  82%|████████▏ | 23/28 [00:05<00:01,  4.95it/s]
Fetching 28 files:  86%|████████▌ | 24/28 [00:06<00:01,  3.08it/s]
Fetching 28 files:  89%|████████▉ | 25/28 [00:07<00:01,  2.77it/s]
Fetching 28 files:  93%|█████████▎| 26/28 [00:09<00:01,  1.22it/s]
Fetching 28 files:  96%|█████████▋| 27/28 [00:09<00:00,  1.25it/s][32m✓ Downloaded[0m
  path: /workspace/ckpt/so101_teleop_even_v1_2999

Fetching 28 files: 100%|██████████| 28/28 [00:10<00:00,  2.80it/s]
6.0G	/workspace/ckpt/so101_teleop_even_v1_2999
    (14 秒)

=== 3d. openpi を取る (215abfb)
215abfb docs(droid): fix config search instruction (#1023)
    (25 秒)

=== 3e. uv sync
downloading uv 0.13.9 x86_64-unknown-linux-gnu
WARN: The following commands are shadowed by other commands in your PATH: uv uvx
Using CPython 3.11.13 interpreter at: /usr/bin/python3.11
Creating virtual environment at: .venv
Resolved 279 packages in 2ms
   Building openpi-client @ file:///workspace/openpi/packages/openpi-client
   Building openpi @ file:///workspace/openpi
   Updating https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
Downloading mujoco (4.4MiB)
Downloading sympy (6.0MiB)
Downloading numpy (17.4MiB)
Downloading labmaze (4.7MiB)
Downloading llvmlite (40.4MiB)
Downloading pillow (4.4MiB)
Downloading nvidia-cuda-cupti-cu12 (8.5MiB)
Downloading jax-cuda12-plugin (15.9MiB)
Downloading diffusers (3.4MiB)
Downloading tensorstore (17.5MiB)
Downloading matplotlib (8.2MiB)
Downloading h5py (4.3MiB)
Downloading nvidia-nvjitlink-cu12 (18.8MiB)
Downloading cmake (26.6MiB)
Downloading nvidia-cuda-nvrtc-cu12 (22.6MiB)
Downloading ruff (11.0MiB)
Downloading lxml (4.7MiB)
Downloading hf-xet (4.9MiB)
Downloading virtualenv (5.8MiB)
Downloading dm-control (37.5MiB)
Downloading opencv-python-headless (47.7MiB)
Downloading numba (3.7MiB)
Downloading pyopengl (3.0MiB)
Downloading pandas (12.5MiB)
Downloading nvidia-cufft-cu12 (190.9MiB)
Downloading torchvision (7.1MiB)
Downloading pyarrow (40.3MiB)
Downloading av (34.7MiB)
Downloading transformers (10.3MiB)
Downloading torch (783.1MiB)
Downloading polars (34.6MiB)
Downloading wandb (20.4MiB)
Downloading nvidia-cusolver-cu12 (150.9MiB)
Downloading triton (148.5MiB)
Downloading nvidia-cusparse-cu12 (206.5MiB)
Downloading imageio-ffmpeg (28.1MiB)
Downloading nvidia-cuda-nvcc-cu12 (38.7MiB)
Downloading numcodecs (8.4MiB)
Downloading jax-cuda12-pjrt (99.8MiB)
Downloading rerun-sdk (68.1MiB)
Downloading hf-transfer (3.4MiB)
Downloading nvidia-curand-cu12 (53.7MiB)
Downloading nvidia-nccl-cu12 (192.0MiB)
Downloading fonttools (4.7MiB)
Downloading nvidia-cublas-cu12 (374.9MiB)
Downloading opencv-python (60.1MiB)
Downloading nvidia-cudnn-cu12 (544.5MiB)
Downloading jaxlib (100.2MiB)
Downloading nvidia-cusparselt-cu12 (149.5MiB)
Downloading scipy (35.9MiB)
 Downloaded pyopengl
 Downloaded diffusers
Downloading debugpy (3.0MiB)
Downloading tokenizers (2.9MiB)
 Downloaded hf-transfer
 Downloaded numba
Downloading jax (2.3MiB)
Downloading widgetsnbextension (2.1MiB)
 Downloaded mujoco
 Downloaded h5py
Downloading ml-dtypes (2.1MiB)
 Downloaded pillow
Downloading networkx (1.9MiB)
Downloading pydantic-core (1.9MiB)
 Downloaded labmaze
 Downloaded fonttools
Downloading aiohttp (1.6MiB)
 Downloaded lxml
Downloading jedi (1.5MiB)
 Downloaded hf-xet
Downloading kiwisolver (1.4MiB)
Downloading torchcodec (1.3MiB)
 Downloaded virtualenv
 Downloaded widgetsnbextension
Downloading sentencepiece (1.2MiB)
 Downloaded sympy
Downloading pygments (1.2MiB)
Downloading setuptools (1.1MiB)
 Downloaded jax
Downloading nvidia-cufile-cu12 (1.1MiB)
 Downloaded kiwisolver
 Downloaded debugpy
 Downloaded pydantic-core
 Downloaded networkx
 Downloaded tokenizers
 Downloaded ml-dtypes
 Downloaded aiohttp
 Downloaded torchcodec
Downloading pymunk (1.0MiB)
 Downloaded pygments
 Downloaded torchvision
 Downloaded sentencepiece
 Downloaded nvidia-cufile-cu12
 Downloaded setuptools
 Downloaded pymunk
 Downloaded jedi
 Downloaded matplotlib
 Downloaded nvidia-cuda-cupti-cu12
 Downloaded numcodecs
   Building evdev==1.9.2
 Downloaded transformers
 Downloaded ruff
 Downloaded pandas
   Building antlr4-python3-runtime==4.9.3
 Downloaded jax-cuda12-plugin
 Downloaded tensorstore
 Downloaded numpy
 Downloaded nvidia-nvjitlink-cu12
      Built openpi-client @ file:///workspace/openpi/packages/openpi-client
 Downloaded wandb
      Built openpi @ file:///workspace/openpi
 Downloaded nvidia-cuda-nvrtc-cu12
 Downloaded imageio-ffmpeg
      Built antlr4-python3-runtime==4.9.3
 Downloaded cmake
 Downloaded av
 Downloaded polars
 Downloaded scipy
 Downloaded dm-control
 Downloaded nvidia-cuda-nvcc-cu12
 Downloaded llvmlite
 Downloaded pyarrow
 Downloaded opencv-python-headless
 Downloaded nvidia-curand-cu12
 Downloaded opencv-python
 Downloaded rerun-sdk
      Built evdev==1.9.2
 Downloaded jax-cuda12-pjrt
 Downloaded jaxlib
 Downloaded triton
    Updated https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
   Building lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded nvidia-cusparselt-cu12
 Downloaded nvidia-cusolver-cu12
 Downloaded nvidia-cufft-cu12
 Downloaded nvidia-nccl-cu12
 Downloaded nvidia-cusparse-cu12
      Built lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded nvidia-cublas-cu12
 Downloaded nvidia-cudnn-cu12
 Downloaded torch
Prepared 240 packages in 15.03s
Installed 240 packages in 1.85s
 + absl-py==2.3.0
 + aiohappyeyeballs==2.6.1
 + aiohttp==3.12.4
 + aiosignal==1.3.2
 + annotated-types==0.7.0
 + antlr4-python3-runtime==4.9.3
 + asttokens==3.0.0
 + attrs==25.3.0
 + augmax==0.4.1
 + av==17.0.0
 + beartype==0.19.0
 + beautifulsoup4==4.13.4
 + blinker==1.9.0
 + cachetools==5.5.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + cfgv==3.4.0
 + charset-normalizer==3.4.2
 + chex==0.1.90
 + click==8.2.1
 + cloudpickle==3.1.1
 + cmake==4.0.2
 + comm==0.2.2
 + contourpy==1.3.2
 + crc32c==2.7.1
 + cycler==0.12.1
 + datasets==3.6.0
 + debugpy==1.8.14
 + decorator==5.2.1
 + deepdiff==8.5.0
 + diffusers==0.33.1
 + dill==0.3.8
 + distlib==0.3.9
 + dm-control==1.0.14
 + dm-env==1.6
 + dm-tree==0.1.9
 + docker-pycreds==0.4.0
 + docstring-parser==0.16
 + donfig==0.8.1.post1
 + draccus==0.10.0
 + einops==0.8.1
 + equinox==0.12.2
 + etils==1.12.2
 + evdev==1.9.2
 + executing==2.2.0
 + farama-notifications==0.0.4
 + filelock==3.18.0
 + flask==3.1.1
 + flatbuffers==25.2.10
 + flax==0.10.2
 + fonttools==4.58.1
 + frozenlist==1.6.0
 + fsspec==2025.3.0
 + gcsfs==2025.3.0
 + gdown==5.2.0
 + gitdb==4.0.12
 + gitpython==3.1.44
 + glfw==2.9.0
 + google-api-core==2.24.2
 + google-auth==2.40.2
 + google-auth-oauthlib==1.2.2
 + google-cloud-core==2.4.3
 + google-cloud-storage==3.1.0
 + google-crc32c==1.7.1
 + google-resumable-media==2.7.2
 + googleapis-common-protos==1.70.0
 + gym-aloha==0.1.1
 + gymnasium==0.29.1
 + h5py==3.13.0
 + hf-transfer==0.1.9
 + hf-xet==1.1.2
 + huggingface-hub==0.32.3
 + humanize==4.12.3
 + identify==2.6.12
 + idna==3.10
 + imageio==2.37.0
 + imageio-ffmpeg==0.6.0
 + importlib-metadata==8.7.0
 + importlib-resources==6.5.2
 + iniconfig==2.1.0
 + inquirerpy==0.3.4
 + ipykernel==6.29.5
 + ipython==9.2.0
 + ipython-pygments-lexers==1.1.1
 + ipywidgets==8.1.7
 + itsdangerous==2.2.0
 + jax==0.5.3
 + jax-cuda12-pjrt==0.5.3
 + jax-cuda12-plugin==0.5.3
 + jaxlib==0.5.3
 + jaxtyping==0.2.36
 + jedi==0.19.2
 + jinja2==3.1.6
 + jsonlines==4.0.0
 + jupyter-client==8.6.3
 + jupyter-core==5.8.1
 + jupyterlab-widgets==3.0.15
 + kiwisolver==1.4.8
 + labmaze==1.0.6
 + lerobot==0.1.0 (from git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
 + llvmlite==0.44.0
 + lxml==5.4.0
 + markdown-it-py==3.0.0
 + markupsafe==3.0.2
 + matplotlib==3.10.3
 + matplotlib-inline==0.1.7
 + mdurl==0.1.2
 + mergedeep==1.3.4
 + ml-collections==1.0.0
 + ml-dtypes==0.4.1
 + mpmath==1.3.0
 + msgpack==1.1.0
 + mujoco==2.3.7
 + multidict==6.4.4
 + multiprocess==0.70.16
 + mypy-extensions==1.1.0
 + nest-asyncio==1.6.0
 + networkx==3.5
 + nodeenv==1.9.1
 + numba==0.61.2
 + numcodecs==0.16.1
 + numpy==1.26.4
 + numpydantic==1.6.9
 + nvidia-cublas-cu12==12.6.4.1
 + nvidia-cuda-cupti-cu12==12.6.80
 + nvidia-cuda-nvcc-cu12==12.9.41
 + nvidia-cuda-nvrtc-cu12==12.6.77
 + nvidia-cuda-runtime-cu12==12.6.77
 + nvidia-cudnn-cu12==9.5.1.17
 + nvidia-cufft-cu12==11.3.0.4
 + nvidia-cufile-cu12==1.11.1.6
 + nvidia-curand-cu12==10.3.7.77
 + nvidia-cusolver-cu12==11.7.1.2
 + nvidia-cusparse-cu12==12.5.4.2
 + nvidia-cusparselt-cu12==0.6.3
 + nvidia-ml-py==12.575.51
 + nvidia-nccl-cu12==2.26.2
 + nvidia-nvjitlink-cu12==12.6.85
 + nvidia-nvtx-cu12==12.6.77
 + oauthlib==3.2.2
 + omegaconf==2.3.0
 + opencv-python==4.11.0.86
 + opencv-python-headless==4.11.0.86
 + openpi==0.1.0 (from file:///workspace/openpi)
 + openpi-client==0.1.0 (from file:///workspace/openpi/packages/openpi-client)
 + opt-einsum==3.4.0
 + optax==0.2.4
 + orbax-checkpoint==0.11.13
 + orderly-set==5.4.1
 + packaging==25.0
 + pandas==2.2.3
 + parso==0.8.4
 + pexpect==4.9.0
 + pfzy==0.3.4
 + pillow==11.2.1
 + platformdirs==4.3.8
 + pluggy==1.6.0
 + polars==1.30.0
 + pre-commit==4.2.0
 + prompt-toolkit==3.0.51
 + propcache==0.3.1
 + proto-plus==1.26.1
 + protobuf==4.25.8
 + psutil==7.0.0
 + ptyprocess==0.7.0
 + pure-eval==0.2.3
 + pyarrow==20.0.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + pycparser==2.22
 + pydantic==2.11.5
 + pydantic-core==2.33.2
 + pygments==2.19.1
 + pymunk==7.0.0
 + pynput==1.8.1
 + pynvml==12.0.0
 + pyopengl==3.1.9
 + pyparsing==3.2.3
 + pysocks==1.7.1
 + pytest==8.3.5
 + python-dateutil==2.9.0.post0
 + python-xlib==0.33
 + pytz==2025.2
 + pyyaml==6.0.2
 + pyyaml-include==1.4.1
 + pyzmq==26.4.0
 + regex==2024.11.6
 + requests==2.32.3
 + requests-oauthlib==2.0.0
 + rerun-sdk==0.23.1
 + rich==14.0.0
 + rsa==4.9.1
 + ruff==0.11.12
 + safetensors==0.5.3
 + scipy==1.15.3
 + sentencepiece==0.2.0
 + sentry-sdk==2.29.1
 + setproctitle==1.3.6
 + setuptools==80.9.0
 + shtab==1.7.2
 + simplejson==3.20.1
 + six==1.17.0
 + smmap==5.0.2
 + soupsieve==2.7
 + stack-data==0.6.3
 + sympy==1.14.0
 + tensorstore==0.1.74
 + termcolor==3.1.0
 + tokenizers==0.21.1
 + toml==0.10.2
 + toolz==1.0.0
 + torch==2.7.1
 + torchcodec==0.4.0
 + torchvision==0.22.1
 + tornado==6.5.1
 + tqdm==4.67.1
 + tqdm-loggable==0.2
 + traitlets==5.14.3
 + transformers==4.53.2
 + treescope==0.1.9
 + triton==3.3.1
 + typeguard==4.4.2
 + typing-extensions==4.13.2
 + typing-inspect==0.9.0
 + typing-inspection==0.4.1
 + tyro==0.9.22
 + tzdata==2025.2
 + urllib3==2.4.0
 + virtualenv==20.31.2
 + wadler-lindig==0.1.6
 + wandb==0.19.11
 + wcwidth==0.2.13
 + websockets==15.0.1
 + werkzeug==3.1.3
 + widgetsnbextension==4.0.14
 + wrapt==1.14.1
 + xxhash==3.5.0
 + yarl==1.20.0
 + zarr==3.0.8
 + zipp==3.22.0
    (21 秒)

=== 3f. addon・設定・assets (pi05_so101_teleop_even_lora)
installed: policies/mecharm_policy.py + config.py (pi05_mecharm_lora)
installed: pi05_mecharm_trim_lora (repo_id=local/mecharm_redblock_box_teach_v1_trim2, 4,000 steps)
installed: policies/so101_policy.py + pi05_so101_teleop_even_lora (repo_id=local/so101_redblock_box_teleop_even_v1, 3000 steps, decay_steps 3000, init=π0.5 base)
    (4 秒)

=== 4. サーバーの起動
[SERVE ] --model so101a: --policy.config=pi05_so101_teleop_even_lora --policy.dir=/workspace/ckpt/so101_teleop_even_v1_2999
INFO:websockets.server:server listening on 0.0.0.0:8000
    (53 秒)

=== 5. Mac の 8000 番へのトンネル
[TUNNEL] localhost:8000 → Pod の 8000 番 (pid 7477. このスクリプトが終わると閉じる)
    (4 秒)

=== 5b. 空打ち (1 回目の推論の待ちを先に済ませる)
[WARM  ] 空打ち 58.8 秒 (答え (10, 6))
    (59 秒)
[SERVE ] --serve-only: サーバー (--model so101a) は localhost:8000 で待っています.
         デーモン・HOME・爪・位置合わせ・推論には進みません. 終わるときは Ctrl-C か kill (TERM) (Pod は消さない)

[SERVE ] 終わりの合図を受けました. トンネルを閉じて終わります

=== かかった時間  モデル so101a (PixelstoMotors/pi05-so101-teleop-even-lora-v1)
  1. Pod を作る                      3 秒
  2. Pod が立ち上がるまで待つ     51 秒
  3a. スクリプトを送る        199 秒
  3b. huggingface_hub を入れ, 鍵を渡す     13 秒
  3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-lora-v1)     14 秒
  3d. openpi を取る (215abfb)       25 秒
  3e. uv sync                          21 秒
  3f. addon・設定・assets (pi05_so101_teleop_even_lora)      4 秒
  4. サーバーの起動             53 秒
  5. Mac の 8000 番へのトンネル      4 秒
  5b. 空打ち (1 回目の推論の待ちを先に済ませる)     59 秒

[LAB   ] Pod は残しています (id 3gn2i41m01ilz0). 片付けは ./lab_stop.sh --log so101_Log10
[TUNNEL] 8000 番のトンネルを閉じました
```

#### serve_20261124_185110.log（依頼288）

```text
INFO:root:Loading model...
INFO:2026-11-24 09:38:48,838:jax._src.xla_bridge:925: Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
INFO:jax._src.xla_bridge:Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
INFO:2026-11-24 09:38:48,841:jax._src.xla_bridge:925: Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
INFO:jax._src.xla_bridge:Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
INFO:absl:orbax-checkpoint version: 0.11.13
INFO:absl:Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7baa2ebc0910>
INFO:absl:Restoring checkpoint from /workspace/ckpt/so101_teleop_even_v1_2999/params.
INFO:absl:[thread=MainThread] Failed to get flag value for EXPERIMENTAL_ORBAX_USE_DISTRIBUTED_PROCESS_ID.
INFO:absl:[process=0] /jax/checkpoint/read/bytes_per_sec: 1.1 GiB/s (total bytes: 6.3 GiB) (time elapsed: 5 seconds) (per-host)
INFO:absl:Finished restoring checkpoint in 5.70 seconds from /workspace/ckpt/so101_teleop_even_v1_2999/params.
INFO:openpi.shared.download:Downloading gs://big_vision/paligemma_tokenizer.model to /root/.cache/openpi/big_vision/paligemma_tokenizer.model
INFO:tqdm_loggable.tqdm_logging:Progress on: -/4264023 rate:- remaining:? elapsed:00:00 postfix:-
INFO:tqdm_loggable.tqdm_logging:Progress on: 4.07MiB/4.07MiB rate:4,260,856.5iB/s remaining:00:00 elapsed:00:01 postfix:-
INFO:root:Loaded norm stats from /workspace/openpi/assets/pi05_so101_teleop_even_lora/local/so101_redblock_box_teleop_even_v1
INFO:root:Loaded norm stats from /workspace/ckpt/so101_teleop_even_v1_2999/assets/local/so101_redblock_box_teleop_even_v1
INFO:root:Creating server (host: b78cfb5a5859, ip: 172.16.80.2)
INFO:websockets.server:server listening on 0.0.0.0:8000
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 41128) opened
ERROR:websockets.server:opening handshake failed
Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 138, in parse
    request_line = yield from parse_line(read_line)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 309, in parse_line
    line = yield from read_line(MAX_LINE_LENGTH)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/streams.py", line 46, in read_line
    raise EOFError(f"stream ends after {p} bytes, before end of line")
EOFError: stream ends after 0 bytes, before end of line

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/server.py", line 545, in parse
    request = yield from Request.parse(
              ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/http11.py", line 140, in parse
    raise EOFError("connection closed while reading HTTP request line") from exc
EOFError: connection closed while reading HTTP request line

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/asyncio/server.py", line 356, in conn_handler
    await connection.handshake(
  File "/workspace/openpi/.venv/lib/python3.11/site-packages/websockets/asyncio/server.py", line 207, in handshake
    raise self.protocol.handshake_exc
websockets.exceptions.InvalidMessage: did not receive a valid HTTP request
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 41128) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 38166) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 38166) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 53372) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 53372) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 36920) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 36920) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 44054) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 44054) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 37554) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 37554) closed
INFO:websockets.server:connection open
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 59234) opened
INFO:openpi.serving.websocket_policy_server:Connection from ('127.0.0.1', 59234) closed
```

#### lab_stop のログ（依頼288）

```text
[STOP  ] so101_Log10 の Pod: id 3gn2i41m01ilz0  GPU=NVIDIA A40  作った時刻 2026-11-24 18:32:54
[LOG   ] serve.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/serve_20261124_185110.log (69 行)
[STOP  ] Terminate を送った (18:51:18)
[STOP  ] Pod (id 3gn2i41m01ilz0) が消えたことを API で確かめた
[COST  ] 借りていた時間 18 分 24 秒 (0.31 時間) × 1時間 0.59 ドル = 約 0.18 ドル (約 29 円. 1ドル=158円)
[TUNNEL] 8000 番のトンネルは残っていません
```

#### so101/check_288/session_288.sh

```bash
#!/bin/bash
# 依頼 288: エイイチの前の Terminal で流す案内つきの通し (答えを 0.8 倍の速さで流してカクカクが減るかを見る. session_287.sh を元にした).
# サーバーとトンネルは lab_start.sh --model so101a --log so101_Log10 --serve-only が別に張っている (localhost:8000).
# 形は先に問い合わせる形. 電流は 6 つ全部 (all). 場所の番号は画面で聞かず, 案内した番号を --place で記録に入れる.
# 順番: 場所1 で --play-speed 0.8 を 1 回. 止まり (STALL の中央値) が 0.05 秒を超えたら場所1 で 0.7 を 1 回足す.
#       そのあと止まりが小さかったほうの速さで場所 2〜5 を 1 回ずつ. 最後に「カクカクは減った?」を 1 行だけ聞く.
set -u
HERE="$(cd "$(dirname "$0")/../.." && pwd)"     # リポジトリの一番上
cd "$HERE" || exit 1
PY=/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python
LOGDIR=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10
CSV="$LOGDIR/so101_trials.csv"
ANS="$LOGDIR/eiichi_answers_288.txt"
DONE=/tmp/r288/session_done
STALL_LIMIT=0.05

big() { printf '\n\033[1;33m==================================================\n  %s\n==================================================\033[0m\n' "$1"; }
huge() { printf '\n\033[1;37;41m                                                  \n   %s   \n                                                  \033[0m\n\n' "$1"; }

big "依頼 288  SO-101 の π0.5 の答えを ゆっくり流す (0.8 倍)"
echo "このウィンドウの案内どおりに進めます. 白い箱・カメラ・照明は動かさないでください."
echo "答えの 10 コマを少しゆっくり流します (送る角度は同じ. 間を空けるだけ). 5〜6 回です."

until nc -z localhost 8000 2>/dev/null; do echo "  サーバーの準備を待っています (Claude が用意しています) ..."; sleep 10; done
n_rows() { [ -f "$CSV" ] && "$PY" -c "import csv,sys;print(sum(1 for _ in csv.DictReader(open(sys.argv[1]))))" "$CSV" || echo 0; }
last_col() { "$PY" -c "import csv,sys;print(list(csv.DictReader(open(sys.argv[1])))[-1][sys.argv[2]] or 0)" "$CSV" "$1"; }

NAMES=("" "" "" " (左の手前)" " (まん中の手前)" "")     # 名前は 287 で案内した 3・4 だけ
N_DONE=0; STOPPED=0
# 1 回: 記録の行が増えるまで同じ回をやり直す. s で止めたら STOPPED=1. 終わったら LAST_STALL に止まりの中央値
run_one() {
    local place=$1 speed=$2 label=$3 base k
    while :; do
        big "${label}   場所 ${place}   流す速さ ${speed}"
        huge "ブロックを 場所${place}${NAMES[${place}]} の目印に置く"
        echo "動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)"
        echo "箱に入れて腕が戻ったら q を押してください. 終わったら y/n と失敗の番号を聞きます."
        echo "(場所の番号は聞きません. 記録には 場所 ${place}・速さ ${speed} と入ります)"
        read -r -p "置いたら Enter / ここで止めるなら s と Enter > " k
        if [ "${k}" = s ]; then
            echo "[STOP] エイイチの指示で ${label} (場所 ${place}・速さ ${speed}) の前で止めました" | tee -a "$ANS"; STOPPED=1; return
        fi
        base=$(n_rows)
        ARGS=(--port 8000 --log-dir "$LOGDIR" --model so101a --step 2999 --execute --currents all --place "${place}" --play-speed "${speed}")
        [ "${N_DONE}" -ge 1 ] && ARGS+=(--skip-first-confirm)
        "$PY" so101/run_so101_policy.py "${ARGS[@]}"
        echo "[CLIENT] 終了コード $?"
        if [ "$(n_rows)" -gt "${base}" ]; then
            N_DONE=$((N_DONE + 1))
            LAST_STALL=$(last_col stall_median_s)
            echo "[RECORD] 場所 $(last_col place)・止まりの中央値 ${LAST_STALL} 秒・合計 $(last_col stall_total_s) 秒"
            echo "${label} 場所${place} 速さ${speed} 止まりの中央値 ${LAST_STALL}" >> "$ANS"
            return
        fi
        echo "[WARN] 記録の行が増えていない. もう一度同じ回 (場所 ${place}・速さ ${speed}) をやります"
    done
}
over() { "$PY" -c "import sys;print(int(float(sys.argv[1]) > float(sys.argv[2])))" "$1" "$2"; }

SPEED=0.8
run_one 1 0.8 "1 回目 (場所1 を 0.8 で)"
S08=${LAST_STALL:-0}
if [ $STOPPED = 0 ] && [ "$(over "${S08}" "${STALL_LIMIT}")" = 1 ]; then
    echo "[STALL ] 0.8 の止まりの中央値 ${S08} 秒 > ${STALL_LIMIT} 秒 → 場所1 で 0.7 を 1 回足します" | tee -a "$ANS"
    run_one 1 0.7 "2 回目 (場所1 を 0.7 で)"
    S07=${LAST_STALL:-0}
    if [ $STOPPED = 0 ] && [ "$(over "${S08}" "${S07}")" = 1 ]; then SPEED=0.7; fi
    [ $STOPPED = 0 ] && echo "[STALL ] 0.8: ${S08} 秒 / 0.7: ${S07} 秒 → 場所2〜5 は ${SPEED} で" | tee -a "$ANS"
elif [ $STOPPED = 0 ]; then
    echo "[STALL ] 0.8 の止まりの中央値 ${S08} 秒 ≤ ${STALL_LIMIT} 秒 → 場所2〜5 も 0.8 で" | tee -a "$ANS"
fi
for place in 2 3 4 5; do
    [ $STOPPED = 0 ] || break
    run_one "${place}" "${SPEED}" "$((N_DONE + 1)) 回目 (場所${place} を ${SPEED} で)"
done

big "最後に 1 つだけ"
read -r -p "カクカクは減った? (自由に 1 行) > " q1
echo "Q カクカクは減った?: ${q1}" | tee -a "$ANS"

big "おしまい. ありがとうございました. このウィンドウは閉じてかまいません (Pod の片付けは Claude が行います)"
mkdir -p /tmp/r288 && echo DONE_288 > "$DONE"
```

#### commit 60e6e31 の差分（依頼288）

```diff
commit 60e6e310ffea580f83a2281281e9688832b74a89
Date: Tue Nov 24 18:52:07 2026 +0900

SO-101 の答えを 0.8 倍・0.7 倍の速さで流してカクカクが減るかを見る (依頼 288・エイイチ立ち会い・フォロワーを動かした). run_so101_policy.py に --play-speed X (0 より大きく 1 まで. 既定 1.0 = 今までどおり. 1 コマの間 1/(30×X) 秒. 送る角度は変えない. 先に問い合わせるコマ数 r と STALL もこの速さで数える. so101_trials.csv の行の最後に play_speed. 前からある CSV の見出しは書き換えない), lab_start.sh に --play-speed (so101a だけ), check_288/session_288.sh. so101_Log10 で 場所1 0.8 (止まりの中央値 0.311 秒) → 0.7 (0.277 秒) → 場所2〜5 を 0.7 (0.279〜0.281 秒). 5 回 y・場所5 は記録なし. 答えが返るまで中央値 0.50〜0.51 秒 (286・287 は 0.37〜0.39). エイイチ「余計カクカクになった」. A40 18分24秒 約 0.18 ドル. mechArm の 8 モデルのドライランの出力は変わらない. テスト: test_run_so101_policy 45 件・test_lerobot_safe_259 64 件・test_so101_train 7 件・test_lab_start 284 件・test_lab_train 281 件 OK

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/lab_start.sh b/lab_start.sh
index 0ab2bca..87ca78f 100755
--- a/lab_start.sh
+++ b/lab_start.sh
@@ -25,6 +25,7 @@
 #                      (デーモン・HOME・位置合わせはない). --dry-run ならフォロワーに送らない. --exec-steps N (1〜10) をそのまま渡す.
 #                      答えを実行している間に次を先に問い合わせる (依頼 285). --no-prefetch で依頼 283 の形 (使い切ってから問い合わせる).
 #                      2 回目の試行からは --skip-first-confirm を渡し, 始めの Enter を待たない (mechArm と同じ. 依頼 285)
+#                      --play-speed X (0 より大きく 1 まで. 例 0.8) をそのまま渡す (答えの 1 コマの間を 1/(30×X) 秒に. 依頼 288)
 #              取る場所・設定・assets・サーバーの起動・つなぎ直しの確かめが選んだモデルに合う. 安全範囲 (学習データ ±10°.
 #              run_policy_client.py --raw-dir) は, deep1・deep1b は deep_even10_v1 の raw_episodes (依頼 135), ほかは trim2 の
 #              raw_episodes (corr_v3・corr_v4 と合わせても範囲はほぼ同じで, trim2 の方が狭い. corr_v5 は 11-06 の 184650 の j2 が
@@ -106,6 +107,7 @@ STEP_ARGS=(--no-step-confirm)   # 依頼 178: 既定はチャンクごとに確
 FINISH_ARGS=(--auto-finish)     # 依頼 181: 既定は置き終えたら自動で終わる. --no-auto-finish で今までどおり
 EXEC_STEPS=""        # 依頼 283: so101a だけ. 付けなければ run_so101_policy.py の既定 (答えの 10 コマ全部)
 NO_PREFETCH=0        # 依頼 285: so101a だけ. 1 なら run_so101_policy.py に --no-prefetch を渡す
+PLAY_SPEED=""        # 依頼 288: so101a だけ. 付けなければ run_so101_policy.py の既定 (1.0)
 MECHARM_ONLY=()      # 依頼 283: so101a では使えない mechArm の引数 (付けられていれば止める)
 for a in "$@"; do
     case "$a" in --episode|--no-tilt-fix|--grip-value|--flow|--via-stride|--step-confirm|--no-auto-finish|--speed) MECHARM_ONLY+=("$a") ;; esac
@@ -141,7 +143,10 @@ while [ $# -gt 0 ]; do
                       [ ${#2} -le 2 ] && [ "$((10#$2))" -ge 1 ] && [ "$((10#$2))" -le 10 ] || { echo "[ERROR] --exec-steps は 1〜10 の整数: $2" >&2; exit 2; }
                       EXEC_STEPS="$((10#$2))"; shift 2 ;;
         --no-prefetch) NO_PREFETCH=1; shift ;;     # 依頼 285 (so101a だけ)
-        -h|--help) sed -n '2,71p' "$0"; exit 0 ;;
+        --play-speed) [ $# -ge 2 ] || { echo "[ERROR] --play-speed には 0 より大きく 1 までの数を付ける (例 0.8)" >&2; exit 2; }     # 依頼 288 (so101a だけ)
+                      [[ "$2" =~ ^(0\.[0-9]{1,3}|1|1\.0{1,3})$ ]] && [[ ! "$2" =~ ^0\.0+$ ]] || { echo "[ERROR] --play-speed は 0 より大きく 1 までの数 (例 0.8): $2" >&2; exit 2; }
+                      PLAY_SPEED="$2"; shift 2 ;;
+        -h|--help) sed -n '2,72p' "$0"; exit 0 ;;
         *) echo "[ERROR] 知らない引数: $1  (./lab_start.sh --help)" >&2; exit 2 ;;
     esac
 done
@@ -157,6 +162,9 @@ fi
 if [ $SO101 = 0 ] && [ $NO_PREFETCH = 1 ]; then
     echo "[ERROR] --no-prefetch は --model so101a だけ" >&2; exit 2
 fi
+if [ $SO101 = 0 ] && [ -n "$PLAY_SPEED" ]; then
+    echo "[ERROR] --play-speed は --model so101a だけ" >&2; exit 2
+fi
 
 if [ ! -d /Volumes/KIOXIA/r2r2r-data ]; then
     echo "[ERROR] SSD 未マウント: /Volumes/KIOXIA/r2r2r-data" >&2; exit 1
@@ -201,6 +209,7 @@ if [ $SO101 = 1 ]; then     # 依頼 283: mechArm の位置合わせ・傾き・
     echo "[SO101 ] 1 回で実行するコマ: ${EXEC_STEPS:-10 (既定. 答えの 10 コマ全部)}$([ -n "$EXEC_STEPS" ] && echo ' (--exec-steps)')"
     if [ $NO_PREFETCH = 1 ]; then echo "[SO101 ] 次の問い合わせ: 答えを使い切ってから (--no-prefetch. 依頼 283 の形)"
     else echo "[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す (既定. 依頼 285)"; fi
+    [ -z "$PLAY_SPEED" ] || echo "[SO101 ] 答えを流す速さ: $PLAY_SPEED (--play-speed. 1 コマの間 1/(30×$PLAY_SPEED) 秒. 依頼 288)"
 else
 echo "[FRAME ] 写り方の確かめの基準画像は $RAW の最初のエピソードから (位置合わせと同じ trim2. 依頼 137)"
 if [ ${#TILT_FIX_ARGS[@]} = 0 ]; then
@@ -595,6 +604,7 @@ while :; do
         SO101_ARGS=(--port "$TUNNEL_PORT" --raw-dir "$RAW_RANGE" --log-dir "$LOGDIR" --model "$MODEL_TAG" --step "$((LAB_SO101A_STEPS - 1))")
         [ -n "$EXEC_STEPS" ] && SO101_ARGS+=(--exec-steps "$EXEC_STEPS")
         [ $NO_PREFETCH = 1 ] && SO101_ARGS+=(--no-prefetch)
+        [ -n "$PLAY_SPEED" ] && SO101_ARGS+=(--play-speed "$PLAY_SPEED")
         [ $DRY_RUN = 0 ] && SO101_ARGS+=(--execute)
         "$LAB_SO101_PY" so101/run_so101_policy.py "${SO101_ARGS[@]}" ${CONFIRM_ARGS[@]+"${CONFIRM_ARGS[@]}"}
         rc=$?
diff --git a/logs/20261124_1851.md b/logs/20261124_1851.md
new file mode 100644
index 0000000..eca2677
--- /dev/null
+++ b/logs/20261124_1851.md
@@ -0,0 +1,27 @@
+# 依頼288 SO-101 の答えを 0.8 倍の速さで流しカクカクを消す（エイイチ立ち会い）
+
+## やったこと
+- run_so101_policy.py に --play-speed X（0 より大きく 1 まで。既定 1.0）。1 コマの間 1/(30×X) 秒。先に問い合わせるコマ数 r・STALL の計算もこの速さで。so101_trials.csv の行の最後に play_speed（Log10 の CSV は見出しに play_speed がないので、見出しは書き換えず行の最後に 1 つ増えた形）
+- lab_start.sh に --play-speed（so101a だけ）
+- so101/check_288/session_288.sh（287 を元に。0.8 → 止まりが 0.05 秒を超えたら 0.7 → 小さいほうで場所2〜5）
+- lab_start.sh --model so101a --log so101_Log10 --serve-only → Terminal で session_288.sh → lab_stop.sh で Pod を削除（残りなしを確認）
+
+## 結果
+| 回 | 場所 | 速さ | コマ | 長さ（流した＋止まり） | 止まりの中央値 | 止まりの合計 | y/n |
+|---|---|---|---|---|---|---|---|
+| 1 | 1 | 0.8 | 681 | 70.3 秒 | 0.311 秒 | 41.9 秒 | y |
+| 2 | 1 | 0.7 | 501 | 51.4 秒 | 0.277 秒 | 27.5 秒 | y |
+| 3 | 2 | 0.7 | 471 | 48.3 秒 | 0.279 秒 | 25.9 秒 | y |
+| 4 | 3 | 0.7 | 431 | 44.1 秒 | 0.279 秒 | 23.5 秒 | y |
+| 5 | 4 | 0.7 | 508 | 52.1 秒 | 0.279 秒 | 27.9 秒 | y |
+| 6 | 5 | 0.7 | 396 | 40.8 秒 | 0.281 秒 | 21.9 秒 | 記録なし（Enter） |
+- 答えが返るまで 中央値 0.50〜0.51 秒（286・287 は 0.37〜0.39 秒）。同じ A40 だが今回の Pod は遅かった
+- 286・287 の速さ 1.0・先に問い合わせる 8 回（1 回目の 2227 コマの回を除く）: 止まりの合計の中央値 20.1 秒・長さの中央値 34.5 秒・止まりの中央値 0.21〜0.23 秒
+- 0.7 の 5 回: 止まりの合計の中央値 25.9 秒・長さの中央値 48.3 秒
+- 止まりは「答えが返るまで − 5 コマ ÷ (30×速さ)」でほぼ決まる（r は 10 コマの半分の 5 で頭打ち）。答えが返るのが 0.21 秒を超える間はゆっくり流しても止まりは消えない。腕が 1 秒あたりに進む量は変わらない
+- エイイチの答え: 「余計カクカクになった」
+- A40・18分24秒・約 0.18 ドル（約 29 円）
+
+## テスト
+- test_run_so101_policy 45 件・test_lerobot_safe_259 64 件・test_so101_train 7 件・test_lab_start 284 件・test_lab_train 281 件 OK
+- mechArm 8 モデルの lab_start.sh --dry-run の出力は変わらない（時刻の行だけ違う）
diff --git a/so101/check_288/session_288.sh b/so101/check_288/session_288.sh
new file mode 100755
index 0000000..6ffea94
--- /dev/null
+++ b/so101/check_288/session_288.sh
@@ -0,0 +1,82 @@
+#!/bin/bash
+# 依頼 288: エイイチの前の Terminal で流す案内つきの通し (答えを 0.8 倍の速さで流してカクカクが減るかを見る. session_287.sh を元にした).
+# サーバーとトンネルは lab_start.sh --model so101a --log so101_Log10 --serve-only が別に張っている (localhost:8000).
+# 形は先に問い合わせる形. 電流は 6 つ全部 (all). 場所の番号は画面で聞かず, 案内した番号を --place で記録に入れる.
+# 順番: 場所1 で --play-speed 0.8 を 1 回. 止まり (STALL の中央値) が 0.05 秒を超えたら場所1 で 0.7 を 1 回足す.
+#       そのあと止まりが小さかったほうの速さで場所 2〜5 を 1 回ずつ. 最後に「カクカクは減った?」を 1 行だけ聞く.
+set -u
+HERE="$(cd "$(dirname "$0")/../.." && pwd)"     # リポジトリの一番上
+cd "$HERE" || exit 1
+PY=/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python
+LOGDIR=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10
+CSV="$LOGDIR/so101_trials.csv"
+ANS="$LOGDIR/eiichi_answers_288.txt"
+DONE=/tmp/r288/session_done
+STALL_LIMIT=0.05
+
+big() { printf '\n\033[1;33m==================================================\n  %s\n==================================================\033[0m\n' "$1"; }
+huge() { printf '\n\033[1;37;41m                                                  \n   %s   \n                                                  \033[0m\n\n' "$1"; }
+
+big "依頼 288  SO-101 の π0.5 の答えを ゆっくり流す (0.8 倍)"
+echo "このウィンドウの案内どおりに進めます. 白い箱・カメラ・照明は動かさないでください."
+echo "答えの 10 コマを少しゆっくり流します (送る角度は同じ. 間を空けるだけ). 5〜6 回です."
+
+until nc -z localhost 8000 2>/dev/null; do echo "  サーバーの準備を待っています (Claude が用意しています) ..."; sleep 10; done
+n_rows() { [ -f "$CSV" ] && "$PY" -c "import csv,sys;print(sum(1 for _ in csv.DictReader(open(sys.argv[1]))))" "$CSV" || echo 0; }
+last_col() { "$PY" -c "import csv,sys;print(list(csv.DictReader(open(sys.argv[1])))[-1][sys.argv[2]] or 0)" "$CSV" "$1"; }
+
+NAMES=("" "" "" " (左の手前)" " (まん中の手前)" "")     # 名前は 287 で案内した 3・4 だけ
+N_DONE=0; STOPPED=0
+# 1 回: 記録の行が増えるまで同じ回をやり直す. s で止めたら STOPPED=1. 終わったら LAST_STALL に止まりの中央値
+run_one() {
+    local place=$1 speed=$2 label=$3 base k
+    while :; do
+        big "${label}   場所 ${place}   流す速さ ${speed}"
+        huge "ブロックを 場所${place}${NAMES[${place}]} の目印に置く"
+        echo "動いている間: スペース=一時停止 (一時停止中 t=リーダーで手直し / スペース=戻る / q=終わる)"
+        echo "箱に入れて腕が戻ったら q を押してください. 終わったら y/n と失敗の番号を聞きます."
+        echo "(場所の番号は聞きません. 記録には 場所 ${place}・速さ ${speed} と入ります)"
+        read -r -p "置いたら Enter / ここで止めるなら s と Enter > " k
+        if [ "${k}" = s ]; then
+            echo "[STOP] エイイチの指示で ${label} (場所 ${place}・速さ ${speed}) の前で止めました" | tee -a "$ANS"; STOPPED=1; return
+        fi
+        base=$(n_rows)
+        ARGS=(--port 8000 --log-dir "$LOGDIR" --model so101a --step 2999 --execute --currents all --place "${place}" --play-speed "${speed}")
+        [ "${N_DONE}" -ge 1 ] && ARGS+=(--skip-first-confirm)
+        "$PY" so101/run_so101_policy.py "${ARGS[@]}"
+        echo "[CLIENT] 終了コード $?"
+        if [ "$(n_rows)" -gt "${base}" ]; then
+            N_DONE=$((N_DONE + 1))
+            LAST_STALL=$(last_col stall_median_s)
+            echo "[RECORD] 場所 $(last_col place)・止まりの中央値 ${LAST_STALL} 秒・合計 $(last_col stall_total_s) 秒"
+            echo "${label} 場所${place} 速さ${speed} 止まりの中央値 ${LAST_STALL}" >> "$ANS"
+            return
+        fi
+        echo "[WARN] 記録の行が増えていない. もう一度同じ回 (場所 ${place}・速さ ${speed}) をやります"
+    done
+}
+over() { "$PY" -c "import sys;print(int(float(sys.argv[1]) > float(sys.argv[2])))" "$1" "$2"; }
+
+SPEED=0.8
+run_one 1 0.8 "1 回目 (場所1 を 0.8 で)"
+S08=${LAST_STALL:-0}
+if [ $STOPPED = 0 ] && [ "$(over "${S08}" "${STALL_LIMIT}")" = 1 ]; then
+    echo "[STALL ] 0.8 の止まりの中央値 ${S08} 秒 > ${STALL_LIMIT} 秒 → 場所1 で 0.7 を 1 回足します" | tee -a "$ANS"
+    run_one 1 0.7 "2 回目 (場所1 を 0.7 で)"
+    S07=${LAST_STALL:-0}
+    if [ $STOPPED = 0 ] && [ "$(over "${S08}" "${S07}")" = 1 ]; then SPEED=0.7; fi
+    [ $STOPPED = 0 ] && echo "[STALL ] 0.8: ${S08} 秒 / 0.7: ${S07} 秒 → 場所2〜5 は ${SPEED} で" | tee -a "$ANS"
+elif [ $STOPPED = 0 ]; then
+    echo "[STALL ] 0.8 の止まりの中央値 ${S08} 秒 ≤ ${STALL_LIMIT} 秒 → 場所2〜5 も 0.8 で" | tee -a "$ANS"
+fi
+for place in 2 3 4 5; do
+    [ $STOPPED = 0 ] || break
+    run_one "${place}" "${SPEED}" "$((N_DONE + 1)) 回目 (場所${place} を ${SPEED} で)"
+done
+
+big "最後に 1 つだけ"
+read -r -p "カクカクは減った? (自由に 1 行) > " q1
+echo "Q カクカクは減った?: ${q1}" | tee -a "$ANS"
+
+big "おしまい. ありがとうございました. このウィンドウは閉じてかまいません (Pod の片付けは Claude が行います)"
+mkdir -p /tmp/r288 && echo DONE_288 > "$DONE"
diff --git a/so101/run_so101_policy.py b/so101/run_so101_policy.py
index 5ce5419..3043705 100644
--- a/so101/run_so101_policy.py
+++ b/so101/run_so101_policy.py
@@ -10,6 +10,9 @@ mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節
     --exec-steps N (1〜10): 答えの 10 コマのうち先頭 N コマ (0〜N-1 番目) までを使う (既定 10 = 全部. 0.33 秒)
     --no-prefetch: 答えを実行し終えてから次を問い合わせる (依頼 283 の形. 付けなければ先に問い合わせる. 依頼 285)
     --skip-first-confirm: 始めの確かめ (Enter) を待たない (lab_start.sh が 2 回目の試行から付ける. mechArm と同じ. 依頼 285)
+    --play-speed X (0 より大きく 1 まで. 既定 1.0 = 今までどおり): 答えの 1 コマを送る間を 1/(30×X) 秒にする (依頼 288.
+        0.8 なら 10 コマを約 0.42 秒で流す). 送る角度そのものは変えない (間を空けるだけ). 先に問い合わせるコマ数 r・
+        腕が止まった時間 (STALL) もこの間で数える. LeRobot の記録の fps は 30 のまま (本当の時刻は ptm.t_wall)
 
 1 回の流れ:
   1. ブロックの場所の番号 (1〜5) を聞く
@@ -92,7 +95,9 @@ TRIALS_CSV = "so101_trials.csv"
 TRIAL_COLUMNS = ["trial", "started_at", "operator", "place", "model", "step", "exec_steps", "execute", "result",
                  "frames", "frames_model", "frames_correct", "frames_pause", "queries", "latency_median_s",
                  "latency_max_s", "clipped_frames", "record_dir", "prefetch", "payload_bytes", "stall_median_s",
-                 "stall_max_s", "stall_total_s", "fail_reason", "currents"]
+                 "stall_max_s", "stall_total_s", "fail_reason", "currents", "play_speed"]
+# play_speed (依頼 288) より前に作られた so101_trials.csv は見出しに play_speed がない. 見出しは書き換えず (KIOXIA の
+# 既存のファイルを上書きしない), 行の最後に値が 1 つ増えた形で足す (見出しの列の並びは変わらないので前の列は同じ所に入る)
 MODEL, CORRECT, PAUSE = 0, 1, 2
 MODE_NAMES = {MODEL: "model", CORRECT: "correct", PAUSE: "pause"}
 CAMERAS = ("desk", "wrist")
@@ -242,7 +247,8 @@ def latency_stats(lat):
 
 
 def stall_of(gaps, fps=FPS):
-    """答えを切り替えたときの送りの間 (秒) → 腕が止まった時間 (いつものコマの間 1/fps を引いたもの. 0 より小さければ 0)"""
+    """答えを切り替えたときの送りの間 (秒) → 腕が止まった時間 (いつものコマの間 1/fps を引いたもの. 0 より小さければ 0).
+    --play-speed X のときは fps に 30×X を渡す (いつものコマの間が 1/(30×X) になる. 依頼 288)"""
     return [max(0.0, g - 1.0 / fps) for g in gaps]
 
 
@@ -527,10 +533,12 @@ def ask_model(policy, state, desk, wrist):
 
 
 def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=time.perf_counter, sleep=time.sleep,
-              out=print, prefetch=True, skip_confirm=False):
+              out=print, prefetch=True, skip_confirm=False, play_speed=1.0):
     """試行 1 回. 終わったときの情報を返す (記録の close・結果を聞くのは呼ぶ側).
     prefetch: 今の答えの残りが r コマ (prefetch_lead) になったら, そのコマの観測で次を裏で問い合わせておく (依頼 285).
-    skip_confirm: 始めの確かめ (Enter) を待たない (2 回目の試行から. 依頼 285)"""
+    skip_confirm: 始めの確かめ (Enter) を待たない (2 回目の試行から. 依頼 285)
+    play_speed: 1 コマを送る間を 1/(FPS×play_speed) 秒にする. r もこの速さでコマに直す (依頼 288)"""
+    play_fps = FPS * play_speed
     info = {"queries": 0, "clipped_frames": 0, "frames": 0, "gaps": [], "waits": [], "skips": []}
     state, desk, wrist = arm.observe()
     a = ask_model(policy, state, desk, wrist)
@@ -592,8 +600,8 @@ def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=
                     info["queries"] += 1
                     chunk_id += 1
                     queue = plan_chunk(a, exec_steps, lo, hi, skip=skip)
-                    if waited > 0.5 / FPS:
-                        nxt = clock()        # 待っていた間は送っていない. ここから 30fps を数え直す
+                    if waited > 0.5 / play_fps:
+                        nxt = clock()        # 待っていた間は送っていない. ここから 30fps (×play_speed) を数え直す
                 chunk_step, target, cut = queue.pop(0)
                 info["clipped_frames"] += int(cut)
                 last_target = target
@@ -604,7 +612,7 @@ def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=
                 last_model_t = t_sent
                 if pool is not None and pending is None:
                     left = 1 + len(queue)            # このコマから今の答えで動くコマ数 (= 次の答えで飛ばす数)
-                    if left <= prefetch_lead(policy.latencies, exec_steps):
+                    if left <= prefetch_lead(policy.latencies, exec_steps, fps=play_fps):
                         pending = (pool.submit(ask_model, policy, state, desk, wrist), left)
             elif mode == CORRECT:
                 lt = arm.leader_target()
@@ -620,7 +628,7 @@ def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=
             else:
                 recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id, current=current)
             info["frames"] += 1
-            nxt += 1.0 / FPS
+            nxt += 1.0 / play_fps
             dt = nxt - clock()
             if dt > 0:
                 sleep(dt)
@@ -639,7 +647,8 @@ def run(args):
           "  ".join(f"{m} {a:.1f}〜{b:.1f}" for m, a, b in zip(MOTORS, lo, hi)))
     print(f"[MODE  ] {'--execute: フォロワーに送る' if args.execute else 'ドライラン: フォロワーに送らない (カメラだけ開く)'}"
           f"  1 回で実行するコマ {args.exec_steps} / {HORIZON}"
-          f"  {'--no-prefetch: 使い切ってから問い合わせる' if args.no_prefetch else '先に問い合わせる'}")
+          f"  {'--no-prefetch: 使い切ってから問い合わせる' if args.no_prefetch else '先に問い合わせる'}"
+          f"  流す速さ {args.play_speed:g} (1 コマ {1000 / (FPS * args.play_speed):.1f} ms)")
     log_dir = Path(args.log_dir)
     if not log_dir.is_dir():
         sys.exit(f"[ERROR] 記録の置き場所がない: {log_dir}")
@@ -659,7 +668,7 @@ def run(args):
         arm = LiveArm(current_motors) if args.execute else DryArm()
         with KeyReader() as keys:
             info = run_trial(arm, policy, recorder, lo, hi, args.exec_steps, keys, prefetch=not args.no_prefetch,
-                             skip_confirm=args.skip_first_confirm)
+                             skip_confirm=args.skip_first_confirm, play_speed=args.play_speed)
     except KeyboardInterrupt:
         err = "Ctrl-C"
         print("\n[STOP  ] Ctrl-C で止めました")
@@ -682,7 +691,7 @@ def run(args):
     dst.parent.mkdir(parents=True, exist_ok=True)
     n_files = copy_record(local, dst)
     med, mx = latency_stats(policy.latencies)
-    stalls = stall_of(info.get("gaps", []))
+    stalls = stall_of(info.get("gaps", []), fps=FPS * args.play_speed)
     s_med, s_mx = latency_stats(stalls)
     payload = int(statistics.median(policy.payloads)) if policy.payloads else ""
     modes = recorder.modes
@@ -694,7 +703,7 @@ def run(args):
            "clipped_frames": info.get("clipped_frames", 0), "record_dir": str(dst), "prefetch": int(not args.no_prefetch),
            "payload_bytes": payload, "stall_median_s": "" if s_med is None else round(s_med, 3),
            "stall_max_s": "" if s_mx is None else round(s_mx, 3), "stall_total_s": round(sum(stalls), 3),
-           "fail_reason": reason, "currents": args.currents}
+           "fail_reason": reason, "currents": args.currents, "play_speed": args.play_speed}
     append_trial(log_dir / TRIALS_CSV, row)
     (dst / "trial.json").write_text(json.dumps({**row, "latencies_s": [round(x, 4) for x in policy.latencies],
                                                  "payloads_bytes": policy.payloads,
@@ -705,8 +714,9 @@ def run(args):
                                                  "stopped_by": err}, ensure_ascii=False, indent=2) + "\n")
     print(f"[RECORD] {dst} ({n_files} ファイル) / 1 行 → {log_dir / TRIALS_CSV}")
     if med is not None:
+        run_s = args.exec_steps / (FPS * args.play_speed)
         print(f"[LATENCY] 答えが返るまで 中央値 {med:.3f} 秒・最長 {mx:.3f} 秒 ({len(policy.latencies)} 回. "
-              f"1 回で実行する {args.exec_steps / FPS:.2f} 秒より{'長い' if med > args.exec_steps / FPS else '短い'}. "
+              f"1 回で実行する {run_s:.2f} 秒より{'長い' if med > run_s else '短い'}. "
               f"1 回の送り {payload} バイト)")
     if s_med is not None:
         print(f"[STALL ] 答えの切り替えで腕が止まった時間 中央値 {s_med:.3f} 秒・最長 {s_mx:.3f} 秒 ({len(stalls)} 回)")
@@ -749,9 +759,13 @@ def main(argv=None):
                     help="ブロックの場所の番号 (1〜5). 付ければ画面で聞かずにこの番号を記録に入れる (依頼 287)")
     ap.add_argument("--currents", choices=sorted(CURRENT_SETS), default="off",
                     help="1 コマごとにフォロワーの電流を読んで記録に残す (既定 off = 読まない. 依頼 286)")
+    ap.add_argument("--play-speed", type=float, default=1.0,
+                    help="答えを流す速さ (0 より大きく 1 まで. 1 コマの間 1/(30×X) 秒. 既定 1.0 = 今までどおり. 依頼 288)")
     args = ap.parse_args(argv)
     if not 1 <= args.exec_steps <= HORIZON:
         ap.error(f"--exec-steps は 1〜{HORIZON}")
+    if not (math.isfinite(args.play_speed) and 0 < args.play_speed <= 1.0):
+        ap.error(f"--play-speed は 0 より大きく 1 まで: {args.play_speed}")
     if args.warmup:
         return warmup(args)
     if not args.log_dir:
diff --git a/so101/test_run_so101_policy.py b/so101/test_run_so101_policy.py
index 7a568f7..58a95aa 100644
--- a/so101/test_run_so101_policy.py
+++ b/so101/test_run_so101_policy.py
@@ -564,5 +564,80 @@ class TestArgs(unittest.TestCase):
         np.testing.assert_allclose(arm.last_sent, np.arange(6) - 1)
 
 
+class TestPlaySpeed(unittest.TestCase):
+    """依頼 288: --play-speed X で 1 コマの間を 1/(30×X) 秒にする (送る角度は変えない)"""
+
+    def run_timed(self, prefetch, n_q, **kw):
+        clk = FakeClock()
+
+        class Arm(FakeArm):
+            def send(self, target):
+                self.times = getattr(self, "times", []) + [clk.t]
+                return super().send(target)
+
+        arm, pol, rec = Arm(), FakePolicy(), FakeRecorder()
+        info = R.run_trial(arm, pol, rec, LO, HI, 10, FakeKeys({n_q: "q"}), inp=lambda p: "", clock=clk, sleep=clk.sleep,
+                           out=lambda *a: None, prefetch=prefetch, **kw)
+        return arm, rec, info
+
+    def test_default_same_as_before(self):                     # 既定 1.0 は今までと同じ動き・同じ間
+        for pre in (False, True):
+            a0, r0, i0 = self.run_timed(pre, 24)
+            a1, r1, i1 = self.run_timed(pre, 24, play_speed=1.0)
+            np.testing.assert_array_equal(np.array(a0.sent), np.array(a1.sent))
+            self.assertEqual(a0.times, a1.times)
+            self.assertEqual([r["chunk_step"] for r in r0.rows], [r["chunk_step"] for r in r1.rows])
+            self.assertEqual(i0["skips"], i1["skips"])
+            np.testing.assert_allclose(np.diff(a0.times), np.full(23, 1 / 30))
+
+    def test_slow_play_stretches_gap_only(self):               # 0.8 なら 1 コマ 1/24 秒. 送る角度は 1.0 と同じ
+        a1, r1, _ = self.run_timed(False, 24)
+        a8, r8, _ = self.run_timed(False, 24, play_speed=0.8)
+        np.testing.assert_allclose(np.diff(a8.times), np.full(23, 1 / 24))
+        np.testing.assert_array_equal(np.array(a1.sent), np.array(a8.sent))
+        self.assertAlmostEqual(a8.times[10] - a8.times[0], 10 / 24)     # 10 コマ 約 0.42 秒
+
+    def test_prefetch_lead_uses_play_speed(self):              # 返るまで 0.1 秒: 30fps なら 3 コマ, 15fps (0.5) なら 2 コマ
+        self.assertEqual(R.prefetch_lead([0.1], 10, fps=R.FPS * 1.0), 3)
+        self.assertEqual(R.prefetch_lead([0.1], 10, fps=R.FPS * 0.5), 2)
+        self.assertEqual(R.prefetch_lead([0.37], 10, fps=R.FPS * 0.8), 5)     # 9 コマだが 10 の半分まで
+        _, rec, info = self.run_timed(True, 26, play_speed=0.5)
+        self.assertEqual([r["chunk_step"] for r in rec.rows], list(range(10)) + list(range(2, 10)) + list(range(2, 10)))
+        self.assertEqual(info["skips"], [2, 2])
+
+    def test_stall_uses_play_speed(self):
+        self.assertEqual(R.stall_of([1 / 24, 0.5], fps=R.FPS * 0.8), [0.0, 0.5 - 1 / 24])
+        self.assertEqual(R.stall_of([1 / 30, 0.5]), R.stall_of([1 / 30, 0.5], fps=R.FPS * 1.0))
+
+    def test_args(self):
+        seen = {}
+        with unittest.mock.patch.object(R, "run", lambda a: seen.update(vars(a)) or 0):
+            R.main(["--log-dir", "/tmp"])
+            self.assertEqual(seen["play_speed"], 1.0)
+            R.main(["--log-dir", "/tmp", "--play-speed", "0.8"])
+            self.assertEqual(seen["play_speed"], 0.8)
+        for bad in ("0", "-0.5", "1.5", "nan", "inf"):
+            with self.assertRaises(SystemExit):
+                R.main(["--log-dir", "/tmp", "--play-speed", bad])
+
+    def test_csv_row_has_play_speed_old_header(self):         # 依頼 287 までの見出し (play_speed なし) の後ろに足す
+        with tempfile.TemporaryDirectory() as d:
+            p = Path(d) / R.TRIALS_CSV
+            old = R.TRIAL_COLUMNS[:R.TRIAL_COLUMNS.index("play_speed")]
+            p.write_text(",".join(old) + "\n" + ",".join(["x"] * len(old)) + "\n")
+            R.append_trial(p, {"trial": "a", "stall_median_s": 0.1, "currents": "all", "play_speed": 0.8})
+            with open(p) as f:
+                rows = list(csv.reader(f))
+            self.assertEqual(rows[0], old)                    # 見出しは書き換えない
+            self.assertEqual(rows[2][0], "a")
+            self.assertEqual(rows[2][old.index("stall_median_s")], "0.1")
+            self.assertEqual(rows[2][old.index("currents")], "all")
+            self.assertEqual(rows[2][len(old)], "0.8")
+            p2 = Path(d) / "new.csv"
+            R.append_trial(p2, {"trial": "b", "play_speed": 1.0})
+            with open(p2) as f:
+                self.assertEqual(list(csv.DictReader(f))[0]["play_speed"], "1.0")
+
+
 if __name__ == "__main__":
     unittest.main()
diff --git a/test_lab_start.sh b/test_lab_start.sh
index 714e6a4..452d2ec 100755
--- a/test_lab_start.sh
+++ b/test_lab_start.sh
@@ -642,7 +642,7 @@ check "--serve-only でも空打ちまで行う (依頼 176)" 'has out.txt "===
 check "Pod は消さない (DELETE を呼ばない) で, かかった時間と片付け方を出す" '[ $(n_call DELETE) = 0 ] && has out.txt "=== かかった時間" && has out.txt "Pod は残しています (id $ID_NEW). 片付けは ./lab_stop.sh --log LogT"'
 check "記録 lab_start_*.txt に残る・始めの行に --serve-only と出る" 'grep -qF "サーバーとトンネルだけ (--serve-only" "$T/data/lab/LogT"/lab_start_*.txt'
 rm -rf "$T"
-check "--help に --serve-only・--grip-value・--flow / --speed・5b の空打ちの説明が入る (2〜71 行)" 'sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--serve-only  Pod を作って" && sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--no-tilt-fix  傾きを" && sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--grip-value N  爪の閉じる値" && sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "--flow / --speed N  run_policy_client.py に" && sed -n "2,71p" "$HERE/lab_start.sh" | grep -qF -- "# 5b. 空打ち" && grep -qF "sed -n '"'"'2,71p'"'"'" "$HERE/lab_start.sh"'
+check "--help に --serve-only・--grip-value・--flow / --speed・5b の空打ちの説明が入る (2〜72 行 (依頼 288 で 1 行増えた))" 'sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "--serve-only  Pod を作って" && sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "--no-tilt-fix  傾きを" && sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "--grip-value N  爪の閉じる値" && sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "--flow / --speed N  run_policy_client.py に" && sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "# 5b. 空打ち" && grep -qF "sed -n '"'"'2,72p'"'"'" "$HERE/lab_start.sh"'
 
 echo "== 空打ち (依頼 176): トンネルのあと・アームの前に 1 回. 失敗しても止めずに続ける"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -783,6 +783,20 @@ rm -rf "$T"
 setup; run --no-prefetch
 check "mechArm の --model に --no-prefetch は付けられない (依頼 285)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--no-prefetch は --model so101a だけ"'
 rm -rf "$T"
+so101_setup; run --model so101a --play-speed 0.8
+check "--play-speed 0.8 をそのまま渡し, [SO101] で出す (依頼 288)" '[ $RC = 0 ] && grep -q -- "so101/run_so101_policy.py .* --step 2999 --play-speed 0.8$" "$T/py.log" && has out.txt "[SO101 ] 答えを流す速さ: 0.8 (--play-speed"'
+rm -rf "$T"
+so101_setup; run --model so101a
+check "既定では --play-speed を渡さず [SO101] の速さの行も出さない (依頼 288)" '[ $RC = 0 ] && ! has py.log "--play-speed" && ! has out.txt "答えを流す速さ"'
+rm -rf "$T"
+for bad in 0 0.0 1.5 2 abc -0.5 ""; do
+    so101_setup; run --model so101a --play-speed "$bad"
+    check "--play-speed '$bad' は受けない (終了コード 2・API を呼ばない. 依頼 288)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--play-speed"'
+    rm -rf "$T"
+done
+setup; run --play-speed 0.8
+check "mechArm の --model に --play-speed は付けられない (依頼 288)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--play-speed は --model so101a だけ"'
+rm -rf "$T"
 # 依頼 285: so101a も 2 回目の試行から --skip-first-confirm を渡す (mechArm と同じ. 端末を作って y・y・n を打つ)
 so101_setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; serve_dir /workspace/ckpt/so101_teleop_even_v1_2999
 sed -i '' 's#^    cat > /dev/null$#    [ -t 0 ] || cat > /dev/null#' "$T/fakes.sh"
@@ -792,6 +806,7 @@ check "so101a: 3 回の試行で 1 回目には付けず, 2 回目・3 回目の
 rm -rf "$T"
 check "フォルダからモデルの名前 (so101a)" '[ "$(lab_model_of_dir /workspace/ckpt/so101_teleop_even_v1_2999)" = so101a ]'
 check "--help に so101a と --exec-steps の説明が入る" './lab_start.sh --help | grep -qF "so101a = SO-101 のお手本 50 本" && ./lab_start.sh --help | grep -qF -- "--exec-steps N (1〜10)"'
+check "--help に --play-speed の説明が入る (依頼 288)" './lab_start.sh --help | grep -qF -- "--play-speed X (0 より大きく 1 まで"'
 
 echo
 echo "OK $OK / NG $NG"
```


#### 依頼288 の依頼文

```markdown
---
作業フォルダ: /Users/shimazueiichi/r2r2r-scripts
上限時間: 120
---
# SO-101 の答えを 0.8 倍の速さで流し、カクカクを消す（依頼288・エイイチ立ち会い）

依頼286・287 で、so101a は5か所で12回中12回、箱に入った。ただ、エイイチが撮った動画では相当カクカクしている（0.2〜0.3秒の止まりが1分に40回ほど）。答えが返るまで約0.37秒かかるのに、1回の答え（10コマ）は 0.33秒で流し終わるため、先に問い合わせても次の答えが間に合わない。

エイイチの決め（18:02「両方」）：**答えの10コマを少しゆっくり流して、止まらずに動くかを今夜確かめる。** 根本の直し（1回の答えを30コマにして学び直す）は依頼289 で別に回す。

## 1. クライアントに足す
- `so101/run_so101_policy.py` に `--play-speed X`（既定 1.0 ＝今までどおり）。答えの1コマを送る間をり 1/(30×X) 秒にする（0.8 なら 10コマを約 0.42秒で流す）。フォロワーに送る角度そのものは変えない（間を空けるだけ）
- 先に問い合わせる形の出すときの計算（残り r コマ）は、実際の流す速さに合わせる
- 記録の1行（so101_trials.csv）に流した速さを残す。止まった時間（STALL）は今までどおり出す
- `lab_start.sh` から `--play-speed` を渡せるようにする
- テストを足して通す（既定 1.0 で今までと同じ動き、0.8 で間が延びる、先に問い合わせる時の計算）。既存のテストも通ること。mechArm の --model のドライランの出力が変わらないこと

## 2. 実機（立ち会い）
- Pod は `./lab_start.sh --model so101a --log so101_Log10`（記録は so101_trials.csv に行を足す）。先に問い合わせる形、電流は6つ全部
- 287 の session_287.sh を元に `so101/check_288/session_288.sh` を作る（287 のファイルは書き換えない）。場所の番号は聞かず、案内した場所をそのまま記録に入れる
- 順番：まず場所1で `--play-speed 0.8` を1回。止まり（STALL の中央値）が 0.05秒を超えて残ったら、場所1で 0.7 を1回足す。そのあと、止まりが小さかったほうの速さで場所2〜5を1回ずつ（合わせて5〜6回）
- 毎回の終わりに y／n と失敗の番号を聞く（286 と同じ）。最後に1行だけ聞く：「カクカクは減った？」
- 終わったら Pod は削除まで行う

## しないこと
286 と同じ（包まない lerobot、Hugging Face への送信、キャリブレーションの書き換え、お手本の dataset に触る、KIOXIA の既存のファイルの上書き・移動・削除、`git add .`・`git clean`、確認や停止の条件を重ねる）

## 報告
- 回ごとの表（場所・流した速さ・長さ・止まりの中央値と合計・y／n）と、286・287 の速さ 1.0 の回との比べ（止まりの合計、1回の長さ）
- エイイチの答え
- 足した・変えたファイルと git の commit（個別に add）
- GPU の型番・借りた時間・費用（円も）
- 最後の1行に「判定：合格／止めた／失敗」
```

#### 依頼289 の依頼文

```markdown
---
作業フォルダ: /Users/shimazueiichi/r2r2r-scripts
上限時間: 600
---
# SO-101 の答えを30コマ（1秒ぶん）にして π0.5 を学び直す（依頼289・立ち会い不要・フォロワーは動かさない）

so101a（依頼282）は1回の答えが10コマ（0.33秒）で、答えが返るまでの約0.37秒より短いため、実機でカクカクした（依頼286・287）。エイイチの決め（18:02「両方」）：**1回の答えを30コマにした版を、寝ている間に学び直す。** 依頼288（0.8倍の速さで流す）とは別に回し、明日、同じ5か所で比べる。

## 学習の中身（so101a とだけ違うところ）
- 新しい --model `so101b`。**action_horizon を 30** にする（so101a は 10）。それ以外（お手本50本 `so101_redblock_box_teleop_even_v1`、π0.5 base から新しく、LoRA・batch 32・warmup 300・peak 5e-5・decay_lr 5e-6・3000 ステップ・decay_steps 3000、カメラの割り当て、関節5つは差分・爪は絶対値、正規化はこの50本から測り直す）は so101a と同じにする。比べられるようにするため
- 設定の名前 `pi05_so101_teleop_even_h30_lora`、exp `so101_teleop_even_h30_v1`、上げる先 `PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1`（非公開）、KIOXIA は `checkpoints/pi05_so101_teleop_even_h30_lora_v1/`
- 30コマにすると、お手本の終わり近くのコマで先の30コマが足りなくなる。openpi の決まった扱い（足りない分の埋め方）をそのまま使い、どう扱われたかを報告に書く
- 記録は KIOXIA の `lab/so101_Log10/train/`（同じチャットの作業なので推論と同じ so101_Log10 にする）
- so101a の設定・モデル・lab_start.sh / lab_train.sh の so101a の動きは変えない

## 推論の側も用意する（実機では動かさない）
- `lab_start.sh --model so101b` で so101b を読めるようにする。クライアントは答えの長さ（30）をサーバーの答えから読む
- 学習が終わったら Pod を立てて、依頼283 と同じお手本5本を流し、答えとお手本の次の30コマの差と、答えが返るまでの時間を測る。so101a の結果と並べる

## 進め方
1. 依頼288 が終わってから始める（同じ列なので自然にそうなる）
2. テストを足して通す（既存のテストも全部。so101a・mechArm の --model の出力が変わらないこと）
3. `./lab_train.sh --log so101_Log10 --model so101b --dry-run` で流れを確かめる
4. 本番を始める（GPU は既定どおり A40 → A6000 → L40S。`--limit-hours 7`）。Mac 側も nohup で切り離し、この依頼が時間切れで止められても学習・持ち帰り・Pod の削除が最後まで進むようにする
5. 2時間ごとか区切りごとに、ステップと loss を途中経過に書く
6. 終わったら、上の「推論の側」の確かめをして、Pod を削除まで行い、ログを KIOXIA に持ち帰る

## 報告に書くこと
- 正規化の値の sha256、GPU の型番・借りた時間・費用（円も）、学習にかかった時間
- loss の推移（500 ステップごと。so101a と並べる）と、チェックポイントが Hugging Face と KIOXIA にそろったか
- お手本5本での答えとお手本の差・答えが返るまでの時間（so101a と並べる）
- 足した・変えたファイルと git の commit（個別に add。`git add .`・`git clean` は使わない）
- 最後の1行は「判定：合格／止めた」のどちらか
```


## 作業ログ ― 30コマで学び直した so101b は、答えが0.47秒で返り、先のコマほどずれが大きかった（依頼289）

### 学習は A40 で6.37時間・約594円、上限の7時間に35分を残して終わった

依頼289 の学び直しは、19:16 に始め、Mac から切り離して夜のうちに最後まで流した。Runpod の A40 は1回目は空きがなく、2回目で借りられた（1時間0.59ドル）。準備に約18分かかり、学習そのものは19:35 から 01:39 まで。3000ステップを走り、最後の loss は0.0033だった。学習した重みは Hugging Face の非公開の置き場所（`pi05-so101-teleop-even-h30-lora-v1`）と KIOXIA の両方に置き、ファイルの数とバイト数が Pod 側と全部合うことを確かめてから Pod を消した。

| step | so101a（10コマ）の loss | so101b（30コマ）の loss |
|---|---|---|
| 0 | 0.0667 | 0.0384 |
| 500 | 0.0146 | 0.0103 |
| 1000 | 0.0108 | 0.0076 |
| 1500 | 0.0085 | 0.0057 |
| 2000 | 0.0062 | 0.0044 |
| 2500 | 0.0055 | 0.0038 |
| 2950 | 0.0049 | 0.0033 |

so101b の loss は30コマぶんの平均なので、so101a の値とそのまま比べることはできない。学習の速さは so101a と同じ（5分で約42ステップ）だった。

30コマにすると、お手本の終わり近くでは先の30コマが足りなくなる。openpi は、その本の最後の関節の値をくり返して埋め、埋めたコマも学習に入れる（埋めた印は使わない）。当たるのは25,324コマのうち1,450コマ（50本 × 最後の29コマ）。

### 録ったお手本5本では、答えは中央値0.47秒で返った

学習のあと、Pod をもう一度立て（9分31秒・約15円）、依頼283 と同じお手本5本を流した。アームは動かしていない。

| | so101a（10コマ） | so101b（30コマ） |
|---|---|---|
| 答えが返るまで（中央値／90%／最長） | 0.36／0.44／0.47秒 | 0.47／0.59／0.79秒 |
| 1回の答えの長さ | 0.33秒 | 1.00秒 |
| 先頭10コマのずれ（中央値・関節5つと爪） | 0.52／0.56／0.74／0.72／0.37／0.43 | 0.66／0.78／0.97／0.94／0.49／0.41 |
| 30コマ全部のずれ（中央値） | ― | 0.85／1.04／1.26／1.19／0.56／0.46 |
| 30コマ全部のずれ（最大） | ― | 23.0／59.9／57.8／24.5／21.0／26.7 |

答えの何コマ目かで分けると、ずれの中央値は0コマ目で0.4〜0.9°、29コマ目で0.7〜2.0°と、先のコマほど大きくなった。

| 答えの何コマ目か | ずれの中央値（関節5つと爪） |
|---|---|
| 0 | 0.55／0.75／0.90／0.72／0.39／0.41 |
| 9 | 0.69／0.83／1.08／1.05／0.54／0.44 |
| 19 | 0.95／1.23／1.50／1.35／0.62／0.51 |
| 29 | 1.22／1.95／1.88／1.81／0.74／0.65 |

- ねらい：1回の答えを1秒ぶんにして、答えの待ちを動いている間に隠す
- 変わったこと：答えの長さは0.33秒から1.00秒になった。答えが返るまでは中央値0.36秒から0.47秒に延び、先頭10コマのずれは0.4〜0.7°から0.4〜1.0°に少し大きくなった
- 見込める効果：答えが中央値0.47秒で返るなら、新しく使える15コマ前後（約0.5秒）の間にほぼ間に合い、止まりは消える見込み。ただ、遅い回（90%で0.59秒・最長0.79秒）では短い止まりが残るかもしれない。どれだけ消えるかと、ずれが箱に入る回数に響くかは、実機で確かめる

前の節で心配した、先の動きほど外れやすい、という点は数字に出た。最大のずれ（60°近く）は、場所4の1本の肩と肘（shoulder_lift・elbow_flex）で、30コマのうち後ろのほうで出た。先頭10コマに限ると、同じ本でも最大は12.5°・19.6°に収まる。どの時点で出たかは、この確かめの記録には残っていない。実機では1コマ10°の上限があるので、答えのずれがそのまま腕の飛びにはならない。学習と確かめを合わせた費用は約609円。次は、so101a と同じ5か所に置いて、so101b を実機で動かす。

#### report_289.md（so101a と並べたまとめ・自動で書き出したもの）

````markdown
# 依頼289 結果（so101b・答え30コマ）

## 学習のまとめ（lab_train.sh の result）

```
lab_train.sh so101_Log10  2026-11-25 01:42:01
結果: 成功: 学習が終わりました (step 2999, loss 0.0033). Hugging Face と KIOXIA に置き, Pod を消しました. 382 分 28 秒 (6.37 時間) × 1時間 0.59 ドル = 約 3.76 ドル (約 594 円. 1ドル=158円)
学習: pi05_so101_teleop_even_h30_lora --exp-name=so101_teleop_even_h30_v1  最後のチェックポイント 2999  最後の loss 0.0033 (Step 2950)
Hugging Face (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1): ok PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1 に 32 ファイル 6,335,875,114 バイトを上げ, 名前・バイト数が全部合うのを確かめた
KIOXIA: /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999 に置いた (32 ファイル 6335875114 バイト. Pod 側と名前・バイト数が全部合った). assets の正規化の値は測り直したものと sha256 が同じ
ログを持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train
Pod (id wy6239vev0mcah) は消した (API で確かめた)
借りていた時間 382 分 28 秒 (6.37 時間) × 1時間 0.59 ドル = 約 3.76 ドル (約 594 円. 1ドル=158円)
正規化の値 (Pod で測り直した. sha256 76effd23c1504b8935c19f03c1c259d8cd492f06b5adbbb050d197089115e331): /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/norm_stats.json
由来: /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/train_provenance.json ・ /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999/train_provenance.json ・ Hugging Face (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1) にも置いた
ターミナルの記録: /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/lab_train_20261124_191604.txt
```

## loss（500 ステップごと）

| step | so101a (10コマ) | so101b (30コマ) |
|---|---|---|
| 0 | 0.0667 | 0.0384 |
| 500 | 0.0146 | 0.0103 |
| 1000 | 0.0108 | 0.0076 |
| 1500 | 0.0085 | 0.0057 |
| 2000 | 0.0062 | 0.0044 |
| 2500 | 0.0055 | 0.0038 |

GPU NVIDIA A40・借りた時間 22948 秒・約 3.76 ドル（約 594 円）・学習開始 2026-11-24T19:35:33+09:00・終わり 2026-11-25T01:39:45+09:00

## お手本5本（jpeg で送る・10 コマおき）

答えのコマ数 30（サーバーの答えから）

| | so101a | so101b |
|---|---|---|
| 差の中央値 先頭10コマ (関節5つ・爪) | [0.52, 0.56, 0.74, 0.72, 0.37, 0.43] | [0.66, 0.78, 0.97, 0.94, 0.49, 0.41] |
| 差の最大 先頭10コマ | [19.64, 16.95, 9.32, 15.14, 9.67, 20.55] | [16.32, 12.54, 19.6, 17.7, 4.96, 16.68] |
| 差の中央値 全 30 コマ | - | [0.85, 1.04, 1.26, 1.19, 0.56, 0.46] |
| 差の最大 全 30 コマ | - | [23.03, 59.92, 57.77, 24.46, 21.03, 26.72] |
| 答えが返るまで 中央値 / 最大 / p90 (秒) | 0.363 / 0.473 / 0.437 | 0.469 / 0.793 / 0.59 |
| 1回の答えの長さ (秒) | 0.33 | 1.00 |

答えの何コマ目かごとの差の中央値（0・9・19・29 コマ目）: [[0.55, 0.75, 0.9, 0.72, 0.39, 0.41], [0.69, 0.83, 1.08, 1.05, 0.54, 0.44], [0.95, 1.23, 1.5, 1.35, 0.62, 0.51], [1.22, 1.95, 1.88, 1.81, 0.74, 0.65]]

場所ごと（先頭10コマの差の中央値 / 全コマの差の中央値）:

- 場所1 so101_redblock_box_teleop_v1_ep002 53 回: [0.64, 0.97, 0.84, 0.99, 0.67, 0.41] / [0.72, 1.25, 0.9, 1.19, 0.6, 0.46]
- 場所2 so101_redblock_box_teleop_v1_pos23_ep000 51 回: [0.66, 0.6, 0.92, 0.68, 0.35, 0.38] / [0.85, 0.8, 1.13, 0.97, 0.45, 0.4]
- 場所3 so101_redblock_box_teleop_v1_pos23_ep010 56 回: [0.76, 0.86, 1.13, 1.05, 0.66, 0.33] / [1.01, 1.09, 1.61, 1.41, 0.71, 0.37]
- 場所4 so101_redblock_box_teleop_v1_pos45_ep000 41 回: [0.49, 0.82, 0.94, 1.02, 0.42, 0.54] / [0.72, 1.09, 1.24, 1.08, 0.48, 0.67]
- 場所5 so101_redblock_box_teleop_v1_pos45_ep010 39 回: [0.79, 0.74, 1.16, 0.87, 0.42, 0.46] / [0.97, 0.97, 1.55, 1.41, 0.62, 0.54]

## 片付け

```
[289   ] 2026-11-24 19:16:54 lab_train.sh (pid 287) が終わるのを待つ
[289   ] 2026-11-25 01:42:59 学習の結果: /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/result_20261124_191604.txt
[289   ] 2026-11-25 01:42:59 lab_start.sh --model so101b --serve-only を始める
[289   ] 2026-11-25 01:50:41 サーバーが待っている. お手本を流す
[289   ] 2026-11-25 01:52:54 lab_stop.sh で Pod を消す
[289   ] 2026-11-25 01:53:05 Pod は残っていない
[289   ] 2026-11-25 01:53:05 終わり
```
````

#### 依頼289 の結果（依頼箱の記録）

```markdown
# 結果：20261124_289_SO101の答えを30コマにしてπ0.5を学び直す

- 状態：完了
- 始めた時刻：2026-11-24 18:52
- 終わった時刻：2026-11-24 20:52（120分）
- 作業フォルダ：/Users/shimazueiichi/r2r2r-scripts
- この続きを Claude Code で話すとき：作業フォルダで `claude --resume b2afb875-da23-470b-a51e-294cdd16cdf5`
- 止められた操作：1件（いちばん下に一覧）

## Claude Code の報告

## 依頼289 の報告：so101b（答え30コマ）の学び直し

学び直しは Pod の中で動いています。11-25 01:45 ごろに終わる見込みで、この依頼の時間が切れる方が先です。学習が終わったあとの確かめと Pod の削除は、Mac 側で切り離して自動で流れるようにしてあります。そのため、loss の最後・費用・お手本5本との差は、この報告の時点ではまだ出ていません。

### やったこと
- `lab_train.sh` と `lab_start.sh` に `--model so101b` を足しました。so101a との違いは action_horizon が 30 なことだけで、データ・値・名前は依頼のとおりです。so101a の設定・モデル・動きは変えていません。前の版と並べて流し、so101a と mechArm（deep1b・corr）の学習のドライランの出力が、時刻・番号のほかは同じことを確かめました。
- 推論のクライアントは、答えの長さ（30）をサーバーの1回目の答えから読みます。`--exec-steps` は so101a が 1〜10、so101b が 1〜30 です。
- テストを足して、全部通りました：test_lab_start 300 件・test_lab_train 288 件・test_run_so101_policy 49 件・test_so101_train 9 件・test_lerobot_safe_259 64 件。
- `./lab_train.sh --log so101_Log10 --model so101b --dry-run` は最後まで通りました。
- 本番は 19:16 に nohup で始めました（`--limit-hours 7`）。Mac が眠らないようにもしてあります。
- 学習のあとの流れを nohup で待たせています：
  1. `after_train_289.sh` が、学習が成功したときだけ Pod を立てます（`lab_start.sh --model so101b --serve-only`）。
  2. 依頼283 と同じお手本5本を流します。
  3. `lab_stop.sh` で Pod を削除し、残っていないかも確かめます。
  4. 最後に `report_289.py` が、so101a と並べたまとめを KIOXIA の `lab/so101_Log10/289/report_289.md` に書きます。

### 結果（ここまで）
- **GPU**：A40（1時間 0.59 ドル）。2回目で借りられました。Pod を作ったのは 19:17 で、上限は 11-25 02:17 です。
- **正規化の値の sha256**：76effd23c1504b8935c19f03c1c259d8cd492f06b5adbbb050d197089115e331
- **足りないコマの埋め方**（Pod で確かめた openpi の決まった扱い）：先の30コマが足りないときは、その本の最後の actions をくり返して埋めます。openpi は「埋めた印」（actions_is_pad）を使わないので、埋めたコマもそのまま学習に入ります。当たるのは 25324 コマのうち 1450 コマです（50本 × 最後の29コマ）。
- **学習の時間と費用の見込み**：19:35 に始まり、速さは so101a と同じ（5分で約42ステップ）です。so101a と同じなら、借りる時間は約 6.6 時間・約 3.9 ドル（約 620 円）の見込みです。

| step | so101a の loss | so101b の loss |
|---|---|---|
| 0 | 0.0667 | 0.0384 |
| 500 | 0.0146 | 0.0103 |

so101b の loss は30コマぶんの平均なので、so101a とそのままは比べられません。

- **まだ出ていないもの**：1000 ステップ以降の loss、Hugging Face と KIOXIA にチェックポイントがそろったか、お手本5本での差と答えが返るまでの時間。これらは `report_289.md` に書かれます。
- **途中経過**：`lab/so101_Log10/train/progress_289.md` に書いています。

### 変えたファイル
- 変えたもの：`lab_lib.sh`、`lab_start.sh`、`lab_train.sh`、`test_lab_start.sh`、`test_lab_train.sh`、`pi05/openpi_addon/add_so101_config.py`、`pi05/openpi_addon/pod_prep_so101.sh`、`pi05/test_so101_train.py`、`so101/run_so101_policy.py`、`so101/test_run_so101_policy.py`
- 新しく足したもの：`pi05/openpi_addon/check_pad_so101.py`、`so101/check_289_replay_demo.py`、`so101/check_289/after_train_289.sh`、`so101/check_289/report_289.py`、`logs/20261124_1955.md`
- commit：f755b08・a65fda0・e1683e4・a34853d（ファイルを1つずつ add しました）

### 決めてほしいこと
- **時間の上限**：so101a は上限7時間のうち 6.55 時間かかり、so101b も同じ速さです。余りは約30分しかありません。上限を超えると、ログは持ち帰りますが、チェックポイントは持ち帰らずに Pod が消えます。今回は依頼の7時間のままにしています。次から延ばすかを決めてください。
- **明日の朝に見てほしいもの**：`lab/so101_Log10/289/report_289.md` と `lab/so101_Log10/289/after_train_289.txt`。after_train の最後に「Pod は残っていない」が出ていれば片付けまで済んでいます。出ていなければ `./lab_stop.sh --log so101_Log10` を流してください。

判定：止めた（「止めた」は、この依頼の中での確かめがここまでという意味です。学習・お手本5本の確かめ・Pod の削除は自動で続いています）

## 止められた操作

- {"tool_name": "Bash", "tool_use_id": "toolu_01H1xxNU3borrAKuaf8ZJfex", "tool_input": {"command": "cd /Users/shimazueiichi/r2r2r-scripts; D=$(mktemp -d); git show HEAD:pi05/openpi_addon/add_so101_config.py > $D/old_asc.py; cp pi05/openpi_addon/so101_policy.py $D/; python3 - \"$D\" <<'EOF'\nimport sys, tempfile, importlib.util\nfrom pathlib import Path\nfrom unittest import mock\nD=Path(sys.argv[1]); sys.path.insert(0,\"pi05\")\nimport test_so101_train as t\nspec=importlib.util.spec_from_file_loca
```

#### progress_289.md（途中経過）

```markdown
# 依頼289 途中経過（so101b・答え30コマ）

- 19:16 lab_train.sh --log so101_Log10 --model so101b --limit-hours 7 を nohup で開始（記録 nohup_lab_train_20261124_191604.txt）
- 19:17 Pod wy6239vev0mcah（A40・1時間 0.59 ドル）。A40 は 2 回目で借りられた。上限 11-25 02:17
- 19:27〜19:35 4b 準備: 50 本・25324 コマ。正規化の値 sha256 76effd23c1504b8935c19f03c1c259d8cd492f06b5adbbb050d197089115e331
- 足りないコマの扱い（check_pad_so101.py）: 本の最後の actions をくり返して埋める。最後のコマは 29/30 コマが埋め。先の30コマが足りないコマ 1450/25324。openpi は actions_is_pad を使わない（損失から外さない）
- 19:35 学習開始
- 19:50 step 76/3000 loss 0.0365（Step 50）。so101a と同じ速さ（5 分で約 42 ステップ）→ 終わりの見込み 01:45 ごろ
- 学習のあとの推論の確かめは so101/check_289/after_train_289.sh が nohup で待っている（記録 lab/so101_Log10/289/after_train_289.txt）
- 20:41 step 504/3000 loss 0.0103（Step 500。so101a の Step 500 は 0.0146。30コマぶんの平均なので値はそのままは比べられない）。上限まで 5:36
- 20:50 学習とお手本の確かめが終わったら lab/so101_Log10/289/report_289.md にまとめが自動で書かれる（report_289.py）
```

#### result_20261124_191604.txt（学習の結果）

```text
lab_train.sh so101_Log10  2026-11-25 01:42:01
結果: 成功: 学習が終わりました (step 2999, loss 0.0033). Hugging Face と KIOXIA に置き, Pod を消しました. 382 分 28 秒 (6.37 時間) × 1時間 0.59 ドル = 約 3.76 ドル (約 594 円. 1ドル=158円)
学習: pi05_so101_teleop_even_h30_lora --exp-name=so101_teleop_even_h30_v1  最後のチェックポイント 2999  最後の loss 0.0033 (Step 2950)
Hugging Face (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1): ok PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1 に 32 ファイル 6,335,875,114 バイトを上げ, 名前・バイト数が全部合うのを確かめた
KIOXIA: /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999 に置いた (32 ファイル 6335875114 バイト. Pod 側と名前・バイト数が全部合った). assets の正規化の値は測り直したものと sha256 が同じ
ログを持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train
Pod (id wy6239vev0mcah) は消した (API で確かめた)
借りていた時間 382 分 28 秒 (6.37 時間) × 1時間 0.59 ドル = 約 3.76 ドル (約 594 円. 1ドル=158円)
正規化の値 (Pod で測り直した. sha256 76effd23c1504b8935c19f03c1c259d8cd492f06b5adbbb050d197089115e331): /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/norm_stats.json
由来: /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/train_provenance.json ・ /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999/train_provenance.json ・ Hugging Face (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1) にも置いた
ターミナルの記録: /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/lab_train_20261124_191604.txt
```

#### lab_train のログ（依頼289）

ログの元のファイル（KIOXIA の `lab/so101_Log10/train/lab_train_20261124_191604.txt`・52,753行）のうち、進み具合を示す棒の行1,054行と、tar の同じ警告が続く50,899行だけを外した。

```text
[LOG   ] ターミナルの出力を残します → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/lab_train_20261124_191604.txt
[LAB   ] 2026-11-24 19:16:04  学習  GPU=NVIDIA A40 (借りられなければ NVIDIA RTX A6000 NVIDIA L40S)
         --model so101b (π0.5 base → PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1)  データ so101_redblock_box_teleop_even_v1
         pi05_so101_teleop_even_h30_lora --exp-name=so101_teleop_even_h30_v1  steps=3000  init=base  上限 7 時間  記録 /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train
         学習率: warmup 300・peak 5e-5・decay_steps 3000・decay_lr 5e-6 (add_so101_config.py --steps 3000 --variant h30. deep1b と同じ値)
         1 回の答え (action_horizon): 30 コマ (so101a は 10. ほかは so101a と同じ. 依頼 289)

=== 0. 送るものと Mac の道具を確かめる  (19:16:04)
[DATA  ] tar の sha256 11905f95d06e… (由来に残す)
[DATA  ] tar 633370112 バイト  (/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/so101_redblock_box_teleop_even_v1_raw_episodes.tar)
[PROV  ] 始める時点のコード (f755b08・変更あり) と入力 3 つの指紋を測った
[MAC   ] 終わるまでスリープしないようにした (caffeinate pid 386). ふたは閉じない
    (9 秒)

=== 1. Pod を作る  (19:16:13)
[POD   ] NVIDIA A40 を借ります (空きがなければ 30 秒おきに 5 回まで)
[POD   ] 作れなかった (NVIDIA A40 1/5, HTTP 400): There are no longer any instances available with the requested specifications. Please refresh and try again.
[POD   ] 30 秒待って作り直します
[POD   ] 作れなかった (NVIDIA A40 2/5, HTTP 400): There are no longer any instances available with the requested specifications. Please refresh and try again.
[POD   ] 30 秒待って作り直します
[POD   ] 作った: id wy6239vev0mcah  GPU=NVIDIA A40  1時間 0.59 ドル  (記録 /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/lab_pod.json)
[POD   ] 上限: 11-25 02:17 (7 時間) を過ぎたら, ログを持ち帰って消します
    (64 秒)

=== 2. Pod が立ち上がるまで待つ  (19:17:17)
[POD   ] SSH の IP とポートを API から受け取った (<POD_IP>:<SSH_PORT>)
[POD   ] 入れた: d33b59a891af
NVIDIA A40, 46068 MiB
[WATCH ] Pod 側の見張りを置いた: 11-25 03:17 を過ぎたら Pod が自分を消す (Pod 用の鍵. Mac の鍵は送っていない)
    (36 秒)

=== 3a. スクリプトを送る  (19:17:53)
    (133 秒)

=== 3b. huggingface_hub を入れ, 鍵を渡す  (19:20:06)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[90mHint: The `hf-cli` skill is not installed. Run `hf skills add -g` to teach your AI agents how to use the `hf` CLI.[0m
[32m✓ Logged in[0m
  user: PixelstoMotors
    (10 秒)

=== 3c. 続きの元は取らない (π0.5 base から. 重みは学習の最初に openpi が取る)  (19:20:16)
    (0 秒)

=== 3d. openpi を取る (215abfb)  (19:20:16)
215abfb docs(droid): fix config search instruction (#1023)
    (15 秒)

=== 3e. uv sync  (19:20:31)
downloading uv 0.13.9 x86_64-unknown-linux-gnu
WARN: The following commands are shadowed by other commands in your PATH: uv uvx
Using CPython 3.11.13 interpreter at: /usr/bin/python3.11
Creating virtual environment at: .venv
Resolved 279 packages in 3ms
   Building openpi @ file:///workspace/openpi
   Building openpi-client @ file:///workspace/openpi/packages/openpi-client
   Updating https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
Downloading numpy (17.4MiB)
Downloading labmaze (4.7MiB)
Downloading lxml (4.7MiB)
Downloading sympy (6.0MiB)
Downloading hf-transfer (3.4MiB)
Downloading nvidia-nvjitlink-cu12 (18.8MiB)
Downloading h5py (4.3MiB)
Downloading fonttools (4.7MiB)
Downloading pillow (4.4MiB)
Downloading torchvision (7.1MiB)
Downloading numba (3.7MiB)
Downloading virtualenv (5.8MiB)
Downloading nvidia-cusparse-cu12 (206.5MiB)
Downloading nvidia-cudnn-cu12 (544.5MiB)
Downloading av (34.7MiB)
Downloading transformers (10.3MiB)
Downloading pyopengl (3.0MiB)
Downloading jax-cuda12-plugin (15.9MiB)
Downloading numcodecs (8.4MiB)
Downloading nvidia-cusolver-cu12 (150.9MiB)
Downloading nvidia-cuda-cupti-cu12 (8.5MiB)
Downloading hf-xet (4.9MiB)
Downloading nvidia-cusparselt-cu12 (149.5MiB)
Downloading diffusers (3.4MiB)
Downloading polars (34.6MiB)
Downloading tensorstore (17.5MiB)
Downloading ruff (11.0MiB)
Downloading pandas (12.5MiB)
Downloading opencv-python (60.1MiB)
Downloading torch (783.1MiB)
Downloading jax-cuda12-pjrt (99.8MiB)
Downloading pyarrow (40.3MiB)
Downloading llvmlite (40.4MiB)
Downloading wandb (20.4MiB)
Downloading rerun-sdk (68.1MiB)
Downloading triton (148.5MiB)
Downloading cmake (26.6MiB)
Downloading nvidia-cufft-cu12 (190.9MiB)
Downloading mujoco (4.4MiB)
Downloading nvidia-nccl-cu12 (192.0MiB)
Downloading nvidia-cublas-cu12 (374.9MiB)
Downloading nvidia-cuda-nvrtc-cu12 (22.6MiB)
Downloading opencv-python-headless (47.7MiB)
Downloading scipy (35.9MiB)
Downloading nvidia-cuda-nvcc-cu12 (38.7MiB)
Downloading jaxlib (100.2MiB)
Downloading dm-control (37.5MiB)
Downloading imageio-ffmpeg (28.1MiB)
Downloading matplotlib (8.2MiB)
Downloading nvidia-curand-cu12 (53.7MiB)
 Downloaded pyopengl
Downloading debugpy (3.0MiB)
 Downloaded hf-transfer
 Downloaded diffusers
Downloading tokenizers (2.9MiB)
 Downloaded numba
Downloading jax (2.3MiB)
Downloading widgetsnbextension (2.1MiB)
 Downloaded h5py
 Downloaded pillow
 Downloaded mujoco
Downloading ml-dtypes (2.1MiB)
 Downloaded labmaze
Downloading pydantic-core (1.9MiB)
Downloading networkx (1.9MiB)
 Downloaded fonttools
 Downloaded lxml
Downloading aiohttp (1.6MiB)
Downloading jedi (1.5MiB)
Downloading kiwisolver (1.4MiB)
 Downloaded hf-xet
Downloading torchcodec (1.3MiB)
 Downloaded virtualenv
Downloading sentencepiece (1.2MiB)
 Downloaded jax
 Downloaded sympy
 Downloaded debugpy
Downloading setuptools (1.1MiB)
Downloading pygments (1.2MiB)
Downloading nvidia-cufile-cu12 (1.1MiB)
 Downloaded widgetsnbextension
Downloading pymunk (1.0MiB)
 Downloaded tokenizers
 Downloaded kiwisolver
 Downloaded jedi
 Downloaded aiohttp
 Downloaded torchcodec
 Downloaded ml-dtypes
 Downloaded networkx
 Downloaded pydantic-core
 Downloaded torchvision
 Downloaded sentencepiece
 Downloaded nvidia-cufile-cu12
 Downloaded pygments
 Downloaded setuptools
 Downloaded pymunk
 Downloaded numcodecs
 Downloaded matplotlib
 Downloaded nvidia-cuda-cupti-cu12
   Building evdev==1.9.2
 Downloaded transformers
 Downloaded ruff
   Building antlr4-python3-runtime==4.9.3
 Downloaded pandas
 Downloaded jax-cuda12-plugin
 Downloaded numpy
 Downloaded tensorstore
      Built openpi-client @ file:///workspace/openpi/packages/openpi-client
      Built openpi @ file:///workspace/openpi
 Downloaded nvidia-nvjitlink-cu12
 Downloaded wandb
 Downloaded nvidia-cuda-nvrtc-cu12
      Built antlr4-python3-runtime==4.9.3
 Downloaded imageio-ffmpeg
 Downloaded cmake
 Downloaded polars
 Downloaded av
 Downloaded scipy
 Downloaded dm-control
 Downloaded nvidia-cuda-nvcc-cu12
 Downloaded pyarrow
 Downloaded llvmlite
 Downloaded opencv-python-headless
 Downloaded nvidia-curand-cu12
 Downloaded opencv-python
    Updated https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
 Downloaded rerun-sdk
   Building lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
      Built evdev==1.9.2
 Downloaded jax-cuda12-pjrt
      Built lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded jaxlib
 Downloaded triton
 Downloaded nvidia-cusparselt-cu12
 Downloaded nvidia-cusolver-cu12
 Downloaded nvidia-nccl-cu12
 Downloaded nvidia-cufft-cu12
 Downloaded nvidia-cusparse-cu12
 Downloaded nvidia-cublas-cu12
 Downloaded nvidia-cudnn-cu12
 Downloaded torch
Prepared 240 packages in 14.90s
Installed 240 packages in 1.76s
 + absl-py==2.3.0
 + aiohappyeyeballs==2.6.1
 + aiohttp==3.12.4
 + aiosignal==1.3.2
 + annotated-types==0.7.0
 + antlr4-python3-runtime==4.9.3
 + asttokens==3.0.0
 + attrs==25.3.0
 + augmax==0.4.1
 + av==17.0.0
 + beartype==0.19.0
 + beautifulsoup4==4.13.4
 + blinker==1.9.0
 + cachetools==5.5.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + cfgv==3.4.0
 + charset-normalizer==3.4.2
 + chex==0.1.90
 + click==8.2.1
 + cloudpickle==3.1.1
 + cmake==4.0.2
 + comm==0.2.2
 + contourpy==1.3.2
 + crc32c==2.7.1
 + cycler==0.12.1
 + datasets==3.6.0
 + debugpy==1.8.14
 + decorator==5.2.1
 + deepdiff==8.5.0
 + diffusers==0.33.1
 + dill==0.3.8
 + distlib==0.3.9
 + dm-control==1.0.14
 + dm-env==1.6
 + dm-tree==0.1.9
 + docker-pycreds==0.4.0
 + docstring-parser==0.16
 + donfig==0.8.1.post1
 + draccus==0.10.0
 + einops==0.8.1
 + equinox==0.12.2
 + etils==1.12.2
 + evdev==1.9.2
 + executing==2.2.0
 + farama-notifications==0.0.4
 + filelock==3.18.0
 + flask==3.1.1
 + flatbuffers==25.2.10
 + flax==0.10.2
 + fonttools==4.58.1
 + frozenlist==1.6.0
 + fsspec==2025.3.0
 + gcsfs==2025.3.0
 + gdown==5.2.0
 + gitdb==4.0.12
 + gitpython==3.1.44
 + glfw==2.9.0
 + google-api-core==2.24.2
 + google-auth==2.40.2
 + google-auth-oauthlib==1.2.2
 + google-cloud-core==2.4.3
 + google-cloud-storage==3.1.0
 + google-crc32c==1.7.1
 + google-resumable-media==2.7.2
 + googleapis-common-protos==1.70.0
 + gym-aloha==0.1.1
 + gymnasium==0.29.1
 + h5py==3.13.0
 + hf-transfer==0.1.9
 + hf-xet==1.1.2
 + huggingface-hub==0.32.3
 + humanize==4.12.3
 + identify==2.6.12
 + idna==3.10
 + imageio==2.37.0
 + imageio-ffmpeg==0.6.0
 + importlib-metadata==8.7.0
 + importlib-resources==6.5.2
 + iniconfig==2.1.0
 + inquirerpy==0.3.4
 + ipykernel==6.29.5
 + ipython==9.2.0
 + ipython-pygments-lexers==1.1.1
 + ipywidgets==8.1.7
 + itsdangerous==2.2.0
 + jax==0.5.3
 + jax-cuda12-pjrt==0.5.3
 + jax-cuda12-plugin==0.5.3
 + jaxlib==0.5.3
 + jaxtyping==0.2.36
 + jedi==0.19.2
 + jinja2==3.1.6
 + jsonlines==4.0.0
 + jupyter-client==8.6.3
 + jupyter-core==5.8.1
 + jupyterlab-widgets==3.0.15
 + kiwisolver==1.4.8
 + labmaze==1.0.6
 + lerobot==0.1.0 (from git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
 + llvmlite==0.44.0
 + lxml==5.4.0
 + markdown-it-py==3.0.0
 + markupsafe==3.0.2
 + matplotlib==3.10.3
 + matplotlib-inline==0.1.7
 + mdurl==0.1.2
 + mergedeep==1.3.4
 + ml-collections==1.0.0
 + ml-dtypes==0.4.1
 + mpmath==1.3.0
 + msgpack==1.1.0
 + mujoco==2.3.7
 + multidict==6.4.4
 + multiprocess==0.70.16
 + mypy-extensions==1.1.0
 + nest-asyncio==1.6.0
 + networkx==3.5
 + nodeenv==1.9.1
 + numba==0.61.2
 + numcodecs==0.16.1
 + numpy==1.26.4
 + numpydantic==1.6.9
 + nvidia-cublas-cu12==12.6.4.1
 + nvidia-cuda-cupti-cu12==12.6.80
 + nvidia-cuda-nvcc-cu12==12.9.41
 + nvidia-cuda-nvrtc-cu12==12.6.77
 + nvidia-cuda-runtime-cu12==12.6.77
 + nvidia-cudnn-cu12==9.5.1.17
 + nvidia-cufft-cu12==11.3.0.4
 + nvidia-cufile-cu12==1.11.1.6
 + nvidia-curand-cu12==10.3.7.77
 + nvidia-cusolver-cu12==11.7.1.2
 + nvidia-cusparse-cu12==12.5.4.2
 + nvidia-cusparselt-cu12==0.6.3
 + nvidia-ml-py==12.575.51
 + nvidia-nccl-cu12==2.26.2
 + nvidia-nvjitlink-cu12==12.6.85
 + nvidia-nvtx-cu12==12.6.77
 + oauthlib==3.2.2
 + omegaconf==2.3.0
 + opencv-python==4.11.0.86
 + opencv-python-headless==4.11.0.86
 + openpi==0.1.0 (from file:///workspace/openpi)
 + openpi-client==0.1.0 (from file:///workspace/openpi/packages/openpi-client)
 + opt-einsum==3.4.0
 + optax==0.2.4
 + orbax-checkpoint==0.11.13
 + orderly-set==5.4.1
 + packaging==25.0
 + pandas==2.2.3
 + parso==0.8.4
 + pexpect==4.9.0
 + pfzy==0.3.4
 + pillow==11.2.1
 + platformdirs==4.3.8
 + pluggy==1.6.0
 + polars==1.30.0
 + pre-commit==4.2.0
 + prompt-toolkit==3.0.51
 + propcache==0.3.1
 + proto-plus==1.26.1
 + protobuf==4.25.8
 + psutil==7.0.0
 + ptyprocess==0.7.0
 + pure-eval==0.2.3
 + pyarrow==20.0.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + pycparser==2.22
 + pydantic==2.11.5
 + pydantic-core==2.33.2
 + pygments==2.19.1
 + pymunk==7.0.0
 + pynput==1.8.1
 + pynvml==12.0.0
 + pyopengl==3.1.9
 + pyparsing==3.2.3
 + pysocks==1.7.1
 + pytest==8.3.5
 + python-dateutil==2.9.0.post0
 + python-xlib==0.33
 + pytz==2025.2
 + pyyaml==6.0.2
 + pyyaml-include==1.4.1
 + pyzmq==26.4.0
 + regex==2024.11.6
 + requests==2.32.3
 + requests-oauthlib==2.0.0
 + rerun-sdk==0.23.1
 + rich==14.0.0
 + rsa==4.9.1
 + ruff==0.11.12
 + safetensors==0.5.3
 + scipy==1.15.3
 + sentencepiece==0.2.0
 + sentry-sdk==2.29.1
 + setproctitle==1.3.6
 + setuptools==80.9.0
 + shtab==1.7.2
 + simplejson==3.20.1
 + six==1.17.0
 + smmap==5.0.2
 + soupsieve==2.7
 + stack-data==0.6.3
 + sympy==1.14.0
 + tensorstore==0.1.74
 + termcolor==3.1.0
 + tokenizers==0.21.1
 + toml==0.10.2
 + toolz==1.0.0
 + torch==2.7.1
 + torchcodec==0.4.0
 + torchvision==0.22.1
 + tornado==6.5.1
 + tqdm==4.67.1
 + tqdm-loggable==0.2
 + traitlets==5.14.3
 + transformers==4.53.2
 + treescope==0.1.9
 + triton==3.3.1
 + typeguard==4.4.2
 + typing-extensions==4.13.2
 + typing-inspect==0.9.0
 + typing-inspection==0.4.1
 + tyro==0.9.22
 + tzdata==2025.2
 + urllib3==2.4.0
 + virtualenv==20.31.2
 + wadler-lindig==0.1.6
 + wandb==0.19.11
 + wcwidth==0.2.13
 + websockets==15.0.1
 + werkzeug==3.1.3
 + widgetsnbextension==4.0.14
 + wrapt==1.14.1
 + xxhash==3.5.0
 + yarl==1.20.0
 + zarr==3.0.8
 + zipp==3.22.0
    (20 秒)

=== 3f. addon・設定・assets  (19:20:51)
installed: policies/mecharm_policy.py + config.py (pi05_mecharm_lora)
installed: pi05_mecharm_trim_lora (repo_id=local/mecharm_redblock_box_teach_v1_trim2, 4,000 steps)
[PROV  ] openpi 215abfb217dbac7d5f1273282331b9b1866c0479 (2 ファイル変更・addon と設定を入れたあと)
    (6 秒)

=== 4a. tar を送る  (19:20:57)
-rwx------ 1 root root 633370112 Nov 24 10:27 /workspace/data/so101_redblock_box_teleop_even_v1_raw_episodes.tar
    (381 秒)

=== 4b. pod_prep_so101.sh 3000 h30 (変換・正規化の値を測り直す)  (19:27:18)
== 1. tar を広げる → /workspace/data/so101_redblock_box_teleop_even_v1
   エピソード 50 本 (Mac で作ったときは 50 本)・コマ 25324
== 2. 学習設定 pi05_so101_teleop_even_h30_lora を足す (steps=3000・decay_steps=3000. π0.5 base から)
installed: policies/so101_policy.py + pi05_so101_teleop_even_h30_lora (repo_id=local/so101_redblock_box_teleop_even_v1, 3000 steps, decay_steps 3000, action_horizon 30, init=π0.5 base)
== 3. LeRobot 形式に変換 (local/so101_redblock_box_teleop_even_v1. カメラ 2 台)


  so101_redblock_box_teleop_v1_ep002: 551 steps


  so101_redblock_box_teleop_v1_ep003: 600 steps


  so101_redblock_box_teleop_v1_ep004: 552 steps


  so101_redblock_box_teleop_v1_ep005: 596 steps


  so101_redblock_box_teleop_v1_ep006: 600 steps


  so101_redblock_box_teleop_v1_ep007: 441 steps


  so101_redblock_box_teleop_v1_ep008: 513 steps


  so101_redblock_box_teleop_v1_ep009: 549 steps





  so101_redblock_box_teleop_v1_pos1b_ep001: 495 steps


  so101_redblock_box_teleop_v1_pos23_ep000: 538 steps


  so101_redblock_box_teleop_v1_pos23_ep001: 693 steps


  so101_redblock_box_teleop_v1_pos23_ep002: 628 steps


  so101_redblock_box_teleop_v1_pos23_ep003: 529 steps


  so101_redblock_box_teleop_v1_pos23_ep004: 459 steps


  so101_redblock_box_teleop_v1_pos23_ep005: 531 steps


  so101_redblock_box_teleop_v1_pos23_ep006: 539 steps


  so101_redblock_box_teleop_v1_pos23_ep007: 422 steps


  so101_redblock_box_teleop_v1_pos23_ep008: 406 steps


  so101_redblock_box_teleop_v1_pos23_ep009: 577 steps


  so101_redblock_box_teleop_v1_pos23_ep010: 581 steps


  so101_redblock_box_teleop_v1_pos23_ep011: 699 steps


  so101_redblock_box_teleop_v1_pos23_ep012: 620 steps


  so101_redblock_box_teleop_v1_pos23_ep013: 749 steps


  so101_redblock_box_teleop_v1_pos23_ep014: 502 steps


  so101_redblock_box_teleop_v1_pos23_ep015: 412 steps


  so101_redblock_box_teleop_v1_pos23_ep016: 489 steps


  so101_redblock_box_teleop_v1_pos23_ep017: 435 steps


  so101_redblock_box_teleop_v1_pos23_ep018: 491 steps


  so101_redblock_box_teleop_v1_pos23_ep019: 440 steps





  so101_redblock_box_teleop_v1_pos45_ep001: 562 steps


  so101_redblock_box_teleop_v1_pos45_ep002: 534 steps


  so101_redblock_box_teleop_v1_pos45_ep003: 607 steps


  so101_redblock_box_teleop_v1_pos45_ep004: 372 steps


  so101_redblock_box_teleop_v1_pos45_ep005: 558 steps


  so101_redblock_box_teleop_v1_pos45_ep006: 494 steps


  so101_redblock_box_teleop_v1_pos45_ep007: 532 steps





  so101_redblock_box_teleop_v1_pos45_ep009: 413 steps


  so101_redblock_box_teleop_v1_pos45_ep010: 417 steps


  so101_redblock_box_teleop_v1_pos45_ep011: 421 steps


  so101_redblock_box_teleop_v1_pos45_ep012: 504 steps





  so101_redblock_box_teleop_v1_pos45_ep014: 311 steps


  so101_redblock_box_teleop_v1_pos45_ep015: 417 steps





  so101_redblock_box_teleop_v1_pos45_ep017: 473 steps


  so101_redblock_box_teleop_v1_pos45_ep018: 398 steps


  so101_redblock_box_teleop_v1_pos45_ep019: 472 steps
done: 50 episodes / 25324 frames → /root/.cache/huggingface/lerobot/local/so101_redblock_box_teleop_even_v1
CONVERTED episodes=50 frames=25324
   変換した本数・コマ数は raw_episodes と同じ (50 本・25324 コマ)
== 3b. 先の 30 コマが足りないコマを openpi (LeRobot) がどう埋めるか (check_pad_so101.py. 学習には何も足さない)


Generating train split: 0 examples [00:00, ? examples/s]
Generating train split: 651 examples [00:00, 4970.67 examples/s]
Generating train split: 1251 examples [00:00, 5137.64 examples/s]
Generating train split: 2399 examples [00:00, 6008.21 examples/s]
Generating train split: 3540 examples [00:00, 7368.56 examples/s]
Generating train split: 5177 examples [00:00, 9855.89 examples/s]
Generating train split: 6803 examples [00:00, 11012.41 examples/s]
Generating train split: 8319 examples [00:00, 12074.45 examples/s]
Generating train split: 9589 examples [00:00, 11554.10 examples/s]
Generating train split: 10794 examples [00:01, 11580.88 examples/s]
Generating train split: 12174 examples [00:01, 10320.43 examples/s]
Generating train split: 13543 examples [00:01, 11145.27 examples/s]
Generating train split: 14946 examples [00:01, 11052.10 examples/s]
Generating train split: 16172 examples [00:01, 11016.84 examples/s]
Generating train split: 17305 examples [00:01, 10456.14 examples/s]
Generating train split: 18446 examples [00:01, 10594.36 examples/s]
Generating train split: 19770 examples [00:01, 11115.70 examples/s]
Generating train split: 21354 examples [00:02, 10583.66 examples/s]
Generating train split: 22596 examples [00:02, 10288.34 examples/s]
Generating train split: 23823 examples [00:02, 10275.76 examples/s]
Generating train split: 24952 examples [00:02, 10107.75 examples/s]
Generating train split: 25324 examples [00:02, 10229.57 examples/s]
   エピソード 0 (551 コマ) の最後のコマ: 足りない 29 / 30 コマ, 埋めた値はエピソードの最後の actions と同じ. 最後から 29 コマ目は足りない 1 コマ
   先の 30 コマが足りないコマ: 1450 / 25324 コマ (50 本 × 最後の 29 コマ)
   openpi の src で _is_pad を使うファイル: なし (損失から外さない)
PAD horizon=30 last_frame_pad=29 fill=last_action short_frames=1450/25324 openpi_uses_is_pad=no
== 4. 正規化の値をこの 50 本で測り直す (compute_norm_stats.py --config-name pi05_so101_teleop_even_h30_lora)

Writing stats to: /workspace/openpi/assets/pi05_so101_teleop_even_h30_lora/local/so101_redblock_box_teleop_even_v1
   /workspace/openpi/assets/pi05_so101_teleop_even_h30_lora/local/so101_redblock_box_teleop_even_v1/norm_stats.json (sha256 76effd23c150…)
NORM sha256=76effd23c1504b8935c19f03c1c259d8cd492f06b5adbbb050d197089115e331 path=assets/pi05_so101_teleop_even_h30_lora/local/so101_redblock_box_teleop_even_v1/norm_stats.json
== 5. 準備できました. 学習はこのコマンドで始める (このスクリプトでは流さない):
   cd /workspace/openpi && XLA_PYTHON_CLIENT_MEM_FRACTION=0.9 uv run scripts/train.py pi05_so101_teleop_even_h30_lora --exp-name=so101_teleop_even_h30_v1 --overwrite 2>&1 | tee /workspace/logs/train_so101_teleop_even_h30_v1.log
[NORM  ] 正規化の値 (sha256 76effd23c150…) を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/norm_stats.json
    (490 秒)

=== 5. 学習を始める  (19:35:28)
[TRAIN ] 学習を始めました (Pod の中で setsid nohup. Mac とのつながりが切れても続く)
         ログ /workspace/logs/train_so101_teleop_even_h30_v1.log  GPU /workspace/logs/gpu_train.csv (30 秒おき)
    (5 秒)

=== 6. 学習を見守る (5 分おき)  (19:35:33)
[TRAIN ] 19:35  step -/3000  loss -  経過 0:00  上限まで 6:41

========================================================================
 学習は Pod の中で回っています. ここまで来れば寝てかまいません.
 このターミナルは閉じない・Mac のふたは閉じない (電源につないだまま).
 終わると通知が出ます. まとめは /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/result_*.txt
========================================================================

[TRAIN ] 19:40  step -/3000  loss -  経過 0:05  上限まで 6:36
[TRAIN ] 19:45  step 34/3000  loss 0.0384 (Step 0 の行)  経過 0:10  上限まで 6:31
[TRAIN ] 19:50  step 76/3000  loss 0.0365 (Step 50 の行)  経過 0:15  上限まで 6:26
[TRAIN ] 19:55  step 120/3000  loss 0.0238 (Step 100 の行)  経過 0:20  上限まで 6:21
[TRAIN ] 20:00  step 162/3000  loss 0.0166 (Step 150 の行)  経過 0:25  上限まで 6:16
[TRAIN ] 20:05  step 204/3000  loss 0.0150 (Step 200 の行)  経過 0:30  上限まで 6:11
[TRAIN ] 20:10  step 248/3000  loss 0.0150 (Step 200 の行)  経過 0:35  上限まで 6:06
[TRAIN ] 20:15  step 290/3000  loss 0.0137 (Step 250 の行)  経過 0:40  上限まで 6:01
[TRAIN ] 20:21  step 332/3000  loss 0.0134 (Step 300 の行)  経過 0:45  上限まで 5:56
[TRAIN ] 20:26  step 376/3000  loss 0.0122 (Step 350 の行)  経過 0:50  上限まで 5:51
[TRAIN ] 20:31  step 418/3000  loss 0.0110 (Step 400 の行)  経過 0:55  上限まで 5:46
[TRAIN ] 20:36  step 462/3000  loss 0.0110 (Step 450 の行)  経過 1:00  上限まで 5:41
[TRAIN ] 20:41  step 504/3000  loss 0.0103 (Step 500 の行)  経過 1:05  上限まで 5:36
[TRAIN ] 20:46  step 546/3000  loss 0.0103 (Step 500 の行)  経過 1:10  上限まで 5:31
[TRAIN ] 20:51  step 590/3000  loss 0.0101 (Step 550 の行)  経過 1:15  上限まで 5:26
[TRAIN ] 20:56  step 632/3000  loss 0.0094 (Step 600 の行)  経過 1:20  上限まで 5:20
[TRAIN ] 21:01  step 674/3000  loss 0.0096 (Step 650 の行)  経過 1:25  上限まで 5:15
[TRAIN ] 21:06  step 718/3000  loss 0.0088 (Step 700 の行)  経過 1:30  上限まで 5:10
[TRAIN ] 21:11  step 760/3000  loss 0.0091 (Step 750 の行)  経過 1:35  上限まで 5:05
[TRAIN ] 21:16  step 800/3000  loss 0.0086 (Step 800 の行)  経過 1:40  上限まで 5:00
[TRAIN ] 21:21  step 846/3000  loss 0.0086 (Step 800 の行)  経過 1:46  上限まで 4:55
[TRAIN ] 21:26  step 888/3000  loss 0.0079 (Step 850 の行)  経過 1:51  上限まで 4:50
[TRAIN ] 21:31  step 930/3000  loss 0.0077 (Step 900 の行)  経過 1:56  上限まで 4:45
[TRAIN ] 21:36  step 974/3000  loss 0.0074 (Step 950 の行)  経過 2:01  上限まで 4:40
[TRAIN ] 21:41  step 1010/3000  loss 0.0076 (Step 1000 の行)  経過 2:06  上限まで 4:35
[TRAIN ] 21:46  step 1060/3000  loss 0.0074 (Step 1050 の行)  経過 2:11  上限まで 4:30
[TRAIN ] 21:51  step 1100/3000  loss 0.0074 (Step 1050 の行)  経過 2:16  上限まで 4:25
[TRAIN ] 21:56  step 1140/3000  loss 0.0074 (Step 1100 の行)  経過 2:21  上限まで 4:20
[TRAIN ] 22:01  step 1190/3000  loss 0.0068 (Step 1150 の行)  経過 2:26  上限まで 4:15
[TRAIN ] 22:06  step 1230/3000  loss 0.0067 (Step 1200 の行)  経過 2:31  上限まで 4:10
[TRAIN ] 22:12  step 1270/3000  loss 0.0063 (Step 1250 の行)  経過 2:36  上限まで 4:05
[TRAIN ] 22:17  step 1310/3000  loss 0.0060 (Step 1300 の行)  経過 2:41  上限まで 4:00
[TRAIN ] 22:22  step 1360/3000  loss 0.0063 (Step 1350 の行)  経過 2:46  上限まで 3:55
[TRAIN ] 22:27  step 1400/3000  loss 0.0063 (Step 1350 の行)  経過 2:51  上限まで 3:50
[TRAIN ] 22:32  step 1440/3000  loss 0.0060 (Step 1400 の行)  経過 2:56  上限まで 3:45
[TRAIN ] 22:37  step 1490/3000  loss 0.0056 (Step 1450 の行)  経過 3:01  上限まで 3:40
[TRAIN ] 22:42  step 1530/3000  loss 0.0057 (Step 1500 の行)  経過 3:06  上限まで 3:35
[TRAIN ] 22:47  step 1570/3000  loss 0.0056 (Step 1550 の行)  経過 3:11  上限まで 3:29
[TRAIN ] 22:52  step 1610/3000  loss 0.0055 (Step 1600 の行)  経過 3:16  上限まで 3:24
[TRAIN ] 22:57  step 1660/3000  loss 0.0052 (Step 1650 の行)  経過 3:21  上限まで 3:19
[TRAIN ] 23:02  step 1700/3000  loss 0.0052 (Step 1650 の行)  経過 3:26  上限まで 3:14
[TRAIN ] 23:07  step 1740/3000  loss 0.0051 (Step 1700 の行)  経過 3:31  上限まで 3:09
[TRAIN ] 23:12  step 1780/3000  loss 0.0050 (Step 1750 の行)  経過 3:37  上限まで 3:04
[TRAIN ] 23:17  step 1830/3000  loss 0.0048 (Step 1800 の行)  経過 3:42  上限まで 2:59
[TRAIN ] 23:22  step 1870/3000  loss 0.0047 (Step 1850 の行)  経過 3:47  上限まで 2:54
[TRAIN ] 23:27  step 1910/3000  loss 0.0046 (Step 1900 の行)  経過 3:52  上限まで 2:49
[TRAIN ] 23:32  step 1960/3000  loss 0.0043 (Step 1950 の行)  経過 3:57  上限まで 2:44
[TRAIN ] 23:37  step 2000/3000  loss 0.0043 (Step 1950 の行)  経過 4:02  上限まで 2:39
[TRAIN ] 23:42  step 2040/3000  loss 0.0044 (Step 2000 の行)  経過 4:07  上限まで 2:34
[TRAIN ] 23:47  step 2080/3000  loss 0.0047 (Step 2050 の行)  経過 4:12  上限まで 2:29
[TRAIN ] 23:52  step 2130/3000  loss 0.0045 (Step 2100 の行)  経過 4:17  上限まで 2:24
[TRAIN ] 23:57  step 2170/3000  loss 0.0042 (Step 2150 の行)  経過 4:22  上限まで 2:19
[TRAIN ] 00:03  step 2210/3000  loss 0.0044 (Step 2200 の行)  経過 4:27  上限まで 2:14
[TRAIN ] 00:08  step 2250/3000  loss 0.0039 (Step 2250 の行)  経過 4:32  上限まで 2:09
[TRAIN ] 00:13  step 2300/3000  loss 0.0039 (Step 2250 の行)  経過 4:37  上限まで 2:04
[TRAIN ] 00:18  step 2340/3000  loss 0.0039 (Step 2300 の行)  経過 4:42  上限まで 1:59
[TRAIN ] 00:23  step 2380/3000  loss 0.0040 (Step 2350 の行)  経過 4:47  上限まで 1:54
[TRAIN ] 00:28  step 2420/3000  loss 0.0038 (Step 2400 の行)  経過 4:52  上限まで 1:49
[TRAIN ] 00:33  step 2470/3000  loss 0.0033 (Step 2450 の行)  経過 4:57  上限まで 1:44
[TRAIN ] 00:38  step 2510/3000  loss 0.0038 (Step 2500 の行)  経過 5:02  上限まで 1:38
[TRAIN ] 00:43  step 2550/3000  loss 0.0039 (Step 2550 の行)  経過 5:07  上限まで 1:33
[TRAIN ] 00:48  step 2590/3000  loss 0.0039 (Step 2550 の行)  経過 5:12  上限まで 1:28
[TRAIN ] 00:53  step 2640/3000  loss 0.0037 (Step 2600 の行)  経過 5:17  上限まで 1:23
[TRAIN ] 00:58  step 2680/3000  loss 0.0037 (Step 2650 の行)  経過 5:22  上限まで 1:18
[TRAIN ] 01:03  step 2720/3000  loss 0.0035 (Step 2700 の行)  経過 5:28  上限まで 1:13
[TRAIN ] 01:08  step 2770/3000  loss 0.0035 (Step 2750 の行)  経過 5:33  上限まで 1:08
[TRAIN ] 01:13  step 2810/3000  loss 0.0034 (Step 2800 の行)  経過 5:38  上限まで 1:03
[TRAIN ] 01:18  step 2850/3000  loss 0.0034 (Step 2800 の行)  経過 5:43  上限まで 0:58
[TRAIN ] 01:23  step 2890/3000  loss 0.0038 (Step 2850 の行)  経過 5:48  上限まで 0:53
[TRAIN ] 01:28  step 2940/3000  loss 0.0034 (Step 2900 の行)  経過 5:53  上限まで 0:48
[TRAIN ] 01:33  step 2980/3000  loss 0.0033 (Step 2950 の行)  経過 5:58  上限まで 0:43
[TRAIN ] 01:38  step 3000/3000  loss 0.0033 (Step 2950 の行)  経過 6:03  上限まで 0:38
    (21803 秒)

[TRAIN ] 学習が終わりました (最後のチェックポイント 2999, loss 0.0033)
[WATCH ] Pod 側の見張りを 04:38 まで延ばした (上げる・持ち帰る間に消えないように)

=== 7a. Pod 側の一覧 (2999)  (01:38:59)
[LIST  ] 32 ファイル 6335875114 バイト (train_state なし) → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/pod_files_2999.tsv
    (2 秒)

=== 7b. Hugging Face へ上げる (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1・非公開)  (01:39:01)
[HF    ] 上げるもの: 32 ファイル 6,335,875,114 バイト (train_state/ は上げない)
HFUP ok PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1 に 32 ファイル 6,335,875,114 バイトを上げ, 名前・バイト数が全部合うのを確かめた
    (14 秒)

=== 7d. ログを持ち帰る  (01:39:15)
[LOG   ] train_so101_teleop_even_h30_v1.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/train_so101_teleop_even_h30_v1.log (1799 行)
[LOG   ] gpu_train.csv を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/gpu_train.csv (729 行)
[LOG   ] train_run.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/train_run.log (2 行)
[LOG   ] prep_so101.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/prep_so101.log (51071 行)
[LOG   ] watchdog.log は Pod にない (持ち帰れなかった)
[LOG   ] Pod 側のチェックポイントの一覧 → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/pod_checkpoints.tsv (210 ファイル)
    (29 秒)

=== Pod を消す (id wy6239vev0mcah)  (01:39:44)
[STOP  ] 削除 (Terminate) を送った (01:39:45)
[STOP  ] Pod (id wy6239vev0mcah) が消えたことを API で確かめた
[COST  ] 借りていた時間 382 分 28 秒 (6.37 時間) × 1時間 0.59 ドル = 約 3.76 ドル (約 594 円. 1ドル=158円)  GPU=NVIDIA A40

=== 7e. KIOXIA へ Hugging Face から取る  (01:39:46)
[KIOXIA] Hugging Face (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1) から取ります → /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/.incoming_2999_20261125_013946_287
Still waiting to acquire lock on /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/.incoming_2999_20261125_013946_287/.cache/huggingface/.gitignore.lock (elapsed: 0.1 seconds)
Still waiting to acquire lock on /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/.incoming_2999_20261125_013946_287/.cache/huggingface/.gitignore.lock (elapsed: 0.1 seconds)
path=/Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/.incoming_2999_20261125_013946_287
[KIOXIA] /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999 に置いた (32 ファイル 6335875114 バイト. Pod 側と名前・バイト数が全部合った). assets の正規化の値は測り直したものと sha256 が同じ
    (133 秒)

=== 由来 (train_provenance.json) を書く
[PROV  ] /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/train_provenance.json
[PROV  ] /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999/train_provenance.json
[PROV  ] hf: url=https://huggingface.co/PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1/commit/690ed0c4d62c27b9d4ae949ce8968fa6df821232
[PROV  ] 由来: /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/train_provenance.json ・ /Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999/train_provenance.json ・ Hugging Face (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1) にも置いた

=== かかった時間
  0. 送るものと Mac の道具を確かめる      9 秒
  1. Pod を作る                         64 秒
  2. Pod が立ち上がるまで待つ     36 秒
  3a. スクリプトを送る            133 秒
  3b. huggingface_hub を入れ, 鍵を渡す     10 秒
  3c. 続きの元は取らない (π0.5 base から. 重みは学習の最初に openpi が取る)      0 秒
  3d. openpi を取る (215abfb)           15 秒
  3e. uv sync                              20 秒
  3f. addon・設定・assets               6 秒
  4a. tar を送る                       381 秒
  4b. pod_prep_so101.sh 3000 h30 (変換・正規化の値を測り直す)    490 秒
  5. 学習を始める                     5 秒
  6. 学習を見守る (5 分おき)   21803 秒
  7a. Pod 側の一覧 (2999)               2 秒
  7b. Hugging Face へ上げる (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1・非公開)     14 秒
  7d. ログを持ち帰る                29 秒
  7e. KIOXIA へ Hugging Face から取る    133 秒

[RESULT] 成功: 学習が終わりました (step 2999, loss 0.0033). Hugging Face と KIOXIA に置き, Pod を消しました. 382 分 28 秒 (6.37 時間) × 1時間 0.59 ドル = 約 3.76 ドル (約 594 円. 1ドル=158円)
[RESULT] まとめ → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/result_20261124_191604.txt
```

#### train_so101_teleop_even_h30_v1.log（学習のログ）

```text
10:35:39.376 [I] Running on: d33b59a891af                                                         (1980:train.py:196)
INFO:2026-11-24 10:35:39,945:jax._src.xla_bridge:925: Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
10:35:39.945 [I] Unable to initialize backend 'rocm': module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig' (1980:xla_bridge.py:925)
INFO:2026-11-24 10:35:39,947:jax._src.xla_bridge:925: Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory
10:35:39.947 [I] Unable to initialize backend 'tpu': INTERNAL: Failed to open libtpu.so: libtpu.so: cannot open shared object file: No such file or directory (1980:xla_bridge.py:925)
10:35:41.214 [I] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7d3f9e508b10> (1980:base_pytree_checkpoint_handler.py:334)
10:35:41.214 [I] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7d3f9e508b10> (1980:base_pytree_checkpoint_handler.py:334)
10:35:41.214 [I] [thread=MainThread] Failed to get flag value for EXPERIMENTAL_ORBAX_USE_DISTRIBUTED_PROCESS_ID. (1980:multihost.py:390)
10:35:41.215 [I] [process=0][thread=MainThread] CheckpointManager init: checkpointers=None, item_names=None, item_handlers={'assets': <openpi.training.checkpoints.CallbackHandler object at 0x7d3e0279e9d0>, 'train_state': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d3e02771010>, 'params': <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d3e0279e550>}, handler_registry=None (1980:checkpoint_manager.py:620)
10:35:41.215 [I] Deferred registration for item: "assets". Adding handler `<openpi.training.checkpoints.CallbackHandler object at 0x7d3e0279e9d0>` for item "assets" and save args `<class 'openpi.training.checkpoints.CallbackSave'>` and restore args `<class 'openpi.training.checkpoints.CallbackRestore'>` to `_handler_registry`. (1980:composite_checkpoint_handler.py:234)
10:35:41.215 [I] Deferred registration for item: "train_state". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d3e02771010>` for item "train_state" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`. (1980:composite_checkpoint_handler.py:234)
10:35:41.215 [I] Deferred registration for item: "params". Adding handler `<orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d3e0279e550>` for item "params" and save args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>` to `_handler_registry`. (1980:composite_checkpoint_handler.py:234)
10:35:41.215 [I] Deferred registration for item: "metrics". Adding handler `<orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d3e025acad0>` for item "metrics" and save args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>` and restore args `<class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>` to `_handler_registry`. (1980:composite_checkpoint_handler.py:234)
10:35:41.215 [I] Initialized registry DefaultCheckpointHandlerRegistry({('assets', <class 'openpi.training.checkpoints.CallbackSave'>): <openpi.training.checkpoints.CallbackHandler object at 0x7d3e0279e9d0>, ('assets', <class 'openpi.training.checkpoints.CallbackRestore'>): <openpi.training.checkpoints.CallbackHandler object at 0x7d3e0279e9d0>, ('train_state', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d3e02771010>, ('train_state', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d3e02771010>, ('params', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeSaveArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d3e0279e550>, ('params', <class 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeRestoreArgs'>): <orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler object at 0x7d3e0279e550>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonSaveArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d3e025acad0>, ('metrics', <class 'orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonRestoreArgs'>): <orbax.checkpoint._src.handlers.json_checkpoint_handler.JsonCheckpointHandler object at 0x7d3e025acad0>}). (1980:composite_checkpoint_handler.py:502)
10:35:41.216 [I] orbax-checkpoint version: 0.11.13                                                (1980:abstract_checkpointer.py:35)
10:35:41.216 [I] [process=0][thread=MainThread] Using barrier_sync_fn: <function get_barrier_sync_fn.<locals>.<lambda> at 0x7d3de85a7d80> timeout: 7200 secs and primary_host=0 for async checkpoint writes (1980:async_checkpointer.py:170)
10:35:41.216 [I] Found 0 checkpoint steps in /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1 (1980:checkpoint_manager.py:1701)
10:35:41.217 [I] [process=0][thread=MainThread] CheckpointManager created,  primary_host=0, CheckpointManagerOptions=CheckpointManagerOptions(save_interval_steps=1, max_to_keep=1, keep_time_interval=None, keep_period=1000, should_keep_fn=None, best_fn=None, best_mode='max', keep_checkpoints_without_metrics=True, step_prefix=None, step_format_fixed_length=None, step_name_format=None, create=False, cleanup_tmp_directories=False, save_on_steps=frozenset(), single_host_load_and_broadcast=False, todelete_subdir=None, enable_background_delete=False, read_only=False, enable_async_checkpointing=True, async_options=AsyncOptions(timeout_secs=7200, barrier_sync_fn=None, post_finalization_callback=None, create_directories_asynchronously=True), multiprocessing_options=MultiprocessingOptions(primary_host=0, active_processes=None, barrier_sync_key_prefix=None), should_save_fn=None, file_options=FileOptions(path_permission_mode=None), save_root_metadata=True, temporary_path_class=None, save_decision_policy=None, prevent_write_metrics=False), root_directory=/workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1: <orbax.checkpoint.checkpoint_manager.CheckpointManager object at 0x7d3de8548510> (1980:checkpoint_manager.py:801)
10:35:41.350 [I] Loaded norm stats from /workspace/openpi/assets/pi05_so101_teleop_even_h30_lora/local/so101_redblock_box_teleop_even_v1 (1980:config.py:198)
10:35:41.351 [I] data_config: DataConfig(repo_id='local/so101_redblock_box_teleop_even_v1', asset_id='local/so101_redblock_box_teleop_even_v1', norm_stats={'state': NormStats(mean=array([ -2.05508637, -24.44818306,  31.59873581,  48.35274124,
        -2.56620026,  18.849226  ]), std=array([25.20230484, 50.94037247, 41.71092224, 14.98505116, 10.86095524,
       13.15003681]), q01=array([ -53.99136691, -103.61846179,  -53.93469707,   15.49988569,
        -29.15878606,    0.94819785]), q99=array([42.71405641, 55.68105647, 91.07270263, 94.9312    , 20.52627714,
       48.56978346])), 'actions': NormStats(mean=array([ 0.10850124, -0.90796638, -0.18789171, -0.51750427, -0.04379744,
       16.35988045]), std=array([10.12439823, 20.79191589, 17.68452644,  9.5862751 ,  4.52360439,
       15.43554211]), q01=array([-32.73937543, -63.88751094, -57.15462245, -32.92906932,
       -13.74975014,   0.48516449]), q99=array([37.92956547, 78.45062032, 59.9664886 , 27.89721434, 15.28613619,
       48.6748698 ]))}, repack_transforms=Group(inputs=[RepackTransform(structure={'observation/desk_image': 'desk_image', 'observation/wrist_image': 'wrist_image', 'observation/state': 'state', 'actions': 'actions', 'prompt': 'prompt'})], outputs=()), data_transforms=Group(inputs=(So101Inputs(model_type=<ModelType.PI05: 'pi05'>), DeltaActions(mask=(True, True, True, True, True, False))), outputs=(AbsoluteActions(mask=(True, True, True, True, True, False)), So101Outputs())), model_transforms=Group(inputs=[InjectDefaultPrompt(prompt=None), ResizeImages(height=224, width=224), TokenizePrompt(tokenizer=<openpi.models.tokenizer.PaligemmaTokenizer object at 0x7d3fa2da9010>, discrete_state_input=True), PadStatesAndActions(model_action_dim=32)], outputs=()), use_quantile_norm=True, action_sequence_keys=('actions',), prompt_from_task=True, rlds_data_dir=None, action_space=None, datasets=()) (1980:data_loader.py:243)
10:35:42.262 [I] local_batch_size: 32                                                             (1980:data_loader.py:324)
10:35:59.703 [I] Initialized data loader:
[0].images['base_0_rgb']: (32, 224, 224, 3)@float32
[0].images['left_wrist_0_rgb']: (32, 224, 224, 3)@float32
[0].images['right_wrist_0_rgb']: (32, 224, 224, 3)@float32
[0].image_masks['base_0_rgb']: (32,)@bool
[0].image_masks['left_wrist_0_rgb']: (32,)@bool
[0].image_masks['right_wrist_0_rgb']: (32,)@bool
[0].state: (32, 32)@float32
[0].tokenized_prompt: (32, 200)@int32
[0].tokenized_prompt_mask: (32, 200)@bool
[1]: (32, 30, 32)@float32 (1980:train.py:227)
10:36:00.790 [I] Downloading gs://openpi-assets/checkpoints/pi05_base/params to /root/.cache/openpi/openpi-assets/checkpoints/pi05_base/params (1980:download.py:86)
10:36:00.791 [W] gsutil not found, falling back to gcsfs. This may fail if GCP credentials are not configured correctly. (1980:download.py:111)
10:36:27.620 [I] Progress on: -/12441721931 rate:- remaining:? elapsed:00:00 postfix:-            (1980:tqdm_logging.py:145)
10:36:37.656 [I] Progress on: 6.01GiB/11.6GiB rate:697,921,115.7iB/s remaining:00:08 elapsed:00:10 postfix:- (1980:tqdm_logging.py:145)
10:36:47.688 [I] Progress on: 11.5GiB/11.6GiB rate:400,291,678.0iB/s remaining:00:00 elapsed:00:20 postfix:- (1980:tqdm_logging.py:145)
10:36:48.690 [I] Progress on: 11.6GiB/11.6GiB rate:300,996,478.7iB/s remaining:00:00 elapsed:00:21 postfix:- (1980:tqdm_logging.py:145)
10:36:48.696 [I] Created BasePyTreeCheckpointHandler: use_ocdbt=True, use_zarr3=False, pytree_metadata_options=PyTreeMetadataOptions(support_rich_types=False), array_metadata_store=<orbax.checkpoint._src.metadata.array_metadata_store.Store object at 0x7d3f9e508b10> (1980:base_pytree_checkpoint_handler.py:334)
10:36:49.059 [I] Restoring checkpoint from /root/.cache/openpi/openpi-assets/checkpoints/pi05_base/params. (1980:checkpointer.py:298)
10:36:57.558 [I] [process=0] /jax/checkpoint/read/bytes_per_sec: 1.5 GiB/s (total bytes: 12.5 GiB) (time elapsed: 8 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
10:36:57.559 [I] Finished restoring checkpoint in 8.50 seconds from /root/.cache/openpi/openpi-assets/checkpoints/pi05_base/params. (1980:checkpointer.py:309)
10:37:17.759 [I] Initialized train state:
['PaliGemma']['img']['Transformer']['encoder_norm']['bias'].value: (1152,)@float32
['PaliGemma']['img']['Transformer']['encoder_norm']['scale'].value: (1152,)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['LayerNorm_0']['bias'].value: (27, 1152)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['LayerNorm_0']['scale'].value: (27, 1152)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['LayerNorm_1']['bias'].value: (27, 1152)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['LayerNorm_1']['scale'].value: (27, 1152)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MlpBlock_0']['Dense_0']['bias'].value: (27, 4304)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MlpBlock_0']['Dense_0']['kernel'].value: (27, 1152, 4304)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MlpBlock_0']['Dense_1']['bias'].value: (27, 1152)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MlpBlock_0']['Dense_1']['kernel'].value: (27, 4304, 1152)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MultiHeadDotProductAttention_0']['key']['bias'].value: (27, 16, 72)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MultiHeadDotProductAttention_0']['key']['kernel'].value: (27, 1152, 16, 72)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MultiHeadDotProductAttention_0']['out']['bias'].value: (27, 1152)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MultiHeadDotProductAttention_0']['out']['kernel'].value: (27, 16, 72, 1152)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MultiHeadDotProductAttention_0']['query']['bias'].value: (27, 16, 72)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MultiHeadDotProductAttention_0']['query']['kernel'].value: (27, 1152, 16, 72)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MultiHeadDotProductAttention_0']['value']['bias'].value: (27, 16, 72)@float32
['PaliGemma']['img']['Transformer']['encoderblock']['MultiHeadDotProductAttention_0']['value']['kernel'].value: (27, 1152, 16, 72)@float32
['PaliGemma']['img']['embedding']['bias'].value: (1152,)@float32
['PaliGemma']['img']['embedding']['kernel'].value: (14, 14, 3, 1152)@float32
['PaliGemma']['img']['head']['bias'].value: (2048,)@float32
['PaliGemma']['img']['head']['kernel'].value: (1152, 2048)@float32
['PaliGemma']['img']['pos_embedding'].value: (1, 256, 1152)@float32
['PaliGemma']['llm']['embedder']['input_embedding'].value: (257152, 2048)@bfloat16
['PaliGemma']['llm']['final_norm']['scale'].value: (2048,)@bfloat16
['PaliGemma']['llm']['final_norm_1']['Dense_0']['bias'].value: (3072,)@bfloat16
['PaliGemma']['llm']['final_norm_1']['Dense_0']['kernel'].value: (1024, 3072)@bfloat16
['PaliGemma']['llm']['layers']['attn']['attn_vec_einsum']['lora_a'].value: (18, 8, 256, 16)@float32
['PaliGemma']['llm']['layers']['attn']['attn_vec_einsum']['lora_b'].value: (18, 8, 16, 2048)@float32
['PaliGemma']['llm']['layers']['attn']['attn_vec_einsum']['w'].value: (18, 8, 256, 2048)@bfloat16
['PaliGemma']['llm']['layers']['attn']['attn_vec_einsum_1']['lora_a'].value: (18, 8, 256, 32)@float32
['PaliGemma']['llm']['layers']['attn']['attn_vec_einsum_1']['lora_b'].value: (18, 8, 32, 1024)@float32
['PaliGemma']['llm']['layers']['attn']['attn_vec_einsum_1']['w'].value: (18, 8, 256, 1024)@bfloat16
['PaliGemma']['llm']['layers']['attn']['kv_einsum']['lora_a'].value: (18, 2, 1, 2048, 16)@float32
['PaliGemma']['llm']['layers']['attn']['kv_einsum']['lora_b'].value: (18, 2, 1, 16, 256)@float32
['PaliGemma']['llm']['layers']['attn']['kv_einsum']['w'].value: (18, 2, 1, 2048, 256)@bfloat16
['PaliGemma']['llm']['layers']['attn']['kv_einsum_1']['lora_a'].value: (18, 2, 1, 1024, 32)@float32
['PaliGemma']['llm']['layers']['attn']['kv_einsum_1']['lora_b'].value: (18, 2, 1, 32, 256)@float32
['PaliGemma']['llm']['layers']['attn']['kv_einsum_1']['w'].value: (18, 2, 1, 1024, 256)@bfloat16
['PaliGemma']['llm']['layers']['attn']['q_einsum']['lora_a'].value: (18, 8, 2048, 16)@float32
['PaliGemma']['llm']['layers']['attn']['q_einsum']['lora_b'].value: (18, 8, 16, 256)@float32
['PaliGemma']['llm']['layers']['attn']['q_einsum']['w'].value: (18, 8, 2048, 256)@bfloat16
['PaliGemma']['llm']['layers']['attn']['q_einsum_1']['lora_a'].value: (18, 8, 1024, 32)@float32
['PaliGemma']['llm']['layers']['attn']['q_einsum_1']['lora_b'].value: (18, 8, 32, 256)@float32
['PaliGemma']['llm']['layers']['attn']['q_einsum_1']['w'].value: (18, 8, 1024, 256)@bfloat16
['PaliGemma']['llm']['layers']['mlp']['gating_einsum'].value: (18, 2, 2048, 16384)@bfloat16
['PaliGemma']['llm']['layers']['mlp']['gating_einsum_lora_a'].value: (18, 2, 2048, 16)@float32
['PaliGemma']['llm']['layers']['mlp']['gating_einsum_lora_b'].value: (18, 2, 16, 16384)@float32
['PaliGemma']['llm']['layers']['mlp']['linear'].value: (18, 16384, 2048)@bfloat16
['PaliGemma']['llm']['layers']['mlp']['linear_lora_a'].value: (18, 16384, 16)@float32
['PaliGemma']['llm']['layers']['mlp']['linear_lora_b'].value: (18, 16, 2048)@float32
['PaliGemma']['llm']['layers']['mlp_1']['gating_einsum'].value: (18, 2, 1024, 4096)@bfloat16
['PaliGemma']['llm']['layers']['mlp_1']['gating_einsum_lora_a'].value: (18, 2, 1024, 32)@float32
['PaliGemma']['llm']['layers']['mlp_1']['gating_einsum_lora_b'].value: (18, 2, 32, 4096)@float32
['PaliGemma']['llm']['layers']['mlp_1']['linear'].value: (18, 4096, 1024)@bfloat16
['PaliGemma']['llm']['layers']['mlp_1']['linear_lora_a'].value: (18, 4096, 32)@float32
['PaliGemma']['llm']['layers']['mlp_1']['linear_lora_b'].value: (18, 32, 1024)@float32
['PaliGemma']['llm']['layers']['pre_attention_norm']['scale'].value: (18, 2048)@bfloat16
['PaliGemma']['llm']['layers']['pre_attention_norm_1']['Dense_0']['bias'].value: (18, 3072)@bfloat16
['PaliGemma']['llm']['layers']['pre_attention_norm_1']['Dense_0']['kernel'].value: (18, 1024, 3072)@bfloat16
['PaliGemma']['llm']['layers']['pre_ffw_norm']['scale'].value: (18, 2048)@bfloat16
['PaliGemma']['llm']['layers']['pre_ffw_norm_1']['Dense_0']['bias'].value: (18, 3072)@bfloat16
['PaliGemma']['llm']['layers']['pre_ffw_norm_1']['Dense_0']['kernel'].value: (18, 1024, 3072)@bfloat16
['action_in_proj']['bias'].value: (1024,)@float32
['action_in_proj']['kernel'].value: (32, 1024)@float32
['action_out_proj']['bias'].value: (32,)@float32
['action_out_proj']['kernel'].value: (1024, 32)@float32
['time_mlp_in']['bias'].value: (1024,)@float32
['time_mlp_in']['kernel'].value: (1024, 1024)@float32
['time_mlp_out']['bias'].value: (1024,)@float32
['time_mlp_out']['kernel'].value: (1024, 1024)@float32 (1980:train.py:238)
10:37:17.769 [I] Progress on: -/3000 rate:- remaining:? elapsed:00:00 postfix:-                   (1980:tqdm_logging.py:145)


Step 0: grad_norm=0.2143, loss=0.0384, param_norm=1803.7705
10:41:46.837 [I] Progress on: -/3000 rate:- remaining:? elapsed:04:29 postfix:-                   (1980:tqdm_logging.py:145)
10:42:01.302 [I] Progress on: 4.00it/3.00kit rate:41.2s/it remaining:34:18:45 elapsed:04:43 postfix:- (1980:tqdm_logging.py:145)
10:42:15.390 [I] Progress on: 6.00it/3.00kit rate:21.5s/it remaining:17:51:26 elapsed:04:57 postfix:- (1980:tqdm_logging.py:145)
10:42:29.515 [I] Progress on: 8.00it/3.00kit rate:13.7s/it remaining:11:21:53 elapsed:05:11 postfix:- (1980:tqdm_logging.py:145)
10:42:43.624 [I] Progress on: 10.0it/3.00kit rate:10.2s/it remaining:8:28:21 elapsed:05:25 postfix:- (1980:tqdm_logging.py:145)
10:42:57.786 [I] Progress on: 12.0it/3.00kit rate:8.6s/it remaining:7:07:39 elapsed:05:40 postfix:- (1980:tqdm_logging.py:145)
10:43:11.970 [I] Progress on: 14.0it/3.00kit rate:7.8s/it remaining:6:29:10 elapsed:05:54 postfix:- (1980:tqdm_logging.py:145)
10:43:26.177 [I] Progress on: 16.0it/3.00kit rate:7.4s/it remaining:6:10:23 elapsed:06:08 postfix:- (1980:tqdm_logging.py:145)
10:43:40.440 [I] Progress on: 18.0it/3.00kit rate:7.3s/it remaining:6:02:18 elapsed:06:22 postfix:- (1980:tqdm_logging.py:145)
10:43:54.587 [I] Progress on: 20.0it/3.00kit rate:7.2s/it remaining:5:56:44 elapsed:06:36 postfix:- (1980:tqdm_logging.py:145)
10:44:08.794 [I] Progress on: 22.0it/3.00kit rate:7.1s/it remaining:5:54:30 elapsed:06:51 postfix:- (1980:tqdm_logging.py:145)
10:44:23.026 [I] Progress on: 24.0it/3.00kit rate:7.1s/it remaining:5:53:33 elapsed:07:05 postfix:- (1980:tqdm_logging.py:145)
10:44:37.239 [I] Progress on: 26.0it/3.00kit rate:7.1s/it remaining:5:52:48 elapsed:07:19 postfix:- (1980:tqdm_logging.py:145)
10:44:51.447 [I] Progress on: 28.0it/3.00kit rate:7.1s/it remaining:5:52:13 elapsed:07:33 postfix:- (1980:tqdm_logging.py:145)
10:45:05.651 [I] Progress on: 30.0it/3.00kit rate:7.1s/it remaining:5:51:49 elapsed:07:47 postfix:- (1980:tqdm_logging.py:145)
10:45:19.863 [I] Progress on: 32.0it/3.00kit rate:7.1s/it remaining:5:51:29 elapsed:08:02 postfix:- (1980:tqdm_logging.py:145)
10:45:34.058 [I] Progress on: 34.0it/3.00kit rate:7.1s/it remaining:5:51:01 elapsed:08:16 postfix:- (1980:tqdm_logging.py:145)
10:45:48.269 [I] Progress on: 36.0it/3.00kit rate:7.1s/it remaining:5:50:53 elapsed:08:30 postfix:- (1980:tqdm_logging.py:145)
10:46:02.480 [I] Progress on: 38.0it/3.00kit rate:7.1s/it remaining:5:50:43 elapsed:08:44 postfix:- (1980:tqdm_logging.py:145)
10:46:16.692 [I] Progress on: 40.0it/3.00kit rate:7.1s/it remaining:5:50:32 elapsed:08:58 postfix:- (1980:tqdm_logging.py:145)
10:46:30.893 [I] Progress on: 42.0it/3.00kit rate:7.1s/it remaining:5:50:10 elapsed:09:13 postfix:- (1980:tqdm_logging.py:145)
10:46:45.090 [I] Progress on: 44.0it/3.00kit rate:7.1s/it remaining:5:49:49 elapsed:09:27 postfix:- (1980:tqdm_logging.py:145)
10:46:59.301 [I] Progress on: 46.0it/3.00kit rate:7.1s/it remaining:5:49:41 elapsed:09:41 postfix:- (1980:tqdm_logging.py:145)
10:47:13.497 [I] Progress on: 48.0it/3.00kit rate:7.1s/it remaining:5:49:22 elapsed:09:55 postfix:- (1980:tqdm_logging.py:145)
10:47:27.695 [I] Progress on: 50.0it/3.00kit rate:7.1s/it remaining:5:49:04 elapsed:10:09 postfix:- (1980:tqdm_logging.py:145)


Step 50: grad_norm=0.1692, loss=0.0365, param_norm=1803.7706
10:47:41.658 [I] Progress on: 50.0it/3.00kit rate:7.1s/it remaining:5:49:04 elapsed:10:23 postfix:- (1980:tqdm_logging.py:145)
10:47:56.237 [I] Progress on: 54.0it/3.00kit rate:6.8s/it remaining:5:34:34 elapsed:10:38 postfix:- (1980:tqdm_logging.py:145)
10:48:10.426 [I] Progress on: 56.0it/3.00kit rate:7.0s/it remaining:5:41:20 elapsed:10:52 postfix:- (1980:tqdm_logging.py:145)
10:48:24.611 [I] Progress on: 58.0it/3.00kit rate:7.0s/it remaining:5:44:33 elapsed:11:06 postfix:- (1980:tqdm_logging.py:145)
10:48:38.785 [I] Progress on: 60.0it/3.00kit rate:7.1s/it remaining:5:45:54 elapsed:11:21 postfix:- (1980:tqdm_logging.py:145)
10:48:52.939 [I] Progress on: 62.0it/3.00kit rate:7.1s/it remaining:5:46:10 elapsed:11:35 postfix:- (1980:tqdm_logging.py:145)
10:49:07.127 [I] Progress on: 64.0it/3.00kit rate:7.1s/it remaining:5:46:30 elapsed:11:49 postfix:- (1980:tqdm_logging.py:145)
10:49:21.300 [I] Progress on: 66.0it/3.00kit rate:7.1s/it remaining:5:46:22 elapsed:12:03 postfix:- (1980:tqdm_logging.py:145)
10:49:35.481 [I] Progress on: 68.0it/3.00kit rate:7.1s/it remaining:5:46:18 elapsed:12:17 postfix:- (1980:tqdm_logging.py:145)
10:49:49.653 [I] Progress on: 70.0it/3.00kit rate:7.1s/it remaining:5:45:59 elapsed:12:31 postfix:- (1980:tqdm_logging.py:145)
10:50:03.848 [I] Progress on: 72.0it/3.00kit rate:7.1s/it remaining:5:46:02 elapsed:12:46 postfix:- (1980:tqdm_logging.py:145)
10:50:18.030 [I] Progress on: 74.0it/3.00kit rate:7.1s/it remaining:5:45:51 elapsed:13:00 postfix:- (1980:tqdm_logging.py:145)
10:50:32.195 [I] Progress on: 76.0it/3.00kit rate:7.1s/it remaining:5:45:24 elapsed:13:14 postfix:- (1980:tqdm_logging.py:145)
10:50:46.398 [I] Progress on: 78.0it/3.00kit rate:7.1s/it remaining:5:45:32 elapsed:13:28 postfix:- (1980:tqdm_logging.py:145)
10:51:00.593 [I] Progress on: 80.0it/3.00kit rate:7.1s/it remaining:5:45:20 elapsed:13:42 postfix:- (1980:tqdm_logging.py:145)
10:51:14.765 [I] Progress on: 82.0it/3.00kit rate:7.1s/it remaining:5:44:55 elapsed:13:56 postfix:- (1980:tqdm_logging.py:145)
10:51:28.986 [I] Progress on: 84.0it/3.00kit rate:7.1s/it remaining:5:44:45 elapsed:14:11 postfix:- (1980:tqdm_logging.py:145)
10:51:43.112 [I] Progress on: 86.0it/3.00kit rate:7.1s/it remaining:5:43:39 elapsed:14:25 postfix:- (1980:tqdm_logging.py:145)
10:51:57.319 [I] Progress on: 88.0it/3.00kit rate:7.1s/it remaining:5:44:12 elapsed:14:39 postfix:- (1980:tqdm_logging.py:145)
10:52:11.485 [I] Progress on: 90.0it/3.00kit rate:7.1s/it remaining:5:43:50 elapsed:14:53 postfix:- (1980:tqdm_logging.py:145)
10:52:25.642 [I] Progress on: 92.0it/3.00kit rate:7.1s/it remaining:5:43:15 elapsed:15:07 postfix:- (1980:tqdm_logging.py:145)
10:52:39.849 [I] Progress on: 94.0it/3.00kit rate:7.1s/it remaining:5:43:35 elapsed:15:22 postfix:- (1980:tqdm_logging.py:145)
10:52:53.999 [I] Progress on: 96.0it/3.00kit rate:7.1s/it remaining:5:42:58 elapsed:15:36 postfix:- (1980:tqdm_logging.py:145)
10:53:08.166 [I] Progress on: 98.0it/3.00kit rate:7.1s/it remaining:5:42:39 elapsed:15:50 postfix:- (1980:tqdm_logging.py:145)
10:53:22.320 [I] Progress on: 100it/3.00kit rate:7.1s/it remaining:5:42:13 elapsed:16:04 postfix:- (1980:tqdm_logging.py:145)


Step 100: grad_norm=0.1263, loss=0.0238, param_norm=1803.7712
10:53:36.180 [I] Progress on: 100it/3.00kit rate:7.1s/it remaining:5:42:13 elapsed:16:18 postfix:- (1980:tqdm_logging.py:145)
10:53:50.766 [I] Progress on: 104it/3.00kit rate:6.8s/it remaining:5:28:13 elapsed:16:32 postfix:- (1980:tqdm_logging.py:145)
10:54:04.935 [I] Progress on: 106it/3.00kit rate:6.9s/it remaining:5:34:57 elapsed:16:47 postfix:- (1980:tqdm_logging.py:145)
10:54:19.090 [I] Progress on: 108it/3.00kit rate:7.0s/it remaining:5:37:59 elapsed:17:01 postfix:- (1980:tqdm_logging.py:145)
10:54:33.290 [I] Progress on: 110it/3.00kit rate:7.1s/it remaining:5:39:57 elapsed:17:15 postfix:- (1980:tqdm_logging.py:145)
10:54:47.472 [I] Progress on: 112it/3.00kit rate:7.1s/it remaining:5:40:30 elapsed:17:29 postfix:- (1980:tqdm_logging.py:145)
10:55:01.663 [I] Progress on: 114it/3.00kit rate:7.1s/it remaining:5:40:50 elapsed:17:43 postfix:- (1980:tqdm_logging.py:145)
10:55:15.829 [I] Progress on: 116it/3.00kit rate:7.1s/it remaining:5:40:35 elapsed:17:58 postfix:- (1980:tqdm_logging.py:145)
10:55:30.011 [I] Progress on: 118it/3.00kit rate:7.1s/it remaining:5:40:27 elapsed:18:12 postfix:- (1980:tqdm_logging.py:145)
10:55:44.184 [I] Progress on: 120it/3.00kit rate:7.1s/it remaining:5:40:12 elapsed:18:26 postfix:- (1980:tqdm_logging.py:145)
10:55:58.357 [I] Progress on: 122it/3.00kit rate:7.1s/it remaining:5:39:56 elapsed:18:40 postfix:- (1980:tqdm_logging.py:145)
10:56:12.547 [I] Progress on: 124it/3.00kit rate:7.1s/it remaining:5:39:53 elapsed:18:54 postfix:- (1980:tqdm_logging.py:145)
10:56:26.749 [I] Progress on: 126it/3.00kit rate:7.1s/it remaining:5:39:54 elapsed:19:08 postfix:- (1980:tqdm_logging.py:145)
10:56:40.908 [I] Progress on: 128it/3.00kit rate:7.1s/it remaining:5:39:16 elapsed:19:23 postfix:- (1980:tqdm_logging.py:145)
10:56:55.081 [I] Progress on: 130it/3.00kit rate:7.1s/it remaining:5:39:00 elapsed:19:37 postfix:- (1980:tqdm_logging.py:145)
10:57:09.263 [I] Progress on: 132it/3.00kit rate:7.1s/it remaining:5:38:50 elapsed:19:51 postfix:- (1980:tqdm_logging.py:145)
10:57:23.438 [I] Progress on: 134it/3.00kit rate:7.1s/it remaining:5:38:31 elapsed:20:05 postfix:- (1980:tqdm_logging.py:145)
10:57:37.625 [I] Progress on: 136it/3.00kit rate:7.1s/it remaining:5:38:25 elapsed:20:19 postfix:- (1980:tqdm_logging.py:145)
10:57:51.814 [I] Progress on: 138it/3.00kit rate:7.1s/it remaining:5:38:17 elapsed:20:34 postfix:- (1980:tqdm_logging.py:145)
10:58:06.078 [I] Progress on: 140it/3.00kit rate:7.1s/it remaining:5:39:13 elapsed:20:48 postfix:- (1980:tqdm_logging.py:145)
10:58:20.232 [I] Progress on: 142it/3.00kit rate:7.1s/it remaining:5:38:12 elapsed:21:02 postfix:- (1980:tqdm_logging.py:145)
10:58:34.387 [I] Progress on: 144it/3.00kit rate:7.1s/it remaining:5:37:30 elapsed:21:16 postfix:- (1980:tqdm_logging.py:145)
10:58:48.577 [I] Progress on: 146it/3.00kit rate:7.1s/it remaining:5:37:18 elapsed:21:30 postfix:- (1980:tqdm_logging.py:145)
10:59:02.776 [I] Progress on: 148it/3.00kit rate:7.1s/it remaining:5:37:15 elapsed:21:45 postfix:- (1980:tqdm_logging.py:145)
10:59:16.972 [I] Progress on: 150it/3.00kit rate:7.1s/it remaining:5:37:08 elapsed:21:59 postfix:- (1980:tqdm_logging.py:145)


Step 150: grad_norm=0.0938, loss=0.0166, param_norm=1803.7729
10:59:30.869 [I] Progress on: 150it/3.00kit rate:7.1s/it remaining:5:37:08 elapsed:22:13 postfix:- (1980:tqdm_logging.py:145)
10:59:45.485 [I] Progress on: 154it/3.00kit rate:6.8s/it remaining:5:22:58 elapsed:22:27 postfix:- (1980:tqdm_logging.py:145)
10:59:59.670 [I] Progress on: 156it/3.00kit rate:7.0s/it remaining:5:29:35 elapsed:22:41 postfix:- (1980:tqdm_logging.py:145)
11:00:13.875 [I] Progress on: 158it/3.00kit rate:7.0s/it remaining:5:32:54 elapsed:22:56 postfix:- (1980:tqdm_logging.py:145)
11:00:28.050 [I] Progress on: 160it/3.00kit rate:7.1s/it remaining:5:34:07 elapsed:23:10 postfix:- (1980:tqdm_logging.py:145)
11:00:42.222 [I] Progress on: 162it/3.00kit rate:7.1s/it remaining:5:34:32 elapsed:23:24 postfix:- (1980:tqdm_logging.py:145)
11:00:56.413 [I] Progress on: 164it/3.00kit rate:7.1s/it remaining:5:34:53 elapsed:23:38 postfix:- (1980:tqdm_logging.py:145)
11:01:10.590 [I] Progress on: 166it/3.00kit rate:7.1s/it remaining:5:34:46 elapsed:23:52 postfix:- (1980:tqdm_logging.py:145)
11:01:24.758 [I] Progress on: 168it/3.00kit rate:7.1s/it remaining:5:34:26 elapsed:24:06 postfix:- (1980:tqdm_logging.py:145)
11:01:38.954 [I] Progress on: 170it/3.00kit rate:7.1s/it remaining:5:34:31 elapsed:24:21 postfix:- (1980:tqdm_logging.py:145)
11:01:53.137 [I] Progress on: 172it/3.00kit rate:7.1s/it remaining:5:34:15 elapsed:24:35 postfix:- (1980:tqdm_logging.py:145)
11:02:07.329 [I] Progress on: 174it/3.00kit rate:7.1s/it remaining:5:34:09 elapsed:24:49 postfix:- (1980:tqdm_logging.py:145)
11:02:21.497 [I] Progress on: 176it/3.00kit rate:7.1s/it remaining:5:33:39 elapsed:25:03 postfix:- (1980:tqdm_logging.py:145)
11:02:35.685 [I] Progress on: 178it/3.00kit rate:7.1s/it remaining:5:33:32 elapsed:25:17 postfix:- (1980:tqdm_logging.py:145)
11:02:49.881 [I] Progress on: 180it/3.00kit rate:7.1s/it remaining:5:33:30 elapsed:25:32 postfix:- (1980:tqdm_logging.py:145)
11:03:04.083 [I] Progress on: 182it/3.00kit rate:7.1s/it remaining:5:33:03 elapsed:25:46 postfix:- (1980:tqdm_logging.py:145)
11:03:18.289 [I] Progress on: 184it/3.00kit rate:7.1s/it remaining:5:33:10 elapsed:26:00 postfix:- (1980:tqdm_logging.py:145)
11:03:32.453 [I] Progress on: 186it/3.00kit rate:7.1s/it remaining:5:32:20 elapsed:26:14 postfix:- (1980:tqdm_logging.py:145)
11:03:46.630 [I] Progress on: 188it/3.00kit rate:7.1s/it remaining:5:32:09 elapsed:26:28 postfix:- (1980:tqdm_logging.py:145)
11:04:00.820 [I] Progress on: 190it/3.00kit rate:7.1s/it remaining:5:32:09 elapsed:26:43 postfix:- (1980:tqdm_logging.py:145)
11:04:14.987 [I] Progress on: 192it/3.00kit rate:7.1s/it remaining:5:31:44 elapsed:26:57 postfix:- (1980:tqdm_logging.py:145)
11:04:29.171 [I] Progress on: 194it/3.00kit rate:7.1s/it remaining:5:31:36 elapsed:27:11 postfix:- (1980:tqdm_logging.py:145)
11:04:43.312 [I] Progress on: 196it/3.00kit rate:7.1s/it remaining:5:30:55 elapsed:27:25 postfix:- (1980:tqdm_logging.py:145)
11:04:57.496 [I] Progress on: 198it/3.00kit rate:7.1s/it remaining:5:30:57 elapsed:27:39 postfix:- (1980:tqdm_logging.py:145)
11:05:11.690 [I] Progress on: 200it/3.00kit rate:7.1s/it remaining:5:30:59 elapsed:27:53 postfix:- (1980:tqdm_logging.py:145)


Step 200: grad_norm=0.0834, loss=0.0150, param_norm=1803.7769
11:05:25.549 [I] Progress on: 200it/3.00kit rate:7.1s/it remaining:5:30:59 elapsed:28:07 postfix:- (1980:tqdm_logging.py:145)
11:05:40.179 [I] Progress on: 204it/3.00kit rate:6.8s/it remaining:5:17:14 elapsed:28:22 postfix:- (1980:tqdm_logging.py:145)
11:05:54.366 [I] Progress on: 206it/3.00kit rate:7.0s/it remaining:5:23:49 elapsed:28:36 postfix:- (1980:tqdm_logging.py:145)
11:06:08.553 [I] Progress on: 208it/3.00kit rate:7.0s/it remaining:5:26:54 elapsed:28:50 postfix:- (1980:tqdm_logging.py:145)
11:06:22.711 [I] Progress on: 210it/3.00kit rate:7.1s/it remaining:5:27:56 elapsed:29:04 postfix:- (1980:tqdm_logging.py:145)
11:06:36.889 [I] Progress on: 212it/3.00kit rate:7.1s/it remaining:5:28:32 elapsed:29:19 postfix:- (1980:tqdm_logging.py:145)
11:06:51.081 [I] Progress on: 214it/3.00kit rate:7.1s/it remaining:5:28:54 elapsed:29:33 postfix:- (1980:tqdm_logging.py:145)
11:07:05.249 [I] Progress on: 216it/3.00kit rate:7.1s/it remaining:5:28:41 elapsed:29:47 postfix:- (1980:tqdm_logging.py:145)
11:07:19.418 [I] Progress on: 218it/3.00kit rate:7.1s/it remaining:5:28:27 elapsed:30:01 postfix:- (1980:tqdm_logging.py:145)
11:07:33.598 [I] Progress on: 220it/3.00kit rate:7.1s/it remaining:5:28:21 elapsed:30:15 postfix:- (1980:tqdm_logging.py:145)
11:07:47.778 [I] Progress on: 222it/3.00kit rate:7.1s/it remaining:5:28:10 elapsed:30:30 postfix:- (1980:tqdm_logging.py:145)
11:08:01.961 [I] Progress on: 224it/3.00kit rate:7.1s/it remaining:5:27:59 elapsed:30:44 postfix:- (1980:tqdm_logging.py:145)
11:08:16.128 [I] Progress on: 226it/3.00kit rate:7.1s/it remaining:5:27:36 elapsed:30:58 postfix:- (1980:tqdm_logging.py:145)
11:08:30.309 [I] Progress on: 228it/3.00kit rate:7.1s/it remaining:5:27:25 elapsed:31:12 postfix:- (1980:tqdm_logging.py:145)
11:08:44.490 [I] Progress on: 230it/3.00kit rate:7.1s/it remaining:5:27:13 elapsed:31:26 postfix:- (1980:tqdm_logging.py:145)
11:08:58.656 [I] Progress on: 232it/3.00kit rate:7.1s/it remaining:5:26:49 elapsed:31:40 postfix:- (1980:tqdm_logging.py:145)
11:09:12.852 [I] Progress on: 234it/3.00kit rate:7.1s/it remaining:5:26:51 elapsed:31:55 postfix:- (1980:tqdm_logging.py:145)
11:09:27.029 [I] Progress on: 236it/3.00kit rate:7.1s/it remaining:5:26:34 elapsed:32:09 postfix:- (1980:tqdm_logging.py:145)
11:09:41.223 [I] Progress on: 238it/3.00kit rate:7.1s/it remaining:5:26:29 elapsed:32:23 postfix:- (1980:tqdm_logging.py:145)
11:09:55.422 [I] Progress on: 240it/3.00kit rate:7.1s/it remaining:5:26:23 elapsed:32:37 postfix:- (1980:tqdm_logging.py:145)
11:10:09.616 [I] Progress on: 242it/3.00kit rate:7.1s/it remaining:5:26:11 elapsed:32:51 postfix:- (1980:tqdm_logging.py:145)
11:10:23.798 [I] Progress on: 244it/3.00kit rate:7.1s/it remaining:5:25:52 elapsed:33:06 postfix:- (1980:tqdm_logging.py:145)
11:10:37.973 [I] Progress on: 246it/3.00kit rate:7.1s/it remaining:5:25:28 elapsed:33:20 postfix:- (1980:tqdm_logging.py:145)
11:10:52.143 [I] Progress on: 248it/3.00kit rate:7.1s/it remaining:5:25:10 elapsed:33:34 postfix:- (1980:tqdm_logging.py:145)
11:11:06.310 [I] Progress on: 250it/3.00kit rate:7.1s/it remaining:5:24:45 elapsed:33:48 postfix:- (1980:tqdm_logging.py:145)


Step 250: grad_norm=0.0661, loss=0.0137, param_norm=1803.7826
11:11:20.186 [I] Progress on: 250it/3.00kit rate:7.1s/it remaining:5:24:45 elapsed:34:02 postfix:- (1980:tqdm_logging.py:145)
11:11:34.826 [I] Progress on: 254it/3.00kit rate:6.8s/it remaining:5:11:41 elapsed:34:17 postfix:- (1980:tqdm_logging.py:145)
11:11:49.004 [I] Progress on: 256it/3.00kit rate:7.0s/it remaining:5:17:57 elapsed:34:31 postfix:- (1980:tqdm_logging.py:145)
11:12:03.181 [I] Progress on: 258it/3.00kit rate:7.0s/it remaining:5:20:54 elapsed:34:45 postfix:- (1980:tqdm_logging.py:145)
11:12:17.358 [I] Progress on: 260it/3.00kit rate:7.1s/it remaining:5:22:12 elapsed:34:59 postfix:- (1980:tqdm_logging.py:145)
11:12:31.544 [I] Progress on: 262it/3.00kit rate:7.1s/it remaining:5:22:48 elapsed:35:13 postfix:- (1980:tqdm_logging.py:145)
11:12:45.702 [I] Progress on: 264it/3.00kit rate:7.1s/it remaining:5:22:39 elapsed:35:27 postfix:- (1980:tqdm_logging.py:145)
11:12:59.859 [I] Progress on: 266it/3.00kit rate:7.1s/it remaining:5:22:28 elapsed:35:42 postfix:- (1980:tqdm_logging.py:145)
11:13:14.058 [I] Progress on: 268it/3.00kit rate:7.1s/it remaining:5:22:49 elapsed:35:56 postfix:- (1980:tqdm_logging.py:145)
11:13:28.187 [I] Progress on: 270it/3.00kit rate:7.1s/it remaining:5:22:02 elapsed:36:10 postfix:- (1980:tqdm_logging.py:145)
11:13:42.348 [I] Progress on: 272it/3.00kit rate:7.1s/it remaining:5:21:52 elapsed:36:24 postfix:- (1980:tqdm_logging.py:145)
11:13:56.534 [I] Progress on: 274it/3.00kit rate:7.1s/it remaining:5:21:49 elapsed:36:38 postfix:- (1980:tqdm_logging.py:145)
11:14:10.710 [I] Progress on: 276it/3.00kit rate:7.1s/it remaining:5:21:43 elapsed:36:52 postfix:- (1980:tqdm_logging.py:145)
11:14:24.869 [I] Progress on: 278it/3.00kit rate:7.1s/it remaining:5:21:17 elapsed:37:07 postfix:- (1980:tqdm_logging.py:145)
11:14:39.039 [I] Progress on: 280it/3.00kit rate:7.1s/it remaining:5:21:06 elapsed:37:21 postfix:- (1980:tqdm_logging.py:145)
11:14:53.218 [I] Progress on: 282it/3.00kit rate:7.1s/it remaining:5:20:58 elapsed:37:35 postfix:- (1980:tqdm_logging.py:145)
11:15:07.604 [I] Progress on: 284it/3.00kit rate:7.2s/it remaining:5:23:39 elapsed:37:49 postfix:- (1980:tqdm_logging.py:145)
11:15:21.774 [I] Progress on: 286it/3.00kit rate:7.1s/it remaining:5:21:56 elapsed:38:04 postfix:- (1980:tqdm_logging.py:145)
11:15:35.933 [I] Progress on: 288it/3.00kit rate:7.1s/it remaining:5:20:49 elapsed:38:18 postfix:- (1980:tqdm_logging.py:145)
11:15:50.109 [I] Progress on: 290it/3.00kit rate:7.1s/it remaining:5:20:22 elapsed:38:32 postfix:- (1980:tqdm_logging.py:145)
11:16:04.260 [I] Progress on: 292it/3.00kit rate:7.1s/it remaining:5:19:43 elapsed:38:46 postfix:- (1980:tqdm_logging.py:145)
11:16:18.426 [I] Progress on: 294it/3.00kit rate:7.1s/it remaining:5:19:27 elapsed:39:00 postfix:- (1980:tqdm_logging.py:145)
11:16:32.619 [I] Progress on: 296it/3.00kit rate:7.1s/it remaining:5:19:31 elapsed:39:14 postfix:- (1980:tqdm_logging.py:145)
11:16:46.775 [I] Progress on: 298it/3.00kit rate:7.1s/it remaining:5:19:02 elapsed:39:29 postfix:- (1980:tqdm_logging.py:145)
11:17:00.934 [I] Progress on: 300it/3.00kit rate:7.1s/it remaining:5:18:43 elapsed:39:43 postfix:- (1980:tqdm_logging.py:145)


Step 300: grad_norm=0.0593, loss=0.0134, param_norm=1803.7913
11:17:14.754 [I] Progress on: 300it/3.00kit rate:7.1s/it remaining:5:18:43 elapsed:39:56 postfix:- (1980:tqdm_logging.py:145)
11:17:29.348 [I] Progress on: 304it/3.00kit rate:6.8s/it remaining:5:05:16 elapsed:40:11 postfix:- (1980:tqdm_logging.py:145)
11:17:43.529 [I] Progress on: 306it/3.00kit rate:6.9s/it remaining:5:11:53 elapsed:40:25 postfix:- (1980:tqdm_logging.py:145)
11:17:57.705 [I] Progress on: 308it/3.00kit rate:7.0s/it remaining:5:14:53 elapsed:40:39 postfix:- (1980:tqdm_logging.py:145)
11:18:11.886 [I] Progress on: 310it/3.00kit rate:7.1s/it remaining:5:16:19 elapsed:40:54 postfix:- (1980:tqdm_logging.py:145)
11:18:26.065 [I] Progress on: 312it/3.00kit rate:7.1s/it remaining:5:16:51 elapsed:41:08 postfix:- (1980:tqdm_logging.py:145)
11:18:40.237 [I] Progress on: 314it/3.00kit rate:7.1s/it remaining:5:16:55 elapsed:41:22 postfix:- (1980:tqdm_logging.py:145)
11:18:54.411 [I] Progress on: 316it/3.00kit rate:7.1s/it remaining:5:16:46 elapsed:41:36 postfix:- (1980:tqdm_logging.py:145)
11:19:08.584 [I] Progress on: 318it/3.00kit rate:7.1s/it remaining:5:16:36 elapsed:41:50 postfix:- (1980:tqdm_logging.py:145)
11:19:22.852 [I] Progress on: 320it/3.00kit rate:7.1s/it remaining:5:17:42 elapsed:42:05 postfix:- (1980:tqdm_logging.py:145)
11:19:36.966 [I] Progress on: 322it/3.00kit rate:7.1s/it remaining:5:16:13 elapsed:42:19 postfix:- (1980:tqdm_logging.py:145)
11:19:51.143 [I] Progress on: 324it/3.00kit rate:7.1s/it remaining:5:16:09 elapsed:42:33 postfix:- (1980:tqdm_logging.py:145)
11:20:05.310 [I] Progress on: 326it/3.00kit rate:7.1s/it remaining:5:15:51 elapsed:42:47 postfix:- (1980:tqdm_logging.py:145)
11:20:19.502 [I] Progress on: 328it/3.00kit rate:7.1s/it remaining:5:15:51 elapsed:43:01 postfix:- (1980:tqdm_logging.py:145)
11:20:33.666 [I] Progress on: 330it/3.00kit rate:7.1s/it remaining:5:15:26 elapsed:43:15 postfix:- (1980:tqdm_logging.py:145)
11:20:47.822 [I] Progress on: 332it/3.00kit rate:7.1s/it remaining:5:15:00 elapsed:43:30 postfix:- (1980:tqdm_logging.py:145)
11:21:01.981 [I] Progress on: 334it/3.00kit rate:7.1s/it remaining:5:14:40 elapsed:43:44 postfix:- (1980:tqdm_logging.py:145)
11:21:16.153 [I] Progress on: 336it/3.00kit rate:7.1s/it remaining:5:14:31 elapsed:43:58 postfix:- (1980:tqdm_logging.py:145)
11:21:30.324 [I] Progress on: 338it/3.00kit rate:7.1s/it remaining:5:14:19 elapsed:44:12 postfix:- (1980:tqdm_logging.py:145)
11:21:44.484 [I] Progress on: 340it/3.00kit rate:7.1s/it remaining:5:13:58 elapsed:44:26 postfix:- (1980:tqdm_logging.py:145)
11:21:58.653 [I] Progress on: 342it/3.00kit rate:7.1s/it remaining:5:13:45 elapsed:44:40 postfix:- (1980:tqdm_logging.py:145)
11:22:12.806 [I] Progress on: 344it/3.00kit rate:7.1s/it remaining:5:13:21 elapsed:44:55 postfix:- (1980:tqdm_logging.py:145)
11:22:26.993 [I] Progress on: 346it/3.00kit rate:7.1s/it remaining:5:13:24 elapsed:45:09 postfix:- (1980:tqdm_logging.py:145)
11:22:41.166 [I] Progress on: 348it/3.00kit rate:7.1s/it remaining:5:13:09 elapsed:45:23 postfix:- (1980:tqdm_logging.py:145)
11:22:55.331 [I] Progress on: 350it/3.00kit rate:7.1s/it remaining:5:12:52 elapsed:45:37 postfix:- (1980:tqdm_logging.py:145)


Step 350: grad_norm=0.0514, loss=0.0122, param_norm=1803.8026
11:23:09.138 [I] Progress on: 350it/3.00kit rate:7.1s/it remaining:5:12:52 elapsed:45:51 postfix:- (1980:tqdm_logging.py:145)
11:23:23.721 [I] Progress on: 354it/3.00kit rate:6.8s/it remaining:4:59:39 elapsed:46:05 postfix:- (1980:tqdm_logging.py:145)
11:23:37.916 [I] Progress on: 356it/3.00kit rate:6.9s/it remaining:5:06:13 elapsed:46:20 postfix:- (1980:tqdm_logging.py:145)
11:23:52.088 [I] Progress on: 358it/3.00kit rate:7.0s/it remaining:5:09:05 elapsed:46:34 postfix:- (1980:tqdm_logging.py:145)
11:24:06.237 [I] Progress on: 360it/3.00kit rate:7.0s/it remaining:5:10:05 elapsed:46:48 postfix:- (1980:tqdm_logging.py:145)
11:24:20.422 [I] Progress on: 362it/3.00kit rate:7.1s/it remaining:5:10:53 elapsed:47:02 postfix:- (1980:tqdm_logging.py:145)
11:24:34.593 [I] Progress on: 364it/3.00kit rate:7.1s/it remaining:5:10:59 elapsed:47:16 postfix:- (1980:tqdm_logging.py:145)
11:24:48.750 [I] Progress on: 366it/3.00kit rate:7.1s/it remaining:5:10:44 elapsed:47:30 postfix:- (1980:tqdm_logging.py:145)
11:25:02.921 [I] Progress on: 368it/3.00kit rate:7.1s/it remaining:5:10:41 elapsed:47:45 postfix:- (1980:tqdm_logging.py:145)
11:25:17.183 [I] Progress on: 370it/3.00kit rate:7.1s/it remaining:5:11:41 elapsed:47:59 postfix:- (1980:tqdm_logging.py:145)
11:25:31.326 [I] Progress on: 372it/3.00kit rate:7.1s/it remaining:5:10:44 elapsed:48:13 postfix:- (1980:tqdm_logging.py:145)
11:25:45.457 [I] Progress on: 374it/3.00kit rate:7.1s/it remaining:5:09:56 elapsed:48:27 postfix:- (1980:tqdm_logging.py:145)
11:25:59.604 [I] Progress on: 376it/3.00kit rate:7.1s/it remaining:5:09:32 elapsed:48:41 postfix:- (1980:tqdm_logging.py:145)
11:26:13.767 [I] Progress on: 378it/3.00kit rate:7.1s/it remaining:5:09:23 elapsed:48:55 postfix:- (1980:tqdm_logging.py:145)
11:26:27.934 [I] Progress on: 380it/3.00kit rate:7.1s/it remaining:5:09:14 elapsed:49:10 postfix:- (1980:tqdm_logging.py:145)
11:26:42.105 [I] Progress on: 382it/3.00kit rate:7.1s/it remaining:5:09:06 elapsed:49:24 postfix:- (1980:tqdm_logging.py:145)
11:26:56.256 [I] Progress on: 384it/3.00kit rate:7.1s/it remaining:5:08:37 elapsed:49:38 postfix:- (1980:tqdm_logging.py:145)
11:27:10.423 [I] Progress on: 386it/3.00kit rate:7.1s/it remaining:5:08:29 elapsed:49:52 postfix:- (1980:tqdm_logging.py:145)
11:27:24.609 [I] Progress on: 388it/3.00kit rate:7.1s/it remaining:5:08:30 elapsed:50:06 postfix:- (1980:tqdm_logging.py:145)
11:27:38.770 [I] Progress on: 390it/3.00kit rate:7.1s/it remaining:5:08:06 elapsed:50:21 postfix:- (1980:tqdm_logging.py:145)
11:27:52.954 [I] Progress on: 392it/3.00kit rate:7.1s/it remaining:5:08:01 elapsed:50:35 postfix:- (1980:tqdm_logging.py:145)
11:28:07.126 [I] Progress on: 394it/3.00kit rate:7.1s/it remaining:5:07:46 elapsed:50:49 postfix:- (1980:tqdm_logging.py:145)
11:28:21.315 [I] Progress on: 396it/3.00kit rate:7.1s/it remaining:5:07:42 elapsed:51:03 postfix:- (1980:tqdm_logging.py:145)
11:28:35.489 [I] Progress on: 398it/3.00kit rate:7.1s/it remaining:5:07:25 elapsed:51:17 postfix:- (1980:tqdm_logging.py:145)
11:28:49.654 [I] Progress on: 400it/3.00kit rate:7.1s/it remaining:5:07:02 elapsed:51:31 postfix:- (1980:tqdm_logging.py:145)


Step 400: grad_norm=0.0488, loss=0.0110, param_norm=1803.8140
11:29:03.503 [I] Progress on: 400it/3.00kit rate:7.1s/it remaining:5:07:02 elapsed:51:45 postfix:- (1980:tqdm_logging.py:145)
11:29:18.124 [I] Progress on: 404it/3.00kit rate:6.8s/it remaining:4:54:17 elapsed:52:00 postfix:- (1980:tqdm_logging.py:145)
11:29:32.370 [I] Progress on: 406it/3.00kit rate:7.0s/it remaining:5:01:00 elapsed:52:14 postfix:- (1980:tqdm_logging.py:145)
11:29:46.501 [I] Progress on: 408it/3.00kit rate:7.0s/it remaining:5:03:09 elapsed:52:28 postfix:- (1980:tqdm_logging.py:145)
11:30:00.651 [I] Progress on: 410it/3.00kit rate:7.0s/it remaining:5:04:14 elapsed:52:42 postfix:- (1980:tqdm_logging.py:145)
11:30:14.817 [I] Progress on: 412it/3.00kit rate:7.1s/it remaining:5:04:47 elapsed:52:57 postfix:- (1980:tqdm_logging.py:145)
11:30:28.996 [I] Progress on: 414it/3.00kit rate:7.1s/it remaining:5:05:01 elapsed:53:11 postfix:- (1980:tqdm_logging.py:145)
11:30:43.156 [I] Progress on: 416it/3.00kit rate:7.1s/it remaining:5:04:54 elapsed:53:25 postfix:- (1980:tqdm_logging.py:145)
11:30:57.297 [I] Progress on: 418it/3.00kit rate:7.1s/it remaining:5:04:30 elapsed:53:39 postfix:- (1980:tqdm_logging.py:145)
11:31:11.487 [I] Progress on: 420it/3.00kit rate:7.1s/it remaining:5:04:40 elapsed:53:53 postfix:- (1980:tqdm_logging.py:145)
11:31:25.687 [I] Progress on: 422it/3.00kit rate:7.1s/it remaining:5:04:47 elapsed:54:07 postfix:- (1980:tqdm_logging.py:145)
11:31:39.927 [I] Progress on: 424it/3.00kit rate:7.1s/it remaining:5:05:18 elapsed:54:22 postfix:- (1980:tqdm_logging.py:145)
11:31:54.032 [I] Progress on: 426it/3.00kit rate:7.1s/it remaining:5:03:52 elapsed:54:36 postfix:- (1980:tqdm_logging.py:145)
11:32:08.235 [I] Progress on: 428it/3.00kit rate:7.1s/it remaining:5:04:06 elapsed:54:50 postfix:- (1980:tqdm_logging.py:145)
11:32:22.352 [I] Progress on: 430it/3.00kit rate:7.1s/it remaining:5:03:10 elapsed:55:04 postfix:- (1980:tqdm_logging.py:145)
11:32:36.509 [I] Progress on: 432it/3.00kit rate:7.1s/it remaining:5:02:53 elapsed:55:18 postfix:- (1980:tqdm_logging.py:145)
11:32:50.710 [I] Progress on: 434it/3.00kit rate:7.1s/it remaining:5:03:05 elapsed:55:32 postfix:- (1980:tqdm_logging.py:145)
11:33:04.882 [I] Progress on: 436it/3.00kit rate:7.1s/it remaining:5:02:49 elapsed:55:47 postfix:- (1980:tqdm_logging.py:145)
11:33:19.068 [I] Progress on: 438it/3.00kit rate:7.1s/it remaining:5:02:42 elapsed:56:01 postfix:- (1980:tqdm_logging.py:145)
11:33:33.225 [I] Progress on: 440it/3.00kit rate:7.1s/it remaining:5:02:09 elapsed:56:15 postfix:- (1980:tqdm_logging.py:145)
11:33:47.411 [I] Progress on: 442it/3.00kit rate:7.1s/it remaining:5:02:10 elapsed:56:29 postfix:- (1980:tqdm_logging.py:145)
11:34:01.564 [I] Progress on: 444it/3.00kit rate:7.1s/it remaining:5:01:39 elapsed:56:43 postfix:- (1980:tqdm_logging.py:145)
11:34:15.726 [I] Progress on: 446it/3.00kit rate:7.1s/it remaining:5:01:25 elapsed:56:57 postfix:- (1980:tqdm_logging.py:145)
11:34:29.931 [I] Progress on: 448it/3.00kit rate:7.1s/it remaining:5:01:44 elapsed:57:12 postfix:- (1980:tqdm_logging.py:145)
11:34:44.077 [I] Progress on: 450it/3.00kit rate:7.1s/it remaining:5:01:05 elapsed:57:26 postfix:- (1980:tqdm_logging.py:145)


Step 450: grad_norm=0.0457, loss=0.0110, param_norm=1803.8262
11:34:57.947 [I] Progress on: 450it/3.00kit rate:7.1s/it remaining:5:01:05 elapsed:57:40 postfix:- (1980:tqdm_logging.py:145)
11:35:12.549 [I] Progress on: 454it/3.00kit rate:6.8s/it remaining:4:48:27 elapsed:57:54 postfix:- (1980:tqdm_logging.py:145)
11:35:26.743 [I] Progress on: 456it/3.00kit rate:7.0s/it remaining:4:54:44 elapsed:58:08 postfix:- (1980:tqdm_logging.py:145)
11:35:40.890 [I] Progress on: 458it/3.00kit rate:7.0s/it remaining:4:57:08 elapsed:58:23 postfix:- (1980:tqdm_logging.py:145)
11:35:55.068 [I] Progress on: 460it/3.00kit rate:7.1s/it remaining:4:58:31 elapsed:58:37 postfix:- (1980:tqdm_logging.py:145)
11:36:09.247 [I] Progress on: 462it/3.00kit rate:7.1s/it remaining:4:59:07 elapsed:58:51 postfix:- (1980:tqdm_logging.py:145)
11:36:23.388 [I] Progress on: 464it/3.00kit rate:7.1s/it remaining:4:58:49 elapsed:59:05 postfix:- (1980:tqdm_logging.py:145)
11:36:37.558 [I] Progress on: 466it/3.00kit rate:7.1s/it remaining:4:58:52 elapsed:59:19 postfix:- (1980:tqdm_logging.py:145)
11:36:51.729 [I] Progress on: 468it/3.00kit rate:7.1s/it remaining:4:58:48 elapsed:59:33 postfix:- (1980:tqdm_logging.py:145)
11:37:05.893 [I] Progress on: 470it/3.00kit rate:7.1s/it remaining:4:58:35 elapsed:59:48 postfix:- (1980:tqdm_logging.py:145)
11:37:20.050 [I] Progress on: 472it/3.00kit rate:7.1s/it remaining:4:58:21 elapsed:1:00:02 postfix:- (1980:tqdm_logging.py:145)
11:37:34.202 [I] Progress on: 474it/3.00kit rate:7.1s/it remaining:4:58:02 elapsed:1:00:16 postfix:- (1980:tqdm_logging.py:145)
11:37:48.387 [I] Progress on: 476it/3.00kit rate:7.1s/it remaining:4:58:09 elapsed:1:00:30 postfix:- (1980:tqdm_logging.py:145)
11:38:02.553 [I] Progress on: 478it/3.00kit rate:7.1s/it remaining:4:57:56 elapsed:1:00:44 postfix:- (1980:tqdm_logging.py:145)
11:38:16.755 [I] Progress on: 480it/3.00kit rate:7.1s/it remaining:4:57:32 elapsed:1:00:58 postfix:- (1980:tqdm_logging.py:145)
11:38:30.880 [I] Progress on: 482it/3.00kit rate:7.1s/it remaining:4:56:54 elapsed:1:01:13 postfix:- (1980:tqdm_logging.py:145)
11:38:45.104 [I] Progress on: 484it/3.00kit rate:7.1s/it remaining:4:57:25 elapsed:1:01:27 postfix:- (1980:tqdm_logging.py:145)
11:38:59.194 [I] Progress on: 486it/3.00kit rate:7.1s/it remaining:4:56:20 elapsed:1:01:41 postfix:- (1980:tqdm_logging.py:145)
11:39:13.338 [I] Progress on: 488it/3.00kit rate:7.1s/it remaining:4:56:03 elapsed:1:01:55 postfix:- (1980:tqdm_logging.py:145)
11:39:27.502 [I] Progress on: 490it/3.00kit rate:7.1s/it remaining:4:56:00 elapsed:1:02:09 postfix:- (1980:tqdm_logging.py:145)
11:39:41.677 [I] Progress on: 492it/3.00kit rate:7.1s/it remaining:4:55:59 elapsed:1:02:23 postfix:- (1980:tqdm_logging.py:145)
11:39:55.840 [I] Progress on: 494it/3.00kit rate:7.1s/it remaining:4:55:45 elapsed:1:02:38 postfix:- (1980:tqdm_logging.py:145)
11:40:10.011 [I] Progress on: 496it/3.00kit rate:7.1s/it remaining:4:55:35 elapsed:1:02:52 postfix:- (1980:tqdm_logging.py:145)
11:40:24.188 [I] Progress on: 498it/3.00kit rate:7.1s/it remaining:4:55:26 elapsed:1:03:06 postfix:- (1980:tqdm_logging.py:145)
11:40:38.374 [I] Progress on: 500it/3.00kit rate:7.1s/it remaining:4:55:20 elapsed:1:03:20 postfix:- (1980:tqdm_logging.py:145)


Step 500: grad_norm=0.0460, loss=0.0103, param_norm=1803.8376
11:40:52.252 [I] Progress on: 500it/3.00kit rate:7.1s/it remaining:4:55:20 elapsed:1:03:34 postfix:- (1980:tqdm_logging.py:145)
11:41:06.847 [I] Progress on: 504it/3.00kit rate:6.8s/it remaining:4:42:49 elapsed:1:03:49 postfix:- (1980:tqdm_logging.py:145)
11:41:21.154 [I] Progress on: 506it/3.00kit rate:7.0s/it remaining:4:50:23 elapsed:1:04:03 postfix:- (1980:tqdm_logging.py:145)
11:41:35.247 [I] Progress on: 508it/3.00kit rate:7.0s/it remaining:4:51:43 elapsed:1:04:17 postfix:- (1980:tqdm_logging.py:145)
11:41:49.367 [I] Progress on: 510it/3.00kit rate:7.0s/it remaining:4:52:20 elapsed:1:04:31 postfix:- (1980:tqdm_logging.py:145)
11:42:03.511 [I] Progress on: 512it/3.00kit rate:7.1s/it remaining:4:52:40 elapsed:1:04:45 postfix:- (1980:tqdm_logging.py:145)
11:42:17.665 [I] Progress on: 514it/3.00kit rate:7.1s/it remaining:4:52:46 elapsed:1:04:59 postfix:- (1980:tqdm_logging.py:145)
11:42:31.832 [I] Progress on: 516it/3.00kit rate:7.1s/it remaining:4:52:55 elapsed:1:05:14 postfix:- (1980:tqdm_logging.py:145)
11:42:45.976 [I] Progress on: 518it/3.00kit rate:7.1s/it remaining:4:52:38 elapsed:1:05:28 postfix:- (1980:tqdm_logging.py:145)
11:43:00.140 [I] Progress on: 520it/3.00kit rate:7.1s/it remaining:4:52:33 elapsed:1:05:42 postfix:- (1980:tqdm_logging.py:145)
11:43:14.293 [I] Progress on: 522it/3.00kit rate:7.1s/it remaining:4:52:19 elapsed:1:05:56 postfix:- (1980:tqdm_logging.py:145)
11:43:28.450 [I] Progress on: 524it/3.00kit rate:7.1s/it remaining:4:52:07 elapsed:1:06:10 postfix:- (1980:tqdm_logging.py:145)
11:43:42.594 [I] Progress on: 526it/3.00kit rate:7.1s/it remaining:4:51:46 elapsed:1:06:24 postfix:- (1980:tqdm_logging.py:145)
11:43:56.763 [I] Progress on: 528it/3.00kit rate:7.1s/it remaining:4:51:43 elapsed:1:06:38 postfix:- (1980:tqdm_logging.py:145)
11:44:10.936 [I] Progress on: 530it/3.00kit rate:7.1s/it remaining:4:51:38 elapsed:1:06:53 postfix:- (1980:tqdm_logging.py:145)
11:44:25.093 [I] Progress on: 532it/3.00kit rate:7.1s/it remaining:4:51:18 elapsed:1:07:07 postfix:- (1980:tqdm_logging.py:145)
11:44:39.265 [I] Progress on: 534it/3.00kit rate:7.1s/it remaining:4:51:06 elapsed:1:07:21 postfix:- (1980:tqdm_logging.py:145)
11:44:53.430 [I] Progress on: 536it/3.00kit rate:7.1s/it remaining:4:50:53 elapsed:1:07:35 postfix:- (1980:tqdm_logging.py:145)
11:45:07.778 [I] Progress on: 538it/3.00kit rate:7.1s/it remaining:4:52:54 elapsed:1:07:50 postfix:- (1980:tqdm_logging.py:145)
11:45:21.925 [I] Progress on: 540it/3.00kit rate:7.1s/it remaining:4:51:21 elapsed:1:08:04 postfix:- (1980:tqdm_logging.py:145)
11:45:36.076 [I] Progress on: 542it/3.00kit rate:7.1s/it remaining:4:50:28 elapsed:1:08:18 postfix:- (1980:tqdm_logging.py:145)
11:45:50.276 [I] Progress on: 544it/3.00kit rate:7.1s/it remaining:4:50:27 elapsed:1:08:32 postfix:- (1980:tqdm_logging.py:145)
11:46:04.436 [I] Progress on: 546it/3.00kit rate:7.1s/it remaining:4:49:56 elapsed:1:08:46 postfix:- (1980:tqdm_logging.py:145)
11:46:18.601 [I] Progress on: 548it/3.00kit rate:7.1s/it remaining:4:49:34 elapsed:1:09:00 postfix:- (1980:tqdm_logging.py:145)
11:46:32.787 [I] Progress on: 550it/3.00kit rate:7.1s/it remaining:4:49:32 elapsed:1:09:15 postfix:- (1980:tqdm_logging.py:145)


Step 550: grad_norm=0.0436, loss=0.0101, param_norm=1803.8501
11:46:46.655 [I] Progress on: 550it/3.00kit rate:7.1s/it remaining:4:49:32 elapsed:1:09:28 postfix:- (1980:tqdm_logging.py:145)
11:47:01.319 [I] Progress on: 554it/3.00kit rate:6.8s/it remaining:4:37:39 elapsed:1:09:43 postfix:- (1980:tqdm_logging.py:145)
11:47:15.493 [I] Progress on: 556it/3.00kit rate:7.0s/it remaining:4:43:08 elapsed:1:09:57 postfix:- (1980:tqdm_logging.py:145)
11:47:29.672 [I] Progress on: 558it/3.00kit rate:7.0s/it remaining:4:45:47 elapsed:1:10:11 postfix:- (1980:tqdm_logging.py:145)
11:47:43.851 [I] Progress on: 560it/3.00kit rate:7.1s/it remaining:4:46:59 elapsed:1:10:26 postfix:- (1980:tqdm_logging.py:145)
11:47:58.047 [I] Progress on: 562it/3.00kit rate:7.1s/it remaining:4:47:35 elapsed:1:10:40 postfix:- (1980:tqdm_logging.py:145)
11:48:12.229 [I] Progress on: 564it/3.00kit rate:7.1s/it remaining:4:47:39 elapsed:1:10:54 postfix:- (1980:tqdm_logging.py:145)
11:48:26.424 [I] Progress on: 566it/3.00kit rate:7.1s/it remaining:4:47:41 elapsed:1:11:08 postfix:- (1980:tqdm_logging.py:145)
11:48:40.604 [I] Progress on: 568it/3.00kit rate:7.1s/it remaining:4:47:26 elapsed:1:11:22 postfix:- (1980:tqdm_logging.py:145)
11:48:54.824 [I] Progress on: 570it/3.00kit rate:7.1s/it remaining:4:47:32 elapsed:1:11:37 postfix:- (1980:tqdm_logging.py:145)
11:49:09.021 [I] Progress on: 572it/3.00kit rate:7.1s/it remaining:4:47:19 elapsed:1:11:51 postfix:- (1980:tqdm_logging.py:145)
11:49:23.209 [I] Progress on: 574it/3.00kit rate:7.1s/it remaining:4:47:00 elapsed:1:12:05 postfix:- (1980:tqdm_logging.py:145)
11:49:37.398 [I] Progress on: 576it/3.00kit rate:7.1s/it remaining:4:46:37 elapsed:1:12:19 postfix:- (1980:tqdm_logging.py:145)
11:49:51.587 [I] Progress on: 578it/3.00kit rate:7.1s/it remaining:4:46:22 elapsed:1:12:33 postfix:- (1980:tqdm_logging.py:145)
11:50:05.777 [I] Progress on: 580it/3.00kit rate:7.1s/it remaining:4:46:07 elapsed:1:12:48 postfix:- (1980:tqdm_logging.py:145)
11:50:19.992 [I] Progress on: 582it/3.00kit rate:7.1s/it remaining:4:46:07 elapsed:1:13:02 postfix:- (1980:tqdm_logging.py:145)
11:50:34.186 [I] Progress on: 584it/3.00kit rate:7.1s/it remaining:4:45:51 elapsed:1:13:16 postfix:- (1980:tqdm_logging.py:145)
11:50:48.383 [I] Progress on: 586it/3.00kit rate:7.1s/it remaining:4:45:39 elapsed:1:13:30 postfix:- (1980:tqdm_logging.py:145)
11:51:02.580 [I] Progress on: 588it/3.00kit rate:7.1s/it remaining:4:45:24 elapsed:1:13:44 postfix:- (1980:tqdm_logging.py:145)
11:51:16.768 [I] Progress on: 590it/3.00kit rate:7.1s/it remaining:4:45:03 elapsed:1:13:58 postfix:- (1980:tqdm_logging.py:145)
11:51:30.968 [I] Progress on: 592it/3.00kit rate:7.1s/it remaining:4:44:50 elapsed:1:14:13 postfix:- (1980:tqdm_logging.py:145)
11:51:45.161 [I] Progress on: 594it/3.00kit rate:7.1s/it remaining:4:44:36 elapsed:1:14:27 postfix:- (1980:tqdm_logging.py:145)
11:51:59.382 [I] Progress on: 596it/3.00kit rate:7.1s/it remaining:4:44:37 elapsed:1:14:41 postfix:- (1980:tqdm_logging.py:145)
11:52:13.576 [I] Progress on: 598it/3.00kit rate:7.1s/it remaining:4:44:15 elapsed:1:14:55 postfix:- (1980:tqdm_logging.py:145)
11:52:27.758 [I] Progress on: 600it/3.00kit rate:7.1s/it remaining:4:43:51 elapsed:1:15:09 postfix:- (1980:tqdm_logging.py:145)


Step 600: grad_norm=0.0422, loss=0.0094, param_norm=1803.8613
11:52:41.610 [I] Progress on: 600it/3.00kit rate:7.1s/it remaining:4:43:51 elapsed:1:15:23 postfix:- (1980:tqdm_logging.py:145)
11:52:56.225 [I] Progress on: 604it/3.00kit rate:6.8s/it remaining:4:31:57 elapsed:1:15:38 postfix:- (1980:tqdm_logging.py:145)
11:53:10.416 [I] Progress on: 606it/3.00kit rate:7.0s/it remaining:4:37:32 elapsed:1:15:52 postfix:- (1980:tqdm_logging.py:145)
11:53:24.605 [I] Progress on: 608it/3.00kit rate:7.0s/it remaining:4:40:06 elapsed:1:16:06 postfix:- (1980:tqdm_logging.py:145)
11:53:38.796 [I] Progress on: 610it/3.00kit rate:7.1s/it remaining:4:41:16 elapsed:1:16:21 postfix:- (1980:tqdm_logging.py:145)
11:53:53.008 [I] Progress on: 612it/3.00kit rate:7.1s/it remaining:4:41:56 elapsed:1:16:35 postfix:- (1980:tqdm_logging.py:145)
11:54:07.206 [I] Progress on: 614it/3.00kit rate:7.1s/it remaining:4:42:03 elapsed:1:16:49 postfix:- (1980:tqdm_logging.py:145)
11:54:21.382 [I] Progress on: 616it/3.00kit rate:7.1s/it remaining:4:41:45 elapsed:1:17:03 postfix:- (1980:tqdm_logging.py:145)
11:54:35.595 [I] Progress on: 618it/3.00kit rate:7.1s/it remaining:4:41:50 elapsed:1:17:17 postfix:- (1980:tqdm_logging.py:145)
11:54:49.782 [I] Progress on: 620it/3.00kit rate:7.1s/it remaining:4:41:30 elapsed:1:17:32 postfix:- (1980:tqdm_logging.py:145)
11:55:03.963 [I] Progress on: 622it/3.00kit rate:7.1s/it remaining:4:41:09 elapsed:1:17:46 postfix:- (1980:tqdm_logging.py:145)
11:55:18.174 [I] Progress on: 624it/3.00kit rate:7.1s/it remaining:4:41:08 elapsed:1:18:00 postfix:- (1980:tqdm_logging.py:145)
11:55:32.362 [I] Progress on: 626it/3.00kit rate:7.1s/it remaining:4:40:48 elapsed:1:18:14 postfix:- (1980:tqdm_logging.py:145)
11:55:46.531 [I] Progress on: 628it/3.00kit rate:7.1s/it remaining:4:40:19 elapsed:1:18:28 postfix:- (1980:tqdm_logging.py:145)
11:56:00.715 [I] Progress on: 630it/3.00kit rate:7.1s/it remaining:4:40:05 elapsed:1:18:42 postfix:- (1980:tqdm_logging.py:145)
11:56:14.894 [I] Progress on: 632it/3.00kit rate:7.1s/it remaining:4:39:49 elapsed:1:18:57 postfix:- (1980:tqdm_logging.py:145)
11:56:29.057 [I] Progress on: 634it/3.00kit rate:7.1s/it remaining:4:39:25 elapsed:1:19:11 postfix:- (1980:tqdm_logging.py:145)
11:56:43.242 [I] Progress on: 636it/3.00kit rate:7.1s/it remaining:4:39:20 elapsed:1:19:25 postfix:- (1980:tqdm_logging.py:145)
11:56:57.406 [I] Progress on: 638it/3.00kit rate:7.1s/it remaining:4:38:58 elapsed:1:19:39 postfix:- (1980:tqdm_logging.py:145)
11:57:11.591 [I] Progress on: 640it/3.00kit rate:7.1s/it remaining:4:38:53 elapsed:1:19:53 postfix:- (1980:tqdm_logging.py:145)
11:57:25.776 [I] Progress on: 642it/3.00kit rate:7.1s/it remaining:4:38:43 elapsed:1:20:08 postfix:- (1980:tqdm_logging.py:145)
11:57:39.948 [I] Progress on: 644it/3.00kit rate:7.1s/it remaining:4:38:22 elapsed:1:20:22 postfix:- (1980:tqdm_logging.py:145)
11:57:54.121 [I] Progress on: 646it/3.00kit rate:7.1s/it remaining:4:38:04 elapsed:1:20:36 postfix:- (1980:tqdm_logging.py:145)
11:58:08.312 [I] Progress on: 648it/3.00kit rate:7.1s/it remaining:4:37:59 elapsed:1:20:50 postfix:- (1980:tqdm_logging.py:145)
11:58:22.479 [I] Progress on: 650it/3.00kit rate:7.1s/it remaining:4:37:38 elapsed:1:21:04 postfix:- (1980:tqdm_logging.py:145)


Step 650: grad_norm=0.0424, loss=0.0096, param_norm=1803.8723
11:58:36.291 [I] Progress on: 650it/3.00kit rate:7.1s/it remaining:4:37:38 elapsed:1:21:18 postfix:- (1980:tqdm_logging.py:145)
11:58:50.936 [I] Progress on: 654it/3.00kit rate:6.8s/it remaining:4:26:26 elapsed:1:21:33 postfix:- (1980:tqdm_logging.py:145)
11:59:05.065 [I] Progress on: 656it/3.00kit rate:6.9s/it remaining:4:31:13 elapsed:1:21:47 postfix:- (1980:tqdm_logging.py:145)
11:59:19.230 [I] Progress on: 658it/3.00kit rate:7.0s/it remaining:4:33:47 elapsed:1:22:01 postfix:- (1980:tqdm_logging.py:145)
11:59:33.418 [I] Progress on: 660it/3.00kit rate:7.1s/it remaining:4:35:10 elapsed:1:22:15 postfix:- (1980:tqdm_logging.py:145)
11:59:47.586 [I] Progress on: 662it/3.00kit rate:7.1s/it remaining:4:35:30 elapsed:1:22:29 postfix:- (1980:tqdm_logging.py:145)
12:00:01.757 [I] Progress on: 664it/3.00kit rate:7.1s/it remaining:4:35:34 elapsed:1:22:43 postfix:- (1980:tqdm_logging.py:145)
12:00:15.944 [I] Progress on: 666it/3.00kit rate:7.1s/it remaining:4:35:37 elapsed:1:22:58 postfix:- (1980:tqdm_logging.py:145)
12:00:30.113 [I] Progress on: 668it/3.00kit rate:7.1s/it remaining:4:35:22 elapsed:1:23:12 postfix:- (1980:tqdm_logging.py:145)
12:00:44.258 [I] Progress on: 670it/3.00kit rate:7.1s/it remaining:4:34:55 elapsed:1:23:26 postfix:- (1980:tqdm_logging.py:145)
12:00:58.444 [I] Progress on: 672it/3.00kit rate:7.1s/it remaining:4:34:57 elapsed:1:23:40 postfix:- (1980:tqdm_logging.py:145)
12:01:12.604 [I] Progress on: 674it/3.00kit rate:7.1s/it remaining:4:34:37 elapsed:1:23:54 postfix:- (1980:tqdm_logging.py:145)
12:01:26.764 [I] Progress on: 676it/3.00kit rate:7.1s/it remaining:4:34:20 elapsed:1:24:08 postfix:- (1980:tqdm_logging.py:145)
12:01:40.953 [I] Progress on: 678it/3.00kit rate:7.1s/it remaining:4:34:20 elapsed:1:24:23 postfix:- (1980:tqdm_logging.py:145)
12:01:55.112 [I] Progress on: 680it/3.00kit rate:7.1s/it remaining:4:33:57 elapsed:1:24:37 postfix:- (1980:tqdm_logging.py:145)
12:02:09.270 [I] Progress on: 682it/3.00kit rate:7.1s/it remaining:4:33:35 elapsed:1:24:51 postfix:- (1980:tqdm_logging.py:145)
12:02:23.452 [I] Progress on: 684it/3.00kit rate:7.1s/it remaining:4:33:30 elapsed:1:25:05 postfix:- (1980:tqdm_logging.py:145)
12:02:37.630 [I] Progress on: 686it/3.00kit rate:7.1s/it remaining:4:33:20 elapsed:1:25:19 postfix:- (1980:tqdm_logging.py:145)
12:02:51.788 [I] Progress on: 688it/3.00kit rate:7.1s/it remaining:4:32:54 elapsed:1:25:34 postfix:- (1980:tqdm_logging.py:145)
12:03:05.947 [I] Progress on: 690it/3.00kit rate:7.1s/it remaining:4:32:35 elapsed:1:25:48 postfix:- (1980:tqdm_logging.py:145)
12:03:20.144 [I] Progress on: 692it/3.00kit rate:7.1s/it remaining:4:32:41 elapsed:1:26:02 postfix:- (1980:tqdm_logging.py:145)
12:03:34.314 [I] Progress on: 694it/3.00kit rate:7.1s/it remaining:4:32:22 elapsed:1:26:16 postfix:- (1980:tqdm_logging.py:145)
12:03:48.491 [I] Progress on: 696it/3.00kit rate:7.1s/it remaining:4:32:11 elapsed:1:26:30 postfix:- (1980:tqdm_logging.py:145)
12:04:02.643 [I] Progress on: 698it/3.00kit rate:7.1s/it remaining:4:31:41 elapsed:1:26:44 postfix:- (1980:tqdm_logging.py:145)
12:04:16.825 [I] Progress on: 700it/3.00kit rate:7.1s/it remaining:4:31:37 elapsed:1:26:59 postfix:- (1980:tqdm_logging.py:145)


Step 700: grad_norm=0.0397, loss=0.0088, param_norm=1803.8834
12:04:30.672 [I] Progress on: 700it/3.00kit rate:7.1s/it remaining:4:31:37 elapsed:1:27:12 postfix:- (1980:tqdm_logging.py:145)
12:04:45.310 [I] Progress on: 704it/3.00kit rate:6.8s/it remaining:4:20:19 elapsed:1:27:27 postfix:- (1980:tqdm_logging.py:145)
12:04:59.493 [I] Progress on: 706it/3.00kit rate:7.0s/it remaining:4:25:44 elapsed:1:27:41 postfix:- (1980:tqdm_logging.py:145)
12:05:13.643 [I] Progress on: 708it/3.00kit rate:7.0s/it remaining:4:27:58 elapsed:1:27:55 postfix:- (1980:tqdm_logging.py:145)
12:05:27.801 [I] Progress on: 710it/3.00kit rate:7.0s/it remaining:4:28:59 elapsed:1:28:10 postfix:- (1980:tqdm_logging.py:145)
12:05:41.980 [I] Progress on: 712it/3.00kit rate:7.1s/it remaining:4:29:38 elapsed:1:28:24 postfix:- (1980:tqdm_logging.py:145)
12:05:56.148 [I] Progress on: 714it/3.00kit rate:7.1s/it remaining:4:29:40 elapsed:1:28:38 postfix:- (1980:tqdm_logging.py:145)
12:06:10.314 [I] Progress on: 716it/3.00kit rate:7.1s/it remaining:4:29:32 elapsed:1:28:52 postfix:- (1980:tqdm_logging.py:145)
12:06:24.478 [I] Progress on: 718it/3.00kit rate:7.1s/it remaining:4:29:17 elapsed:1:29:06 postfix:- (1980:tqdm_logging.py:145)
12:06:38.632 [I] Progress on: 720it/3.00kit rate:7.1s/it remaining:4:28:58 elapsed:1:29:20 postfix:- (1980:tqdm_logging.py:145)
12:06:52.809 [I] Progress on: 722it/3.00kit rate:7.1s/it remaining:4:28:52 elapsed:1:29:35 postfix:- (1980:tqdm_logging.py:145)
12:07:06.971 [I] Progress on: 724it/3.00kit rate:7.1s/it remaining:4:28:36 elapsed:1:29:49 postfix:- (1980:tqdm_logging.py:145)
12:07:21.160 [I] Progress on: 726it/3.00kit rate:7.1s/it remaining:4:28:37 elapsed:1:30:03 postfix:- (1980:tqdm_logging.py:145)
12:07:35.346 [I] Progress on: 728it/3.00kit rate:7.1s/it remaining:4:28:29 elapsed:1:30:17 postfix:- (1980:tqdm_logging.py:145)
12:07:49.507 [I] Progress on: 730it/3.00kit rate:7.1s/it remaining:4:28:06 elapsed:1:30:31 postfix:- (1980:tqdm_logging.py:145)
12:08:03.681 [I] Progress on: 732it/3.00kit rate:7.1s/it remaining:4:27:55 elapsed:1:30:45 postfix:- (1980:tqdm_logging.py:145)
12:08:17.842 [I] Progress on: 734it/3.00kit rate:7.1s/it remaining:4:27:31 elapsed:1:31:00 postfix:- (1980:tqdm_logging.py:145)
12:08:31.998 [I] Progress on: 736it/3.00kit rate:7.1s/it remaining:4:27:09 elapsed:1:31:14 postfix:- (1980:tqdm_logging.py:145)
12:08:46.194 [I] Progress on: 738it/3.00kit rate:7.1s/it remaining:4:27:16 elapsed:1:31:28 postfix:- (1980:tqdm_logging.py:145)
12:09:00.334 [I] Progress on: 740it/3.00kit rate:7.1s/it remaining:4:26:41 elapsed:1:31:42 postfix:- (1980:tqdm_logging.py:145)
12:09:14.525 [I] Progress on: 742it/3.00kit rate:7.1s/it remaining:4:26:44 elapsed:1:31:56 postfix:- (1980:tqdm_logging.py:145)
12:09:28.690 [I] Progress on: 744it/3.00kit rate:7.1s/it remaining:4:26:23 elapsed:1:32:10 postfix:- (1980:tqdm_logging.py:145)
12:09:42.848 [I] Progress on: 746it/3.00kit rate:7.1s/it remaining:4:25:58 elapsed:1:32:25 postfix:- (1980:tqdm_logging.py:145)
12:09:57.006 [I] Progress on: 748it/3.00kit rate:7.1s/it remaining:4:25:41 elapsed:1:32:39 postfix:- (1980:tqdm_logging.py:145)
12:10:11.184 [I] Progress on: 750it/3.00kit rate:7.1s/it remaining:4:25:37 elapsed:1:32:53 postfix:- (1980:tqdm_logging.py:145)


Step 750: grad_norm=0.0396, loss=0.0091, param_norm=1803.8947
12:10:25.014 [I] Progress on: 750it/3.00kit rate:7.1s/it remaining:4:25:37 elapsed:1:33:07 postfix:- (1980:tqdm_logging.py:145)
12:10:39.604 [I] Progress on: 754it/3.00kit rate:6.8s/it remaining:4:14:28 elapsed:1:33:21 postfix:- (1980:tqdm_logging.py:145)
12:10:53.776 [I] Progress on: 756it/3.00kit rate:6.9s/it remaining:4:19:42 elapsed:1:33:36 postfix:- (1980:tqdm_logging.py:145)
12:11:07.947 [I] Progress on: 758it/3.00kit rate:7.0s/it remaining:4:22:16 elapsed:1:33:50 postfix:- (1980:tqdm_logging.py:145)
12:11:22.081 [I] Progress on: 760it/3.00kit rate:7.0s/it remaining:4:23:00 elapsed:1:34:04 postfix:- (1980:tqdm_logging.py:145)
12:11:36.227 [I] Progress on: 762it/3.00kit rate:7.1s/it remaining:4:23:18 elapsed:1:34:18 postfix:- (1980:tqdm_logging.py:145)
12:11:50.386 [I] Progress on: 764it/3.00kit rate:7.1s/it remaining:4:23:26 elapsed:1:34:32 postfix:- (1980:tqdm_logging.py:145)
12:12:04.553 [I] Progress on: 766it/3.00kit rate:7.1s/it remaining:4:23:28 elapsed:1:34:46 postfix:- (1980:tqdm_logging.py:145)
12:12:18.712 [I] Progress on: 768it/3.00kit rate:7.1s/it remaining:4:23:19 elapsed:1:35:00 postfix:- (1980:tqdm_logging.py:145)
12:12:32.880 [I] Progress on: 770it/3.00kit rate:7.1s/it remaining:4:23:10 elapsed:1:35:15 postfix:- (1980:tqdm_logging.py:145)
12:12:47.038 [I] Progress on: 772it/3.00kit rate:7.1s/it remaining:4:22:54 elapsed:1:35:29 postfix:- (1980:tqdm_logging.py:145)
12:13:01.200 [I] Progress on: 774it/3.00kit rate:7.1s/it remaining:4:22:41 elapsed:1:35:43 postfix:- (1980:tqdm_logging.py:145)
12:13:15.380 [I] Progress on: 776it/3.00kit rate:7.1s/it remaining:4:22:35 elapsed:1:35:57 postfix:- (1980:tqdm_logging.py:145)
12:13:29.549 [I] Progress on: 778it/3.00kit rate:7.1s/it remaining:4:22:22 elapsed:1:36:11 postfix:- (1980:tqdm_logging.py:145)
12:13:43.711 [I] Progress on: 780it/3.00kit rate:7.1s/it remaining:4:22:05 elapsed:1:36:25 postfix:- (1980:tqdm_logging.py:145)
12:13:57.891 [I] Progress on: 782it/3.00kit rate:7.1s/it remaining:4:21:56 elapsed:1:36:40 postfix:- (1980:tqdm_logging.py:145)
12:14:12.072 [I] Progress on: 784it/3.00kit rate:7.1s/it remaining:4:21:46 elapsed:1:36:54 postfix:- (1980:tqdm_logging.py:145)
12:14:26.223 [I] Progress on: 786it/3.00kit rate:7.1s/it remaining:4:21:18 elapsed:1:37:08 postfix:- (1980:tqdm_logging.py:145)
12:14:40.378 [I] Progress on: 788it/3.00kit rate:7.1s/it remaining:4:20:57 elapsed:1:37:22 postfix:- (1980:tqdm_logging.py:145)
12:14:54.539 [I] Progress on: 790it/3.00kit rate:7.1s/it remaining:4:20:43 elapsed:1:37:36 postfix:- (1980:tqdm_logging.py:145)
12:15:08.706 [I] Progress on: 792it/3.00kit rate:7.0s/it remaining:4:18:23 elapsed:1:37:50 postfix:- (1980:tqdm_logging.py:145)
12:15:22.883 [I] Progress on: 794it/3.00kit rate:7.1s/it remaining:4:19:21 elapsed:1:38:05 postfix:- (1980:tqdm_logging.py:145)
12:15:37.048 [I] Progress on: 796it/3.00kit rate:7.1s/it remaining:4:19:38 elapsed:1:38:19 postfix:- (1980:tqdm_logging.py:145)
12:15:51.220 [I] Progress on: 798it/3.00kit rate:7.1s/it remaining:4:19:41 elapsed:1:38:33 postfix:- (1980:tqdm_logging.py:145)
12:16:05.368 [I] Progress on: 800it/3.00kit rate:7.1s/it remaining:4:19:21 elapsed:1:38:47 postfix:- (1980:tqdm_logging.py:145)


Step 800: grad_norm=0.0384, loss=0.0086, param_norm=1803.9054
12:16:19.230 [I] Progress on: 800it/3.00kit rate:7.1s/it remaining:4:19:21 elapsed:1:39:01 postfix:- (1980:tqdm_logging.py:145)
12:16:33.887 [I] Progress on: 804it/3.00kit rate:6.8s/it remaining:4:09:07 elapsed:1:39:16 postfix:- (1980:tqdm_logging.py:145)
12:16:48.063 [I] Progress on: 806it/3.00kit rate:7.0s/it remaining:4:14:10 elapsed:1:39:30 postfix:- (1980:tqdm_logging.py:145)
12:17:02.240 [I] Progress on: 808it/3.00kit rate:7.0s/it remaining:4:16:33 elapsed:1:39:44 postfix:- (1980:tqdm_logging.py:145)
12:17:16.410 [I] Progress on: 810it/3.00kit rate:7.1s/it remaining:4:17:30 elapsed:1:39:58 postfix:- (1980:tqdm_logging.py:145)
12:17:30.584 [I] Progress on: 812it/3.00kit rate:7.1s/it remaining:4:17:50 elapsed:1:40:12 postfix:- (1980:tqdm_logging.py:145)
12:17:44.761 [I] Progress on: 814it/3.00kit rate:7.1s/it remaining:4:17:55 elapsed:1:40:26 postfix:- (1980:tqdm_logging.py:145)
12:17:58.940 [I] Progress on: 816it/3.00kit rate:7.1s/it remaining:4:17:52 elapsed:1:40:41 postfix:- (1980:tqdm_logging.py:145)
12:18:13.103 [I] Progress on: 818it/3.00kit rate:7.1s/it remaining:4:17:28 elapsed:1:40:55 postfix:- (1980:tqdm_logging.py:145)
12:18:27.273 [I] Progress on: 820it/3.00kit rate:7.1s/it remaining:4:17:22 elapsed:1:41:09 postfix:- (1980:tqdm_logging.py:145)
12:18:41.462 [I] Progress on: 822it/3.00kit rate:7.1s/it remaining:4:17:24 elapsed:1:41:23 postfix:- (1980:tqdm_logging.py:145)
12:18:55.609 [I] Progress on: 824it/3.00kit rate:7.1s/it remaining:4:16:53 elapsed:1:41:37 postfix:- (1980:tqdm_logging.py:145)
12:19:09.753 [I] Progress on: 826it/3.00kit rate:7.1s/it remaining:4:16:27 elapsed:1:41:51 postfix:- (1980:tqdm_logging.py:145)
12:19:23.904 [I] Progress on: 828it/3.00kit rate:7.1s/it remaining:4:16:08 elapsed:1:42:06 postfix:- (1980:tqdm_logging.py:145)
12:19:38.066 [I] Progress on: 830it/3.00kit rate:7.1s/it remaining:4:15:59 elapsed:1:42:20 postfix:- (1980:tqdm_logging.py:145)
12:19:52.247 [I] Progress on: 832it/3.00kit rate:7.1s/it remaining:4:15:58 elapsed:1:42:34 postfix:- (1980:tqdm_logging.py:145)
12:20:06.410 [I] Progress on: 834it/3.00kit rate:7.1s/it remaining:4:15:42 elapsed:1:42:48 postfix:- (1980:tqdm_logging.py:145)
12:20:20.571 [I] Progress on: 836it/3.00kit rate:7.1s/it remaining:4:15:24 elapsed:1:43:02 postfix:- (1980:tqdm_logging.py:145)
12:20:34.746 [I] Progress on: 838it/3.00kit rate:7.1s/it remaining:4:15:17 elapsed:1:43:16 postfix:- (1980:tqdm_logging.py:145)
12:20:48.920 [I] Progress on: 840it/3.00kit rate:7.1s/it remaining:4:15:06 elapsed:1:43:31 postfix:- (1980:tqdm_logging.py:145)
12:21:03.088 [I] Progress on: 842it/3.00kit rate:7.1s/it remaining:4:14:48 elapsed:1:43:45 postfix:- (1980:tqdm_logging.py:145)
12:21:17.285 [I] Progress on: 844it/3.00kit rate:7.1s/it remaining:4:14:48 elapsed:1:43:59 postfix:- (1980:tqdm_logging.py:145)
12:21:31.436 [I] Progress on: 846it/3.00kit rate:7.1s/it remaining:4:14:18 elapsed:1:44:13 postfix:- (1980:tqdm_logging.py:145)
12:21:45.619 [I] Progress on: 848it/3.00kit rate:7.1s/it remaining:4:14:11 elapsed:1:44:27 postfix:- (1980:tqdm_logging.py:145)
12:21:59.782 [I] Progress on: 850it/3.00kit rate:7.1s/it remaining:4:13:54 elapsed:1:44:42 postfix:- (1980:tqdm_logging.py:145)


Step 850: grad_norm=0.0381, loss=0.0079, param_norm=1803.9164
12:22:13.631 [I] Progress on: 850it/3.00kit rate:7.1s/it remaining:4:13:54 elapsed:1:44:55 postfix:- (1980:tqdm_logging.py:145)
12:22:28.206 [I] Progress on: 854it/3.00kit rate:6.8s/it remaining:4:03:04 elapsed:1:45:10 postfix:- (1980:tqdm_logging.py:145)
12:22:42.363 [I] Progress on: 856it/3.00kit rate:6.9s/it remaining:4:07:56 elapsed:1:45:24 postfix:- (1980:tqdm_logging.py:145)
12:22:56.518 [I] Progress on: 858it/3.00kit rate:7.0s/it remaining:4:10:15 elapsed:1:45:38 postfix:- (1980:tqdm_logging.py:145)
12:23:10.688 [I] Progress on: 860it/3.00kit rate:7.0s/it remaining:4:11:23 elapsed:1:45:52 postfix:- (1980:tqdm_logging.py:145)
12:23:24.853 [I] Progress on: 862it/3.00kit rate:7.1s/it remaining:4:11:47 elapsed:1:46:07 postfix:- (1980:tqdm_logging.py:145)
12:23:39.041 [I] Progress on: 864it/3.00kit rate:7.1s/it remaining:4:12:06 elapsed:1:46:21 postfix:- (1980:tqdm_logging.py:145)
12:23:53.192 [I] Progress on: 866it/3.00kit rate:7.1s/it remaining:4:11:46 elapsed:1:46:35 postfix:- (1980:tqdm_logging.py:145)
12:24:07.368 [I] Progress on: 868it/3.00kit rate:7.1s/it remaining:4:11:39 elapsed:1:46:49 postfix:- (1980:tqdm_logging.py:145)
12:24:21.543 [I] Progress on: 870it/3.00kit rate:7.1s/it remaining:4:11:29 elapsed:1:47:03 postfix:- (1980:tqdm_logging.py:145)
12:24:35.724 [I] Progress on: 872it/3.00kit rate:7.1s/it remaining:4:11:21 elapsed:1:47:17 postfix:- (1980:tqdm_logging.py:145)
12:24:49.878 [I] Progress on: 874it/3.00kit rate:7.1s/it remaining:4:10:57 elapsed:1:47:32 postfix:- (1980:tqdm_logging.py:145)
12:25:04.030 [I] Progress on: 876it/3.00kit rate:7.1s/it remaining:4:10:37 elapsed:1:47:46 postfix:- (1980:tqdm_logging.py:145)
12:25:18.206 [I] Progress on: 878it/3.00kit rate:7.1s/it remaining:4:10:33 elapsed:1:48:00 postfix:- (1980:tqdm_logging.py:145)
12:25:32.358 [I] Progress on: 880it/3.00kit rate:7.1s/it remaining:4:10:10 elapsed:1:48:14 postfix:- (1980:tqdm_logging.py:145)
12:25:46.520 [I] Progress on: 882it/3.00kit rate:7.1s/it remaining:4:09:56 elapsed:1:48:28 postfix:- (1980:tqdm_logging.py:145)
12:26:00.676 [I] Progress on: 884it/3.00kit rate:7.1s/it remaining:4:09:43 elapsed:1:48:42 postfix:- (1980:tqdm_logging.py:145)
12:26:14.829 [I] Progress on: 886it/3.00kit rate:7.1s/it remaining:4:09:26 elapsed:1:48:57 postfix:- (1980:tqdm_logging.py:145)
12:26:28.979 [I] Progress on: 888it/3.00kit rate:7.1s/it remaining:4:09:08 elapsed:1:49:11 postfix:- (1980:tqdm_logging.py:145)
12:26:43.142 [I] Progress on: 890it/3.00kit rate:7.1s/it remaining:4:08:59 elapsed:1:49:25 postfix:- (1980:tqdm_logging.py:145)
12:26:57.304 [I] Progress on: 892it/3.00kit rate:7.1s/it remaining:4:08:46 elapsed:1:49:39 postfix:- (1980:tqdm_logging.py:145)
12:27:11.489 [I] Progress on: 894it/3.00kit rate:7.1s/it remaining:4:08:44 elapsed:1:49:53 postfix:- (1980:tqdm_logging.py:145)
12:27:25.663 [I] Progress on: 896it/3.00kit rate:7.1s/it remaining:4:08:26 elapsed:1:50:07 postfix:- (1980:tqdm_logging.py:145)
12:27:39.820 [I] Progress on: 898it/3.00kit rate:7.1s/it remaining:4:08:05 elapsed:1:50:22 postfix:- (1980:tqdm_logging.py:145)
12:27:53.994 [I] Progress on: 900it/3.00kit rate:7.1s/it remaining:4:07:55 elapsed:1:50:36 postfix:- (1980:tqdm_logging.py:145)


Step 900: grad_norm=0.0365, loss=0.0077, param_norm=1803.9271
12:28:07.822 [I] Progress on: 900it/3.00kit rate:7.1s/it remaining:4:07:55 elapsed:1:50:50 postfix:- (1980:tqdm_logging.py:145)
12:28:22.431 [I] Progress on: 904it/3.00kit rate:6.8s/it remaining:3:57:27 elapsed:1:51:04 postfix:- (1980:tqdm_logging.py:145)
12:28:36.597 [I] Progress on: 906it/3.00kit rate:6.9s/it remaining:4:02:20 elapsed:1:51:18 postfix:- (1980:tqdm_logging.py:145)
12:28:50.773 [I] Progress on: 908it/3.00kit rate:7.0s/it remaining:4:04:41 elapsed:1:51:33 postfix:- (1980:tqdm_logging.py:145)
12:29:04.935 [I] Progress on: 910it/3.00kit rate:7.0s/it remaining:4:05:32 elapsed:1:51:47 postfix:- (1980:tqdm_logging.py:145)
12:29:19.084 [I] Progress on: 912it/3.00kit rate:7.1s/it remaining:4:05:43 elapsed:1:52:01 postfix:- (1980:tqdm_logging.py:145)
12:29:33.263 [I] Progress on: 914it/3.00kit rate:7.1s/it remaining:4:05:59 elapsed:1:52:15 postfix:- (1980:tqdm_logging.py:145)
12:29:47.447 [I] Progress on: 916it/3.00kit rate:7.1s/it remaining:4:06:02 elapsed:1:52:29 postfix:- (1980:tqdm_logging.py:145)
12:30:01.611 [I] Progress on: 918it/3.00kit rate:7.1s/it remaining:4:05:47 elapsed:1:52:43 postfix:- (1980:tqdm_logging.py:145)
12:30:15.792 [I] Progress on: 920it/3.00kit rate:7.1s/it remaining:4:05:39 elapsed:1:52:58 postfix:- (1980:tqdm_logging.py:145)
12:30:29.973 [I] Progress on: 922it/3.00kit rate:7.1s/it remaining:4:05:29 elapsed:1:53:12 postfix:- (1980:tqdm_logging.py:145)
12:30:44.137 [I] Progress on: 924it/3.00kit rate:7.1s/it remaining:4:05:12 elapsed:1:53:26 postfix:- (1980:tqdm_logging.py:145)
12:30:58.285 [I] Progress on: 926it/3.00kit rate:7.1s/it remaining:4:04:47 elapsed:1:53:40 postfix:- (1980:tqdm_logging.py:145)
12:31:12.457 [I] Progress on: 928it/3.00kit rate:7.1s/it remaining:4:04:41 elapsed:1:53:54 postfix:- (1980:tqdm_logging.py:145)
12:31:26.619 [I] Progress on: 930it/3.00kit rate:7.1s/it remaining:4:04:24 elapsed:1:54:08 postfix:- (1980:tqdm_logging.py:145)
12:31:40.795 [I] Progress on: 932it/3.00kit rate:7.1s/it remaining:4:04:14 elapsed:1:54:23 postfix:- (1980:tqdm_logging.py:145)
12:31:54.966 [I] Progress on: 934it/3.00kit rate:7.1s/it remaining:4:04:00 elapsed:1:54:37 postfix:- (1980:tqdm_logging.py:145)
12:32:09.117 [I] Progress on: 936it/3.00kit rate:7.1s/it remaining:4:03:36 elapsed:1:54:51 postfix:- (1980:tqdm_logging.py:145)
12:32:23.269 [I] Progress on: 938it/3.00kit rate:7.1s/it remaining:4:03:17 elapsed:1:55:05 postfix:- (1980:tqdm_logging.py:145)
12:32:37.446 [I] Progress on: 940it/3.00kit rate:7.1s/it remaining:4:03:13 elapsed:1:55:19 postfix:- (1980:tqdm_logging.py:145)
12:32:51.616 [I] Progress on: 942it/3.00kit rate:7.1s/it remaining:4:02:58 elapsed:1:55:33 postfix:- (1980:tqdm_logging.py:145)
12:33:05.801 [I] Progress on: 944it/3.00kit rate:7.1s/it remaining:4:02:54 elapsed:1:55:48 postfix:- (1980:tqdm_logging.py:145)
12:33:19.958 [I] Progress on: 946it/3.00kit rate:7.1s/it remaining:4:02:28 elapsed:1:56:02 postfix:- (1980:tqdm_logging.py:145)
12:33:34.119 [I] Progress on: 948it/3.00kit rate:7.1s/it remaining:4:02:12 elapsed:1:56:16 postfix:- (1980:tqdm_logging.py:145)
12:33:48.281 [I] Progress on: 950it/3.00kit rate:7.1s/it remaining:4:01:57 elapsed:1:56:30 postfix:- (1980:tqdm_logging.py:145)


Step 950: grad_norm=0.0350, loss=0.0074, param_norm=1803.9369
12:34:02.088 [I] Progress on: 950it/3.00kit rate:7.1s/it remaining:4:01:57 elapsed:1:56:44 postfix:- (1980:tqdm_logging.py:145)
12:34:16.695 [I] Progress on: 954it/3.00kit rate:6.8s/it remaining:3:51:42 elapsed:1:56:58 postfix:- (1980:tqdm_logging.py:145)
12:34:30.865 [I] Progress on: 956it/3.00kit rate:6.9s/it remaining:3:56:33 elapsed:1:57:13 postfix:- (1980:tqdm_logging.py:145)
12:34:45.013 [I] Progress on: 958it/3.00kit rate:7.0s/it remaining:3:58:34 elapsed:1:57:27 postfix:- (1980:tqdm_logging.py:145)
12:34:59.200 [I] Progress on: 960it/3.00kit rate:7.1s/it remaining:3:59:47 elapsed:1:57:41 postfix:- (1980:tqdm_logging.py:145)
12:35:13.355 [I] Progress on: 962it/3.00kit rate:7.1s/it remaining:4:00:00 elapsed:1:57:55 postfix:- (1980:tqdm_logging.py:145)
12:35:27.534 [I] Progress on: 964it/3.00kit rate:7.1s/it remaining:4:00:08 elapsed:1:58:09 postfix:- (1980:tqdm_logging.py:145)
12:35:41.697 [I] Progress on: 966it/3.00kit rate:7.1s/it remaining:3:59:52 elapsed:1:58:23 postfix:- (1980:tqdm_logging.py:145)
12:35:55.845 [I] Progress on: 968it/3.00kit rate:7.1s/it remaining:3:59:34 elapsed:1:58:38 postfix:- (1980:tqdm_logging.py:145)
12:36:10.123 [I] Progress on: 970it/3.00kit rate:7.1s/it remaining:4:00:32 elapsed:1:58:52 postfix:- (1980:tqdm_logging.py:145)
12:36:24.169 [I] Progress on: 972it/3.00kit rate:7.1s/it remaining:3:58:52 elapsed:1:59:06 postfix:- (1980:tqdm_logging.py:145)
12:36:38.348 [I] Progress on: 974it/3.00kit rate:7.1s/it remaining:3:58:57 elapsed:1:59:20 postfix:- (1980:tqdm_logging.py:145)
12:36:52.509 [I] Progress on: 976it/3.00kit rate:7.1s/it remaining:3:58:48 elapsed:1:59:34 postfix:- (1980:tqdm_logging.py:145)
12:37:06.677 [I] Progress on: 978it/3.00kit rate:7.1s/it remaining:3:58:41 elapsed:1:59:48 postfix:- (1980:tqdm_logging.py:145)
12:37:20.824 [I] Progress on: 980it/3.00kit rate:7.1s/it remaining:3:58:15 elapsed:2:00:03 postfix:- (1980:tqdm_logging.py:145)
12:37:34.991 [I] Progress on: 982it/3.00kit rate:7.1s/it remaining:3:58:07 elapsed:2:00:17 postfix:- (1980:tqdm_logging.py:145)
12:37:49.169 [I] Progress on: 984it/3.00kit rate:7.1s/it remaining:3:58:03 elapsed:2:00:31 postfix:- (1980:tqdm_logging.py:145)
12:38:03.312 [I] Progress on: 986it/3.00kit rate:7.1s/it remaining:3:57:36 elapsed:2:00:45 postfix:- (1980:tqdm_logging.py:145)
12:38:17.479 [I] Progress on: 988it/3.00kit rate:7.1s/it remaining:3:57:28 elapsed:2:00:59 postfix:- (1980:tqdm_logging.py:145)
12:38:31.627 [I] Progress on: 990it/3.00kit rate:7.1s/it remaining:3:57:05 elapsed:2:01:13 postfix:- (1980:tqdm_logging.py:145)
12:38:45.808 [I] Progress on: 992it/3.00kit rate:7.1s/it remaining:3:57:03 elapsed:2:01:28 postfix:- (1980:tqdm_logging.py:145)
12:38:59.961 [I] Progress on: 994it/3.00kit rate:7.1s/it remaining:3:56:43 elapsed:2:01:42 postfix:- (1980:tqdm_logging.py:145)
12:39:14.134 [I] Progress on: 996it/3.00kit rate:7.1s/it remaining:3:56:34 elapsed:2:01:56 postfix:- (1980:tqdm_logging.py:145)
12:39:28.307 [I] Progress on: 998it/3.00kit rate:7.1s/it remaining:3:56:23 elapsed:2:02:10 postfix:- (1980:tqdm_logging.py:145)
12:39:42.463 [I] Progress on: 1.00kit/3.00kit rate:7.1s/it remaining:3:56:03 elapsed:2:02:24 postfix:- (1980:tqdm_logging.py:145)


Step 1000: grad_norm=0.0359, loss=0.0076, param_norm=1803.9464
12:39:56.334 [I] Progress on: 1.00kit/3.00kit rate:7.1s/it remaining:3:56:03 elapsed:2:02:38 postfix:- (1980:tqdm_logging.py:145)
12:39:56.410 [I] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. (1980:checkpoint_manager.py:1987)
12:39:56.412 [I] [process=0] Saving checkpoint at step 1000                                       (1980:checkpoint_manager.py:1408)
12:39:56.413 [I] [process=0] Started async saving checkpoint to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000. (1980:async_checkpointer.py:439)
12:39:56.415 [I] Using ThreadSafeKeyValueSignalingClient                                          (1980:signaling_client.py:332)
12:39:56.419 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0 (1980:atomicity.py:144)
12:39:56.453 [I] Wrote Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1795523996441456395, 'commit_timestamp_nsecs': None, 'custom_metadata': {}}, json={"item_handlers": null, "metrics": {}, "performance_metrics": {}, "init_timestamp_nsecs": 1795523996441456395, "commit_timestamp_nsecs": null, "custom_metadata": {}} to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/_CHECKPOINT_METADATA (1980:checkpoint.py:186)
12:39:56.457 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/assets.orbax-checkpoint-tmp-1 (1980:atomicity.py:144)
12:39:56.457 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/params.orbax-checkpoint-tmp-2 (1980:atomicity.py:144)
12:39:56.458 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/train_state.orbax-checkpoint-tmp-3 (1980:atomicity.py:144)
12:39:56.498 [I] Transferring arrays to host memory with options: use_replica_parallel=True, enable_pinned_host_transfer=False (1980:replica_slices.py:341)
12:39:59.273 [I] Array name: 'params.PaliGemma.llm.layers.mlp.gating_einsum.value', global shape: (18, 2, 2048, 16384), write shape: (18, 2, 2048, 16384), chosen chunk shape: (18, 2, 2048, 8192) (1980:tensorstore_utils.py:408)
12:39:59.281 [I] Transferring arrays to host memory with options: use_replica_parallel=True, enable_pinned_host_transfer=False (1980:replica_slices.py:341)
12:39:59.362 [I] [process=0][thread=array_type_handler] Wrote 71 array_metadata.ArrayMetadata to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/params.orbax-checkpoint-tmp-2/array_metadatas/process_0 (1980:array_metadata_store.py:198)
12:40:01.458 [I] [process=0] /jax/checkpoint/write/blocking_bytes_per_sec: 1.4 GiB/s (total bytes: 7.2 GiB) (time elapsed: 5 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
12:40:01.463 [I] [process=0] /jax/checkpoint/write/blocking_bytes_per_sec: 710.4 MiB/s (total bytes: 3.5 GiB) (time elapsed: 5 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
12:40:01.472 [I] [process=0][thread=async_save] Background save thread started.                   (1980:async_checkpointer.py:77)
12:40:01.473 [I] Finished blocking save in 5.06 seconds. Continuing to save asynchronously to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000. (1980:async_checkpointer.py:548)
12:40:01.478 [I] [process=0][thread=MainThread][step=1000] Starting CheckpointManager Save Finalize thread=save_finalize (1980:checkpoint_manager.py:1453)
12:40:01.481 [I] [process=0][thread=save_finalize] Waiting for background save thread=async_save. (1980:async_checkpointer.py:258)
12:40:01.482 [I] {'step': 1000, 'event_type': 'save', 'directory': '/workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1795523996.410653, 'wait_for_prev_duration_secs': 0.00026702880859375, 'checkpointer_blocking_start_time': 1795523996.4122314, 'checkpointer_blocking_duration_secs': 5.065655469894409, 'get_old_steps_start_time': 1795524001.4779267, 'get_old_steps_duration_secs': 1.5020370483398438e-05, 'checkpoint_manager_blocking_start_time': 1795523996.4099503, 'checkpoint_manager_blocking_duration_secs': 5.072146654129028} (1980:standard_logger.py:34)
12:40:01.574 [I] [process=0][thread=array_type_handler] Wrote 105 array_metadata.ArrayMetadata to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/train_state.orbax-checkpoint-tmp-3/array_metadatas/process_0 (1980:array_metadata_store.py:198)
12:40:05.725 [I] [process=0] /jax/checkpoint/write/bytes_per_sec: 793.4 MiB/s (total bytes: 7.2 GiB) (time elapsed: 9 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
12:40:05.726 [I] [process=0] /jax/checkpoint/write/bytes_per_sec: 384.0 MiB/s (total bytes: 3.5 GiB) (time elapsed: 9 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
12:40:05.726 [I] [process=0][thread=async_save] 5 Handler Commit operations completed.            (1980:async_checkpointer.py:87)
12:40:05.726 [I] Read Metadata={'item_handlers': None, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1795523996441456395, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} from /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/_CHECKPOINT_METADATA (1980:checkpoint.py:226)
12:40:05.727 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/assets.orbax-checkpoint-tmp-1 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/assets (1980:atomicity.py:289)
12:40:05.731 [I] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0. (1980:array_metadata_store.py:362)
12:40:05.732 [I] Updated Metadata={'item_handlers': {'assets': 'openpi.training.checkpoints.CallbackHandler', 'params': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler', 'train_state': 'orbax.checkpoint._src.handlers.pytree_checkpoint_handler.PyTreeCheckpointHandler'}, 'metrics': {}, 'performance_metrics': {}, 'init_timestamp_nsecs': 1795523996441456395, 'commit_timestamp_nsecs': None, 'custom_metadata': {}} to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/_CHECKPOINT_METADATA (1980:checkpoint.py:245)
12:40:05.740 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/train_state.orbax-checkpoint-tmp-3 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/train_state (1980:atomicity.py:289)
12:40:05.745 [I] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0. (1980:array_metadata_store.py:362)
12:40:05.755 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/params.orbax-checkpoint-tmp-2 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0/params (1980:atomicity.py:289)
12:40:05.756 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000.orbax-checkpoint-tmp-0 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000 (1980:atomicity.py:289)
12:40:05.759 [I] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `/workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000`. (1980:atomicity.py:573)
12:40:05.759 [I] Finished asynchronous save (blocking + background) in 9.35 seconds to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/1000 (1980:async_checkpointer.py:412)
12:40:05.759 [I] [process=0][thread=async_save] Background save thread done.                      (1980:async_checkpointer.py:143)
12:40:05.760 [I] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save. (1980:async_checkpointer.py:266)
12:40:05.760 [I] [process=0][thread=save_finalize] No errors found in background save thread=async_save. (1980:async_checkpointer.py:276)
12:40:05.760 [I] [process=0][thread=save_finalize][step=1000] CheckpointManager Save Finalize is syncing with other hosts... (1980:checkpoint_manager.py:2095)
12:40:05.760 [I] [process=0][thread=save_finalize][step=1000] CheckpointManager Save Finalize is done on all hosts. (1980:checkpoint_manager.py:2110)
12:40:08.974 [I] Progress on: 1.00kit/3.00kit rate:7.4s/it remaining:4:06:03 elapsed:2:02:51 postfix:- (1980:tqdm_logging.py:145)
12:40:23.128 [I] Progress on: 1.00kit/3.00kit rate:7.2s/it remaining:4:00:27 elapsed:2:03:05 postfix:- (1980:tqdm_logging.py:145)
12:40:37.291 [I] Progress on: 1.01kit/3.00kit rate:7.2s/it remaining:3:57:41 elapsed:2:03:19 postfix:- (1980:tqdm_logging.py:145)
12:40:51.488 [I] Progress on: 1.01kit/3.00kit rate:7.1s/it remaining:3:56:29 elapsed:2:03:33 postfix:- (1980:tqdm_logging.py:145)
12:41:05.700 [I] Progress on: 1.01kit/3.00kit rate:7.1s/it remaining:3:55:53 elapsed:2:03:47 postfix:- (1980:tqdm_logging.py:145)
12:41:19.890 [I] Progress on: 1.01kit/3.00kit rate:7.1s/it remaining:3:55:18 elapsed:2:04:02 postfix:- (1980:tqdm_logging.py:145)
12:41:34.070 [I] Progress on: 1.01kit/3.00kit rate:7.1s/it remaining:3:54:46 elapsed:2:04:16 postfix:- (1980:tqdm_logging.py:145)
12:41:48.266 [I] Progress on: 1.02kit/3.00kit rate:7.1s/it remaining:3:54:32 elapsed:2:04:30 postfix:- (1980:tqdm_logging.py:145)
12:42:02.475 [I] Progress on: 1.02kit/3.00kit rate:7.1s/it remaining:3:54:23 elapsed:2:04:44 postfix:- (1980:tqdm_logging.py:145)
12:42:16.674 [I] Progress on: 1.02kit/3.00kit rate:7.1s/it remaining:3:54:10 elapsed:2:04:58 postfix:- (1980:tqdm_logging.py:145)
12:42:30.873 [I] Progress on: 1.02kit/3.00kit rate:7.1s/it remaining:3:53:56 elapsed:2:05:13 postfix:- (1980:tqdm_logging.py:145)
12:42:45.071 [I] Progress on: 1.02kit/3.00kit rate:7.1s/it remaining:3:53:42 elapsed:2:05:27 postfix:- (1980:tqdm_logging.py:145)
12:42:59.264 [I] Progress on: 1.03kit/3.00kit rate:7.1s/it remaining:3:53:25 elapsed:2:05:41 postfix:- (1980:tqdm_logging.py:145)
12:43:13.477 [I] Progress on: 1.03kit/3.00kit rate:7.1s/it remaining:3:53:21 elapsed:2:05:55 postfix:- (1980:tqdm_logging.py:145)
12:43:27.641 [I] Progress on: 1.03kit/3.00kit rate:7.1s/it remaining:3:52:46 elapsed:2:06:09 postfix:- (1980:tqdm_logging.py:145)
12:43:41.843 [I] Progress on: 1.03kit/3.00kit rate:7.1s/it remaining:3:52:38 elapsed:2:06:24 postfix:- (1980:tqdm_logging.py:145)
12:43:56.049 [I] Progress on: 1.03kit/3.00kit rate:7.1s/it remaining:3:52:32 elapsed:2:06:38 postfix:- (1980:tqdm_logging.py:145)
12:44:10.226 [I] Progress on: 1.04kit/3.00kit rate:7.1s/it remaining:3:52:07 elapsed:2:06:52 postfix:- (1980:tqdm_logging.py:145)
12:44:24.433 [I] Progress on: 1.04kit/3.00kit rate:7.1s/it remaining:3:52:02 elapsed:2:07:06 postfix:- (1980:tqdm_logging.py:145)
12:44:38.629 [I] Progress on: 1.04kit/3.00kit rate:7.1s/it remaining:3:51:48 elapsed:2:07:20 postfix:- (1980:tqdm_logging.py:145)
12:44:52.811 [I] Progress on: 1.04kit/3.00kit rate:7.1s/it remaining:3:51:26 elapsed:2:07:35 postfix:- (1980:tqdm_logging.py:145)
12:45:07.016 [I] Progress on: 1.04kit/3.00kit rate:7.1s/it remaining:3:51:19 elapsed:2:07:49 postfix:- (1980:tqdm_logging.py:145)
12:45:21.198 [I] Progress on: 1.05kit/3.00kit rate:7.1s/it remaining:3:50:55 elapsed:2:08:03 postfix:- (1980:tqdm_logging.py:145)
12:45:35.385 [I] Progress on: 1.05kit/3.00kit rate:7.1s/it remaining:3:50:39 elapsed:2:08:17 postfix:- (1980:tqdm_logging.py:145)


Step 1050: grad_norm=0.0359, loss=0.0074, param_norm=1803.9559
12:45:56.327 [I] Progress on: 1.05kit/3.00kit rate:7.1s/it remaining:3:50:32 elapsed:2:08:38 postfix:- (1980:tqdm_logging.py:145)
12:46:10.942 [I] Progress on: 1.05kit/3.00kit rate:6.8s/it remaining:3:40:41 elapsed:2:08:53 postfix:- (1980:tqdm_logging.py:145)
12:46:25.129 [I] Progress on: 1.06kit/3.00kit rate:7.0s/it remaining:3:45:14 elapsed:2:09:07 postfix:- (1980:tqdm_logging.py:145)
12:46:39.308 [I] Progress on: 1.06kit/3.00kit rate:7.0s/it remaining:3:47:15 elapsed:2:09:21 postfix:- (1980:tqdm_logging.py:145)
12:46:53.508 [I] Progress on: 1.06kit/3.00kit rate:7.1s/it remaining:3:48:17 elapsed:2:09:35 postfix:- (1980:tqdm_logging.py:145)
12:47:07.701 [I] Progress on: 1.06kit/3.00kit rate:7.1s/it remaining:3:48:37 elapsed:2:09:49 postfix:- (1980:tqdm_logging.py:145)
12:47:21.869 [I] Progress on: 1.06kit/3.00kit rate:7.1s/it remaining:3:48:30 elapsed:2:10:04 postfix:- (1980:tqdm_logging.py:145)
12:47:36.061 [I] Progress on: 1.07kit/3.00kit rate:7.1s/it remaining:3:48:28 elapsed:2:10:18 postfix:- (1980:tqdm_logging.py:145)
12:47:50.244 [I] Progress on: 1.07kit/3.00kit rate:7.1s/it remaining:3:48:17 elapsed:2:10:32 postfix:- (1980:tqdm_logging.py:145)
12:48:04.431 [I] Progress on: 1.07kit/3.00kit rate:7.1s/it remaining:3:48:07 elapsed:2:10:46 postfix:- (1980:tqdm_logging.py:145)
12:48:18.629 [I] Progress on: 1.07kit/3.00kit rate:7.1s/it remaining:3:48:00 elapsed:2:11:00 postfix:- (1980:tqdm_logging.py:145)
12:48:32.804 [I] Progress on: 1.07kit/3.00kit rate:7.1s/it remaining:3:47:39 elapsed:2:11:15 postfix:- (1980:tqdm_logging.py:145)
12:48:47.004 [I] Progress on: 1.08kit/3.00kit rate:7.1s/it remaining:3:47:29 elapsed:2:11:29 postfix:- (1980:tqdm_logging.py:145)
12:49:01.198 [I] Progress on: 1.08kit/3.00kit rate:7.1s/it remaining:3:47:14 elapsed:2:11:43 postfix:- (1980:tqdm_logging.py:145)
12:49:15.392 [I] Progress on: 1.08kit/3.00kit rate:7.1s/it remaining:3:47:02 elapsed:2:11:57 postfix:- (1980:tqdm_logging.py:145)
12:49:29.582 [I] Progress on: 1.08kit/3.00kit rate:7.1s/it remaining:3:46:47 elapsed:2:12:11 postfix:- (1980:tqdm_logging.py:145)
12:49:43.800 [I] Progress on: 1.08kit/3.00kit rate:7.1s/it remaining:3:46:48 elapsed:2:12:26 postfix:- (1980:tqdm_logging.py:145)
12:49:57.976 [I] Progress on: 1.09kit/3.00kit rate:7.1s/it remaining:3:46:21 elapsed:2:12:40 postfix:- (1980:tqdm_logging.py:145)
12:50:12.162 [I] Progress on: 1.09kit/3.00kit rate:7.1s/it remaining:3:46:01 elapsed:2:12:54 postfix:- (1980:tqdm_logging.py:145)
12:50:26.354 [I] Progress on: 1.09kit/3.00kit rate:7.1s/it remaining:3:45:49 elapsed:2:13:08 postfix:- (1980:tqdm_logging.py:145)
12:50:40.553 [I] Progress on: 1.09kit/3.00kit rate:7.1s/it remaining:3:45:40 elapsed:2:13:22 postfix:- (1980:tqdm_logging.py:145)
12:50:54.750 [I] Progress on: 1.09kit/3.00kit rate:7.1s/it remaining:3:45:28 elapsed:2:13:36 postfix:- (1980:tqdm_logging.py:145)
12:51:08.932 [I] Progress on: 1.10kit/3.00kit rate:7.1s/it remaining:3:45:07 elapsed:2:13:51 postfix:- (1980:tqdm_logging.py:145)
12:51:23.143 [I] Progress on: 1.10kit/3.00kit rate:7.1s/it remaining:3:45:05 elapsed:2:14:05 postfix:- (1980:tqdm_logging.py:145)
12:51:37.340 [I] Progress on: 1.10kit/3.00kit rate:7.1s/it remaining:3:44:48 elapsed:2:14:19 postfix:- (1980:tqdm_logging.py:145)


Step 1100: grad_norm=0.0359, loss=0.0074, param_norm=1803.9650
12:51:51.171 [I] Progress on: 1.10kit/3.00kit rate:7.1s/it remaining:3:44:48 elapsed:2:14:33 postfix:- (1980:tqdm_logging.py:145)
12:52:05.800 [I] Progress on: 1.10kit/3.00kit rate:6.8s/it remaining:3:35:11 elapsed:2:14:48 postfix:- (1980:tqdm_logging.py:145)
12:52:19.980 [I] Progress on: 1.11kit/3.00kit rate:7.0s/it remaining:3:39:29 elapsed:2:15:02 postfix:- (1980:tqdm_logging.py:145)
12:52:34.169 [I] Progress on: 1.11kit/3.00kit rate:7.0s/it remaining:3:41:30 elapsed:2:15:16 postfix:- (1980:tqdm_logging.py:145)
12:52:48.367 [I] Progress on: 1.11kit/3.00kit rate:7.1s/it remaining:3:42:29 elapsed:2:15:30 postfix:- (1980:tqdm_logging.py:145)
12:53:02.571 [I] Progress on: 1.11kit/3.00kit rate:7.1s/it remaining:3:42:50 elapsed:2:15:44 postfix:- (1980:tqdm_logging.py:145)
12:53:16.762 [I] Progress on: 1.11kit/3.00kit rate:7.1s/it remaining:3:42:49 elapsed:2:15:58 postfix:- (1980:tqdm_logging.py:145)
12:53:30.961 [I] Progress on: 1.12kit/3.00kit rate:7.1s/it remaining:3:42:45 elapsed:2:16:13 postfix:- (1980:tqdm_logging.py:145)
12:53:45.161 [I] Progress on: 1.12kit/3.00kit rate:7.1s/it remaining:3:42:37 elapsed:2:16:27 postfix:- (1980:tqdm_logging.py:145)
12:53:59.348 [I] Progress on: 1.12kit/3.00kit rate:7.1s/it remaining:3:42:18 elapsed:2:16:41 postfix:- (1980:tqdm_logging.py:145)
12:54:13.562 [I] Progress on: 1.12kit/3.00kit rate:7.1s/it remaining:3:42:14 elapsed:2:16:55 postfix:- (1980:tqdm_logging.py:145)
12:54:27.744 [I] Progress on: 1.12kit/3.00kit rate:7.1s/it remaining:3:41:53 elapsed:2:17:09 postfix:- (1980:tqdm_logging.py:145)
12:54:41.944 [I] Progress on: 1.13kit/3.00kit rate:7.1s/it remaining:3:41:42 elapsed:2:17:24 postfix:- (1980:tqdm_logging.py:145)
12:54:56.126 [I] Progress on: 1.13kit/3.00kit rate:7.1s/it remaining:3:41:20 elapsed:2:17:38 postfix:- (1980:tqdm_logging.py:145)
12:55:10.316 [I] Progress on: 1.13kit/3.00kit rate:7.1s/it remaining:3:41:06 elapsed:2:17:52 postfix:- (1980:tqdm_logging.py:145)
12:55:24.520 [I] Progress on: 1.13kit/3.00kit rate:7.1s/it remaining:3:40:58 elapsed:2:18:06 postfix:- (1980:tqdm_logging.py:145)
12:55:38.738 [I] Progress on: 1.13kit/3.00kit rate:7.1s/it remaining:3:40:57 elapsed:2:18:20 postfix:- (1980:tqdm_logging.py:145)
12:55:52.895 [I] Progress on: 1.14kit/3.00kit rate:7.1s/it remaining:3:40:19 elapsed:2:18:35 postfix:- (1980:tqdm_logging.py:145)
12:56:07.054 [I] Progress on: 1.14kit/3.00kit rate:7.1s/it remaining:3:39:53 elapsed:2:18:49 postfix:- (1980:tqdm_logging.py:145)
12:56:21.230 [I] Progress on: 1.14kit/3.00kit rate:7.1s/it remaining:3:39:42 elapsed:2:19:03 postfix:- (1980:tqdm_logging.py:145)
12:56:35.417 [I] Progress on: 1.14kit/3.00kit rate:7.1s/it remaining:3:39:36 elapsed:2:19:17 postfix:- (1980:tqdm_logging.py:145)
12:56:49.580 [I] Progress on: 1.14kit/3.00kit rate:7.1s/it remaining:3:39:13 elapsed:2:19:31 postfix:- (1980:tqdm_logging.py:145)
12:57:03.733 [I] Progress on: 1.15kit/3.00kit rate:7.1s/it remaining:3:38:49 elapsed:2:19:45 postfix:- (1980:tqdm_logging.py:145)
12:57:17.910 [I] Progress on: 1.15kit/3.00kit rate:7.1s/it remaining:3:38:41 elapsed:2:20:00 postfix:- (1980:tqdm_logging.py:145)
12:57:32.081 [I] Progress on: 1.15kit/3.00kit rate:7.1s/it remaining:3:38:27 elapsed:2:20:14 postfix:- (1980:tqdm_logging.py:145)


Step 1150: grad_norm=0.0357, loss=0.0068, param_norm=1803.9741
12:57:45.917 [I] Progress on: 1.15kit/3.00kit rate:7.1s/it remaining:3:38:27 elapsed:2:20:28 postfix:- (1980:tqdm_logging.py:145)
12:58:00.544 [I] Progress on: 1.15kit/3.00kit rate:6.8s/it remaining:3:29:19 elapsed:2:20:42 postfix:- (1980:tqdm_logging.py:145)
12:58:14.695 [I] Progress on: 1.16kit/3.00kit rate:6.9s/it remaining:3:33:19 elapsed:2:20:56 postfix:- (1980:tqdm_logging.py:145)
12:58:28.876 [I] Progress on: 1.16kit/3.00kit rate:7.0s/it remaining:3:35:24 elapsed:2:21:11 postfix:- (1980:tqdm_logging.py:145)
12:58:43.030 [I] Progress on: 1.16kit/3.00kit rate:7.0s/it remaining:3:36:05 elapsed:2:21:25 postfix:- (1980:tqdm_logging.py:145)
12:58:57.186 [I] Progress on: 1.16kit/3.00kit rate:7.1s/it remaining:3:36:19 elapsed:2:21:39 postfix:- (1980:tqdm_logging.py:145)
12:59:11.361 [I] Progress on: 1.16kit/3.00kit rate:7.1s/it remaining:3:36:28 elapsed:2:21:53 postfix:- (1980:tqdm_logging.py:145)
12:59:25.528 [I] Progress on: 1.17kit/3.00kit rate:7.1s/it remaining:3:36:22 elapsed:2:22:07 postfix:- (1980:tqdm_logging.py:145)
12:59:39.709 [I] Progress on: 1.17kit/3.00kit rate:7.1s/it remaining:3:36:17 elapsed:2:22:21 postfix:- (1980:tqdm_logging.py:145)
12:59:53.870 [I] Progress on: 1.17kit/3.00kit rate:7.1s/it remaining:3:35:59 elapsed:2:22:36 postfix:- (1980:tqdm_logging.py:145)
13:00:08.045 [I] Progress on: 1.17kit/3.00kit rate:7.1s/it remaining:3:35:52 elapsed:2:22:50 postfix:- (1980:tqdm_logging.py:145)
13:00:22.204 [I] Progress on: 1.17kit/3.00kit rate:7.1s/it remaining:3:35:32 elapsed:2:23:04 postfix:- (1980:tqdm_logging.py:145)
13:00:36.358 [I] Progress on: 1.18kit/3.00kit rate:7.1s/it remaining:3:35:12 elapsed:2:23:18 postfix:- (1980:tqdm_logging.py:145)
13:00:50.514 [I] Progress on: 1.18kit/3.00kit rate:7.1s/it remaining:3:34:57 elapsed:2:23:32 postfix:- (1980:tqdm_logging.py:145)
13:01:04.664 [I] Progress on: 1.18kit/3.00kit rate:7.1s/it remaining:3:34:40 elapsed:2:23:46 postfix:- (1980:tqdm_logging.py:145)
13:01:18.825 [I] Progress on: 1.18kit/3.00kit rate:7.1s/it remaining:3:34:27 elapsed:2:24:01 postfix:- (1980:tqdm_logging.py:145)
13:01:32.985 [I] Progress on: 1.18kit/3.00kit rate:7.1s/it remaining:3:34:14 elapsed:2:24:15 postfix:- (1980:tqdm_logging.py:145)
13:01:47.167 [I] Progress on: 1.19kit/3.00kit rate:7.1s/it remaining:3:34:13 elapsed:2:24:29 postfix:- (1980:tqdm_logging.py:145)
13:02:01.323 [I] Progress on: 1.19kit/3.00kit rate:7.1s/it remaining:3:33:53 elapsed:2:24:43 postfix:- (1980:tqdm_logging.py:145)
13:02:15.474 [I] Progress on: 1.19kit/3.00kit rate:7.1s/it remaining:3:33:33 elapsed:2:24:57 postfix:- (1980:tqdm_logging.py:145)
13:02:29.639 [I] Progress on: 1.19kit/3.00kit rate:7.1s/it remaining:3:33:23 elapsed:2:25:11 postfix:- (1980:tqdm_logging.py:145)
13:02:43.797 [I] Progress on: 1.19kit/3.00kit rate:7.1s/it remaining:3:33:03 elapsed:2:25:26 postfix:- (1980:tqdm_logging.py:145)
13:02:57.975 [I] Progress on: 1.20kit/3.00kit rate:7.1s/it remaining:3:32:56 elapsed:2:25:40 postfix:- (1980:tqdm_logging.py:145)
13:03:12.131 [I] Progress on: 1.20kit/3.00kit rate:7.1s/it remaining:3:32:39 elapsed:2:25:54 postfix:- (1980:tqdm_logging.py:145)
13:03:26.371 [I] Progress on: 1.20kit/3.00kit rate:7.1s/it remaining:3:32:50 elapsed:2:26:08 postfix:- (1980:tqdm_logging.py:145)


Step 1200: grad_norm=0.0344, loss=0.0067, param_norm=1803.9819
13:03:40.165 [I] Progress on: 1.20kit/3.00kit rate:7.1s/it remaining:3:32:50 elapsed:2:26:22 postfix:- (1980:tqdm_logging.py:145)
13:03:54.817 [I] Progress on: 1.20kit/3.00kit rate:6.8s/it remaining:3:23:28 elapsed:2:26:37 postfix:- (1980:tqdm_logging.py:145)
13:04:08.975 [I] Progress on: 1.21kit/3.00kit rate:6.9s/it remaining:3:27:32 elapsed:2:26:51 postfix:- (1980:tqdm_logging.py:145)
13:04:23.138 [I] Progress on: 1.21kit/3.00kit rate:7.0s/it remaining:3:29:26 elapsed:2:27:05 postfix:- (1980:tqdm_logging.py:145)
13:04:37.307 [I] Progress on: 1.21kit/3.00kit rate:7.0s/it remaining:3:30:18 elapsed:2:27:19 postfix:- (1980:tqdm_logging.py:145)
13:04:51.445 [I] Progress on: 1.21kit/3.00kit rate:7.1s/it remaining:3:30:22 elapsed:2:27:33 postfix:- (1980:tqdm_logging.py:145)
13:05:05.617 [I] Progress on: 1.21kit/3.00kit rate:7.1s/it remaining:3:30:33 elapsed:2:27:47 postfix:- (1980:tqdm_logging.py:145)
13:05:19.806 [I] Progress on: 1.22kit/3.00kit rate:7.1s/it remaining:3:30:37 elapsed:2:28:02 postfix:- (1980:tqdm_logging.py:145)
13:05:33.969 [I] Progress on: 1.22kit/3.00kit rate:7.1s/it remaining:3:30:21 elapsed:2:28:16 postfix:- (1980:tqdm_logging.py:145)
13:05:48.119 [I] Progress on: 1.22kit/3.00kit rate:7.1s/it remaining:3:30:01 elapsed:2:28:30 postfix:- (1980:tqdm_logging.py:145)
13:06:02.278 [I] Progress on: 1.22kit/3.00kit rate:7.1s/it remaining:3:29:46 elapsed:2:28:44 postfix:- (1980:tqdm_logging.py:145)
13:06:16.453 [I] Progress on: 1.22kit/3.00kit rate:7.1s/it remaining:3:29:37 elapsed:2:28:58 postfix:- (1980:tqdm_logging.py:145)
13:06:30.610 [I] Progress on: 1.23kit/3.00kit rate:7.1s/it remaining:3:29:19 elapsed:2:29:12 postfix:- (1980:tqdm_logging.py:145)
13:06:44.773 [I] Progress on: 1.23kit/3.00kit rate:7.1s/it remaining:3:29:08 elapsed:2:29:27 postfix:- (1980:tqdm_logging.py:145)
13:06:58.922 [I] Progress on: 1.23kit/3.00kit rate:7.1s/it remaining:3:28:49 elapsed:2:29:41 postfix:- (1980:tqdm_logging.py:145)
13:07:13.077 [I] Progress on: 1.23kit/3.00kit rate:7.1s/it remaining:3:28:35 elapsed:2:29:55 postfix:- (1980:tqdm_logging.py:145)
13:07:27.214 [I] Progress on: 1.23kit/3.00kit rate:7.1s/it remaining:3:28:12 elapsed:2:30:09 postfix:- (1980:tqdm_logging.py:145)
13:07:41.394 [I] Progress on: 1.24kit/3.00kit rate:7.1s/it remaining:3:28:11 elapsed:2:30:23 postfix:- (1980:tqdm_logging.py:145)
13:07:55.543 [I] Progress on: 1.24kit/3.00kit rate:7.1s/it remaining:3:27:51 elapsed:2:30:37 postfix:- (1980:tqdm_logging.py:145)
13:08:09.689 [I] Progress on: 1.24kit/3.00kit rate:7.1s/it remaining:3:27:31 elapsed:2:30:51 postfix:- (1980:tqdm_logging.py:145)
13:08:23.857 [I] Progress on: 1.24kit/3.00kit rate:7.1s/it remaining:3:27:21 elapsed:2:31:06 postfix:- (1980:tqdm_logging.py:145)
13:08:38.022 [I] Progress on: 1.24kit/3.00kit rate:7.1s/it remaining:3:27:12 elapsed:2:31:20 postfix:- (1980:tqdm_logging.py:145)
13:08:52.170 [I] Progress on: 1.25kit/3.00kit rate:7.1s/it remaining:3:26:52 elapsed:2:31:34 postfix:- (1980:tqdm_logging.py:145)
13:09:06.327 [I] Progress on: 1.25kit/3.00kit rate:7.1s/it remaining:3:26:40 elapsed:2:31:48 postfix:- (1980:tqdm_logging.py:145)
13:09:20.499 [I] Progress on: 1.25kit/3.00kit rate:7.1s/it remaining:3:26:33 elapsed:2:32:02 postfix:- (1980:tqdm_logging.py:145)


Step 1250: grad_norm=0.0336, loss=0.0063, param_norm=1803.9894
13:09:34.377 [I] Progress on: 1.25kit/3.00kit rate:7.1s/it remaining:3:26:33 elapsed:2:32:16 postfix:- (1980:tqdm_logging.py:145)
13:09:49.002 [I] Progress on: 1.25kit/3.00kit rate:6.8s/it remaining:3:17:56 elapsed:2:32:31 postfix:- (1980:tqdm_logging.py:145)
13:10:03.194 [I] Progress on: 1.26kit/3.00kit rate:7.0s/it remaining:3:22:04 elapsed:2:32:45 postfix:- (1980:tqdm_logging.py:145)
13:10:17.362 [I] Progress on: 1.26kit/3.00kit rate:7.0s/it remaining:3:23:49 elapsed:2:32:59 postfix:- (1980:tqdm_logging.py:145)
13:10:31.520 [I] Progress on: 1.26kit/3.00kit rate:7.1s/it remaining:3:24:29 elapsed:2:33:13 postfix:- (1980:tqdm_logging.py:145)
13:10:45.666 [I] Progress on: 1.26kit/3.00kit rate:7.1s/it remaining:3:24:30 elapsed:2:33:27 postfix:- (1980:tqdm_logging.py:145)
13:10:59.834 [I] Progress on: 1.26kit/3.00kit rate:7.1s/it remaining:3:24:40 elapsed:2:33:42 postfix:- (1980:tqdm_logging.py:145)
13:11:13.966 [I] Progress on: 1.27kit/3.00kit rate:7.1s/it remaining:3:24:21 elapsed:2:33:56 postfix:- (1980:tqdm_logging.py:145)
13:11:28.136 [I] Progress on: 1.27kit/3.00kit rate:7.1s/it remaining:3:24:18 elapsed:2:34:10 postfix:- (1980:tqdm_logging.py:145)
13:11:42.295 [I] Progress on: 1.27kit/3.00kit rate:7.1s/it remaining:3:24:06 elapsed:2:34:24 postfix:- (1980:tqdm_logging.py:145)
13:11:56.443 [I] Progress on: 1.27kit/3.00kit rate:7.1s/it remaining:3:23:49 elapsed:2:34:38 postfix:- (1980:tqdm_logging.py:145)
13:12:10.605 [I] Progress on: 1.27kit/3.00kit rate:7.1s/it remaining:3:23:38 elapsed:2:34:52 postfix:- (1980:tqdm_logging.py:145)
13:12:24.771 [I] Progress on: 1.28kit/3.00kit rate:7.1s/it remaining:3:23:26 elapsed:2:35:07 postfix:- (1980:tqdm_logging.py:145)
13:12:38.934 [I] Progress on: 1.28kit/3.00kit rate:7.1s/it remaining:3:23:13 elapsed:2:35:21 postfix:- (1980:tqdm_logging.py:145)
13:12:53.098 [I] Progress on: 1.28kit/3.00kit rate:7.1s/it remaining:3:23:01 elapsed:2:35:35 postfix:- (1980:tqdm_logging.py:145)
13:13:07.262 [I] Progress on: 1.28kit/3.00kit rate:7.1s/it remaining:3:22:46 elapsed:2:35:49 postfix:- (1980:tqdm_logging.py:145)
13:13:21.420 [I] Progress on: 1.28kit/3.00kit rate:7.1s/it remaining:3:22:30 elapsed:2:36:03 postfix:- (1980:tqdm_logging.py:145)
13:13:35.585 [I] Progress on: 1.29kit/3.00kit rate:7.1s/it remaining:3:22:16 elapsed:2:36:17 postfix:- (1980:tqdm_logging.py:145)
13:13:49.745 [I] Progress on: 1.29kit/3.00kit rate:7.1s/it remaining:3:22:01 elapsed:2:36:31 postfix:- (1980:tqdm_logging.py:145)
13:14:03.919 [I] Progress on: 1.29kit/3.00kit rate:7.1s/it remaining:3:21:52 elapsed:2:36:46 postfix:- (1980:tqdm_logging.py:145)
13:14:18.076 [I] Progress on: 1.29kit/3.00kit rate:7.1s/it remaining:3:21:33 elapsed:2:37:00 postfix:- (1980:tqdm_logging.py:145)
13:14:32.243 [I] Progress on: 1.29kit/3.00kit rate:7.1s/it remaining:3:21:22 elapsed:2:37:14 postfix:- (1980:tqdm_logging.py:145)
13:14:46.396 [I] Progress on: 1.30kit/3.00kit rate:7.1s/it remaining:3:21:03 elapsed:2:37:28 postfix:- (1980:tqdm_logging.py:145)
13:15:00.541 [I] Progress on: 1.30kit/3.00kit rate:7.1s/it remaining:3:20:44 elapsed:2:37:42 postfix:- (1980:tqdm_logging.py:145)
13:15:14.718 [I] Progress on: 1.30kit/3.00kit rate:7.1s/it remaining:3:20:39 elapsed:2:37:56 postfix:- (1980:tqdm_logging.py:145)


Step 1300: grad_norm=0.0322, loss=0.0060, param_norm=1803.9966
13:15:28.578 [I] Progress on: 1.30kit/3.00kit rate:7.1s/it remaining:3:20:39 elapsed:2:38:10 postfix:- (1980:tqdm_logging.py:145)
13:15:43.189 [I] Progress on: 1.30kit/3.00kit rate:6.8s/it remaining:3:12:16 elapsed:2:38:25 postfix:- (1980:tqdm_logging.py:145)
13:15:57.345 [I] Progress on: 1.31kit/3.00kit rate:6.9s/it remaining:3:15:59 elapsed:2:38:39 postfix:- (1980:tqdm_logging.py:145)
13:16:11.506 [I] Progress on: 1.31kit/3.00kit rate:7.0s/it remaining:3:17:44 elapsed:2:38:53 postfix:- (1980:tqdm_logging.py:145)
13:16:25.660 [I] Progress on: 1.31kit/3.00kit rate:7.0s/it remaining:3:18:25 elapsed:2:39:07 postfix:- (1980:tqdm_logging.py:145)
13:16:39.824 [I] Progress on: 1.31kit/3.00kit rate:7.1s/it remaining:3:18:44 elapsed:2:39:22 postfix:- (1980:tqdm_logging.py:145)
13:16:53.972 [I] Progress on: 1.31kit/3.00kit rate:7.1s/it remaining:3:18:39 elapsed:2:39:36 postfix:- (1980:tqdm_logging.py:145)
13:17:08.112 [I] Progress on: 1.32kit/3.00kit rate:7.1s/it remaining:3:18:26 elapsed:2:39:50 postfix:- (1980:tqdm_logging.py:145)
13:17:22.286 [I] Progress on: 1.32kit/3.00kit rate:7.1s/it remaining:3:18:26 elapsed:2:40:04 postfix:- (1980:tqdm_logging.py:145)
13:17:36.439 [I] Progress on: 1.32kit/3.00kit rate:7.1s/it remaining:3:18:09 elapsed:2:40:18 postfix:- (1980:tqdm_logging.py:145)
13:17:50.598 [I] Progress on: 1.32kit/3.00kit rate:7.1s/it remaining:3:17:58 elapsed:2:40:32 postfix:- (1980:tqdm_logging.py:145)
13:18:04.766 [I] Progress on: 1.32kit/3.00kit rate:7.1s/it remaining:3:17:49 elapsed:2:40:46 postfix:- (1980:tqdm_logging.py:145)
13:18:18.941 [I] Progress on: 1.33kit/3.00kit rate:7.1s/it remaining:3:17:40 elapsed:2:41:01 postfix:- (1980:tqdm_logging.py:145)
13:18:33.083 [I] Progress on: 1.33kit/3.00kit rate:7.1s/it remaining:3:17:14 elapsed:2:41:15 postfix:- (1980:tqdm_logging.py:145)
13:18:47.243 [I] Progress on: 1.33kit/3.00kit rate:7.1s/it remaining:3:17:01 elapsed:2:41:29 postfix:- (1980:tqdm_logging.py:145)
13:19:01.416 [I] Progress on: 1.33kit/3.00kit rate:7.1s/it remaining:3:16:53 elapsed:2:41:43 postfix:- (1980:tqdm_logging.py:145)
13:19:15.567 [I] Progress on: 1.33kit/3.00kit rate:7.1s/it remaining:3:16:34 elapsed:2:41:57 postfix:- (1980:tqdm_logging.py:145)
13:19:29.704 [I] Progress on: 1.34kit/3.00kit rate:7.1s/it remaining:3:16:10 elapsed:2:42:11 postfix:- (1980:tqdm_logging.py:145)
13:19:43.867 [I] Progress on: 1.34kit/3.00kit rate:7.1s/it remaining:3:16:03 elapsed:2:42:26 postfix:- (1980:tqdm_logging.py:145)
13:19:58.032 [I] Progress on: 1.34kit/3.00kit rate:7.1s/it remaining:3:15:54 elapsed:2:42:40 postfix:- (1980:tqdm_logging.py:145)
13:20:12.196 [I] Progress on: 1.34kit/3.00kit rate:7.1s/it remaining:3:15:37 elapsed:2:42:54 postfix:- (1980:tqdm_logging.py:145)
13:20:26.345 [I] Progress on: 1.34kit/3.00kit rate:7.1s/it remaining:3:15:19 elapsed:2:43:08 postfix:- (1980:tqdm_logging.py:145)
13:20:40.495 [I] Progress on: 1.35kit/3.00kit rate:7.1s/it remaining:3:15:03 elapsed:2:43:22 postfix:- (1980:tqdm_logging.py:145)
13:20:54.672 [I] Progress on: 1.35kit/3.00kit rate:7.1s/it remaining:3:14:58 elapsed:2:43:36 postfix:- (1980:tqdm_logging.py:145)
13:21:08.848 [I] Progress on: 1.35kit/3.00kit rate:7.1s/it remaining:3:14:52 elapsed:2:43:51 postfix:- (1980:tqdm_logging.py:145)


Step 1350: grad_norm=0.0330, loss=0.0063, param_norm=1804.0034
13:21:22.663 [I] Progress on: 1.35kit/3.00kit rate:7.1s/it remaining:3:14:52 elapsed:2:44:04 postfix:- (1980:tqdm_logging.py:145)
13:21:37.391 [I] Progress on: 1.35kit/3.00kit rate:6.8s/it remaining:3:06:36 elapsed:2:44:19 postfix:- (1980:tqdm_logging.py:145)
13:21:51.519 [I] Progress on: 1.36kit/3.00kit rate:6.9s/it remaining:3:10:04 elapsed:2:44:33 postfix:- (1980:tqdm_logging.py:145)
13:22:05.670 [I] Progress on: 1.36kit/3.00kit rate:7.0s/it remaining:3:11:46 elapsed:2:44:47 postfix:- (1980:tqdm_logging.py:145)
13:22:19.848 [I] Progress on: 1.36kit/3.00kit rate:7.0s/it remaining:3:12:40 elapsed:2:45:02 postfix:- (1980:tqdm_logging.py:145)
13:22:33.991 [I] Progress on: 1.36kit/3.00kit rate:7.1s/it remaining:3:12:47 elapsed:2:45:16 postfix:- (1980:tqdm_logging.py:145)
13:22:48.142 [I] Progress on: 1.36kit/3.00kit rate:7.1s/it remaining:3:12:44 elapsed:2:45:30 postfix:- (1980:tqdm_logging.py:145)
13:23:02.296 [I] Progress on: 1.37kit/3.00kit rate:7.1s/it remaining:3:12:36 elapsed:2:45:44 postfix:- (1980:tqdm_logging.py:145)
13:23:16.442 [I] Progress on: 1.37kit/3.00kit rate:7.1s/it remaining:3:12:23 elapsed:2:45:58 postfix:- (1980:tqdm_logging.py:145)
13:23:30.615 [I] Progress on: 1.37kit/3.00kit rate:7.1s/it remaining:3:12:20 elapsed:2:46:12 postfix:- (1980:tqdm_logging.py:145)
13:23:44.759 [I] Progress on: 1.37kit/3.00kit rate:7.1s/it remaining:3:11:58 elapsed:2:46:26 postfix:- (1980:tqdm_logging.py:145)
13:23:58.917 [I] Progress on: 1.37kit/3.00kit rate:7.1s/it remaining:3:11:46 elapsed:2:46:41 postfix:- (1980:tqdm_logging.py:145)
13:24:13.076 [I] Progress on: 1.38kit/3.00kit rate:7.1s/it remaining:3:11:34 elapsed:2:46:55 postfix:- (1980:tqdm_logging.py:145)
13:24:27.227 [I] Progress on: 1.38kit/3.00kit rate:7.1s/it remaining:3:11:20 elapsed:2:47:09 postfix:- (1980:tqdm_logging.py:145)
13:24:41.404 [I] Progress on: 1.38kit/3.00kit rate:7.1s/it remaining:3:11:14 elapsed:2:47:23 postfix:- (1980:tqdm_logging.py:145)
13:24:55.583 [I] Progress on: 1.38kit/3.00kit rate:7.1s/it remaining:3:11:06 elapsed:2:47:37 postfix:- (1980:tqdm_logging.py:145)
13:25:09.743 [I] Progress on: 1.38kit/3.00kit rate:7.1s/it remaining:3:10:47 elapsed:2:47:51 postfix:- (1980:tqdm_logging.py:145)
13:25:23.916 [I] Progress on: 1.39kit/3.00kit rate:7.1s/it remaining:3:10:35 elapsed:2:48:06 postfix:- (1980:tqdm_logging.py:145)
13:25:38.093 [I] Progress on: 1.39kit/3.00kit rate:7.1s/it remaining:3:10:23 elapsed:2:48:20 postfix:- (1980:tqdm_logging.py:145)
13:25:52.262 [I] Progress on: 1.39kit/3.00kit rate:7.1s/it remaining:3:10:07 elapsed:2:48:34 postfix:- (1980:tqdm_logging.py:145)
13:26:06.425 [I] Progress on: 1.39kit/3.00kit rate:7.1s/it remaining:3:09:52 elapsed:2:48:48 postfix:- (1980:tqdm_logging.py:145)
13:26:20.611 [I] Progress on: 1.39kit/3.00kit rate:7.1s/it remaining:3:09:43 elapsed:2:49:02 postfix:- (1980:tqdm_logging.py:145)
13:26:34.780 [I] Progress on: 1.40kit/3.00kit rate:7.1s/it remaining:3:09:27 elapsed:2:49:17 postfix:- (1980:tqdm_logging.py:145)
13:26:48.930 [I] Progress on: 1.40kit/3.00kit rate:7.1s/it remaining:3:09:04 elapsed:2:49:31 postfix:- (1980:tqdm_logging.py:145)
13:27:03.099 [I] Progress on: 1.40kit/3.00kit rate:7.1s/it remaining:3:08:53 elapsed:2:49:45 postfix:- (1980:tqdm_logging.py:145)


Step 1400: grad_norm=0.0329, loss=0.0060, param_norm=1804.0103
13:27:16.925 [I] Progress on: 1.40kit/3.00kit rate:7.1s/it remaining:3:08:53 elapsed:2:49:59 postfix:- (1980:tqdm_logging.py:145)
13:27:31.511 [I] Progress on: 1.40kit/3.00kit rate:6.8s/it remaining:3:00:43 elapsed:2:50:13 postfix:- (1980:tqdm_logging.py:145)
13:27:45.664 [I] Progress on: 1.41kit/3.00kit rate:6.9s/it remaining:3:04:20 elapsed:2:50:27 postfix:- (1980:tqdm_logging.py:145)
13:27:59.852 [I] Progress on: 1.41kit/3.00kit rate:7.0s/it remaining:3:06:12 elapsed:2:50:42 postfix:- (1980:tqdm_logging.py:145)
13:28:14.001 [I] Progress on: 1.41kit/3.00kit rate:7.0s/it remaining:3:06:45 elapsed:2:50:56 postfix:- (1980:tqdm_logging.py:145)
13:28:28.164 [I] Progress on: 1.41kit/3.00kit rate:7.1s/it remaining:3:07:00 elapsed:2:51:10 postfix:- (1980:tqdm_logging.py:145)
13:28:42.317 [I] Progress on: 1.41kit/3.00kit rate:7.1s/it remaining:3:06:53 elapsed:2:51:24 postfix:- (1980:tqdm_logging.py:145)
13:28:56.486 [I] Progress on: 1.42kit/3.00kit rate:7.1s/it remaining:3:06:50 elapsed:2:51:38 postfix:- (1980:tqdm_logging.py:145)
13:29:10.647 [I] Progress on: 1.42kit/3.00kit rate:7.1s/it remaining:3:06:39 elapsed:2:51:52 postfix:- (1980:tqdm_logging.py:145)
13:29:24.799 [I] Progress on: 1.42kit/3.00kit rate:7.1s/it remaining:3:06:22 elapsed:2:52:07 postfix:- (1980:tqdm_logging.py:145)
13:29:38.956 [I] Progress on: 1.42kit/3.00kit rate:7.1s/it remaining:3:06:08 elapsed:2:52:21 postfix:- (1980:tqdm_logging.py:145)
13:29:53.132 [I] Progress on: 1.42kit/3.00kit rate:7.1s/it remaining:3:06:01 elapsed:2:52:35 postfix:- (1980:tqdm_logging.py:145)
13:30:07.322 [I] Progress on: 1.43kit/3.00kit rate:7.1s/it remaining:3:05:57 elapsed:2:52:49 postfix:- (1980:tqdm_logging.py:145)
13:30:21.507 [I] Progress on: 1.43kit/3.00kit rate:7.1s/it remaining:3:05:47 elapsed:2:53:03 postfix:- (1980:tqdm_logging.py:145)
13:30:35.678 [I] Progress on: 1.43kit/3.00kit rate:7.1s/it remaining:3:05:28 elapsed:2:53:17 postfix:- (1980:tqdm_logging.py:145)
13:30:49.839 [I] Progress on: 1.43kit/3.00kit rate:7.1s/it remaining:3:05:08 elapsed:2:53:32 postfix:- (1980:tqdm_logging.py:145)
13:31:04.009 [I] Progress on: 1.43kit/3.00kit rate:7.1s/it remaining:3:04:55 elapsed:2:53:46 postfix:- (1980:tqdm_logging.py:145)
13:31:18.187 [I] Progress on: 1.44kit/3.00kit rate:7.1s/it remaining:3:04:44 elapsed:2:54:00 postfix:- (1980:tqdm_logging.py:145)
13:31:32.362 [I] Progress on: 1.44kit/3.00kit rate:7.1s/it remaining:3:04:31 elapsed:2:54:14 postfix:- (1980:tqdm_logging.py:145)
13:31:46.518 [I] Progress on: 1.44kit/3.00kit rate:7.1s/it remaining:3:04:10 elapsed:2:54:28 postfix:- (1980:tqdm_logging.py:145)
13:32:00.664 [I] Progress on: 1.44kit/3.00kit rate:7.1s/it remaining:3:03:48 elapsed:2:54:42 postfix:- (1980:tqdm_logging.py:145)
13:32:14.830 [I] Progress on: 1.44kit/3.00kit rate:7.1s/it remaining:3:03:38 elapsed:2:54:57 postfix:- (1980:tqdm_logging.py:145)
13:32:28.981 [I] Progress on: 1.45kit/3.00kit rate:7.1s/it remaining:3:03:20 elapsed:2:55:11 postfix:- (1980:tqdm_logging.py:145)
13:32:43.127 [I] Progress on: 1.45kit/3.00kit rate:7.1s/it remaining:3:03:03 elapsed:2:55:25 postfix:- (1980:tqdm_logging.py:145)
13:32:57.279 [I] Progress on: 1.45kit/3.00kit rate:7.1s/it remaining:3:02:48 elapsed:2:55:39 postfix:- (1980:tqdm_logging.py:145)


Step 1450: grad_norm=0.0319, loss=0.0056, param_norm=1804.0168
13:33:11.111 [I] Progress on: 1.45kit/3.00kit rate:7.1s/it remaining:3:02:48 elapsed:2:55:53 postfix:- (1980:tqdm_logging.py:145)
13:33:25.703 [I] Progress on: 1.45kit/3.00kit rate:6.8s/it remaining:2:55:03 elapsed:2:56:07 postfix:- (1980:tqdm_logging.py:145)
13:33:39.882 [I] Progress on: 1.46kit/3.00kit rate:6.9s/it remaining:2:58:41 elapsed:2:56:22 postfix:- (1980:tqdm_logging.py:145)
13:33:54.058 [I] Progress on: 1.46kit/3.00kit rate:7.0s/it remaining:3:00:20 elapsed:2:56:36 postfix:- (1980:tqdm_logging.py:145)
13:34:08.215 [I] Progress on: 1.46kit/3.00kit rate:7.0s/it remaining:3:00:55 elapsed:2:56:50 postfix:- (1980:tqdm_logging.py:145)
13:34:22.366 [I] Progress on: 1.46kit/3.00kit rate:7.1s/it remaining:3:01:02 elapsed:2:57:04 postfix:- (1980:tqdm_logging.py:145)
13:34:36.549 [I] Progress on: 1.46kit/3.00kit rate:7.1s/it remaining:3:01:11 elapsed:2:57:18 postfix:- (1980:tqdm_logging.py:145)
13:34:50.711 [I] Progress on: 1.47kit/3.00kit rate:7.1s/it remaining:3:00:59 elapsed:2:57:32 postfix:- (1980:tqdm_logging.py:145)
13:35:04.866 [I] Progress on: 1.47kit/3.00kit rate:7.1s/it remaining:3:00:43 elapsed:2:57:47 postfix:- (1980:tqdm_logging.py:145)
13:35:19.025 [I] Progress on: 1.47kit/3.00kit rate:7.1s/it remaining:3:00:28 elapsed:2:58:01 postfix:- (1980:tqdm_logging.py:145)
13:35:33.202 [I] Progress on: 1.47kit/3.00kit rate:7.1s/it remaining:3:00:20 elapsed:2:58:15 postfix:- (1980:tqdm_logging.py:145)
13:35:47.361 [I] Progress on: 1.47kit/3.00kit rate:7.1s/it remaining:3:00:04 elapsed:2:58:29 postfix:- (1980:tqdm_logging.py:145)
13:36:01.518 [I] Progress on: 1.48kit/3.00kit rate:7.1s/it remaining:2:59:49 elapsed:2:58:43 postfix:- (1980:tqdm_logging.py:145)
13:36:15.680 [I] Progress on: 1.48kit/3.00kit rate:7.1s/it remaining:2:59:37 elapsed:2:58:57 postfix:- (1980:tqdm_logging.py:145)
13:36:29.870 [I] Progress on: 1.48kit/3.00kit rate:7.1s/it remaining:2:59:34 elapsed:2:59:12 postfix:- (1980:tqdm_logging.py:145)
13:36:44.015 [I] Progress on: 1.48kit/3.00kit rate:7.1s/it remaining:2:59:07 elapsed:2:59:26 postfix:- (1980:tqdm_logging.py:145)
13:36:58.195 [I] Progress on: 1.48kit/3.00kit rate:7.1s/it remaining:2:59:01 elapsed:2:59:40 postfix:- (1980:tqdm_logging.py:145)
13:37:12.352 [I] Progress on: 1.49kit/3.00kit rate:7.1s/it remaining:2:58:42 elapsed:2:59:54 postfix:- (1980:tqdm_logging.py:145)
13:37:26.510 [I] Progress on: 1.49kit/3.00kit rate:7.1s/it remaining:2:58:25 elapsed:3:00:08 postfix:- (1980:tqdm_logging.py:145)
13:37:40.690 [I] Progress on: 1.49kit/3.00kit rate:7.1s/it remaining:2:58:18 elapsed:3:00:22 postfix:- (1980:tqdm_logging.py:145)
13:37:54.832 [I] Progress on: 1.49kit/3.00kit rate:7.1s/it remaining:2:57:54 elapsed:3:00:37 postfix:- (1980:tqdm_logging.py:145)
13:38:09.001 [I] Progress on: 1.49kit/3.00kit rate:7.1s/it remaining:2:57:44 elapsed:3:00:51 postfix:- (1980:tqdm_logging.py:145)
13:38:23.159 [I] Progress on: 1.50kit/3.00kit rate:7.1s/it remaining:2:57:28 elapsed:3:01:05 postfix:- (1980:tqdm_logging.py:145)
13:38:37.327 [I] Progress on: 1.50kit/3.00kit rate:7.1s/it remaining:2:57:18 elapsed:3:01:19 postfix:- (1980:tqdm_logging.py:145)
13:38:51.505 [I] Progress on: 1.50kit/3.00kit rate:7.1s/it remaining:2:57:09 elapsed:3:01:33 postfix:- (1980:tqdm_logging.py:145)


Step 1500: grad_norm=0.0330, loss=0.0057, param_norm=1804.0225
13:39:05.298 [I] Progress on: 1.50kit/3.00kit rate:7.1s/it remaining:2:57:09 elapsed:3:01:47 postfix:- (1980:tqdm_logging.py:145)
13:39:19.909 [I] Progress on: 1.50kit/3.00kit rate:6.8s/it remaining:2:49:31 elapsed:3:02:02 postfix:- (1980:tqdm_logging.py:145)
13:39:34.067 [I] Progress on: 1.51kit/3.00kit rate:6.9s/it remaining:2:52:51 elapsed:3:02:16 postfix:- (1980:tqdm_logging.py:145)
13:39:48.224 [I] Progress on: 1.51kit/3.00kit rate:7.0s/it remaining:2:54:21 elapsed:3:02:30 postfix:- (1980:tqdm_logging.py:145)
13:40:02.398 [I] Progress on: 1.51kit/3.00kit rate:7.1s/it remaining:2:55:05 elapsed:3:02:44 postfix:- (1980:tqdm_logging.py:145)
13:40:16.541 [I] Progress on: 1.51kit/3.00kit rate:7.1s/it remaining:2:55:07 elapsed:3:02:58 postfix:- (1980:tqdm_logging.py:145)
13:40:30.717 [I] Progress on: 1.51kit/3.00kit rate:7.1s/it remaining:2:55:13 elapsed:3:03:12 postfix:- (1980:tqdm_logging.py:145)
13:40:44.885 [I] Progress on: 1.52kit/3.00kit rate:7.1s/it remaining:2:55:05 elapsed:3:03:27 postfix:- (1980:tqdm_logging.py:145)
13:40:59.042 [I] Progress on: 1.52kit/3.00kit rate:7.1s/it remaining:2:54:51 elapsed:3:03:41 postfix:- (1980:tqdm_logging.py:145)
13:41:13.207 [I] Progress on: 1.52kit/3.00kit rate:7.1s/it remaining:2:54:40 elapsed:3:03:55 postfix:- (1980:tqdm_logging.py:145)
13:41:27.343 [I] Progress on: 1.52kit/3.00kit rate:7.1s/it remaining:2:54:15 elapsed:3:04:09 postfix:- (1980:tqdm_logging.py:145)
13:41:41.531 [I] Progress on: 1.52kit/3.00kit rate:7.1s/it remaining:2:54:15 elapsed:3:04:23 postfix:- (1980:tqdm_logging.py:145)
13:41:55.683 [I] Progress on: 1.53kit/3.00kit rate:7.1s/it remaining:2:53:55 elapsed:3:04:37 postfix:- (1980:tqdm_logging.py:145)
13:42:09.837 [I] Progress on: 1.53kit/3.00kit rate:7.1s/it remaining:2:53:38 elapsed:3:04:52 postfix:- (1980:tqdm_logging.py:145)
13:42:23.989 [I] Progress on: 1.53kit/3.00kit rate:7.1s/it remaining:2:53:23 elapsed:3:05:06 postfix:- (1980:tqdm_logging.py:145)
13:42:38.158 [I] Progress on: 1.53kit/3.00kit rate:7.1s/it remaining:2:53:13 elapsed:3:05:20 postfix:- (1980:tqdm_logging.py:145)
13:42:52.340 [I] Progress on: 1.53kit/3.00kit rate:7.1s/it remaining:2:53:08 elapsed:3:05:34 postfix:- (1980:tqdm_logging.py:145)
13:43:06.510 [I] Progress on: 1.54kit/3.00kit rate:7.1s/it remaining:2:52:53 elapsed:3:05:48 postfix:- (1980:tqdm_logging.py:145)
13:43:20.658 [I] Progress on: 1.54kit/3.00kit rate:7.1s/it remaining:2:52:29 elapsed:3:06:02 postfix:- (1980:tqdm_logging.py:145)
13:43:34.853 [I] Progress on: 1.54kit/3.00kit rate:7.1s/it remaining:2:52:29 elapsed:3:06:17 postfix:- (1980:tqdm_logging.py:145)
13:43:49.026 [I] Progress on: 1.54kit/3.00kit rate:7.1s/it remaining:2:52:11 elapsed:3:06:31 postfix:- (1980:tqdm_logging.py:145)
13:44:03.185 [I] Progress on: 1.54kit/3.00kit rate:7.1s/it remaining:2:51:53 elapsed:3:06:45 postfix:- (1980:tqdm_logging.py:145)
13:44:17.363 [I] Progress on: 1.55kit/3.00kit rate:7.1s/it remaining:2:51:42 elapsed:3:06:59 postfix:- (1980:tqdm_logging.py:145)
13:44:31.512 [I] Progress on: 1.55kit/3.00kit rate:7.1s/it remaining:2:51:18 elapsed:3:07:13 postfix:- (1980:tqdm_logging.py:145)
13:44:45.685 [I] Progress on: 1.55kit/3.00kit rate:7.1s/it remaining:2:51:08 elapsed:3:07:27 postfix:- (1980:tqdm_logging.py:145)


Step 1550: grad_norm=0.0317, loss=0.0056, param_norm=1804.0271
13:44:59.514 [I] Progress on: 1.55kit/3.00kit rate:7.1s/it remaining:2:51:08 elapsed:3:07:41 postfix:- (1980:tqdm_logging.py:145)
13:45:14.122 [I] Progress on: 1.55kit/3.00kit rate:6.8s/it remaining:2:43:52 elapsed:3:07:56 postfix:- (1980:tqdm_logging.py:145)
13:45:28.301 [I] Progress on: 1.56kit/3.00kit rate:6.9s/it remaining:2:47:12 elapsed:3:08:10 postfix:- (1980:tqdm_logging.py:145)
13:45:42.470 [I] Progress on: 1.56kit/3.00kit rate:7.0s/it remaining:2:48:36 elapsed:3:08:24 postfix:- (1980:tqdm_logging.py:145)
13:45:56.622 [I] Progress on: 1.56kit/3.00kit rate:7.0s/it remaining:2:49:07 elapsed:3:08:38 postfix:- (1980:tqdm_logging.py:145)
13:46:10.786 [I] Progress on: 1.56kit/3.00kit rate:7.1s/it remaining:2:49:19 elapsed:3:08:53 postfix:- (1980:tqdm_logging.py:145)
13:46:24.943 [I] Progress on: 1.56kit/3.00kit rate:7.1s/it remaining:2:49:16 elapsed:3:09:07 postfix:- (1980:tqdm_logging.py:145)
13:46:39.101 [I] Progress on: 1.57kit/3.00kit rate:7.1s/it remaining:2:49:07 elapsed:3:09:21 postfix:- (1980:tqdm_logging.py:145)
13:46:53.296 [I] Progress on: 1.57kit/3.00kit rate:7.1s/it remaining:2:49:08 elapsed:3:09:35 postfix:- (1980:tqdm_logging.py:145)
13:47:07.465 [I] Progress on: 1.57kit/3.00kit rate:7.1s/it remaining:2:48:52 elapsed:3:09:49 postfix:- (1980:tqdm_logging.py:145)
13:47:21.627 [I] Progress on: 1.57kit/3.00kit rate:7.1s/it remaining:2:48:35 elapsed:3:10:03 postfix:- (1980:tqdm_logging.py:145)
13:47:35.773 [I] Progress on: 1.57kit/3.00kit rate:7.1s/it remaining:2:48:13 elapsed:3:10:18 postfix:- (1980:tqdm_logging.py:145)
13:47:49.934 [I] Progress on: 1.58kit/3.00kit rate:7.1s/it remaining:2:48:00 elapsed:3:10:32 postfix:- (1980:tqdm_logging.py:145)
13:48:04.105 [I] Progress on: 1.58kit/3.00kit rate:7.1s/it remaining:2:47:50 elapsed:3:10:46 postfix:- (1980:tqdm_logging.py:145)
13:48:18.265 [I] Progress on: 1.58kit/3.00kit rate:7.1s/it remaining:2:47:36 elapsed:3:11:00 postfix:- (1980:tqdm_logging.py:145)
13:48:32.996 [I] Progress on: 1.58kit/3.00kit rate:7.3s/it remaining:2:51:20 elapsed:3:11:15 postfix:- (1980:tqdm_logging.py:145)
13:48:46.648 [I] Progress on: 1.58kit/3.00kit rate:7.1s/it remaining:2:46:38 elapsed:3:11:28 postfix:- (1980:tqdm_logging.py:145)
13:49:00.811 [I] Progress on: 1.59kit/3.00kit rate:7.1s/it remaining:2:46:43 elapsed:3:11:43 postfix:- (1980:tqdm_logging.py:145)
13:49:14.959 [I] Progress on: 1.59kit/3.00kit rate:7.1s/it remaining:2:46:33 elapsed:3:11:57 postfix:- (1980:tqdm_logging.py:145)
13:49:29.103 [I] Progress on: 1.59kit/3.00kit rate:7.1s/it remaining:2:46:19 elapsed:3:12:11 postfix:- (1980:tqdm_logging.py:145)
13:49:43.253 [I] Progress on: 1.59kit/3.00kit rate:7.1s/it remaining:2:46:06 elapsed:3:12:25 postfix:- (1980:tqdm_logging.py:145)
13:49:57.418 [I] Progress on: 1.59kit/3.00kit rate:7.1s/it remaining:2:45:57 elapsed:3:12:39 postfix:- (1980:tqdm_logging.py:145)
13:50:11.600 [I] Progress on: 1.60kit/3.00kit rate:7.1s/it remaining:2:45:48 elapsed:3:12:53 postfix:- (1980:tqdm_logging.py:145)
13:50:25.760 [I] Progress on: 1.60kit/3.00kit rate:7.1s/it remaining:2:45:28 elapsed:3:13:07 postfix:- (1980:tqdm_logging.py:145)
13:50:39.918 [I] Progress on: 1.60kit/3.00kit rate:7.1s/it remaining:2:45:11 elapsed:3:13:22 postfix:- (1980:tqdm_logging.py:145)


Step 1600: grad_norm=0.0327, loss=0.0055, param_norm=1804.0319
13:50:53.764 [I] Progress on: 1.60kit/3.00kit rate:7.1s/it remaining:2:45:11 elapsed:3:13:35 postfix:- (1980:tqdm_logging.py:145)
13:51:08.357 [I] Progress on: 1.60kit/3.00kit rate:6.8s/it remaining:2:38:11 elapsed:3:13:50 postfix:- (1980:tqdm_logging.py:145)
13:51:22.498 [I] Progress on: 1.61kit/3.00kit rate:6.9s/it remaining:2:41:10 elapsed:3:14:04 postfix:- (1980:tqdm_logging.py:145)
13:51:36.654 [I] Progress on: 1.61kit/3.00kit rate:7.0s/it remaining:2:42:35 elapsed:3:14:18 postfix:- (1980:tqdm_logging.py:145)
13:51:50.812 [I] Progress on: 1.61kit/3.00kit rate:7.0s/it remaining:2:43:10 elapsed:3:14:33 postfix:- (1980:tqdm_logging.py:145)
13:52:04.984 [I] Progress on: 1.61kit/3.00kit rate:7.1s/it remaining:2:43:24 elapsed:3:14:47 postfix:- (1980:tqdm_logging.py:145)
13:52:19.149 [I] Progress on: 1.61kit/3.00kit rate:7.1s/it remaining:2:43:21 elapsed:3:15:01 postfix:- (1980:tqdm_logging.py:145)
13:52:33.311 [I] Progress on: 1.62kit/3.00kit rate:7.1s/it remaining:2:43:15 elapsed:3:15:15 postfix:- (1980:tqdm_logging.py:145)
13:52:47.480 [I] Progress on: 1.62kit/3.00kit rate:7.1s/it remaining:2:43:05 elapsed:3:15:29 postfix:- (1980:tqdm_logging.py:145)
13:53:01.652 [I] Progress on: 1.62kit/3.00kit rate:7.1s/it remaining:2:42:56 elapsed:3:15:43 postfix:- (1980:tqdm_logging.py:145)
13:53:15.810 [I] Progress on: 1.62kit/3.00kit rate:7.1s/it remaining:2:42:39 elapsed:3:15:58 postfix:- (1980:tqdm_logging.py:145)
13:53:29.965 [I] Progress on: 1.62kit/3.00kit rate:7.1s/it remaining:2:42:22 elapsed:3:16:12 postfix:- (1980:tqdm_logging.py:145)
13:53:44.111 [I] Progress on: 1.63kit/3.00kit rate:7.1s/it remaining:2:42:03 elapsed:3:16:26 postfix:- (1980:tqdm_logging.py:145)
13:53:58.278 [I] Progress on: 1.63kit/3.00kit rate:7.1s/it remaining:2:41:52 elapsed:3:16:40 postfix:- (1980:tqdm_logging.py:145)
13:54:12.445 [I] Progress on: 1.63kit/3.00kit rate:7.1s/it remaining:2:41:41 elapsed:3:16:54 postfix:- (1980:tqdm_logging.py:145)
13:54:26.620 [I] Progress on: 1.63kit/3.00kit rate:7.1s/it remaining:2:41:29 elapsed:3:17:08 postfix:- (1980:tqdm_logging.py:145)
13:54:40.777 [I] Progress on: 1.63kit/3.00kit rate:7.1s/it remaining:2:41:11 elapsed:3:17:23 postfix:- (1980:tqdm_logging.py:145)
13:54:54.932 [I] Progress on: 1.64kit/3.00kit rate:7.1s/it remaining:2:40:54 elapsed:3:17:37 postfix:- (1980:tqdm_logging.py:145)
13:55:09.088 [I] Progress on: 1.64kit/3.00kit rate:7.1s/it remaining:2:40:41 elapsed:3:17:51 postfix:- (1980:tqdm_logging.py:145)
13:55:23.242 [I] Progress on: 1.64kit/3.00kit rate:7.1s/it remaining:2:40:26 elapsed:3:18:05 postfix:- (1980:tqdm_logging.py:145)
13:55:37.418 [I] Progress on: 1.64kit/3.00kit rate:7.1s/it remaining:2:40:18 elapsed:3:18:19 postfix:- (1980:tqdm_logging.py:145)
13:55:51.579 [I] Progress on: 1.64kit/3.00kit rate:7.1s/it remaining:2:40:01 elapsed:3:18:33 postfix:- (1980:tqdm_logging.py:145)
13:56:05.733 [I] Progress on: 1.65kit/3.00kit rate:7.1s/it remaining:2:39:43 elapsed:3:18:47 postfix:- (1980:tqdm_logging.py:145)
13:56:19.908 [I] Progress on: 1.65kit/3.00kit rate:7.1s/it remaining:2:39:33 elapsed:3:19:02 postfix:- (1980:tqdm_logging.py:145)
13:56:34.062 [I] Progress on: 1.65kit/3.00kit rate:7.1s/it remaining:2:39:15 elapsed:3:19:16 postfix:- (1980:tqdm_logging.py:145)


Step 1650: grad_norm=0.0298, loss=0.0052, param_norm=1804.0369
13:56:47.871 [I] Progress on: 1.65kit/3.00kit rate:7.1s/it remaining:2:39:15 elapsed:3:19:30 postfix:- (1980:tqdm_logging.py:145)
13:57:02.486 [I] Progress on: 1.65kit/3.00kit rate:6.8s/it remaining:2:32:28 elapsed:3:19:44 postfix:- (1980:tqdm_logging.py:145)
13:57:16.625 [I] Progress on: 1.66kit/3.00kit rate:6.9s/it remaining:2:35:23 elapsed:3:19:58 postfix:- (1980:tqdm_logging.py:145)
13:57:30.803 [I] Progress on: 1.66kit/3.00kit rate:7.0s/it remaining:2:36:54 elapsed:3:20:13 postfix:- (1980:tqdm_logging.py:145)
13:57:44.967 [I] Progress on: 1.66kit/3.00kit rate:7.0s/it remaining:2:37:25 elapsed:3:20:27 postfix:- (1980:tqdm_logging.py:145)
13:57:59.124 [I] Progress on: 1.66kit/3.00kit rate:7.1s/it remaining:2:37:31 elapsed:3:20:41 postfix:- (1980:tqdm_logging.py:145)
13:58:13.274 [I] Progress on: 1.66kit/3.00kit rate:7.1s/it remaining:2:37:23 elapsed:3:20:55 postfix:- (1980:tqdm_logging.py:145)
13:58:27.426 [I] Progress on: 1.67kit/3.00kit rate:7.1s/it remaining:2:37:13 elapsed:3:21:09 postfix:- (1980:tqdm_logging.py:145)
13:58:41.585 [I] Progress on: 1.67kit/3.00kit rate:7.1s/it remaining:2:37:04 elapsed:3:21:23 postfix:- (1980:tqdm_logging.py:145)
13:58:55.742 [I] Progress on: 1.67kit/3.00kit rate:7.1s/it remaining:2:36:51 elapsed:3:21:37 postfix:- (1980:tqdm_logging.py:145)
13:59:09.909 [I] Progress on: 1.67kit/3.00kit rate:7.1s/it remaining:2:36:41 elapsed:3:21:52 postfix:- (1980:tqdm_logging.py:145)
13:59:24.076 [I] Progress on: 1.67kit/3.00kit rate:7.1s/it remaining:2:36:30 elapsed:3:22:06 postfix:- (1980:tqdm_logging.py:145)
13:59:38.245 [I] Progress on: 1.68kit/3.00kit rate:7.1s/it remaining:2:36:18 elapsed:3:22:20 postfix:- (1980:tqdm_logging.py:145)
13:59:52.413 [I] Progress on: 1.68kit/3.00kit rate:7.1s/it remaining:2:36:04 elapsed:3:22:34 postfix:- (1980:tqdm_logging.py:145)
14:00:06.585 [I] Progress on: 1.68kit/3.00kit rate:7.1s/it remaining:2:35:52 elapsed:3:22:48 postfix:- (1980:tqdm_logging.py:145)
14:00:20.762 [I] Progress on: 1.68kit/3.00kit rate:7.1s/it remaining:2:35:39 elapsed:3:23:02 postfix:- (1980:tqdm_logging.py:145)
14:00:34.913 [I] Progress on: 1.68kit/3.00kit rate:7.1s/it remaining:2:35:17 elapsed:3:23:17 postfix:- (1980:tqdm_logging.py:145)
14:00:49.104 [I] Progress on: 1.69kit/3.00kit rate:7.1s/it remaining:2:35:12 elapsed:3:23:31 postfix:- (1980:tqdm_logging.py:145)
14:01:03.265 [I] Progress on: 1.69kit/3.00kit rate:7.1s/it remaining:2:34:53 elapsed:3:23:45 postfix:- (1980:tqdm_logging.py:145)
14:01:17.422 [I] Progress on: 1.69kit/3.00kit rate:7.1s/it remaining:2:34:35 elapsed:3:23:59 postfix:- (1980:tqdm_logging.py:145)
14:01:31.629 [I] Progress on: 1.69kit/3.00kit rate:7.1s/it remaining:2:34:35 elapsed:3:24:13 postfix:- (1980:tqdm_logging.py:145)
14:01:45.815 [I] Progress on: 1.69kit/3.00kit rate:7.1s/it remaining:2:34:21 elapsed:3:24:28 postfix:- (1980:tqdm_logging.py:145)
14:01:59.955 [I] Progress on: 1.70kit/3.00kit rate:7.1s/it remaining:2:33:52 elapsed:3:24:42 postfix:- (1980:tqdm_logging.py:145)
14:02:14.192 [I] Progress on: 1.70kit/3.00kit rate:7.1s/it remaining:2:34:04 elapsed:3:24:56 postfix:- (1980:tqdm_logging.py:145)
14:02:28.341 [I] Progress on: 1.70kit/3.00kit rate:7.1s/it remaining:2:33:35 elapsed:3:25:10 postfix:- (1980:tqdm_logging.py:145)


Step 1700: grad_norm=0.0307, loss=0.0051, param_norm=1804.0409
14:02:42.145 [I] Progress on: 1.70kit/3.00kit rate:7.1s/it remaining:2:33:35 elapsed:3:25:24 postfix:- (1980:tqdm_logging.py:145)
14:02:56.720 [I] Progress on: 1.70kit/3.00kit rate:6.8s/it remaining:2:26:42 elapsed:3:25:38 postfix:- (1980:tqdm_logging.py:145)
14:03:10.898 [I] Progress on: 1.71kit/3.00kit rate:6.9s/it remaining:2:29:44 elapsed:3:25:53 postfix:- (1980:tqdm_logging.py:145)
14:03:25.081 [I] Progress on: 1.71kit/3.00kit rate:7.0s/it remaining:2:31:08 elapsed:3:26:07 postfix:- (1980:tqdm_logging.py:145)
14:03:39.253 [I] Progress on: 1.71kit/3.00kit rate:7.1s/it remaining:2:31:39 elapsed:3:26:21 postfix:- (1980:tqdm_logging.py:145)
14:03:53.406 [I] Progress on: 1.71kit/3.00kit rate:7.1s/it remaining:2:31:38 elapsed:3:26:35 postfix:- (1980:tqdm_logging.py:145)
14:04:07.560 [I] Progress on: 1.71kit/3.00kit rate:7.1s/it remaining:2:31:31 elapsed:3:26:49 postfix:- (1980:tqdm_logging.py:145)
14:04:21.713 [I] Progress on: 1.72kit/3.00kit rate:7.1s/it remaining:2:31:20 elapsed:3:27:03 postfix:- (1980:tqdm_logging.py:145)
14:04:35.897 [I] Progress on: 1.72kit/3.00kit rate:7.1s/it remaining:2:31:20 elapsed:3:27:18 postfix:- (1980:tqdm_logging.py:145)
14:04:50.067 [I] Progress on: 1.72kit/3.00kit rate:7.1s/it remaining:2:31:07 elapsed:3:27:32 postfix:- (1980:tqdm_logging.py:145)
14:05:04.216 [I] Progress on: 1.72kit/3.00kit rate:7.1s/it remaining:2:30:47 elapsed:3:27:46 postfix:- (1980:tqdm_logging.py:145)
14:05:18.371 [I] Progress on: 1.72kit/3.00kit rate:7.1s/it remaining:2:30:32 elapsed:3:28:00 postfix:- (1980:tqdm_logging.py:145)
14:05:32.553 [I] Progress on: 1.73kit/3.00kit rate:7.1s/it remaining:2:30:24 elapsed:3:28:14 postfix:- (1980:tqdm_logging.py:145)
14:05:46.719 [I] Progress on: 1.73kit/3.00kit rate:7.1s/it remaining:2:30:09 elapsed:3:28:28 postfix:- (1980:tqdm_logging.py:145)
14:06:00.865 [I] Progress on: 1.73kit/3.00kit rate:7.1s/it remaining:2:29:48 elapsed:3:28:43 postfix:- (1980:tqdm_logging.py:145)
14:06:15.051 [I] Progress on: 1.73kit/3.00kit rate:7.1s/it remaining:2:29:41 elapsed:3:28:57 postfix:- (1980:tqdm_logging.py:145)
14:06:29.215 [I] Progress on: 1.73kit/3.00kit rate:7.1s/it remaining:2:29:25 elapsed:3:29:11 postfix:- (1980:tqdm_logging.py:145)
14:06:43.373 [I] Progress on: 1.74kit/3.00kit rate:7.1s/it remaining:2:29:07 elapsed:3:29:25 postfix:- (1980:tqdm_logging.py:145)
14:06:57.544 [I] Progress on: 1.74kit/3.00kit rate:7.1s/it remaining:2:28:56 elapsed:3:29:39 postfix:- (1980:tqdm_logging.py:145)
14:07:11.726 [I] Progress on: 1.74kit/3.00kit rate:7.1s/it remaining:2:28:49 elapsed:3:29:53 postfix:- (1980:tqdm_logging.py:145)
14:07:25.879 [I] Progress on: 1.74kit/3.00kit rate:7.1s/it remaining:2:28:29 elapsed:3:30:08 postfix:- (1980:tqdm_logging.py:145)
14:07:40.054 [I] Progress on: 1.74kit/3.00kit rate:7.1s/it remaining:2:28:21 elapsed:3:30:22 postfix:- (1980:tqdm_logging.py:145)
14:07:54.172 [I] Progress on: 1.75kit/3.00kit rate:7.1s/it remaining:2:27:51 elapsed:3:30:36 postfix:- (1980:tqdm_logging.py:145)
14:08:08.326 [I] Progress on: 1.75kit/3.00kit rate:7.1s/it remaining:2:27:36 elapsed:3:30:50 postfix:- (1980:tqdm_logging.py:145)
14:08:22.481 [I] Progress on: 1.75kit/3.00kit rate:7.1s/it remaining:2:27:24 elapsed:3:31:04 postfix:- (1980:tqdm_logging.py:145)


Step 1750: grad_norm=0.0308, loss=0.0050, param_norm=1804.0447
14:08:36.288 [I] Progress on: 1.75kit/3.00kit rate:7.1s/it remaining:2:27:24 elapsed:3:31:18 postfix:- (1980:tqdm_logging.py:145)
14:08:50.888 [I] Progress on: 1.75kit/3.00kit rate:6.8s/it remaining:2:21:03 elapsed:3:31:33 postfix:- (1980:tqdm_logging.py:145)
14:09:05.066 [I] Progress on: 1.76kit/3.00kit rate:6.9s/it remaining:2:23:57 elapsed:3:31:47 postfix:- (1980:tqdm_logging.py:145)
14:09:19.226 [I] Progress on: 1.76kit/3.00kit rate:7.0s/it remaining:2:25:08 elapsed:3:32:01 postfix:- (1980:tqdm_logging.py:145)
14:09:33.399 [I] Progress on: 1.76kit/3.00kit rate:7.0s/it remaining:2:25:40 elapsed:3:32:15 postfix:- (1980:tqdm_logging.py:145)
14:09:47.574 [I] Progress on: 1.76kit/3.00kit rate:7.1s/it remaining:2:25:50 elapsed:3:32:29 postfix:- (1980:tqdm_logging.py:145)
14:10:01.748 [I] Progress on: 1.76kit/3.00kit rate:7.1s/it remaining:2:25:47 elapsed:3:32:43 postfix:- (1980:tqdm_logging.py:145)
14:10:15.902 [I] Progress on: 1.77kit/3.00kit rate:7.1s/it remaining:2:25:31 elapsed:3:32:58 postfix:- (1980:tqdm_logging.py:145)
14:10:30.079 [I] Progress on: 1.77kit/3.00kit rate:7.1s/it remaining:2:25:24 elapsed:3:33:12 postfix:- (1980:tqdm_logging.py:145)
14:10:44.257 [I] Progress on: 1.77kit/3.00kit rate:7.1s/it remaining:2:25:14 elapsed:3:33:26 postfix:- (1980:tqdm_logging.py:145)
14:10:58.454 [I] Progress on: 1.77kit/3.00kit rate:7.1s/it remaining:2:25:06 elapsed:3:33:40 postfix:- (1980:tqdm_logging.py:145)
14:11:12.618 [I] Progress on: 1.77kit/3.00kit rate:7.1s/it remaining:2:24:48 elapsed:3:33:54 postfix:- (1980:tqdm_logging.py:145)
14:11:26.790 [I] Progress on: 1.78kit/3.00kit rate:7.1s/it remaining:2:24:34 elapsed:3:34:09 postfix:- (1980:tqdm_logging.py:145)
14:11:40.940 [I] Progress on: 1.78kit/3.00kit rate:7.1s/it remaining:2:24:13 elapsed:3:34:23 postfix:- (1980:tqdm_logging.py:145)
14:11:55.131 [I] Progress on: 1.78kit/3.00kit rate:7.1s/it remaining:2:24:09 elapsed:3:34:37 postfix:- (1980:tqdm_logging.py:145)
14:12:09.277 [I] Progress on: 1.78kit/3.00kit rate:7.1s/it remaining:2:23:46 elapsed:3:34:51 postfix:- (1980:tqdm_logging.py:145)
14:12:23.435 [I] Progress on: 1.78kit/3.00kit rate:7.1s/it remaining:2:23:30 elapsed:3:35:05 postfix:- (1980:tqdm_logging.py:145)
14:12:37.615 [I] Progress on: 1.79kit/3.00kit rate:7.1s/it remaining:2:23:21 elapsed:3:35:19 postfix:- (1980:tqdm_logging.py:145)
14:12:51.777 [I] Progress on: 1.79kit/3.00kit rate:7.1s/it remaining:2:23:05 elapsed:3:35:34 postfix:- (1980:tqdm_logging.py:145)
14:13:05.933 [I] Progress on: 1.79kit/3.00kit rate:7.1s/it remaining:2:22:46 elapsed:3:35:48 postfix:- (1980:tqdm_logging.py:145)
14:13:20.098 [I] Progress on: 1.79kit/3.00kit rate:7.1s/it remaining:2:22:33 elapsed:3:36:02 postfix:- (1980:tqdm_logging.py:145)
14:13:34.263 [I] Progress on: 1.79kit/3.00kit rate:7.1s/it remaining:2:22:20 elapsed:3:36:16 postfix:- (1980:tqdm_logging.py:145)
14:13:48.415 [I] Progress on: 1.80kit/3.00kit rate:7.1s/it remaining:2:22:02 elapsed:3:36:30 postfix:- (1980:tqdm_logging.py:145)
14:14:02.582 [I] Progress on: 1.80kit/3.00kit rate:7.1s/it remaining:2:21:51 elapsed:3:36:44 postfix:- (1980:tqdm_logging.py:145)
14:14:16.786 [I] Progress on: 1.80kit/3.00kit rate:7.1s/it remaining:2:21:47 elapsed:3:36:59 postfix:- (1980:tqdm_logging.py:145)


Step 1800: grad_norm=0.0305, loss=0.0048, param_norm=1804.0483
14:14:30.631 [I] Progress on: 1.80kit/3.00kit rate:7.1s/it remaining:2:21:47 elapsed:3:37:12 postfix:- (1980:tqdm_logging.py:145)
14:14:45.206 [I] Progress on: 1.80kit/3.00kit rate:6.8s/it remaining:2:15:29 elapsed:3:37:27 postfix:- (1980:tqdm_logging.py:145)
14:14:59.363 [I] Progress on: 1.81kit/3.00kit rate:6.9s/it remaining:2:18:07 elapsed:3:37:41 postfix:- (1980:tqdm_logging.py:145)
14:15:13.575 [I] Progress on: 1.81kit/3.00kit rate:7.0s/it remaining:2:19:34 elapsed:3:37:55 postfix:- (1980:tqdm_logging.py:145)
14:15:27.750 [I] Progress on: 1.81kit/3.00kit rate:7.1s/it remaining:2:19:57 elapsed:3:38:09 postfix:- (1980:tqdm_logging.py:145)
14:15:41.931 [I] Progress on: 1.81kit/3.00kit rate:7.1s/it remaining:2:20:03 elapsed:3:38:24 postfix:- (1980:tqdm_logging.py:145)
14:15:56.093 [I] Progress on: 1.81kit/3.00kit rate:7.1s/it remaining:2:19:54 elapsed:3:38:38 postfix:- (1980:tqdm_logging.py:145)
14:16:10.266 [I] Progress on: 1.82kit/3.00kit rate:7.1s/it remaining:2:19:45 elapsed:3:38:52 postfix:- (1980:tqdm_logging.py:145)
14:16:24.464 [I] Progress on: 1.82kit/3.00kit rate:7.1s/it remaining:2:19:41 elapsed:3:39:06 postfix:- (1980:tqdm_logging.py:145)
14:16:38.628 [I] Progress on: 1.82kit/3.00kit rate:7.1s/it remaining:2:19:23 elapsed:3:39:20 postfix:- (1980:tqdm_logging.py:145)
14:16:52.782 [I] Progress on: 1.82kit/3.00kit rate:7.1s/it remaining:2:19:03 elapsed:3:39:35 postfix:- (1980:tqdm_logging.py:145)
14:17:06.946 [I] Progress on: 1.82kit/3.00kit rate:7.1s/it remaining:2:18:48 elapsed:3:39:49 postfix:- (1980:tqdm_logging.py:145)
14:17:21.127 [I] Progress on: 1.83kit/3.00kit rate:7.1s/it remaining:2:18:39 elapsed:3:40:03 postfix:- (1980:tqdm_logging.py:145)
14:17:35.320 [I] Progress on: 1.83kit/3.00kit rate:7.1s/it remaining:2:18:32 elapsed:3:40:17 postfix:- (1980:tqdm_logging.py:145)
14:17:49.474 [I] Progress on: 1.83kit/3.00kit rate:7.1s/it remaining:2:18:09 elapsed:3:40:31 postfix:- (1980:tqdm_logging.py:145)
14:18:03.650 [I] Progress on: 1.83kit/3.00kit rate:7.1s/it remaining:2:17:57 elapsed:3:40:45 postfix:- (1980:tqdm_logging.py:145)
14:18:17.809 [I] Progress on: 1.83kit/3.00kit rate:7.1s/it remaining:2:17:38 elapsed:3:41:00 postfix:- (1980:tqdm_logging.py:145)
14:18:31.969 [I] Progress on: 1.84kit/3.00kit rate:7.1s/it remaining:2:17:23 elapsed:3:41:14 postfix:- (1980:tqdm_logging.py:145)
14:18:46.157 [I] Progress on: 1.84kit/3.00kit rate:7.1s/it remaining:2:17:13 elapsed:3:41:28 postfix:- (1980:tqdm_logging.py:145)
14:19:00.351 [I] Progress on: 1.84kit/3.00kit rate:7.1s/it remaining:2:17:06 elapsed:3:41:42 postfix:- (1980:tqdm_logging.py:145)
14:19:14.527 [I] Progress on: 1.84kit/3.00kit rate:7.1s/it remaining:2:16:49 elapsed:3:41:56 postfix:- (1980:tqdm_logging.py:145)
14:19:28.715 [I] Progress on: 1.84kit/3.00kit rate:7.1s/it remaining:2:16:36 elapsed:3:42:10 postfix:- (1980:tqdm_logging.py:145)
14:19:42.920 [I] Progress on: 1.85kit/3.00kit rate:7.1s/it remaining:2:16:29 elapsed:3:42:25 postfix:- (1980:tqdm_logging.py:145)
14:19:57.082 [I] Progress on: 1.85kit/3.00kit rate:7.1s/it remaining:2:16:07 elapsed:3:42:39 postfix:- (1980:tqdm_logging.py:145)
14:20:11.266 [I] Progress on: 1.85kit/3.00kit rate:7.1s/it remaining:2:15:54 elapsed:3:42:53 postfix:- (1980:tqdm_logging.py:145)


Step 1850: grad_norm=0.0290, loss=0.0047, param_norm=1804.0516
14:20:25.105 [I] Progress on: 1.85kit/3.00kit rate:7.1s/it remaining:2:15:54 elapsed:3:43:07 postfix:- (1980:tqdm_logging.py:145)
14:20:39.726 [I] Progress on: 1.85kit/3.00kit rate:6.8s/it remaining:2:09:59 elapsed:3:43:21 postfix:- (1980:tqdm_logging.py:145)
14:20:53.898 [I] Progress on: 1.86kit/3.00kit rate:6.9s/it remaining:2:12:30 elapsed:3:43:36 postfix:- (1980:tqdm_logging.py:145)
14:21:08.062 [I] Progress on: 1.86kit/3.00kit rate:7.0s/it remaining:2:13:34 elapsed:3:43:50 postfix:- (1980:tqdm_logging.py:145)
14:21:22.231 [I] Progress on: 1.86kit/3.00kit rate:7.1s/it remaining:2:13:59 elapsed:3:44:04 postfix:- (1980:tqdm_logging.py:145)
14:21:36.402 [I] Progress on: 1.86kit/3.00kit rate:7.1s/it remaining:2:14:04 elapsed:3:44:18 postfix:- (1980:tqdm_logging.py:145)
14:21:50.560 [I] Progress on: 1.86kit/3.00kit rate:7.1s/it remaining:2:13:56 elapsed:3:44:32 postfix:- (1980:tqdm_logging.py:145)
14:22:04.752 [I] Progress on: 1.87kit/3.00kit rate:7.1s/it remaining:2:13:56 elapsed:3:44:46 postfix:- (1980:tqdm_logging.py:145)
14:22:18.912 [I] Progress on: 1.87kit/3.00kit rate:7.1s/it remaining:2:13:38 elapsed:3:45:01 postfix:- (1980:tqdm_logging.py:145)
14:22:33.083 [I] Progress on: 1.87kit/3.00kit rate:7.1s/it remaining:2:13:25 elapsed:3:45:15 postfix:- (1980:tqdm_logging.py:145)
14:22:47.261 [I] Progress on: 1.87kit/3.00kit rate:7.1s/it remaining:2:13:14 elapsed:3:45:29 postfix:- (1980:tqdm_logging.py:145)
14:23:01.412 [I] Progress on: 1.87kit/3.00kit rate:7.1s/it remaining:2:12:53 elapsed:3:45:43 postfix:- (1980:tqdm_logging.py:145)
14:23:15.594 [I] Progress on: 1.88kit/3.00kit rate:7.1s/it remaining:2:12:43 elapsed:3:45:57 postfix:- (1980:tqdm_logging.py:145)
14:23:29.783 [I] Progress on: 1.88kit/3.00kit rate:7.1s/it remaining:2:12:33 elapsed:3:46:12 postfix:- (1980:tqdm_logging.py:145)
14:23:43.982 [I] Progress on: 1.88kit/3.00kit rate:7.1s/it remaining:2:12:25 elapsed:3:46:26 postfix:- (1980:tqdm_logging.py:145)
14:23:58.151 [I] Progress on: 1.88kit/3.00kit rate:7.1s/it remaining:2:12:03 elapsed:3:46:40 postfix:- (1980:tqdm_logging.py:145)
14:24:12.324 [I] Progress on: 1.88kit/3.00kit rate:7.1s/it remaining:2:11:49 elapsed:3:46:54 postfix:- (1980:tqdm_logging.py:145)
14:24:26.509 [I] Progress on: 1.89kit/3.00kit rate:7.1s/it remaining:2:11:37 elapsed:3:47:08 postfix:- (1980:tqdm_logging.py:145)
14:24:40.703 [I] Progress on: 1.89kit/3.00kit rate:7.1s/it remaining:2:11:26 elapsed:3:47:22 postfix:- (1980:tqdm_logging.py:145)
14:24:54.893 [I] Progress on: 1.89kit/3.00kit rate:7.1s/it remaining:2:11:13 elapsed:3:47:37 postfix:- (1980:tqdm_logging.py:145)
14:25:09.070 [I] Progress on: 1.89kit/3.00kit rate:7.1s/it remaining:2:10:54 elapsed:3:47:51 postfix:- (1980:tqdm_logging.py:145)
14:25:23.247 [I] Progress on: 1.89kit/3.00kit rate:7.1s/it remaining:2:10:40 elapsed:3:48:05 postfix:- (1980:tqdm_logging.py:145)
14:25:37.418 [I] Progress on: 1.90kit/3.00kit rate:7.1s/it remaining:2:10:22 elapsed:3:48:19 postfix:- (1980:tqdm_logging.py:145)
14:25:51.612 [I] Progress on: 1.90kit/3.00kit rate:7.1s/it remaining:2:10:13 elapsed:3:48:33 postfix:- (1980:tqdm_logging.py:145)
14:26:05.788 [I] Progress on: 1.90kit/3.00kit rate:7.1s/it remaining:2:09:56 elapsed:3:48:48 postfix:- (1980:tqdm_logging.py:145)


Step 1900: grad_norm=0.0290, loss=0.0046, param_norm=1804.0547
14:26:19.666 [I] Progress on: 1.90kit/3.00kit rate:7.1s/it remaining:2:09:56 elapsed:3:49:01 postfix:- (1980:tqdm_logging.py:145)
14:26:34.281 [I] Progress on: 1.90kit/3.00kit rate:6.8s/it remaining:2:04:17 elapsed:3:49:16 postfix:- (1980:tqdm_logging.py:145)
14:26:48.494 [I] Progress on: 1.91kit/3.00kit rate:7.0s/it remaining:2:06:53 elapsed:3:49:30 postfix:- (1980:tqdm_logging.py:145)
14:27:02.666 [I] Progress on: 1.91kit/3.00kit rate:7.0s/it remaining:2:07:51 elapsed:3:49:44 postfix:- (1980:tqdm_logging.py:145)
14:27:16.848 [I] Progress on: 1.91kit/3.00kit rate:7.1s/it remaining:2:08:12 elapsed:3:49:59 postfix:- (1980:tqdm_logging.py:145)
14:27:31.022 [I] Progress on: 1.91kit/3.00kit rate:7.1s/it remaining:2:08:14 elapsed:3:50:13 postfix:- (1980:tqdm_logging.py:145)
14:27:45.185 [I] Progress on: 1.91kit/3.00kit rate:7.1s/it remaining:2:08:04 elapsed:3:50:27 postfix:- (1980:tqdm_logging.py:145)
14:27:59.382 [I] Progress on: 1.92kit/3.00kit rate:7.1s/it remaining:2:08:02 elapsed:3:50:41 postfix:- (1980:tqdm_logging.py:145)
14:28:13.557 [I] Progress on: 1.92kit/3.00kit rate:7.1s/it remaining:2:07:48 elapsed:3:50:55 postfix:- (1980:tqdm_logging.py:145)
14:28:27.737 [I] Progress on: 1.92kit/3.00kit rate:7.1s/it remaining:2:07:34 elapsed:3:51:09 postfix:- (1980:tqdm_logging.py:145)
14:28:41.924 [I] Progress on: 1.92kit/3.00kit rate:7.1s/it remaining:2:07:24 elapsed:3:51:24 postfix:- (1980:tqdm_logging.py:145)
14:28:56.102 [I] Progress on: 1.92kit/3.00kit rate:7.1s/it remaining:2:07:07 elapsed:3:51:38 postfix:- (1980:tqdm_logging.py:145)
14:29:10.273 [I] Progress on: 1.93kit/3.00kit rate:7.1s/it remaining:2:06:50 elapsed:3:51:52 postfix:- (1980:tqdm_logging.py:145)
14:29:24.464 [I] Progress on: 1.93kit/3.00kit rate:7.1s/it remaining:2:06:41 elapsed:3:52:06 postfix:- (1980:tqdm_logging.py:145)
14:29:38.647 [I] Progress on: 1.93kit/3.00kit rate:7.1s/it remaining:2:06:27 elapsed:3:52:20 postfix:- (1980:tqdm_logging.py:145)
14:29:52.820 [I] Progress on: 1.93kit/3.00kit rate:7.1s/it remaining:2:06:09 elapsed:3:52:35 postfix:- (1980:tqdm_logging.py:145)
14:30:07.021 [I] Progress on: 1.93kit/3.00kit rate:7.1s/it remaining:2:06:01 elapsed:3:52:49 postfix:- (1980:tqdm_logging.py:145)
14:30:21.271 [I] Progress on: 1.94kit/3.00kit rate:7.1s/it remaining:2:06:06 elapsed:3:53:03 postfix:- (1980:tqdm_logging.py:145)
14:30:35.422 [I] Progress on: 1.94kit/3.00kit rate:7.1s/it remaining:2:05:31 elapsed:3:53:17 postfix:- (1980:tqdm_logging.py:145)
14:30:49.594 [I] Progress on: 1.94kit/3.00kit rate:7.1s/it remaining:2:05:13 elapsed:3:53:31 postfix:- (1980:tqdm_logging.py:145)
14:31:03.778 [I] Progress on: 1.94kit/3.00kit rate:7.1s/it remaining:2:05:00 elapsed:3:53:46 postfix:- (1980:tqdm_logging.py:145)
14:31:17.960 [I] Progress on: 1.94kit/3.00kit rate:7.1s/it remaining:2:04:46 elapsed:3:54:00 postfix:- (1980:tqdm_logging.py:145)
14:31:32.137 [I] Progress on: 1.95kit/3.00kit rate:7.1s/it remaining:2:04:30 elapsed:3:54:14 postfix:- (1980:tqdm_logging.py:145)
14:31:46.327 [I] Progress on: 1.95kit/3.00kit rate:7.1s/it remaining:2:04:20 elapsed:3:54:28 postfix:- (1980:tqdm_logging.py:145)
14:32:00.508 [I] Progress on: 1.95kit/3.00kit rate:7.1s/it remaining:2:04:06 elapsed:3:54:42 postfix:- (1980:tqdm_logging.py:145)


Step 1950: grad_norm=0.0284, loss=0.0043, param_norm=1804.0570
14:32:14.354 [I] Progress on: 1.95kit/3.00kit rate:7.1s/it remaining:2:04:06 elapsed:3:54:56 postfix:- (1980:tqdm_logging.py:145)
14:32:28.960 [I] Progress on: 1.95kit/3.00kit rate:6.8s/it remaining:1:58:34 elapsed:3:55:11 postfix:- (1980:tqdm_logging.py:145)
14:32:43.134 [I] Progress on: 1.96kit/3.00kit rate:6.9s/it remaining:2:00:52 elapsed:3:55:25 postfix:- (1980:tqdm_logging.py:145)
14:32:57.316 [I] Progress on: 1.96kit/3.00kit rate:7.0s/it remaining:2:01:55 elapsed:3:55:39 postfix:- (1980:tqdm_logging.py:145)
14:33:11.485 [I] Progress on: 1.96kit/3.00kit rate:7.1s/it remaining:2:02:15 elapsed:3:55:53 postfix:- (1980:tqdm_logging.py:145)
14:33:25.657 [I] Progress on: 1.96kit/3.00kit rate:7.1s/it remaining:2:02:17 elapsed:3:56:07 postfix:- (1980:tqdm_logging.py:145)
14:33:39.853 [I] Progress on: 1.96kit/3.00kit rate:7.1s/it remaining:2:02:16 elapsed:3:56:22 postfix:- (1980:tqdm_logging.py:145)
14:33:54.048 [I] Progress on: 1.97kit/3.00kit rate:7.1s/it remaining:2:02:10 elapsed:3:56:36 postfix:- (1980:tqdm_logging.py:145)
14:34:08.234 [I] Progress on: 1.97kit/3.00kit rate:7.1s/it remaining:2:01:56 elapsed:3:56:50 postfix:- (1980:tqdm_logging.py:145)
14:34:22.399 [I] Progress on: 1.97kit/3.00kit rate:7.1s/it remaining:2:01:38 elapsed:3:57:04 postfix:- (1980:tqdm_logging.py:145)
14:34:36.584 [I] Progress on: 1.97kit/3.00kit rate:7.1s/it remaining:2:01:27 elapsed:3:57:18 postfix:- (1980:tqdm_logging.py:145)
14:34:50.760 [I] Progress on: 1.97kit/3.00kit rate:7.1s/it remaining:2:01:12 elapsed:3:57:32 postfix:- (1980:tqdm_logging.py:145)
14:35:04.934 [I] Progress on: 1.98kit/3.00kit rate:7.1s/it remaining:2:00:57 elapsed:3:57:47 postfix:- (1980:tqdm_logging.py:145)
14:35:19.119 [I] Progress on: 1.98kit/3.00kit rate:7.1s/it remaining:2:00:45 elapsed:3:58:01 postfix:- (1980:tqdm_logging.py:145)
14:35:33.318 [I] Progress on: 1.98kit/3.00kit rate:7.1s/it remaining:2:00:36 elapsed:3:58:15 postfix:- (1980:tqdm_logging.py:145)
14:35:47.488 [I] Progress on: 1.98kit/3.00kit rate:7.1s/it remaining:2:00:16 elapsed:3:58:29 postfix:- (1980:tqdm_logging.py:145)
14:36:01.662 [I] Progress on: 1.98kit/3.00kit rate:7.1s/it remaining:2:00:01 elapsed:3:58:43 postfix:- (1980:tqdm_logging.py:145)
14:36:15.824 [I] Progress on: 1.99kit/3.00kit rate:7.1s/it remaining:1:59:44 elapsed:3:58:58 postfix:- (1980:tqdm_logging.py:145)
14:36:29.994 [I] Progress on: 1.99kit/3.00kit rate:7.1s/it remaining:1:59:30 elapsed:3:59:12 postfix:- (1980:tqdm_logging.py:145)
14:36:44.177 [I] Progress on: 1.99kit/3.00kit rate:7.1s/it remaining:1:59:19 elapsed:3:59:26 postfix:- (1980:tqdm_logging.py:145)
14:36:58.353 [I] Progress on: 1.99kit/3.00kit rate:7.1s/it remaining:1:59:04 elapsed:3:59:40 postfix:- (1980:tqdm_logging.py:145)
14:37:12.550 [I] Progress on: 1.99kit/3.00kit rate:7.1s/it remaining:1:58:54 elapsed:3:59:54 postfix:- (1980:tqdm_logging.py:145)
14:37:26.741 [I] Progress on: 2.00kit/3.00kit rate:7.1s/it remaining:1:58:41 elapsed:4:00:08 postfix:- (1980:tqdm_logging.py:145)
14:37:40.935 [I] Progress on: 2.00kit/3.00kit rate:7.1s/it remaining:1:58:28 elapsed:4:00:23 postfix:- (1980:tqdm_logging.py:145)
14:37:55.129 [I] Progress on: 2.00kit/3.00kit rate:7.1s/it remaining:1:58:15 elapsed:4:00:37 postfix:- (1980:tqdm_logging.py:145)


Step 2000: grad_norm=0.0287, loss=0.0044, param_norm=1804.0594
14:38:09.017 [I] Progress on: 2.00kit/3.00kit rate:7.1s/it remaining:1:58:15 elapsed:4:00:51 postfix:- (1980:tqdm_logging.py:145)
14:38:09.113 [I] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. (1980:checkpoint_manager.py:1987)
14:38:09.114 [I] [process=0] Saving checkpoint at step 2000                                       (1980:checkpoint_manager.py:1408)
14:38:09.115 [I] [process=0] Started async saving checkpoint to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000. (1980:async_checkpointer.py:439)
14:38:09.118 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4 (1980:atomicity.py:144)
14:38:09.140 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/assets.orbax-checkpoint-tmp-5 (1980:atomicity.py:144)
14:38:09.140 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/params.orbax-checkpoint-tmp-6 (1980:atomicity.py:144)
14:38:09.140 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/train_state.orbax-checkpoint-tmp-7 (1980:atomicity.py:144)
14:38:09.162 [I] Transferring arrays to host memory with options: use_replica_parallel=True, enable_pinned_host_transfer=False (1980:replica_slices.py:341)
14:38:11.948 [I] Transferring arrays to host memory with options: use_replica_parallel=True, enable_pinned_host_transfer=False (1980:replica_slices.py:341)
14:38:11.961 [I] Array name: 'params.PaliGemma.llm.layers.mlp.gating_einsum.value', global shape: (18, 2, 2048, 16384), write shape: (18, 2, 2048, 16384), chosen chunk shape: (18, 2, 2048, 8192) (1980:tensorstore_utils.py:408)
14:38:12.031 [I] [process=0][thread=array_type_handler] Wrote 71 array_metadata.ArrayMetadata to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/params.orbax-checkpoint-tmp-6/array_metadatas/process_0 (1980:array_metadata_store.py:198)
14:38:14.210 [I] [process=0] /jax/checkpoint/write/blocking_bytes_per_sec: 1.4 GiB/s (total bytes: 7.2 GiB) (time elapsed: 5 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
14:38:14.214 [I] [process=0] /jax/checkpoint/write/blocking_bytes_per_sec: 700.6 MiB/s (total bytes: 3.5 GiB) (time elapsed: 5 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
14:38:14.227 [I] [process=0][thread=async_save] Background save thread started.                   (1980:async_checkpointer.py:77)
14:38:14.228 [I] Finished blocking save in 5.11 seconds. Continuing to save asynchronously to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000. (1980:async_checkpointer.py:548)
14:38:14.229 [I] Preserving Checkpoint[step=1000 | time=2026-11-24 12:40:01.477906+00:00]: (Reason: on keep_period=1000). (1980:checkpoint_manager.py:1949)
14:38:14.229 [I] [process=0][thread=MainThread][step=2000] Starting CheckpointManager Save Finalize thread=save_finalize (1980:checkpoint_manager.py:1453)
14:38:14.229 [I] [process=0][thread=save_finalize] Waiting for background save thread=async_save. (1980:async_checkpointer.py:258)
14:38:14.230 [I] {'step': 2000, 'event_type': 'save', 'directory': '/workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1795531089.1132603, 'wait_for_prev_duration_secs': 0.00018787384033203125, 'checkpointer_blocking_start_time': 1795531089.114171, 'checkpointer_blocking_duration_secs': 5.114962816238403, 'get_old_steps_start_time': 1795531094.2292135, 'get_old_steps_duration_secs': 0.0001971721649169922, 'checkpoint_manager_blocking_start_time': 1795531089.1127913, 'checkpoint_manager_blocking_duration_secs': 5.11800479888916} (1980:standard_logger.py:34)
14:38:14.354 [I] [process=0][thread=array_type_handler] Wrote 105 array_metadata.ArrayMetadata to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/train_state.orbax-checkpoint-tmp-7/array_metadatas/process_0 (1980:array_metadata_store.py:198)
14:38:18.016 [I] [process=0] /jax/checkpoint/write/bytes_per_sec: 829.9 MiB/s (total bytes: 7.2 GiB) (time elapsed: 8 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
14:38:18.020 [I] [process=0] /jax/checkpoint/write/bytes_per_sec: 400.7 MiB/s (total bytes: 3.5 GiB) (time elapsed: 8 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
14:38:18.020 [I] [process=0][thread=async_save] 5 Handler Commit operations completed.            (1980:async_checkpointer.py:87)
14:38:18.020 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/assets.orbax-checkpoint-tmp-5 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/assets (1980:atomicity.py:289)
14:38:18.023 [I] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0. (1980:array_metadata_store.py:362)
14:38:18.031 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/train_state.orbax-checkpoint-tmp-7 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/train_state (1980:atomicity.py:289)
14:38:18.033 [I] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0. (1980:array_metadata_store.py:362)
14:38:18.040 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/params.orbax-checkpoint-tmp-6 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4/params (1980:atomicity.py:289)
14:38:18.040 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000.orbax-checkpoint-tmp-4 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000 (1980:atomicity.py:289)
14:38:18.043 [I] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `/workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000`. (1980:atomicity.py:573)
14:38:18.043 [I] Finished asynchronous save (blocking + background) in 8.93 seconds to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2000 (1980:async_checkpointer.py:412)
14:38:18.043 [I] [process=0][thread=async_save] Background save thread done.                      (1980:async_checkpointer.py:143)
14:38:18.043 [I] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save. (1980:async_checkpointer.py:266)
14:38:18.043 [I] [process=0][thread=save_finalize] No errors found in background save thread=async_save. (1980:async_checkpointer.py:276)
14:38:18.043 [I] [process=0][thread=save_finalize][step=2000] CheckpointManager Save Finalize is syncing with other hosts... (1980:checkpoint_manager.py:2095)
14:38:18.043 [I] [process=0][thread=save_finalize][step=2000] CheckpointManager Save Finalize is done on all hosts. (1980:checkpoint_manager.py:2110)
14:38:21.677 [I] Progress on: 2.00kit/3.00kit rate:7.4s/it remaining:2:02:57 elapsed:4:01:03 postfix:- (1980:tqdm_logging.py:145)
14:38:35.822 [I] Progress on: 2.00kit/3.00kit rate:7.2s/it remaining:1:59:56 elapsed:4:01:18 postfix:- (1980:tqdm_logging.py:145)
14:38:49.968 [I] Progress on: 2.01kit/3.00kit rate:7.2s/it remaining:1:58:22 elapsed:4:01:32 postfix:- (1980:tqdm_logging.py:145)
14:39:04.164 [I] Progress on: 2.01kit/3.00kit rate:7.1s/it remaining:1:57:40 elapsed:4:01:46 postfix:- (1980:tqdm_logging.py:145)
14:39:18.349 [I] Progress on: 2.01kit/3.00kit rate:7.1s/it remaining:1:57:09 elapsed:4:02:00 postfix:- (1980:tqdm_logging.py:145)
14:39:32.543 [I] Progress on: 2.01kit/3.00kit rate:7.1s/it remaining:1:56:50 elapsed:4:02:14 postfix:- (1980:tqdm_logging.py:145)
14:39:46.718 [I] Progress on: 2.02kit/3.00kit rate:7.1s/it remaining:1:56:28 elapsed:4:02:28 postfix:- (1980:tqdm_logging.py:145)
14:40:00.892 [I] Progress on: 2.02kit/3.00kit rate:7.1s/it remaining:1:56:10 elapsed:4:02:43 postfix:- (1980:tqdm_logging.py:145)
14:40:15.066 [I] Progress on: 2.02kit/3.00kit rate:7.1s/it remaining:1:55:55 elapsed:4:02:57 postfix:- (1980:tqdm_logging.py:145)
14:40:29.243 [I] Progress on: 2.02kit/3.00kit rate:7.1s/it remaining:1:55:41 elapsed:4:03:11 postfix:- (1980:tqdm_logging.py:145)
14:40:43.443 [I] Progress on: 2.02kit/3.00kit rate:7.1s/it remaining:1:55:34 elapsed:4:03:25 postfix:- (1980:tqdm_logging.py:145)
14:40:57.619 [I] Progress on: 2.02kit/3.00kit rate:7.1s/it remaining:1:55:14 elapsed:4:03:39 postfix:- (1980:tqdm_logging.py:145)
14:41:11.811 [I] Progress on: 2.03kit/3.00kit rate:7.1s/it remaining:1:55:03 elapsed:4:03:54 postfix:- (1980:tqdm_logging.py:145)
14:41:25.995 [I] Progress on: 2.03kit/3.00kit rate:7.1s/it remaining:1:54:49 elapsed:4:04:08 postfix:- (1980:tqdm_logging.py:145)
14:41:40.183 [I] Progress on: 2.03kit/3.00kit rate:7.1s/it remaining:1:54:35 elapsed:4:04:22 postfix:- (1980:tqdm_logging.py:145)
14:41:54.377 [I] Progress on: 2.03kit/3.00kit rate:7.1s/it remaining:1:54:21 elapsed:4:04:36 postfix:- (1980:tqdm_logging.py:145)
14:42:08.567 [I] Progress on: 2.04kit/3.00kit rate:7.1s/it remaining:1:54:05 elapsed:4:04:50 postfix:- (1980:tqdm_logging.py:145)
14:42:22.745 [I] Progress on: 2.04kit/3.00kit rate:7.1s/it remaining:1:53:48 elapsed:4:05:04 postfix:- (1980:tqdm_logging.py:145)
14:42:36.924 [I] Progress on: 2.04kit/3.00kit rate:7.1s/it remaining:1:53:33 elapsed:4:05:19 postfix:- (1980:tqdm_logging.py:145)
14:42:51.106 [I] Progress on: 2.04kit/3.00kit rate:7.1s/it remaining:1:53:18 elapsed:4:05:33 postfix:- (1980:tqdm_logging.py:145)
14:43:05.285 [I] Progress on: 2.04kit/3.00kit rate:7.1s/it remaining:1:53:04 elapsed:4:05:47 postfix:- (1980:tqdm_logging.py:145)
14:43:19.479 [I] Progress on: 2.04kit/3.00kit rate:7.1s/it remaining:1:52:54 elapsed:4:06:01 postfix:- (1980:tqdm_logging.py:145)
14:43:33.662 [I] Progress on: 2.05kit/3.00kit rate:7.1s/it remaining:1:52:39 elapsed:4:06:15 postfix:- (1980:tqdm_logging.py:145)
14:43:47.881 [I] Progress on: 2.05kit/3.00kit rate:7.1s/it remaining:1:52:35 elapsed:4:06:30 postfix:- (1980:tqdm_logging.py:145)


Step 2050: grad_norm=0.0288, loss=0.0047, param_norm=1804.0615
14:44:08.776 [I] Progress on: 2.05kit/3.00kit rate:7.1s/it remaining:1:52:14 elapsed:4:06:51 postfix:- (1980:tqdm_logging.py:145)
14:44:23.387 [I] Progress on: 2.05kit/3.00kit rate:6.8s/it remaining:1:47:14 elapsed:4:07:05 postfix:- (1980:tqdm_logging.py:145)
14:44:37.591 [I] Progress on: 2.06kit/3.00kit rate:7.0s/it remaining:1:49:25 elapsed:4:07:19 postfix:- (1980:tqdm_logging.py:145)
14:44:51.779 [I] Progress on: 2.06kit/3.00kit rate:7.0s/it remaining:1:50:18 elapsed:4:07:34 postfix:- (1980:tqdm_logging.py:145)
14:45:05.972 [I] Progress on: 2.06kit/3.00kit rate:7.1s/it remaining:1:50:40 elapsed:4:07:48 postfix:- (1980:tqdm_logging.py:145)
14:45:20.156 [I] Progress on: 2.06kit/3.00kit rate:7.1s/it remaining:1:50:40 elapsed:4:08:02 postfix:- (1980:tqdm_logging.py:145)
14:45:34.333 [I] Progress on: 2.06kit/3.00kit rate:7.1s/it remaining:1:50:30 elapsed:4:08:16 postfix:- (1980:tqdm_logging.py:145)
14:45:48.507 [I] Progress on: 2.07kit/3.00kit rate:7.1s/it remaining:1:50:18 elapsed:4:08:30 postfix:- (1980:tqdm_logging.py:145)
14:46:02.702 [I] Progress on: 2.07kit/3.00kit rate:7.1s/it remaining:1:50:09 elapsed:4:08:44 postfix:- (1980:tqdm_logging.py:145)
14:46:16.901 [I] Progress on: 2.07kit/3.00kit rate:7.1s/it remaining:1:49:58 elapsed:4:08:59 postfix:- (1980:tqdm_logging.py:145)
14:46:31.071 [I] Progress on: 2.07kit/3.00kit rate:7.1s/it remaining:1:49:38 elapsed:4:09:13 postfix:- (1980:tqdm_logging.py:145)
14:46:45.267 [I] Progress on: 2.07kit/3.00kit rate:7.1s/it remaining:1:49:28 elapsed:4:09:27 postfix:- (1980:tqdm_logging.py:145)
14:46:59.467 [I] Progress on: 2.08kit/3.00kit rate:7.1s/it remaining:1:49:16 elapsed:4:09:41 postfix:- (1980:tqdm_logging.py:145)
14:47:13.663 [I] Progress on: 2.08kit/3.00kit rate:7.1s/it remaining:1:49:02 elapsed:4:09:55 postfix:- (1980:tqdm_logging.py:145)
14:47:27.850 [I] Progress on: 2.08kit/3.00kit rate:7.1s/it remaining:1:48:47 elapsed:4:10:10 postfix:- (1980:tqdm_logging.py:145)
14:47:42.059 [I] Progress on: 2.08kit/3.00kit rate:7.1s/it remaining:1:48:37 elapsed:4:10:24 postfix:- (1980:tqdm_logging.py:145)
14:47:56.249 [I] Progress on: 2.08kit/3.00kit rate:7.1s/it remaining:1:48:20 elapsed:4:10:38 postfix:- (1980:tqdm_logging.py:145)
14:48:10.437 [I] Progress on: 2.09kit/3.00kit rate:7.1s/it remaining:1:48:04 elapsed:4:10:52 postfix:- (1980:tqdm_logging.py:145)
14:48:24.630 [I] Progress on: 2.09kit/3.00kit rate:7.1s/it remaining:1:47:50 elapsed:4:11:06 postfix:- (1980:tqdm_logging.py:145)
14:48:38.827 [I] Progress on: 2.09kit/3.00kit rate:7.1s/it remaining:1:47:36 elapsed:4:11:21 postfix:- (1980:tqdm_logging.py:145)
14:48:53.023 [I] Progress on: 2.09kit/3.00kit rate:7.1s/it remaining:1:47:22 elapsed:4:11:35 postfix:- (1980:tqdm_logging.py:145)
14:49:07.232 [I] Progress on: 2.09kit/3.00kit rate:7.1s/it remaining:1:47:12 elapsed:4:11:49 postfix:- (1980:tqdm_logging.py:145)
14:49:21.413 [I] Progress on: 2.10kit/3.00kit rate:7.1s/it remaining:1:46:55 elapsed:4:12:03 postfix:- (1980:tqdm_logging.py:145)
14:49:35.621 [I] Progress on: 2.10kit/3.00kit rate:7.1s/it remaining:1:46:45 elapsed:4:12:17 postfix:- (1980:tqdm_logging.py:145)
14:49:49.850 [I] Progress on: 2.10kit/3.00kit rate:7.1s/it remaining:1:46:37 elapsed:4:12:32 postfix:- (1980:tqdm_logging.py:145)


Step 2100: grad_norm=0.0292, loss=0.0045, param_norm=1804.0634
14:50:03.631 [I] Progress on: 2.10kit/3.00kit rate:7.1s/it remaining:1:46:37 elapsed:4:12:45 postfix:- (1980:tqdm_logging.py:145)
14:50:18.269 [I] Progress on: 2.10kit/3.00kit rate:6.8s/it remaining:1:41:39 elapsed:4:13:00 postfix:- (1980:tqdm_logging.py:145)
14:50:32.448 [I] Progress on: 2.11kit/3.00kit rate:6.9s/it remaining:1:43:32 elapsed:4:13:14 postfix:- (1980:tqdm_logging.py:145)
14:50:46.634 [I] Progress on: 2.11kit/3.00kit rate:7.0s/it remaining:1:44:24 elapsed:4:13:28 postfix:- (1980:tqdm_logging.py:145)
14:51:00.827 [I] Progress on: 2.11kit/3.00kit rate:7.1s/it remaining:1:44:44 elapsed:4:13:43 postfix:- (1980:tqdm_logging.py:145)
14:51:15.015 [I] Progress on: 2.11kit/3.00kit rate:7.1s/it remaining:1:44:43 elapsed:4:13:57 postfix:- (1980:tqdm_logging.py:145)
14:51:29.200 [I] Progress on: 2.11kit/3.00kit rate:7.1s/it remaining:1:44:36 elapsed:4:14:11 postfix:- (1980:tqdm_logging.py:145)
14:51:43.363 [I] Progress on: 2.12kit/3.00kit rate:7.1s/it remaining:1:44:22 elapsed:4:14:25 postfix:- (1980:tqdm_logging.py:145)
14:51:57.557 [I] Progress on: 2.12kit/3.00kit rate:7.1s/it remaining:1:44:14 elapsed:4:14:39 postfix:- (1980:tqdm_logging.py:145)
14:52:11.733 [I] Progress on: 2.12kit/3.00kit rate:7.1s/it remaining:1:43:58 elapsed:4:14:53 postfix:- (1980:tqdm_logging.py:145)
14:52:25.893 [I] Progress on: 2.12kit/3.00kit rate:7.1s/it remaining:1:43:39 elapsed:4:15:08 postfix:- (1980:tqdm_logging.py:145)
14:52:40.087 [I] Progress on: 2.12kit/3.00kit rate:7.1s/it remaining:1:43:31 elapsed:4:15:22 postfix:- (1980:tqdm_logging.py:145)
14:52:54.267 [I] Progress on: 2.13kit/3.00kit rate:7.1s/it remaining:1:43:17 elapsed:4:15:36 postfix:- (1980:tqdm_logging.py:145)
14:53:08.478 [I] Progress on: 2.13kit/3.00kit rate:7.1s/it remaining:1:43:11 elapsed:4:15:50 postfix:- (1980:tqdm_logging.py:145)
14:53:22.687 [I] Progress on: 2.13kit/3.00kit rate:7.1s/it remaining:1:42:59 elapsed:4:16:04 postfix:- (1980:tqdm_logging.py:145)
14:53:36.829 [I] Progress on: 2.13kit/3.00kit rate:7.1s/it remaining:1:42:32 elapsed:4:16:19 postfix:- (1980:tqdm_logging.py:145)
14:53:50.994 [I] Progress on: 2.13kit/3.00kit rate:7.1s/it remaining:1:42:14 elapsed:4:16:33 postfix:- (1980:tqdm_logging.py:145)
14:54:05.200 [I] Progress on: 2.14kit/3.00kit rate:7.1s/it remaining:1:42:06 elapsed:4:16:47 postfix:- (1980:tqdm_logging.py:145)
14:54:19.394 [I] Progress on: 2.14kit/3.00kit rate:7.1s/it remaining:1:41:53 elapsed:4:17:01 postfix:- (1980:tqdm_logging.py:145)
14:54:33.577 [I] Progress on: 2.14kit/3.00kit rate:7.1s/it remaining:1:41:39 elapsed:4:17:15 postfix:- (1980:tqdm_logging.py:145)
14:54:47.749 [I] Progress on: 2.14kit/3.00kit rate:7.1s/it remaining:1:41:22 elapsed:4:17:29 postfix:- (1980:tqdm_logging.py:145)
14:55:01.937 [I] Progress on: 2.14kit/3.00kit rate:7.1s/it remaining:1:41:09 elapsed:4:17:44 postfix:- (1980:tqdm_logging.py:145)
14:55:16.112 [I] Progress on: 2.15kit/3.00kit rate:7.1s/it remaining:1:40:53 elapsed:4:17:58 postfix:- (1980:tqdm_logging.py:145)
14:55:30.284 [I] Progress on: 2.15kit/3.00kit rate:7.1s/it remaining:1:40:37 elapsed:4:18:12 postfix:- (1980:tqdm_logging.py:145)
14:55:44.478 [I] Progress on: 2.15kit/3.00kit rate:7.1s/it remaining:1:40:28 elapsed:4:18:26 postfix:- (1980:tqdm_logging.py:145)


Step 2150: grad_norm=0.0286, loss=0.0042, param_norm=1804.0651
14:55:58.351 [I] Progress on: 2.15kit/3.00kit rate:7.1s/it remaining:1:40:28 elapsed:4:18:40 postfix:- (1980:tqdm_logging.py:145)
14:56:12.985 [I] Progress on: 2.15kit/3.00kit rate:6.8s/it remaining:1:36:02 elapsed:4:18:55 postfix:- (1980:tqdm_logging.py:145)
14:56:27.179 [I] Progress on: 2.16kit/3.00kit rate:7.0s/it remaining:1:37:51 elapsed:4:19:09 postfix:- (1980:tqdm_logging.py:145)
14:56:41.378 [I] Progress on: 2.16kit/3.00kit rate:7.0s/it remaining:1:38:38 elapsed:4:19:23 postfix:- (1980:tqdm_logging.py:145)
14:56:55.560 [I] Progress on: 2.16kit/3.00kit rate:7.1s/it remaining:1:38:51 elapsed:4:19:37 postfix:- (1980:tqdm_logging.py:145)
14:57:09.756 [I] Progress on: 2.16kit/3.00kit rate:7.1s/it remaining:1:38:53 elapsed:4:19:51 postfix:- (1980:tqdm_logging.py:145)
14:57:23.952 [I] Progress on: 2.16kit/3.00kit rate:7.1s/it remaining:1:38:47 elapsed:4:20:06 postfix:- (1980:tqdm_logging.py:145)
14:57:38.134 [I] Progress on: 2.17kit/3.00kit rate:7.1s/it remaining:1:38:33 elapsed:4:20:20 postfix:- (1980:tqdm_logging.py:145)
14:57:52.338 [I] Progress on: 2.17kit/3.00kit rate:7.1s/it remaining:1:38:23 elapsed:4:20:34 postfix:- (1980:tqdm_logging.py:145)
14:58:06.531 [I] Progress on: 2.17kit/3.00kit rate:7.1s/it remaining:1:38:09 elapsed:4:20:48 postfix:- (1980:tqdm_logging.py:145)
14:58:20.731 [I] Progress on: 2.17kit/3.00kit rate:7.1s/it remaining:1:37:57 elapsed:4:21:02 postfix:- (1980:tqdm_logging.py:145)
14:58:34.927 [I] Progress on: 2.17kit/3.00kit rate:7.1s/it remaining:1:37:42 elapsed:4:21:17 postfix:- (1980:tqdm_logging.py:145)
14:58:49.107 [I] Progress on: 2.18kit/3.00kit rate:7.1s/it remaining:1:37:25 elapsed:4:21:31 postfix:- (1980:tqdm_logging.py:145)
14:59:03.301 [I] Progress on: 2.18kit/3.00kit rate:7.1s/it remaining:1:37:13 elapsed:4:21:45 postfix:- (1980:tqdm_logging.py:145)
14:59:17.492 [I] Progress on: 2.18kit/3.00kit rate:7.1s/it remaining:1:36:57 elapsed:4:21:59 postfix:- (1980:tqdm_logging.py:145)
14:59:31.680 [I] Progress on: 2.18kit/3.00kit rate:7.1s/it remaining:1:36:42 elapsed:4:22:13 postfix:- (1980:tqdm_logging.py:145)
14:59:45.873 [I] Progress on: 2.18kit/3.00kit rate:7.1s/it remaining:1:36:29 elapsed:4:22:28 postfix:- (1980:tqdm_logging.py:145)
15:00:00.081 [I] Progress on: 2.19kit/3.00kit rate:7.1s/it remaining:1:36:18 elapsed:4:22:42 postfix:- (1980:tqdm_logging.py:145)
15:00:14.281 [I] Progress on: 2.19kit/3.00kit rate:7.1s/it remaining:1:36:04 elapsed:4:22:56 postfix:- (1980:tqdm_logging.py:145)
15:00:28.470 [I] Progress on: 2.19kit/3.00kit rate:7.1s/it remaining:1:35:48 elapsed:4:23:10 postfix:- (1980:tqdm_logging.py:145)
15:00:42.667 [I] Progress on: 2.19kit/3.00kit rate:7.1s/it remaining:1:35:34 elapsed:4:23:24 postfix:- (1980:tqdm_logging.py:145)
15:00:56.854 [I] Progress on: 2.19kit/3.00kit rate:7.1s/it remaining:1:35:19 elapsed:4:23:39 postfix:- (1980:tqdm_logging.py:145)
15:01:11.055 [I] Progress on: 2.20kit/3.00kit rate:7.1s/it remaining:1:35:08 elapsed:4:23:53 postfix:- (1980:tqdm_logging.py:145)
15:01:25.256 [I] Progress on: 2.20kit/3.00kit rate:7.1s/it remaining:1:34:54 elapsed:4:24:07 postfix:- (1980:tqdm_logging.py:145)
15:01:39.445 [I] Progress on: 2.20kit/3.00kit rate:7.1s/it remaining:1:34:36 elapsed:4:24:21 postfix:- (1980:tqdm_logging.py:145)


Step 2200: grad_norm=0.0295, loss=0.0044, param_norm=1804.0669
15:01:53.330 [I] Progress on: 2.20kit/3.00kit rate:7.1s/it remaining:1:34:36 elapsed:4:24:35 postfix:- (1980:tqdm_logging.py:145)
15:02:07.993 [I] Progress on: 2.20kit/3.00kit rate:6.8s/it remaining:1:30:28 elapsed:4:24:50 postfix:- (1980:tqdm_logging.py:145)
15:02:22.169 [I] Progress on: 2.21kit/3.00kit rate:7.0s/it remaining:1:32:04 elapsed:4:25:04 postfix:- (1980:tqdm_logging.py:145)
15:02:36.347 [I] Progress on: 2.21kit/3.00kit rate:7.0s/it remaining:1:32:44 elapsed:4:25:18 postfix:- (1980:tqdm_logging.py:145)
15:02:50.533 [I] Progress on: 2.21kit/3.00kit rate:7.1s/it remaining:1:32:56 elapsed:4:25:32 postfix:- (1980:tqdm_logging.py:145)
15:03:04.735 [I] Progress on: 2.21kit/3.00kit rate:7.1s/it remaining:1:32:59 elapsed:4:25:46 postfix:- (1980:tqdm_logging.py:145)
15:03:18.932 [I] Progress on: 2.21kit/3.00kit rate:7.1s/it remaining:1:32:51 elapsed:4:26:01 postfix:- (1980:tqdm_logging.py:145)
15:03:33.123 [I] Progress on: 2.22kit/3.00kit rate:7.1s/it remaining:1:32:39 elapsed:4:26:15 postfix:- (1980:tqdm_logging.py:145)
15:03:47.308 [I] Progress on: 2.22kit/3.00kit rate:7.1s/it remaining:1:32:23 elapsed:4:26:29 postfix:- (1980:tqdm_logging.py:145)
15:04:01.518 [I] Progress on: 2.22kit/3.00kit rate:7.1s/it remaining:1:32:15 elapsed:4:26:43 postfix:- (1980:tqdm_logging.py:145)
15:04:15.699 [I] Progress on: 2.22kit/3.00kit rate:7.1s/it remaining:1:31:59 elapsed:4:26:57 postfix:- (1980:tqdm_logging.py:145)
15:04:29.901 [I] Progress on: 2.22kit/3.00kit rate:7.1s/it remaining:1:31:47 elapsed:4:27:12 postfix:- (1980:tqdm_logging.py:145)
15:04:44.084 [I] Progress on: 2.23kit/3.00kit rate:7.1s/it remaining:1:31:30 elapsed:4:27:26 postfix:- (1980:tqdm_logging.py:145)
15:04:58.269 [I] Progress on: 2.23kit/3.00kit rate:7.1s/it remaining:1:31:15 elapsed:4:27:40 postfix:- (1980:tqdm_logging.py:145)
15:05:12.456 [I] Progress on: 2.23kit/3.00kit rate:7.1s/it remaining:1:31:01 elapsed:4:27:54 postfix:- (1980:tqdm_logging.py:145)
15:05:26.649 [I] Progress on: 2.23kit/3.00kit rate:7.1s/it remaining:1:30:47 elapsed:4:28:08 postfix:- (1980:tqdm_logging.py:145)
15:05:40.833 [I] Progress on: 2.23kit/3.00kit rate:7.1s/it remaining:1:30:32 elapsed:4:28:23 postfix:- (1980:tqdm_logging.py:145)
15:05:55.029 [I] Progress on: 2.24kit/3.00kit rate:7.1s/it remaining:1:30:19 elapsed:4:28:37 postfix:- (1980:tqdm_logging.py:145)
15:06:09.227 [I] Progress on: 2.24kit/3.00kit rate:7.1s/it remaining:1:30:06 elapsed:4:28:51 postfix:- (1980:tqdm_logging.py:145)
15:06:23.412 [I] Progress on: 2.24kit/3.00kit rate:7.1s/it remaining:1:29:50 elapsed:4:29:05 postfix:- (1980:tqdm_logging.py:145)
15:06:37.610 [I] Progress on: 2.24kit/3.00kit rate:7.1s/it remaining:1:29:38 elapsed:4:29:19 postfix:- (1980:tqdm_logging.py:145)
15:06:51.801 [I] Progress on: 2.24kit/3.00kit rate:7.1s/it remaining:1:29:23 elapsed:4:29:34 postfix:- (1980:tqdm_logging.py:145)
15:07:05.995 [I] Progress on: 2.25kit/3.00kit rate:7.1s/it remaining:1:29:09 elapsed:4:29:48 postfix:- (1980:tqdm_logging.py:145)
15:07:20.230 [I] Progress on: 2.25kit/3.00kit rate:7.1s/it remaining:1:29:05 elapsed:4:30:02 postfix:- (1980:tqdm_logging.py:145)
15:07:34.381 [I] Progress on: 2.25kit/3.00kit rate:7.1s/it remaining:1:28:37 elapsed:4:30:16 postfix:- (1980:tqdm_logging.py:145)


Step 2250: grad_norm=0.0276, loss=0.0039, param_norm=1804.0681
15:07:48.215 [I] Progress on: 2.25kit/3.00kit rate:7.1s/it remaining:1:28:37 elapsed:4:30:30 postfix:- (1980:tqdm_logging.py:145)
15:08:02.823 [I] Progress on: 2.25kit/3.00kit rate:6.8s/it remaining:1:24:35 elapsed:4:30:45 postfix:- (1980:tqdm_logging.py:145)
15:08:17.033 [I] Progress on: 2.26kit/3.00kit rate:7.0s/it remaining:1:26:16 elapsed:4:30:59 postfix:- (1980:tqdm_logging.py:145)
15:08:31.240 [I] Progress on: 2.26kit/3.00kit rate:7.0s/it remaining:1:26:57 elapsed:4:31:13 postfix:- (1980:tqdm_logging.py:145)
15:08:45.440 [I] Progress on: 2.26kit/3.00kit rate:7.1s/it remaining:1:27:10 elapsed:4:31:27 postfix:- (1980:tqdm_logging.py:145)
15:08:59.626 [I] Progress on: 2.26kit/3.00kit rate:7.1s/it remaining:1:27:05 elapsed:4:31:41 postfix:- (1980:tqdm_logging.py:145)
15:09:13.823 [I] Progress on: 2.26kit/3.00kit rate:7.1s/it remaining:1:26:57 elapsed:4:31:56 postfix:- (1980:tqdm_logging.py:145)
15:09:28.025 [I] Progress on: 2.27kit/3.00kit rate:7.1s/it remaining:1:26:47 elapsed:4:32:10 postfix:- (1980:tqdm_logging.py:145)
15:09:42.239 [I] Progress on: 2.27kit/3.00kit rate:7.1s/it remaining:1:26:36 elapsed:4:32:24 postfix:- (1980:tqdm_logging.py:145)
15:09:56.431 [I] Progress on: 2.27kit/3.00kit rate:7.1s/it remaining:1:26:21 elapsed:4:32:38 postfix:- (1980:tqdm_logging.py:145)
15:10:10.626 [I] Progress on: 2.27kit/3.00kit rate:7.1s/it remaining:1:26:06 elapsed:4:32:52 postfix:- (1980:tqdm_logging.py:145)
15:10:24.828 [I] Progress on: 2.27kit/3.00kit rate:7.1s/it remaining:1:25:54 elapsed:4:33:07 postfix:- (1980:tqdm_logging.py:145)
15:10:39.021 [I] Progress on: 2.28kit/3.00kit rate:7.1s/it remaining:1:25:39 elapsed:4:33:21 postfix:- (1980:tqdm_logging.py:145)
15:10:53.215 [I] Progress on: 2.28kit/3.00kit rate:7.1s/it remaining:1:25:24 elapsed:4:33:35 postfix:- (1980:tqdm_logging.py:145)
15:11:07.433 [I] Progress on: 2.28kit/3.00kit rate:7.1s/it remaining:1:25:14 elapsed:4:33:49 postfix:- (1980:tqdm_logging.py:145)
15:11:21.622 [I] Progress on: 2.28kit/3.00kit rate:7.1s/it remaining:1:24:57 elapsed:4:34:03 postfix:- (1980:tqdm_logging.py:145)
15:11:35.819 [I] Progress on: 2.28kit/3.00kit rate:7.1s/it remaining:1:24:43 elapsed:4:34:18 postfix:- (1980:tqdm_logging.py:145)
15:11:50.003 [I] Progress on: 2.29kit/3.00kit rate:7.1s/it remaining:1:24:26 elapsed:4:34:32 postfix:- (1980:tqdm_logging.py:145)
15:12:04.193 [I] Progress on: 2.29kit/3.00kit rate:7.1s/it remaining:1:24:11 elapsed:4:34:46 postfix:- (1980:tqdm_logging.py:145)
15:12:18.396 [I] Progress on: 2.29kit/3.00kit rate:7.1s/it remaining:1:23:58 elapsed:4:35:00 postfix:- (1980:tqdm_logging.py:145)
15:12:32.590 [I] Progress on: 2.29kit/3.00kit rate:7.1s/it remaining:1:23:42 elapsed:4:35:14 postfix:- (1980:tqdm_logging.py:145)
15:12:46.784 [I] Progress on: 2.29kit/3.00kit rate:7.1s/it remaining:1:23:29 elapsed:4:35:29 postfix:- (1980:tqdm_logging.py:145)
15:13:00.982 [I] Progress on: 2.30kit/3.00kit rate:7.1s/it remaining:1:23:17 elapsed:4:35:43 postfix:- (1980:tqdm_logging.py:145)
15:13:15.168 [I] Progress on: 2.30kit/3.00kit rate:7.1s/it remaining:1:23:01 elapsed:4:35:57 postfix:- (1980:tqdm_logging.py:145)
15:13:29.366 [I] Progress on: 2.30kit/3.00kit rate:7.1s/it remaining:1:22:48 elapsed:4:36:11 postfix:- (1980:tqdm_logging.py:145)


Step 2300: grad_norm=0.0269, loss=0.0039, param_norm=1804.0693
15:13:43.251 [I] Progress on: 2.30kit/3.00kit rate:7.1s/it remaining:1:22:48 elapsed:4:36:25 postfix:- (1980:tqdm_logging.py:145)
15:13:57.918 [I] Progress on: 2.30kit/3.00kit rate:6.8s/it remaining:1:19:04 elapsed:4:36:40 postfix:- (1980:tqdm_logging.py:145)
15:14:12.115 [I] Progress on: 2.31kit/3.00kit rate:7.0s/it remaining:1:20:30 elapsed:4:36:54 postfix:- (1980:tqdm_logging.py:145)
15:14:26.306 [I] Progress on: 2.31kit/3.00kit rate:7.0s/it remaining:1:21:02 elapsed:4:37:08 postfix:- (1980:tqdm_logging.py:145)
15:14:40.494 [I] Progress on: 2.31kit/3.00kit rate:7.1s/it remaining:1:21:11 elapsed:4:37:22 postfix:- (1980:tqdm_logging.py:145)
15:14:54.687 [I] Progress on: 2.31kit/3.00kit rate:7.1s/it remaining:1:21:09 elapsed:4:37:36 postfix:- (1980:tqdm_logging.py:145)
15:15:08.924 [I] Progress on: 2.31kit/3.00kit rate:7.1s/it remaining:1:21:09 elapsed:4:37:51 postfix:- (1980:tqdm_logging.py:145)
15:15:23.106 [I] Progress on: 2.32kit/3.00kit rate:7.1s/it remaining:1:20:52 elapsed:4:38:05 postfix:- (1980:tqdm_logging.py:145)
15:15:37.301 [I] Progress on: 2.32kit/3.00kit rate:7.1s/it remaining:1:20:38 elapsed:4:38:19 postfix:- (1980:tqdm_logging.py:145)
15:15:51.492 [I] Progress on: 2.32kit/3.00kit rate:7.1s/it remaining:1:20:24 elapsed:4:38:33 postfix:- (1980:tqdm_logging.py:145)
15:16:05.692 [I] Progress on: 2.32kit/3.00kit rate:7.1s/it remaining:1:20:11 elapsed:4:38:47 postfix:- (1980:tqdm_logging.py:145)
15:16:19.883 [I] Progress on: 2.32kit/3.00kit rate:7.1s/it remaining:1:19:56 elapsed:4:39:02 postfix:- (1980:tqdm_logging.py:145)
15:16:34.081 [I] Progress on: 2.33kit/3.00kit rate:7.1s/it remaining:1:19:42 elapsed:4:39:16 postfix:- (1980:tqdm_logging.py:145)
15:16:48.275 [I] Progress on: 2.33kit/3.00kit rate:7.1s/it remaining:1:19:27 elapsed:4:39:30 postfix:- (1980:tqdm_logging.py:145)
15:17:02.479 [I] Progress on: 2.33kit/3.00kit rate:7.1s/it remaining:1:19:16 elapsed:4:39:44 postfix:- (1980:tqdm_logging.py:145)
15:17:16.675 [I] Progress on: 2.33kit/3.00kit rate:7.1s/it remaining:1:19:01 elapsed:4:39:58 postfix:- (1980:tqdm_logging.py:145)
15:17:30.863 [I] Progress on: 2.33kit/3.00kit rate:7.1s/it remaining:1:18:45 elapsed:4:40:13 postfix:- (1980:tqdm_logging.py:145)
15:17:45.063 [I] Progress on: 2.34kit/3.00kit rate:7.1s/it remaining:1:18:31 elapsed:4:40:27 postfix:- (1980:tqdm_logging.py:145)
15:17:59.278 [I] Progress on: 2.34kit/3.00kit rate:7.1s/it remaining:1:18:20 elapsed:4:40:41 postfix:- (1980:tqdm_logging.py:145)
15:18:13.459 [I] Progress on: 2.34kit/3.00kit rate:7.1s/it remaining:1:18:03 elapsed:4:40:55 postfix:- (1980:tqdm_logging.py:145)
15:18:27.654 [I] Progress on: 2.34kit/3.00kit rate:7.1s/it remaining:1:17:49 elapsed:4:41:09 postfix:- (1980:tqdm_logging.py:145)
15:18:41.853 [I] Progress on: 2.34kit/3.00kit rate:7.1s/it remaining:1:17:35 elapsed:4:41:24 postfix:- (1980:tqdm_logging.py:145)
15:18:56.032 [I] Progress on: 2.35kit/3.00kit rate:7.1s/it remaining:1:17:18 elapsed:4:41:38 postfix:- (1980:tqdm_logging.py:145)
15:19:10.230 [I] Progress on: 2.35kit/3.00kit rate:7.1s/it remaining:1:17:05 elapsed:4:41:52 postfix:- (1980:tqdm_logging.py:145)
15:19:24.444 [I] Progress on: 2.35kit/3.00kit rate:7.1s/it remaining:1:16:55 elapsed:4:42:06 postfix:- (1980:tqdm_logging.py:145)


Step 2350: grad_norm=0.0280, loss=0.0040, param_norm=1804.0703
15:19:38.315 [I] Progress on: 2.35kit/3.00kit rate:7.1s/it remaining:1:16:55 elapsed:4:42:20 postfix:- (1980:tqdm_logging.py:145)
15:19:52.940 [I] Progress on: 2.35kit/3.00kit rate:6.8s/it remaining:1:13:18 elapsed:4:42:35 postfix:- (1980:tqdm_logging.py:145)
15:20:07.139 [I] Progress on: 2.36kit/3.00kit rate:7.0s/it remaining:1:14:39 elapsed:4:42:49 postfix:- (1980:tqdm_logging.py:145)
15:20:21.340 [I] Progress on: 2.36kit/3.00kit rate:7.0s/it remaining:1:15:11 elapsed:4:43:03 postfix:- (1980:tqdm_logging.py:145)
15:20:35.524 [I] Progress on: 2.36kit/3.00kit rate:7.1s/it remaining:1:15:18 elapsed:4:43:17 postfix:- (1980:tqdm_logging.py:145)
15:20:49.725 [I] Progress on: 2.36kit/3.00kit rate:7.1s/it remaining:1:15:16 elapsed:4:43:31 postfix:- (1980:tqdm_logging.py:145)
15:21:03.924 [I] Progress on: 2.36kit/3.00kit rate:7.1s/it remaining:1:15:08 elapsed:4:43:46 postfix:- (1980:tqdm_logging.py:145)
15:21:18.152 [I] Progress on: 2.37kit/3.00kit rate:7.1s/it remaining:1:15:02 elapsed:4:44:00 postfix:- (1980:tqdm_logging.py:145)
15:21:32.336 [I] Progress on: 2.37kit/3.00kit rate:7.1s/it remaining:1:14:45 elapsed:4:44:14 postfix:- (1980:tqdm_logging.py:145)
15:21:46.506 [I] Progress on: 2.37kit/3.00kit rate:7.1s/it remaining:1:14:26 elapsed:4:44:28 postfix:- (1980:tqdm_logging.py:145)
15:22:00.710 [I] Progress on: 2.37kit/3.00kit rate:7.1s/it remaining:1:14:16 elapsed:4:44:42 postfix:- (1980:tqdm_logging.py:145)
15:22:14.888 [I] Progress on: 2.37kit/3.00kit rate:7.0s/it remaining:1:13:18 elapsed:4:44:57 postfix:- (1980:tqdm_logging.py:145)
15:22:29.080 [I] Progress on: 2.38kit/3.00kit rate:7.1s/it remaining:1:13:21 elapsed:4:45:11 postfix:- (1980:tqdm_logging.py:145)
15:22:43.291 [I] Progress on: 2.38kit/3.00kit rate:7.1s/it remaining:1:13:21 elapsed:4:45:25 postfix:- (1980:tqdm_logging.py:145)
15:22:57.478 [I] Progress on: 2.38kit/3.00kit rate:7.1s/it remaining:1:13:11 elapsed:4:45:39 postfix:- (1980:tqdm_logging.py:145)
15:23:11.667 [I] Progress on: 2.38kit/3.00kit rate:7.1s/it remaining:1:12:58 elapsed:4:45:53 postfix:- (1980:tqdm_logging.py:145)
15:23:25.865 [I] Progress on: 2.38kit/3.00kit rate:7.1s/it remaining:1:12:46 elapsed:4:46:08 postfix:- (1980:tqdm_logging.py:145)
15:23:40.050 [I] Progress on: 2.39kit/3.00kit rate:7.1s/it remaining:1:12:31 elapsed:4:46:22 postfix:- (1980:tqdm_logging.py:145)
15:23:54.253 [I] Progress on: 2.39kit/3.00kit rate:7.1s/it remaining:1:12:20 elapsed:4:46:36 postfix:- (1980:tqdm_logging.py:145)
15:24:08.451 [I] Progress on: 2.39kit/3.00kit rate:7.1s/it remaining:1:12:06 elapsed:4:46:50 postfix:- (1980:tqdm_logging.py:145)
15:24:22.629 [I] Progress on: 2.39kit/3.00kit rate:7.1s/it remaining:1:11:49 elapsed:4:47:04 postfix:- (1980:tqdm_logging.py:145)
15:24:36.852 [I] Progress on: 2.39kit/3.00kit rate:7.1s/it remaining:1:11:41 elapsed:4:47:19 postfix:- (1980:tqdm_logging.py:145)
15:24:51.047 [I] Progress on: 2.40kit/3.00kit rate:7.1s/it remaining:1:11:26 elapsed:4:47:33 postfix:- (1980:tqdm_logging.py:145)
15:25:05.248 [I] Progress on: 2.40kit/3.00kit rate:7.1s/it remaining:1:11:13 elapsed:4:47:47 postfix:- (1980:tqdm_logging.py:145)
15:25:19.436 [I] Progress on: 2.40kit/3.00kit rate:7.1s/it remaining:1:10:57 elapsed:4:48:01 postfix:- (1980:tqdm_logging.py:145)


Step 2400: grad_norm=0.0283, loss=0.0038, param_norm=1804.0709
15:25:33.314 [I] Progress on: 2.40kit/3.00kit rate:7.1s/it remaining:1:10:57 elapsed:4:48:15 postfix:- (1980:tqdm_logging.py:145)
15:25:47.966 [I] Progress on: 2.40kit/3.00kit rate:6.8s/it remaining:1:07:43 elapsed:4:48:30 postfix:- (1980:tqdm_logging.py:145)
15:26:02.137 [I] Progress on: 2.41kit/3.00kit rate:7.0s/it remaining:1:08:51 elapsed:4:48:44 postfix:- (1980:tqdm_logging.py:145)
15:26:16.335 [I] Progress on: 2.41kit/3.00kit rate:7.0s/it remaining:1:09:20 elapsed:4:48:58 postfix:- (1980:tqdm_logging.py:145)
15:26:30.542 [I] Progress on: 2.41kit/3.00kit rate:7.1s/it remaining:1:09:28 elapsed:4:49:12 postfix:- (1980:tqdm_logging.py:145)
15:26:44.732 [I] Progress on: 2.41kit/3.00kit rate:7.1s/it remaining:1:09:23 elapsed:4:49:26 postfix:- (1980:tqdm_logging.py:145)
15:26:58.928 [I] Progress on: 2.41kit/3.00kit rate:7.1s/it remaining:1:09:13 elapsed:4:49:41 postfix:- (1980:tqdm_logging.py:145)
15:27:13.156 [I] Progress on: 2.42kit/3.00kit rate:7.1s/it remaining:1:09:07 elapsed:4:49:55 postfix:- (1980:tqdm_logging.py:145)
15:27:27.324 [I] Progress on: 2.42kit/3.00kit rate:7.1s/it remaining:1:08:49 elapsed:4:50:09 postfix:- (1980:tqdm_logging.py:145)
15:27:41.521 [I] Progress on: 2.42kit/3.00kit rate:7.1s/it remaining:1:08:36 elapsed:4:50:23 postfix:- (1980:tqdm_logging.py:145)
15:27:55.719 [I] Progress on: 2.42kit/3.00kit rate:7.1s/it remaining:1:08:23 elapsed:4:50:37 postfix:- (1980:tqdm_logging.py:145)
15:28:09.908 [I] Progress on: 2.42kit/3.00kit rate:7.1s/it remaining:1:08:08 elapsed:4:50:52 postfix:- (1980:tqdm_logging.py:145)
15:28:24.105 [I] Progress on: 2.43kit/3.00kit rate:7.1s/it remaining:1:07:54 elapsed:4:51:06 postfix:- (1980:tqdm_logging.py:145)
15:28:38.303 [I] Progress on: 2.43kit/3.00kit rate:7.1s/it remaining:1:07:39 elapsed:4:51:20 postfix:- (1980:tqdm_logging.py:145)
15:28:52.503 [I] Progress on: 2.43kit/3.00kit rate:7.1s/it remaining:1:07:26 elapsed:4:51:34 postfix:- (1980:tqdm_logging.py:145)
15:29:06.689 [I] Progress on: 2.43kit/3.00kit rate:7.1s/it remaining:1:07:10 elapsed:4:51:48 postfix:- (1980:tqdm_logging.py:145)
15:29:20.880 [I] Progress on: 2.43kit/3.00kit rate:7.1s/it remaining:1:06:55 elapsed:4:52:03 postfix:- (1980:tqdm_logging.py:145)
15:29:35.095 [I] Progress on: 2.44kit/3.00kit rate:7.1s/it remaining:1:06:45 elapsed:4:52:17 postfix:- (1980:tqdm_logging.py:145)
15:29:49.275 [I] Progress on: 2.44kit/3.00kit rate:7.1s/it remaining:1:06:27 elapsed:4:52:31 postfix:- (1980:tqdm_logging.py:145)
15:30:03.469 [I] Progress on: 2.44kit/3.00kit rate:7.1s/it remaining:1:06:13 elapsed:4:52:45 postfix:- (1980:tqdm_logging.py:145)
15:30:17.663 [I] Progress on: 2.44kit/3.00kit rate:7.1s/it remaining:1:05:58 elapsed:4:52:59 postfix:- (1980:tqdm_logging.py:145)
15:30:31.849 [I] Progress on: 2.44kit/3.00kit rate:7.1s/it remaining:1:05:43 elapsed:4:53:14 postfix:- (1980:tqdm_logging.py:145)
15:30:46.068 [I] Progress on: 2.45kit/3.00kit rate:7.1s/it remaining:1:05:33 elapsed:4:53:28 postfix:- (1980:tqdm_logging.py:145)
15:31:00.259 [I] Progress on: 2.45kit/3.00kit rate:7.1s/it remaining:1:05:18 elapsed:4:53:42 postfix:- (1980:tqdm_logging.py:145)
15:31:14.490 [I] Progress on: 2.45kit/3.00kit rate:7.1s/it remaining:1:05:09 elapsed:4:53:56 postfix:- (1980:tqdm_logging.py:145)


Step 2450: grad_norm=0.0257, loss=0.0033, param_norm=1804.0718
15:31:28.341 [I] Progress on: 2.45kit/3.00kit rate:7.1s/it remaining:1:05:09 elapsed:4:54:10 postfix:- (1980:tqdm_logging.py:145)
15:31:42.980 [I] Progress on: 2.45kit/3.00kit rate:6.8s/it remaining:1:01:59 elapsed:4:54:25 postfix:- (1980:tqdm_logging.py:145)
15:31:57.184 [I] Progress on: 2.46kit/3.00kit rate:7.0s/it remaining:1:03:05 elapsed:4:54:39 postfix:- (1980:tqdm_logging.py:145)
15:32:11.403 [I] Progress on: 2.46kit/3.00kit rate:7.0s/it remaining:1:03:33 elapsed:4:54:53 postfix:- (1980:tqdm_logging.py:145)
15:32:25.598 [I] Progress on: 2.46kit/3.00kit rate:7.1s/it remaining:1:03:37 elapsed:4:55:07 postfix:- (1980:tqdm_logging.py:145)
15:32:39.797 [I] Progress on: 2.46kit/3.00kit rate:7.1s/it remaining:1:03:32 elapsed:4:55:22 postfix:- (1980:tqdm_logging.py:145)
15:32:53.958 [I] Progress on: 2.46kit/3.00kit rate:7.1s/it remaining:1:03:17 elapsed:4:55:36 postfix:- (1980:tqdm_logging.py:145)
15:33:08.138 [I] Progress on: 2.47kit/3.00kit rate:7.1s/it remaining:1:03:04 elapsed:4:55:50 postfix:- (1980:tqdm_logging.py:145)
15:33:22.351 [I] Progress on: 2.47kit/3.00kit rate:7.1s/it remaining:1:02:55 elapsed:4:56:04 postfix:- (1980:tqdm_logging.py:145)
15:33:36.523 [I] Progress on: 2.47kit/3.00kit rate:7.1s/it remaining:1:02:39 elapsed:4:56:18 postfix:- (1980:tqdm_logging.py:145)
15:33:50.710 [I] Progress on: 2.47kit/3.00kit rate:7.1s/it remaining:1:02:25 elapsed:4:56:32 postfix:- (1980:tqdm_logging.py:145)
15:34:04.899 [I] Progress on: 2.47kit/3.00kit rate:7.1s/it remaining:1:02:11 elapsed:4:56:47 postfix:- (1980:tqdm_logging.py:145)
15:34:19.101 [I] Progress on: 2.48kit/3.00kit rate:7.1s/it remaining:1:01:58 elapsed:4:57:01 postfix:- (1980:tqdm_logging.py:145)
15:34:33.288 [I] Progress on: 2.48kit/3.00kit rate:7.1s/it remaining:1:01:44 elapsed:4:57:15 postfix:- (1980:tqdm_logging.py:145)
15:34:47.483 [I] Progress on: 2.48kit/3.00kit rate:7.1s/it remaining:1:01:30 elapsed:4:57:29 postfix:- (1980:tqdm_logging.py:145)
15:35:01.674 [I] Progress on: 2.48kit/3.00kit rate:7.1s/it remaining:1:01:15 elapsed:4:57:43 postfix:- (1980:tqdm_logging.py:145)
15:35:15.851 [I] Progress on: 2.48kit/3.00kit rate:7.1s/it remaining:1:00:58 elapsed:4:57:58 postfix:- (1980:tqdm_logging.py:145)
15:35:30.037 [I] Progress on: 2.49kit/3.00kit rate:7.1s/it remaining:1:00:44 elapsed:4:58:12 postfix:- (1980:tqdm_logging.py:145)
15:35:44.219 [I] Progress on: 2.49kit/3.00kit rate:7.1s/it remaining:1:00:30 elapsed:4:58:26 postfix:- (1980:tqdm_logging.py:145)
15:35:58.405 [I] Progress on: 2.49kit/3.00kit rate:7.1s/it remaining:1:00:16 elapsed:4:58:40 postfix:- (1980:tqdm_logging.py:145)
15:36:12.581 [I] Progress on: 2.49kit/3.00kit rate:7.1s/it remaining:1:00:01 elapsed:4:58:54 postfix:- (1980:tqdm_logging.py:145)
15:36:26.754 [I] Progress on: 2.49kit/3.00kit rate:7.1s/it remaining:59:46 elapsed:4:59:08 postfix:- (1980:tqdm_logging.py:145)
15:36:40.940 [I] Progress on: 2.50kit/3.00kit rate:7.1s/it remaining:59:33 elapsed:4:59:23 postfix:- (1980:tqdm_logging.py:145)
15:36:55.113 [I] Progress on: 2.50kit/3.00kit rate:7.1s/it remaining:59:17 elapsed:4:59:37 postfix:- (1980:tqdm_logging.py:145)
15:37:09.298 [I] Progress on: 2.50kit/3.00kit rate:7.1s/it remaining:59:04 elapsed:4:59:51 postfix:- (1980:tqdm_logging.py:145)


Step 2500: grad_norm=0.0294, loss=0.0038, param_norm=1804.0728
15:37:23.153 [I] Progress on: 2.50kit/3.00kit rate:7.1s/it remaining:59:04 elapsed:5:00:05 postfix:- (1980:tqdm_logging.py:145)
15:37:37.800 [I] Progress on: 2.50kit/3.00kit rate:6.8s/it remaining:56:16 elapsed:5:00:20 postfix:- (1980:tqdm_logging.py:145)
15:37:51.986 [I] Progress on: 2.51kit/3.00kit rate:7.0s/it remaining:57:15 elapsed:5:00:34 postfix:- (1980:tqdm_logging.py:145)
15:38:06.186 [I] Progress on: 2.51kit/3.00kit rate:7.0s/it remaining:57:37 elapsed:5:00:48 postfix:- (1980:tqdm_logging.py:145)
15:38:20.369 [I] Progress on: 2.51kit/3.00kit rate:7.1s/it remaining:57:39 elapsed:5:01:02 postfix:- (1980:tqdm_logging.py:145)
15:38:34.553 [I] Progress on: 2.51kit/3.00kit rate:7.1s/it remaining:57:32 elapsed:5:01:16 postfix:- (1980:tqdm_logging.py:145)
15:38:48.754 [I] Progress on: 2.51kit/3.00kit rate:7.1s/it remaining:57:24 elapsed:5:01:30 postfix:- (1980:tqdm_logging.py:145)
15:39:02.943 [I] Progress on: 2.52kit/3.00kit rate:7.1s/it remaining:57:11 elapsed:5:01:45 postfix:- (1980:tqdm_logging.py:145)
15:39:17.136 [I] Progress on: 2.52kit/3.00kit rate:7.1s/it remaining:56:58 elapsed:5:01:59 postfix:- (1980:tqdm_logging.py:145)
15:39:31.331 [I] Progress on: 2.52kit/3.00kit rate:7.1s/it remaining:56:45 elapsed:5:02:13 postfix:- (1980:tqdm_logging.py:145)
15:39:45.525 [I] Progress on: 2.52kit/3.00kit rate:7.1s/it remaining:56:31 elapsed:5:02:27 postfix:- (1980:tqdm_logging.py:145)
15:39:59.709 [I] Progress on: 2.52kit/3.00kit rate:7.1s/it remaining:56:16 elapsed:5:02:41 postfix:- (1980:tqdm_logging.py:145)
15:40:13.903 [I] Progress on: 2.53kit/3.00kit rate:7.1s/it remaining:56:02 elapsed:5:02:56 postfix:- (1980:tqdm_logging.py:145)
15:40:28.101 [I] Progress on: 2.53kit/3.00kit rate:7.1s/it remaining:55:49 elapsed:5:03:10 postfix:- (1980:tqdm_logging.py:145)
15:40:42.298 [I] Progress on: 2.53kit/3.00kit rate:7.1s/it remaining:55:36 elapsed:5:03:24 postfix:- (1980:tqdm_logging.py:145)
15:40:56.484 [I] Progress on: 2.53kit/3.00kit rate:7.1s/it remaining:55:20 elapsed:5:03:38 postfix:- (1980:tqdm_logging.py:145)
15:41:10.691 [I] Progress on: 2.53kit/3.00kit rate:7.1s/it remaining:55:07 elapsed:5:03:52 postfix:- (1980:tqdm_logging.py:145)
15:41:24.886 [I] Progress on: 2.54kit/3.00kit rate:7.1s/it remaining:54:53 elapsed:5:04:07 postfix:- (1980:tqdm_logging.py:145)
15:41:39.076 [I] Progress on: 2.54kit/3.00kit rate:7.1s/it remaining:54:38 elapsed:5:04:21 postfix:- (1980:tqdm_logging.py:145)
15:41:53.279 [I] Progress on: 2.54kit/3.00kit rate:7.1s/it remaining:54:25 elapsed:5:04:35 postfix:- (1980:tqdm_logging.py:145)
15:42:07.467 [I] Progress on: 2.54kit/3.00kit rate:7.1s/it remaining:54:10 elapsed:5:04:49 postfix:- (1980:tqdm_logging.py:145)
15:42:21.654 [I] Progress on: 2.54kit/3.00kit rate:7.1s/it remaining:53:54 elapsed:5:05:03 postfix:- (1980:tqdm_logging.py:145)
15:42:35.859 [I] Progress on: 2.55kit/3.00kit rate:7.1s/it remaining:53:42 elapsed:5:05:18 postfix:- (1980:tqdm_logging.py:145)
15:42:50.060 [I] Progress on: 2.55kit/3.00kit rate:7.1s/it remaining:53:28 elapsed:5:05:32 postfix:- (1980:tqdm_logging.py:145)
15:43:04.255 [I] Progress on: 2.55kit/3.00kit rate:7.1s/it remaining:53:14 elapsed:5:05:46 postfix:- (1980:tqdm_logging.py:145)


Step 2550: grad_norm=0.0284, loss=0.0039, param_norm=1804.0736
15:43:18.146 [I] Progress on: 2.55kit/3.00kit rate:7.1s/it remaining:53:14 elapsed:5:06:00 postfix:- (1980:tqdm_logging.py:145)
15:43:32.779 [I] Progress on: 2.55kit/3.00kit rate:6.8s/it remaining:50:38 elapsed:5:06:15 postfix:- (1980:tqdm_logging.py:145)
15:43:46.966 [I] Progress on: 2.56kit/3.00kit rate:7.0s/it remaining:51:27 elapsed:5:06:29 postfix:- (1980:tqdm_logging.py:145)
15:44:01.166 [I] Progress on: 2.56kit/3.00kit rate:7.0s/it remaining:51:46 elapsed:5:06:43 postfix:- (1980:tqdm_logging.py:145)
15:44:15.356 [I] Progress on: 2.56kit/3.00kit rate:7.1s/it remaining:51:46 elapsed:5:06:57 postfix:- (1980:tqdm_logging.py:145)
15:44:29.568 [I] Progress on: 2.56kit/3.00kit rate:7.1s/it remaining:51:42 elapsed:5:07:11 postfix:- (1980:tqdm_logging.py:145)
15:44:43.781 [I] Progress on: 2.56kit/3.00kit rate:7.1s/it remaining:51:33 elapsed:5:07:26 postfix:- (1980:tqdm_logging.py:145)
15:44:57.972 [I] Progress on: 2.57kit/3.00kit rate:7.1s/it remaining:51:19 elapsed:5:07:40 postfix:- (1980:tqdm_logging.py:145)
15:45:12.189 [I] Progress on: 2.57kit/3.00kit rate:7.1s/it remaining:51:08 elapsed:5:07:54 postfix:- (1980:tqdm_logging.py:145)
15:45:26.387 [I] Progress on: 2.57kit/3.00kit rate:7.1s/it remaining:50:52 elapsed:5:08:08 postfix:- (1980:tqdm_logging.py:145)
15:45:40.589 [I] Progress on: 2.57kit/3.00kit rate:7.1s/it remaining:50:38 elapsed:5:08:22 postfix:- (1980:tqdm_logging.py:145)
15:45:54.780 [I] Progress on: 2.57kit/3.00kit rate:7.1s/it remaining:50:23 elapsed:5:08:37 postfix:- (1980:tqdm_logging.py:145)
15:46:08.977 [I] Progress on: 2.58kit/3.00kit rate:7.1s/it remaining:50:09 elapsed:5:08:51 postfix:- (1980:tqdm_logging.py:145)
15:46:23.161 [I] Progress on: 2.58kit/3.00kit rate:7.1s/it remaining:49:54 elapsed:5:09:05 postfix:- (1980:tqdm_logging.py:145)
15:46:37.360 [I] Progress on: 2.58kit/3.00kit rate:7.1s/it remaining:49:40 elapsed:5:09:19 postfix:- (1980:tqdm_logging.py:145)
15:46:51.562 [I] Progress on: 2.58kit/3.00kit rate:7.1s/it remaining:49:27 elapsed:5:09:33 postfix:- (1980:tqdm_logging.py:145)
15:47:05.759 [I] Progress on: 2.58kit/3.00kit rate:7.1s/it remaining:49:13 elapsed:5:09:47 postfix:- (1980:tqdm_logging.py:145)
15:47:19.953 [I] Progress on: 2.59kit/3.00kit rate:7.1s/it remaining:48:58 elapsed:5:10:02 postfix:- (1980:tqdm_logging.py:145)
15:47:34.139 [I] Progress on: 2.59kit/3.00kit rate:7.1s/it remaining:48:43 elapsed:5:10:16 postfix:- (1980:tqdm_logging.py:145)
15:47:48.340 [I] Progress on: 2.59kit/3.00kit rate:7.1s/it remaining:48:29 elapsed:5:10:30 postfix:- (1980:tqdm_logging.py:145)
15:48:02.536 [I] Progress on: 2.59kit/3.00kit rate:7.1s/it remaining:48:15 elapsed:5:10:44 postfix:- (1980:tqdm_logging.py:145)
15:48:16.735 [I] Progress on: 2.59kit/3.00kit rate:7.1s/it remaining:48:01 elapsed:5:10:58 postfix:- (1980:tqdm_logging.py:145)
15:48:30.936 [I] Progress on: 2.60kit/3.00kit rate:7.1s/it remaining:47:48 elapsed:5:11:13 postfix:- (1980:tqdm_logging.py:145)
15:48:45.126 [I] Progress on: 2.60kit/3.00kit rate:7.1s/it remaining:47:33 elapsed:5:11:27 postfix:- (1980:tqdm_logging.py:145)
15:48:59.319 [I] Progress on: 2.60kit/3.00kit rate:7.1s/it remaining:47:19 elapsed:5:11:41 postfix:- (1980:tqdm_logging.py:145)


Step 2600: grad_norm=0.0268, loss=0.0037, param_norm=1804.0739
15:49:13.209 [I] Progress on: 2.60kit/3.00kit rate:7.1s/it remaining:47:19 elapsed:5:11:55 postfix:- (1980:tqdm_logging.py:145)
15:49:27.850 [I] Progress on: 2.60kit/3.00kit rate:6.8s/it remaining:44:58 elapsed:5:12:10 postfix:- (1980:tqdm_logging.py:145)
15:49:42.038 [I] Progress on: 2.61kit/3.00kit rate:7.0s/it remaining:45:41 elapsed:5:12:24 postfix:- (1980:tqdm_logging.py:145)
15:49:56.237 [I] Progress on: 2.61kit/3.00kit rate:7.0s/it remaining:45:55 elapsed:5:12:38 postfix:- (1980:tqdm_logging.py:145)
15:50:10.437 [I] Progress on: 2.61kit/3.00kit rate:7.1s/it remaining:45:55 elapsed:5:12:52 postfix:- (1980:tqdm_logging.py:145)
15:50:24.628 [I] Progress on: 2.61kit/3.00kit rate:7.1s/it remaining:45:46 elapsed:5:13:06 postfix:- (1980:tqdm_logging.py:145)
15:50:38.824 [I] Progress on: 2.61kit/3.00kit rate:7.1s/it remaining:45:36 elapsed:5:13:21 postfix:- (1980:tqdm_logging.py:145)
15:50:53.020 [I] Progress on: 2.62kit/3.00kit rate:7.1s/it remaining:45:23 elapsed:5:13:35 postfix:- (1980:tqdm_logging.py:145)
15:51:07.218 [I] Progress on: 2.62kit/3.00kit rate:7.1s/it remaining:45:10 elapsed:5:13:49 postfix:- (1980:tqdm_logging.py:145)
15:51:21.414 [I] Progress on: 2.62kit/3.00kit rate:7.1s/it remaining:44:56 elapsed:5:14:03 postfix:- (1980:tqdm_logging.py:145)
15:51:35.616 [I] Progress on: 2.62kit/3.00kit rate:7.1s/it remaining:44:43 elapsed:5:14:17 postfix:- (1980:tqdm_logging.py:145)
15:51:49.805 [I] Progress on: 2.62kit/3.00kit rate:7.1s/it remaining:44:28 elapsed:5:14:32 postfix:- (1980:tqdm_logging.py:145)
15:52:03.999 [I] Progress on: 2.63kit/3.00kit rate:7.1s/it remaining:44:14 elapsed:5:14:46 postfix:- (1980:tqdm_logging.py:145)
15:52:18.193 [I] Progress on: 2.63kit/3.00kit rate:7.1s/it remaining:43:59 elapsed:5:15:00 postfix:- (1980:tqdm_logging.py:145)
15:52:32.397 [I] Progress on: 2.63kit/3.00kit rate:7.1s/it remaining:43:46 elapsed:5:15:14 postfix:- (1980:tqdm_logging.py:145)
15:52:46.593 [I] Progress on: 2.63kit/3.00kit rate:7.1s/it remaining:43:32 elapsed:5:15:28 postfix:- (1980:tqdm_logging.py:145)
15:53:00.791 [I] Progress on: 2.63kit/3.00kit rate:7.1s/it remaining:43:17 elapsed:5:15:43 postfix:- (1980:tqdm_logging.py:145)
15:53:14.974 [I] Progress on: 2.64kit/3.00kit rate:7.1s/it remaining:43:02 elapsed:5:15:57 postfix:- (1980:tqdm_logging.py:145)
15:53:29.172 [I] Progress on: 2.64kit/3.00kit rate:7.1s/it remaining:42:48 elapsed:5:16:11 postfix:- (1980:tqdm_logging.py:145)
15:53:43.371 [I] Progress on: 2.64kit/3.00kit rate:7.1s/it remaining:42:35 elapsed:5:16:25 postfix:- (1980:tqdm_logging.py:145)
15:53:57.561 [I] Progress on: 2.64kit/3.00kit rate:7.1s/it remaining:42:20 elapsed:5:16:39 postfix:- (1980:tqdm_logging.py:145)
15:54:11.754 [I] Progress on: 2.64kit/3.00kit rate:7.1s/it remaining:42:06 elapsed:5:16:53 postfix:- (1980:tqdm_logging.py:145)
15:54:25.953 [I] Progress on: 2.65kit/3.00kit rate:7.1s/it remaining:41:52 elapsed:5:17:08 postfix:- (1980:tqdm_logging.py:145)
15:54:40.145 [I] Progress on: 2.65kit/3.00kit rate:7.1s/it remaining:41:37 elapsed:5:17:22 postfix:- (1980:tqdm_logging.py:145)
15:54:54.345 [I] Progress on: 2.65kit/3.00kit rate:7.1s/it remaining:41:24 elapsed:5:17:36 postfix:- (1980:tqdm_logging.py:145)


Step 2650: grad_norm=0.0275, loss=0.0037, param_norm=1804.0745
15:55:08.227 [I] Progress on: 2.65kit/3.00kit rate:7.1s/it remaining:41:24 elapsed:5:17:50 postfix:- (1980:tqdm_logging.py:145)
15:55:22.869 [I] Progress on: 2.65kit/3.00kit rate:6.8s/it remaining:39:17 elapsed:5:18:05 postfix:- (1980:tqdm_logging.py:145)
15:55:37.046 [I] Progress on: 2.66kit/3.00kit rate:7.0s/it remaining:39:51 elapsed:5:18:19 postfix:- (1980:tqdm_logging.py:145)
15:55:51.242 [I] Progress on: 2.66kit/3.00kit rate:7.0s/it remaining:40:02 elapsed:5:18:33 postfix:- (1980:tqdm_logging.py:145)
15:56:05.441 [I] Progress on: 2.66kit/3.00kit rate:7.1s/it remaining:40:01 elapsed:5:18:47 postfix:- (1980:tqdm_logging.py:145)
15:56:19.643 [I] Progress on: 2.66kit/3.00kit rate:7.1s/it remaining:39:53 elapsed:5:19:01 postfix:- (1980:tqdm_logging.py:145)
15:56:33.834 [I] Progress on: 2.66kit/3.00kit rate:7.1s/it remaining:39:42 elapsed:5:19:16 postfix:- (1980:tqdm_logging.py:145)
15:56:48.010 [I] Progress on: 2.67kit/3.00kit rate:7.1s/it remaining:39:27 elapsed:5:19:30 postfix:- (1980:tqdm_logging.py:145)
15:57:02.191 [I] Progress on: 2.67kit/3.00kit rate:7.1s/it remaining:39:13 elapsed:5:19:44 postfix:- (1980:tqdm_logging.py:145)
15:57:16.382 [I] Progress on: 2.67kit/3.00kit rate:7.1s/it remaining:39:00 elapsed:5:19:58 postfix:- (1980:tqdm_logging.py:145)
15:57:30.583 [I] Progress on: 2.67kit/3.00kit rate:7.1s/it remaining:38:47 elapsed:5:20:12 postfix:- (1980:tqdm_logging.py:145)
15:57:44.780 [I] Progress on: 2.67kit/3.00kit rate:7.1s/it remaining:38:33 elapsed:5:20:27 postfix:- (1980:tqdm_logging.py:145)
15:57:58.948 [I] Progress on: 2.68kit/3.00kit rate:7.1s/it remaining:38:17 elapsed:5:20:41 postfix:- (1980:tqdm_logging.py:145)
15:58:13.130 [I] Progress on: 2.68kit/3.00kit rate:7.1s/it remaining:38:02 elapsed:5:20:55 postfix:- (1980:tqdm_logging.py:145)
15:58:27.308 [I] Progress on: 2.68kit/3.00kit rate:7.1s/it remaining:37:48 elapsed:5:21:09 postfix:- (1980:tqdm_logging.py:145)
15:58:41.482 [I] Progress on: 2.68kit/3.00kit rate:7.1s/it remaining:37:33 elapsed:5:21:23 postfix:- (1980:tqdm_logging.py:145)
15:58:55.685 [I] Progress on: 2.68kit/3.00kit rate:7.1s/it remaining:37:21 elapsed:5:21:37 postfix:- (1980:tqdm_logging.py:145)
15:59:09.870 [I] Progress on: 2.69kit/3.00kit rate:7.1s/it remaining:37:07 elapsed:5:21:52 postfix:- (1980:tqdm_logging.py:145)
15:59:24.060 [I] Progress on: 2.69kit/3.00kit rate:7.1s/it remaining:36:52 elapsed:5:22:06 postfix:- (1980:tqdm_logging.py:145)
15:59:38.240 [I] Progress on: 2.69kit/3.00kit rate:7.1s/it remaining:36:37 elapsed:5:22:20 postfix:- (1980:tqdm_logging.py:145)
15:59:52.436 [I] Progress on: 2.69kit/3.00kit rate:7.1s/it remaining:36:24 elapsed:5:22:34 postfix:- (1980:tqdm_logging.py:145)
16:00:06.625 [I] Progress on: 2.69kit/3.00kit rate:7.1s/it remaining:36:10 elapsed:5:22:48 postfix:- (1980:tqdm_logging.py:145)
16:00:20.820 [I] Progress on: 2.70kit/3.00kit rate:7.1s/it remaining:35:56 elapsed:5:23:03 postfix:- (1980:tqdm_logging.py:145)
16:00:35.033 [I] Progress on: 2.70kit/3.00kit rate:7.1s/it remaining:35:44 elapsed:5:23:17 postfix:- (1980:tqdm_logging.py:145)
16:00:49.248 [I] Progress on: 2.70kit/3.00kit rate:7.1s/it remaining:35:31 elapsed:5:23:31 postfix:- (1980:tqdm_logging.py:145)


Step 2700: grad_norm=0.0273, loss=0.0035, param_norm=1804.0748
16:01:03.105 [I] Progress on: 2.70kit/3.00kit rate:7.1s/it remaining:35:31 elapsed:5:23:45 postfix:- (1980:tqdm_logging.py:145)
16:01:17.759 [I] Progress on: 2.70kit/3.00kit rate:6.8s/it remaining:33:36 elapsed:5:23:59 postfix:- (1980:tqdm_logging.py:145)
16:01:31.957 [I] Progress on: 2.71kit/3.00kit rate:7.0s/it remaining:34:05 elapsed:5:24:14 postfix:- (1980:tqdm_logging.py:145)
16:01:46.154 [I] Progress on: 2.71kit/3.00kit rate:7.0s/it remaining:34:12 elapsed:5:24:28 postfix:- (1980:tqdm_logging.py:145)
16:02:00.344 [I] Progress on: 2.71kit/3.00kit rate:7.1s/it remaining:34:08 elapsed:5:24:42 postfix:- (1980:tqdm_logging.py:145)
16:02:14.539 [I] Progress on: 2.71kit/3.00kit rate:7.1s/it remaining:33:58 elapsed:5:24:56 postfix:- (1980:tqdm_logging.py:145)
16:02:28.729 [I] Progress on: 2.71kit/3.00kit rate:7.1s/it remaining:33:46 elapsed:5:25:10 postfix:- (1980:tqdm_logging.py:145)
16:02:42.918 [I] Progress on: 2.72kit/3.00kit rate:7.1s/it remaining:33:33 elapsed:5:25:25 postfix:- (1980:tqdm_logging.py:145)
16:02:57.116 [I] Progress on: 2.72kit/3.00kit rate:7.1s/it remaining:33:20 elapsed:5:25:39 postfix:- (1980:tqdm_logging.py:145)
16:03:11.303 [I] Progress on: 2.72kit/3.00kit rate:7.1s/it remaining:33:06 elapsed:5:25:53 postfix:- (1980:tqdm_logging.py:145)
16:03:25.501 [I] Progress on: 2.72kit/3.00kit rate:7.1s/it remaining:32:52 elapsed:5:26:07 postfix:- (1980:tqdm_logging.py:145)
16:03:39.699 [I] Progress on: 2.72kit/3.00kit rate:7.1s/it remaining:32:38 elapsed:5:26:21 postfix:- (1980:tqdm_logging.py:145)
16:03:53.896 [I] Progress on: 2.73kit/3.00kit rate:7.1s/it remaining:32:24 elapsed:5:26:36 postfix:- (1980:tqdm_logging.py:145)
16:04:08.089 [I] Progress on: 2.73kit/3.00kit rate:7.1s/it remaining:32:10 elapsed:5:26:50 postfix:- (1980:tqdm_logging.py:145)
16:04:22.277 [I] Progress on: 2.73kit/3.00kit rate:7.1s/it remaining:31:55 elapsed:5:27:04 postfix:- (1980:tqdm_logging.py:145)
16:04:36.461 [I] Progress on: 2.73kit/3.00kit rate:7.1s/it remaining:31:40 elapsed:5:27:18 postfix:- (1980:tqdm_logging.py:145)
16:04:50.662 [I] Progress on: 2.73kit/3.00kit rate:7.1s/it remaining:31:27 elapsed:5:27:32 postfix:- (1980:tqdm_logging.py:145)
16:05:04.857 [I] Progress on: 2.74kit/3.00kit rate:7.1s/it remaining:31:13 elapsed:5:27:47 postfix:- (1980:tqdm_logging.py:145)
16:05:19.032 [I] Progress on: 2.74kit/3.00kit rate:7.1s/it remaining:30:57 elapsed:5:28:01 postfix:- (1980:tqdm_logging.py:145)
16:05:33.199 [I] Progress on: 2.74kit/3.00kit rate:7.1s/it remaining:30:42 elapsed:5:28:15 postfix:- (1980:tqdm_logging.py:145)
16:05:47.403 [I] Progress on: 2.74kit/3.00kit rate:7.1s/it remaining:30:30 elapsed:5:28:29 postfix:- (1980:tqdm_logging.py:145)
16:06:01.578 [I] Progress on: 2.74kit/3.00kit rate:7.1s/it remaining:30:15 elapsed:5:28:43 postfix:- (1980:tqdm_logging.py:145)
16:06:15.761 [I] Progress on: 2.75kit/3.00kit rate:7.1s/it remaining:30:01 elapsed:5:28:57 postfix:- (1980:tqdm_logging.py:145)
16:06:29.943 [I] Progress on: 2.75kit/3.00kit rate:7.1s/it remaining:29:46 elapsed:5:29:12 postfix:- (1980:tqdm_logging.py:145)
16:06:44.135 [I] Progress on: 2.75kit/3.00kit rate:7.1s/it remaining:29:33 elapsed:5:29:26 postfix:- (1980:tqdm_logging.py:145)


Step 2750: grad_norm=0.0265, loss=0.0035, param_norm=1804.0753
16:06:57.960 [I] Progress on: 2.75kit/3.00kit rate:7.1s/it remaining:29:33 elapsed:5:29:40 postfix:- (1980:tqdm_logging.py:145)
16:07:12.559 [I] Progress on: 2.75kit/3.00kit rate:6.8s/it remaining:27:52 elapsed:5:29:54 postfix:- (1980:tqdm_logging.py:145)
16:07:26.742 [I] Progress on: 2.76kit/3.00kit rate:6.9s/it remaining:28:15 elapsed:5:30:08 postfix:- (1980:tqdm_logging.py:145)
16:07:40.923 [I] Progress on: 2.76kit/3.00kit rate:7.0s/it remaining:28:19 elapsed:5:30:23 postfix:- (1980:tqdm_logging.py:145)
16:07:55.104 [I] Progress on: 2.76kit/3.00kit rate:7.1s/it remaining:28:13 elapsed:5:30:37 postfix:- (1980:tqdm_logging.py:145)
16:08:09.306 [I] Progress on: 2.76kit/3.00kit rate:7.1s/it remaining:28:04 elapsed:5:30:51 postfix:- (1980:tqdm_logging.py:145)
16:08:23.492 [I] Progress on: 2.76kit/3.00kit rate:7.1s/it remaining:27:52 elapsed:5:31:05 postfix:- (1980:tqdm_logging.py:145)
16:08:37.678 [I] Progress on: 2.77kit/3.00kit rate:7.1s/it remaining:27:39 elapsed:5:31:19 postfix:- (1980:tqdm_logging.py:145)
16:08:51.877 [I] Progress on: 2.77kit/3.00kit rate:7.1s/it remaining:27:26 elapsed:5:31:34 postfix:- (1980:tqdm_logging.py:145)
16:09:06.075 [I] Progress on: 2.77kit/3.00kit rate:7.1s/it remaining:27:11 elapsed:5:31:48 postfix:- (1980:tqdm_logging.py:145)
16:09:20.279 [I] Progress on: 2.77kit/3.00kit rate:7.1s/it remaining:26:58 elapsed:5:32:02 postfix:- (1980:tqdm_logging.py:145)
16:09:34.469 [I] Progress on: 2.77kit/3.00kit rate:7.1s/it remaining:26:43 elapsed:5:32:16 postfix:- (1980:tqdm_logging.py:145)
16:09:48.663 [I] Progress on: 2.78kit/3.00kit rate:7.1s/it remaining:26:29 elapsed:5:32:30 postfix:- (1980:tqdm_logging.py:145)
16:10:02.860 [I] Progress on: 2.78kit/3.00kit rate:7.1s/it remaining:26:15 elapsed:5:32:45 postfix:- (1980:tqdm_logging.py:145)
16:10:17.061 [I] Progress on: 2.78kit/3.00kit rate:7.1s/it remaining:26:01 elapsed:5:32:59 postfix:- (1980:tqdm_logging.py:145)
16:10:31.257 [I] Progress on: 2.78kit/3.00kit rate:7.1s/it remaining:25:47 elapsed:5:33:13 postfix:- (1980:tqdm_logging.py:145)
16:10:45.436 [I] Progress on: 2.78kit/3.00kit rate:7.1s/it remaining:25:31 elapsed:5:33:27 postfix:- (1980:tqdm_logging.py:145)
16:10:59.630 [I] Progress on: 2.79kit/3.00kit rate:7.1s/it remaining:25:18 elapsed:5:33:41 postfix:- (1980:tqdm_logging.py:145)
16:11:13.810 [I] Progress on: 2.79kit/3.00kit rate:7.1s/it remaining:25:03 elapsed:5:33:56 postfix:- (1980:tqdm_logging.py:145)
16:11:28.011 [I] Progress on: 2.79kit/3.00kit rate:7.1s/it remaining:24:50 elapsed:5:34:10 postfix:- (1980:tqdm_logging.py:145)
16:11:42.210 [I] Progress on: 2.79kit/3.00kit rate:7.1s/it remaining:24:36 elapsed:5:34:24 postfix:- (1980:tqdm_logging.py:145)
16:11:56.415 [I] Progress on: 2.79kit/3.00kit rate:7.1s/it remaining:24:22 elapsed:5:34:38 postfix:- (1980:tqdm_logging.py:145)
16:12:10.606 [I] Progress on: 2.80kit/3.00kit rate:7.1s/it remaining:24:07 elapsed:5:34:52 postfix:- (1980:tqdm_logging.py:145)
16:12:24.801 [I] Progress on: 2.80kit/3.00kit rate:7.1s/it remaining:23:53 elapsed:5:35:07 postfix:- (1980:tqdm_logging.py:145)
16:12:39.005 [I] Progress on: 2.80kit/3.00kit rate:7.1s/it remaining:23:39 elapsed:5:35:21 postfix:- (1980:tqdm_logging.py:145)


Step 2800: grad_norm=0.0264, loss=0.0034, param_norm=1804.0756
16:12:52.869 [I] Progress on: 2.80kit/3.00kit rate:7.1s/it remaining:23:39 elapsed:5:35:35 postfix:- (1980:tqdm_logging.py:145)
16:13:07.505 [I] Progress on: 2.80kit/3.00kit rate:6.8s/it remaining:22:15 elapsed:5:35:49 postfix:- (1980:tqdm_logging.py:145)
16:13:21.698 [I] Progress on: 2.81kit/3.00kit rate:7.0s/it remaining:22:29 elapsed:5:36:03 postfix:- (1980:tqdm_logging.py:145)
16:13:35.901 [I] Progress on: 2.81kit/3.00kit rate:7.0s/it remaining:22:29 elapsed:5:36:18 postfix:- (1980:tqdm_logging.py:145)
16:13:50.094 [I] Progress on: 2.81kit/3.00kit rate:7.1s/it remaining:22:22 elapsed:5:36:32 postfix:- (1980:tqdm_logging.py:145)
16:14:04.285 [I] Progress on: 2.81kit/3.00kit rate:7.1s/it remaining:22:10 elapsed:5:36:46 postfix:- (1980:tqdm_logging.py:145)
16:14:18.497 [I] Progress on: 2.81kit/3.00kit rate:7.1s/it remaining:21:59 elapsed:5:37:00 postfix:- (1980:tqdm_logging.py:145)
16:14:32.698 [I] Progress on: 2.82kit/3.00kit rate:7.1s/it remaining:21:46 elapsed:5:37:14 postfix:- (1980:tqdm_logging.py:145)
16:14:46.879 [I] Progress on: 2.82kit/3.00kit rate:7.1s/it remaining:21:31 elapsed:5:37:29 postfix:- (1980:tqdm_logging.py:145)
16:15:01.077 [I] Progress on: 2.82kit/3.00kit rate:7.1s/it remaining:21:17 elapsed:5:37:43 postfix:- (1980:tqdm_logging.py:145)
16:15:15.286 [I] Progress on: 2.82kit/3.00kit rate:7.1s/it remaining:21:04 elapsed:5:37:57 postfix:- (1980:tqdm_logging.py:145)
16:15:29.461 [I] Progress on: 2.82kit/3.00kit rate:7.1s/it remaining:20:48 elapsed:5:38:11 postfix:- (1980:tqdm_logging.py:145)
16:15:43.668 [I] Progress on: 2.83kit/3.00kit rate:7.1s/it remaining:20:35 elapsed:5:38:25 postfix:- (1980:tqdm_logging.py:145)
16:15:57.871 [I] Progress on: 2.83kit/3.00kit rate:7.1s/it remaining:20:21 elapsed:5:38:40 postfix:- (1980:tqdm_logging.py:145)
16:16:12.063 [I] Progress on: 2.83kit/3.00kit rate:7.1s/it remaining:20:06 elapsed:5:38:54 postfix:- (1980:tqdm_logging.py:145)
16:16:26.270 [I] Progress on: 2.83kit/3.00kit rate:7.1s/it remaining:19:52 elapsed:5:39:08 postfix:- (1980:tqdm_logging.py:145)
16:16:40.480 [I] Progress on: 2.83kit/3.00kit rate:7.1s/it remaining:19:38 elapsed:5:39:22 postfix:- (1980:tqdm_logging.py:145)
16:16:54.678 [I] Progress on: 2.84kit/3.00kit rate:7.1s/it remaining:19:24 elapsed:5:39:36 postfix:- (1980:tqdm_logging.py:145)
16:17:08.869 [I] Progress on: 2.84kit/3.00kit rate:7.1s/it remaining:19:09 elapsed:5:39:51 postfix:- (1980:tqdm_logging.py:145)
16:17:23.054 [I] Progress on: 2.84kit/3.00kit rate:7.1s/it remaining:18:55 elapsed:5:40:05 postfix:- (1980:tqdm_logging.py:145)
16:17:37.263 [I] Progress on: 2.84kit/3.00kit rate:7.1s/it remaining:18:41 elapsed:5:40:19 postfix:- (1980:tqdm_logging.py:145)
16:17:51.465 [I] Progress on: 2.84kit/3.00kit rate:7.1s/it remaining:18:27 elapsed:5:40:33 postfix:- (1980:tqdm_logging.py:145)
16:18:05.655 [I] Progress on: 2.85kit/3.00kit rate:7.1s/it remaining:18:12 elapsed:5:40:47 postfix:- (1980:tqdm_logging.py:145)
16:18:19.849 [I] Progress on: 2.85kit/3.00kit rate:7.1s/it remaining:17:58 elapsed:5:41:02 postfix:- (1980:tqdm_logging.py:145)
16:18:34.040 [I] Progress on: 2.85kit/3.00kit rate:7.1s/it remaining:17:44 elapsed:5:41:16 postfix:- (1980:tqdm_logging.py:145)


Step 2850: grad_norm=0.0294, loss=0.0038, param_norm=1804.0760
16:18:47.873 [I] Progress on: 2.85kit/3.00kit rate:7.1s/it remaining:17:44 elapsed:5:41:30 postfix:- (1980:tqdm_logging.py:145)
16:19:02.484 [I] Progress on: 2.85kit/3.00kit rate:6.8s/it remaining:16:33 elapsed:5:41:44 postfix:- (1980:tqdm_logging.py:145)
16:19:16.671 [I] Progress on: 2.86kit/3.00kit rate:7.0s/it remaining:16:41 elapsed:5:41:58 postfix:- (1980:tqdm_logging.py:145)
16:19:30.862 [I] Progress on: 2.86kit/3.00kit rate:7.0s/it remaining:16:37 elapsed:5:42:13 postfix:- (1980:tqdm_logging.py:145)
16:19:45.053 [I] Progress on: 2.86kit/3.00kit rate:7.1s/it remaining:16:28 elapsed:5:42:27 postfix:- (1980:tqdm_logging.py:145)
16:19:59.256 [I] Progress on: 2.86kit/3.00kit rate:7.1s/it remaining:16:17 elapsed:5:42:41 postfix:- (1980:tqdm_logging.py:145)
16:20:13.454 [I] Progress on: 2.86kit/3.00kit rate:7.1s/it remaining:16:04 elapsed:5:42:55 postfix:- (1980:tqdm_logging.py:145)
16:20:27.653 [I] Progress on: 2.87kit/3.00kit rate:7.1s/it remaining:15:50 elapsed:5:43:09 postfix:- (1980:tqdm_logging.py:145)
16:20:41.850 [I] Progress on: 2.87kit/3.00kit rate:7.1s/it remaining:15:36 elapsed:5:43:24 postfix:- (1980:tqdm_logging.py:145)
16:20:56.036 [I] Progress on: 2.87kit/3.00kit rate:7.1s/it remaining:15:22 elapsed:5:43:38 postfix:- (1980:tqdm_logging.py:145)
16:21:10.233 [I] Progress on: 2.87kit/3.00kit rate:7.1s/it remaining:15:08 elapsed:5:43:52 postfix:- (1980:tqdm_logging.py:145)
16:21:24.434 [I] Progress on: 2.87kit/3.00kit rate:7.1s/it remaining:14:54 elapsed:5:44:06 postfix:- (1980:tqdm_logging.py:145)
16:21:38.622 [I] Progress on: 2.88kit/3.00kit rate:7.1s/it remaining:14:39 elapsed:5:44:20 postfix:- (1980:tqdm_logging.py:145)
16:21:52.823 [I] Progress on: 2.88kit/3.00kit rate:7.1s/it remaining:14:25 elapsed:5:44:35 postfix:- (1980:tqdm_logging.py:145)
16:22:07.012 [I] Progress on: 2.88kit/3.00kit rate:7.1s/it remaining:14:11 elapsed:5:44:49 postfix:- (1980:tqdm_logging.py:145)
16:22:21.215 [I] Progress on: 2.88kit/3.00kit rate:7.1s/it remaining:13:57 elapsed:5:45:03 postfix:- (1980:tqdm_logging.py:145)
16:22:35.407 [I] Progress on: 2.88kit/3.00kit rate:7.1s/it remaining:13:43 elapsed:5:45:17 postfix:- (1980:tqdm_logging.py:145)
16:22:49.606 [I] Progress on: 2.89kit/3.00kit rate:7.1s/it remaining:13:29 elapsed:5:45:31 postfix:- (1980:tqdm_logging.py:145)
16:23:03.788 [I] Progress on: 2.89kit/3.00kit rate:7.1s/it remaining:13:14 elapsed:5:45:46 postfix:- (1980:tqdm_logging.py:145)
16:23:17.985 [I] Progress on: 2.89kit/3.00kit rate:7.1s/it remaining:13:00 elapsed:5:46:00 postfix:- (1980:tqdm_logging.py:145)
16:23:32.193 [I] Progress on: 2.89kit/3.00kit rate:7.1s/it remaining:12:46 elapsed:5:46:14 postfix:- (1980:tqdm_logging.py:145)
16:23:46.396 [I] Progress on: 2.89kit/3.00kit rate:7.1s/it remaining:12:32 elapsed:5:46:28 postfix:- (1980:tqdm_logging.py:145)
16:24:00.575 [I] Progress on: 2.90kit/3.00kit rate:7.1s/it remaining:12:17 elapsed:5:46:42 postfix:- (1980:tqdm_logging.py:145)
16:24:14.774 [I] Progress on: 2.90kit/3.00kit rate:7.1s/it remaining:12:03 elapsed:5:46:57 postfix:- (1980:tqdm_logging.py:145)
16:24:28.966 [I] Progress on: 2.90kit/3.00kit rate:7.1s/it remaining:11:49 elapsed:5:47:11 postfix:- (1980:tqdm_logging.py:145)


Step 2900: grad_norm=0.0267, loss=0.0034, param_norm=1804.0765
16:24:42.859 [I] Progress on: 2.90kit/3.00kit rate:7.1s/it remaining:11:49 elapsed:5:47:25 postfix:- (1980:tqdm_logging.py:145)
16:24:57.497 [I] Progress on: 2.90kit/3.00kit rate:6.8s/it remaining:10:54 elapsed:5:47:39 postfix:- (1980:tqdm_logging.py:145)
16:25:11.697 [I] Progress on: 2.91kit/3.00kit rate:7.0s/it remaining:10:54 elapsed:5:47:53 postfix:- (1980:tqdm_logging.py:145)
16:25:25.881 [I] Progress on: 2.91kit/3.00kit rate:7.0s/it remaining:10:46 elapsed:5:48:08 postfix:- (1980:tqdm_logging.py:145)
16:25:40.072 [I] Progress on: 2.91kit/3.00kit rate:7.1s/it remaining:10:35 elapsed:5:48:22 postfix:- (1980:tqdm_logging.py:145)
16:25:54.281 [I] Progress on: 2.91kit/3.00kit rate:7.1s/it remaining:10:23 elapsed:5:48:36 postfix:- (1980:tqdm_logging.py:145)
16:26:08.435 [I] Progress on: 2.91kit/3.00kit rate:7.1s/it remaining:10:09 elapsed:5:48:50 postfix:- (1980:tqdm_logging.py:145)
16:26:22.631 [I] Progress on: 2.92kit/3.00kit rate:7.1s/it remaining:09:55 elapsed:5:49:04 postfix:- (1980:tqdm_logging.py:145)
16:26:36.815 [I] Progress on: 2.92kit/3.00kit rate:7.1s/it remaining:09:41 elapsed:5:49:19 postfix:- (1980:tqdm_logging.py:145)
16:26:51.008 [I] Progress on: 2.92kit/3.00kit rate:7.1s/it remaining:09:27 elapsed:5:49:33 postfix:- (1980:tqdm_logging.py:145)
16:27:05.207 [I] Progress on: 2.92kit/3.00kit rate:7.1s/it remaining:09:13 elapsed:5:49:47 postfix:- (1980:tqdm_logging.py:145)
16:27:19.398 [I] Progress on: 2.92kit/3.00kit rate:7.1s/it remaining:08:59 elapsed:5:50:01 postfix:- (1980:tqdm_logging.py:145)
16:27:33.590 [I] Progress on: 2.93kit/3.00kit rate:7.1s/it remaining:08:45 elapsed:5:50:15 postfix:- (1980:tqdm_logging.py:145)
16:27:47.785 [I] Progress on: 2.93kit/3.00kit rate:7.1s/it remaining:08:30 elapsed:5:50:30 postfix:- (1980:tqdm_logging.py:145)
16:28:02.022 [I] Progress on: 2.93kit/3.00kit rate:7.1s/it remaining:08:17 elapsed:5:50:44 postfix:- (1980:tqdm_logging.py:145)
16:28:16.176 [I] Progress on: 2.93kit/3.00kit rate:7.1s/it remaining:08:02 elapsed:5:50:58 postfix:- (1980:tqdm_logging.py:145)
16:28:30.354 [I] Progress on: 2.93kit/3.00kit rate:7.1s/it remaining:07:48 elapsed:5:51:12 postfix:- (1980:tqdm_logging.py:145)
16:28:44.545 [I] Progress on: 2.94kit/3.00kit rate:7.1s/it remaining:07:34 elapsed:5:51:26 postfix:- (1980:tqdm_logging.py:145)
16:28:58.736 [I] Progress on: 2.94kit/3.00kit rate:7.1s/it remaining:07:19 elapsed:5:51:40 postfix:- (1980:tqdm_logging.py:145)
16:29:12.924 [I] Progress on: 2.94kit/3.00kit rate:7.1s/it remaining:07:05 elapsed:5:51:55 postfix:- (1980:tqdm_logging.py:145)
16:29:27.115 [I] Progress on: 2.94kit/3.00kit rate:7.1s/it remaining:06:51 elapsed:5:52:09 postfix:- (1980:tqdm_logging.py:145)
16:29:41.313 [I] Progress on: 2.94kit/3.00kit rate:7.1s/it remaining:06:37 elapsed:5:52:23 postfix:- (1980:tqdm_logging.py:145)
16:29:55.508 [I] Progress on: 2.95kit/3.00kit rate:7.1s/it remaining:06:23 elapsed:5:52:37 postfix:- (1980:tqdm_logging.py:145)
16:30:09.740 [I] Progress on: 2.95kit/3.00kit rate:7.1s/it remaining:06:09 elapsed:5:52:51 postfix:- (1980:tqdm_logging.py:145)
16:30:23.900 [I] Progress on: 2.95kit/3.00kit rate:7.1s/it remaining:05:54 elapsed:5:53:06 postfix:- (1980:tqdm_logging.py:145)


Step 2950: grad_norm=0.0257, loss=0.0033, param_norm=1804.0768
16:30:37.745 [I] Progress on: 2.95kit/3.00kit rate:7.1s/it remaining:05:54 elapsed:5:53:19 postfix:- (1980:tqdm_logging.py:145)
16:30:52.377 [I] Progress on: 2.95kit/3.00kit rate:6.8s/it remaining:05:13 elapsed:5:53:34 postfix:- (1980:tqdm_logging.py:145)
16:31:06.562 [I] Progress on: 2.96kit/3.00kit rate:7.0s/it remaining:05:05 elapsed:5:53:48 postfix:- (1980:tqdm_logging.py:145)
16:31:20.745 [I] Progress on: 2.96kit/3.00kit rate:7.0s/it remaining:04:54 elapsed:5:54:02 postfix:- (1980:tqdm_logging.py:145)
16:31:34.936 [I] Progress on: 2.96kit/3.00kit rate:7.1s/it remaining:04:42 elapsed:5:54:17 postfix:- (1980:tqdm_logging.py:145)
16:31:49.138 [I] Progress on: 2.96kit/3.00kit rate:7.1s/it remaining:04:29 elapsed:5:54:31 postfix:- (1980:tqdm_logging.py:145)
16:32:03.327 [I] Progress on: 2.96kit/3.00kit rate:7.1s/it remaining:04:15 elapsed:5:54:45 postfix:- (1980:tqdm_logging.py:145)
16:32:17.529 [I] Progress on: 2.97kit/3.00kit rate:7.1s/it remaining:04:01 elapsed:5:54:59 postfix:- (1980:tqdm_logging.py:145)
16:32:31.718 [I] Progress on: 2.97kit/3.00kit rate:7.1s/it remaining:03:47 elapsed:5:55:13 postfix:- (1980:tqdm_logging.py:145)
16:32:45.908 [I] Progress on: 2.97kit/3.00kit rate:7.1s/it remaining:03:32 elapsed:5:55:28 postfix:- (1980:tqdm_logging.py:145)
16:33:00.114 [I] Progress on: 2.97kit/3.00kit rate:7.1s/it remaining:03:18 elapsed:5:55:42 postfix:- (1980:tqdm_logging.py:145)
16:33:14.305 [I] Progress on: 2.97kit/3.00kit rate:7.1s/it remaining:03:04 elapsed:5:55:56 postfix:- (1980:tqdm_logging.py:145)
16:33:28.512 [I] Progress on: 2.98kit/3.00kit rate:7.1s/it remaining:02:50 elapsed:5:56:10 postfix:- (1980:tqdm_logging.py:145)
16:33:42.695 [I] Progress on: 2.98kit/3.00kit rate:7.1s/it remaining:02:36 elapsed:5:56:24 postfix:- (1980:tqdm_logging.py:145)
16:33:56.884 [I] Progress on: 2.98kit/3.00kit rate:7.1s/it remaining:02:21 elapsed:5:56:39 postfix:- (1980:tqdm_logging.py:145)
16:34:11.079 [I] Progress on: 2.98kit/3.00kit rate:7.1s/it remaining:02:07 elapsed:5:56:53 postfix:- (1980:tqdm_logging.py:145)
16:34:25.287 [I] Progress on: 2.98kit/3.00kit rate:7.1s/it remaining:01:53 elapsed:5:57:07 postfix:- (1980:tqdm_logging.py:145)
16:34:39.481 [I] Progress on: 2.99kit/3.00kit rate:7.1s/it remaining:01:39 elapsed:5:57:21 postfix:- (1980:tqdm_logging.py:145)
16:34:53.673 [I] Progress on: 2.99kit/3.00kit rate:7.1s/it remaining:01:25 elapsed:5:57:35 postfix:- (1980:tqdm_logging.py:145)
16:35:07.868 [I] Progress on: 2.99kit/3.00kit rate:7.1s/it remaining:01:10 elapsed:5:57:50 postfix:- (1980:tqdm_logging.py:145)
16:35:22.068 [I] Progress on: 2.99kit/3.00kit rate:7.1s/it remaining:00:56 elapsed:5:58:04 postfix:- (1980:tqdm_logging.py:145)
16:35:36.258 [I] Progress on: 2.99kit/3.00kit rate:7.1s/it remaining:00:42 elapsed:5:58:18 postfix:- (1980:tqdm_logging.py:145)
16:35:50.459 [I] Progress on: 3.00kit/3.00kit rate:7.1s/it remaining:00:28 elapsed:5:58:32 postfix:- (1980:tqdm_logging.py:145)
16:36:04.654 [I] Progress on: 3.00kit/3.00kit rate:7.1s/it remaining:00:14 elapsed:5:58:46 postfix:- (1980:tqdm_logging.py:145)
16:36:18.851 [I] [process=0][thread=MainThread][wait_until_finished] No Save Finalize thread to wait for. Returning. (1980:checkpoint_manager.py:1987)
16:36:18.852 [I] [process=0] Saving checkpoint at step 2999                                       (1980:checkpoint_manager.py:1408)
16:36:18.852 [I] [process=0] Started async saving checkpoint to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999. (1980:async_checkpointer.py:439)
16:36:18.862 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8 (1980:atomicity.py:144)
16:36:18.870 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/assets.orbax-checkpoint-tmp-9 (1980:atomicity.py:144)
16:36:18.870 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/train_state.orbax-checkpoint-tmp-11 (1980:atomicity.py:144)
16:36:18.870 [I] Creating tmp directory /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/params.orbax-checkpoint-tmp-10 (1980:atomicity.py:144)
16:36:18.894 [I] Transferring arrays to host memory with options: use_replica_parallel=True, enable_pinned_host_transfer=False (1980:replica_slices.py:341)
16:36:28.410 [I] Array name: 'params.PaliGemma.llm.layers.mlp.gating_einsum.value', global shape: (18, 2, 2048, 16384), write shape: (18, 2, 2048, 16384), chosen chunk shape: (18, 2, 2048, 8192) (1980:tensorstore_utils.py:408)
16:36:28.421 [I] Transferring arrays to host memory with options: use_replica_parallel=True, enable_pinned_host_transfer=False (1980:replica_slices.py:341)
16:36:28.469 [I] [process=0][thread=array_type_handler] Wrote 71 array_metadata.ArrayMetadata to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/params.orbax-checkpoint-tmp-10/array_metadatas/process_0 (1980:array_metadata_store.py:198)
16:36:30.595 [I] [process=0] /jax/checkpoint/write/blocking_bytes_per_sec: 628.9 MiB/s (total bytes: 7.2 GiB) (time elapsed: 11 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
16:36:30.598 [I] [process=0] /jax/checkpoint/write/blocking_bytes_per_sec: 303.6 MiB/s (total bytes: 3.5 GiB) (time elapsed: 11 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
16:36:30.622 [I] [process=0][thread=async_save] Background save thread started.                   (1980:async_checkpointer.py:77)
16:36:30.623 [I] Finished blocking save in 11.77 seconds. Continuing to save asynchronously to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999. (1980:async_checkpointer.py:548)
16:36:30.623 [I] Preserving Checkpoint[step=1000 | time=2026-11-24 12:40:01.477906+00:00]: (Reason: on keep_period=1000). (1980:checkpoint_manager.py:1949)
16:36:30.623 [I] Preserving Checkpoint[step=2000 | time=2026-11-24 14:38:14.229182+00:00]: (Reason: on keep_period=1000). (1980:checkpoint_manager.py:1949)
16:36:30.623 [I] [process=0][thread=MainThread][step=2999] Starting CheckpointManager Save Finalize thread=save_finalize (1980:checkpoint_manager.py:1453)
16:36:30.624 [I] [process=0][thread=save_finalize] Waiting for background save thread=async_save. (1980:async_checkpointer.py:258)
16:36:30.625 [I] {'step': 2999, 'event_type': 'save', 'directory': '/workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1', 'reached_preemption': False, 'preemption_received_at': None, 'synchronous': False, 'wait_for_prev_start_time': 1795538178.851497, 'wait_for_prev_duration_secs': 0.00021195411682128906, 'checkpointer_blocking_start_time': 1795538178.8521435, 'checkpointer_blocking_duration_secs': 11.77110767364502, 'get_old_steps_start_time': 1795538190.6232798, 'get_old_steps_duration_secs': 0.0003428459167480469, 'checkpoint_manager_blocking_start_time': 1795538178.8511567, 'checkpoint_manager_blocking_duration_secs': 11.773820400238037} (1980:standard_logger.py:34)
16:36:30.626 [I] Progress on: 3.00kit/3.00kit rate:10.6s/it remaining:00:00 elapsed:5:59:12 postfix:- (1980:tqdm_logging.py:145)
16:36:30.626 [I] Progress on: 3.00kit/3.00kit rate:10.6s/it remaining:00:00 elapsed:5:59:12 postfix:- (1980:tqdm_logging.py:145)
16:36:30.626 [I] Waiting for checkpoint manager to finish                                         (1980:train.py:275)
16:36:30.627 [I] [process=0][thread=MainThread][step=2999][wait_until_finished] Waiting for Save Finalize thread (save_finalize) to complete. (1980:checkpoint_manager.py:1998)
16:36:30.696 [I] [process=0][thread=array_type_handler] Wrote 105 array_metadata.ArrayMetadata to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/train_state.orbax-checkpoint-tmp-11/array_metadatas/process_0 (1980:array_metadata_store.py:198)
16:36:34.192 [I] [process=0] /jax/checkpoint/write/bytes_per_sec: 481.4 MiB/s (total bytes: 7.2 GiB) (time elapsed: 15 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
16:36:34.312 [I] [process=0] /jax/checkpoint/write/bytes_per_sec: 230.6 MiB/s (total bytes: 3.5 GiB) (time elapsed: 15 seconds) (per-host) (1980:base_pytree_checkpoint_handler.py:114)
16:36:34.312 [I] [process=0][thread=async_save] 5 Handler Commit operations completed.            (1980:async_checkpointer.py:87)
16:36:34.313 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/assets.orbax-checkpoint-tmp-9 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/assets (1980:atomicity.py:289)
16:36:34.317 [I] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0. (1980:array_metadata_store.py:362)
16:36:34.323 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/train_state.orbax-checkpoint-tmp-11 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/train_state (1980:atomicity.py:289)
16:36:34.326 [I] [process=0][thread=async_save] Skipped cross-host ArrayMetadata validation because only one process is found: process_index=0. (1980:array_metadata_store.py:362)
16:36:34.331 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/params.orbax-checkpoint-tmp-10 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8/params (1980:atomicity.py:289)
16:36:34.332 [I] Renaming /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999.orbax-checkpoint-tmp-8 to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999 (1980:atomicity.py:289)
16:36:34.333 [I] [process=0][thread=async_save] Finished saving checkpoint (finalized tmp dir) to `/workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999`. (1980:atomicity.py:573)
16:36:34.334 [I] Finished asynchronous save (blocking + background) in 15.48 seconds to /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999 (1980:async_checkpointer.py:412)
16:36:34.334 [I] [process=0][thread=async_save] Background save thread done.                      (1980:async_checkpointer.py:143)
16:36:34.334 [I] [process=0][thread=save_finalize] Done with waiting for background save thread=async_save. (1980:async_checkpointer.py:266)
16:36:34.334 [I] [process=0][thread=save_finalize] No errors found in background save thread=async_save. (1980:async_checkpointer.py:276)
16:36:34.334 [I] [process=0][thread=save_finalize][step=2999] CheckpointManager Save Finalize is syncing with other hosts... (1980:checkpoint_manager.py:2095)
16:36:34.334 [I] [process=0][thread=save_finalize][step=2999] CheckpointManager Save Finalize is done on all hosts. (1980:checkpoint_manager.py:2110)
16:36:34.334 [I] [process=0][thread=MainThread][step=2999][wait_until_finished] Done waiting for Save Finalize thread (save_finalize) running at step=2999. (1980:checkpoint_manager.py:2010)
```

#### gpu_train.csv（学習中の GPU の記録）

```csv
timestamp, name, memory.used [MiB], memory.total [MiB], utilization.gpu [%], temperature.gpu, power.draw [W]
2026/11/24 10:35:30.316, NVIDIA A40, 0 MiB, 46068 MiB, 0 %, 41, 61.46 W
2026/11/24 10:36:00.323, NVIDIA A40, 41221 MiB, 46068 MiB, 0 %, 43, 108.51 W
2026/11/24 10:36:30.324, NVIDIA A40, 41221 MiB, 46068 MiB, 0 %, 44, 108.83 W
2026/11/24 10:37:00.325, NVIDIA A40, 41221 MiB, 46068 MiB, 0 %, 44, 109.39 W
2026/11/24 10:37:30.326, NVIDIA A40, 41229 MiB, 46068 MiB, 0 %, 44, 109.46 W
2026/11/24 10:38:00.354, NVIDIA A40, 41229 MiB, 46068 MiB, 0 %, 44, 109.33 W
2026/11/24 10:38:30.356, NVIDIA A40, 41229 MiB, 46068 MiB, 0 %, 44, 109.34 W
2026/11/24 10:39:00.361, NVIDIA A40, 41229 MiB, 46068 MiB, 0 %, 44, 109.19 W
2026/11/24 10:39:30.453, NVIDIA A40, 41229 MiB, 46068 MiB, 0 %, 44, 109.09 W
2026/11/24 10:40:00.455, NVIDIA A40, 41229 MiB, 46068 MiB, 0 %, 45, 109.82 W
2026/11/24 10:40:30.456, NVIDIA A40, 41273 MiB, 46068 MiB, 99 %, 63, 296.80 W
2026/11/24 10:41:00.457, NVIDIA A40, 41273 MiB, 46068 MiB, 0 %, 50, 111.59 W
2026/11/24 10:41:30.458, NVIDIA A40, 41273 MiB, 46068 MiB, 0 %, 47, 111.68 W
2026/11/24 10:42:00.459, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 61, 287.37 W
2026/11/24 10:42:30.460, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 66, 288.87 W
2026/11/24 10:43:00.461, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 282.41 W
2026/11/24 10:43:30.461, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.56 W
2026/11/24 10:44:00.462, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.74 W
2026/11/24 10:44:30.463, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 304.46 W
2026/11/24 10:45:00.464, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 262.19 W
2026/11/24 10:45:30.466, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 287.57 W
2026/11/24 10:46:00.466, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.76 W
2026/11/24 10:46:30.468, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.03 W
2026/11/24 10:47:00.469, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 256.23 W
2026/11/24 10:47:30.471, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 287.07 W
2026/11/24 10:48:00.472, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.83 W
2026/11/24 10:48:30.474, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 290.36 W
2026/11/24 10:49:00.475, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.64 W
2026/11/24 10:49:30.476, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.21 W
2026/11/24 10:50:00.477, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.94 W
2026/11/24 10:50:30.479, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.22 W
2026/11/24 10:51:00.480, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.67 W
2026/11/24 10:51:30.481, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 325.27 W
2026/11/24 10:52:00.482, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.22 W
2026/11/24 10:52:30.482, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 297.55 W
2026/11/24 10:53:00.484, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 302.51 W
2026/11/24 10:53:30.485, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 321.39 W
2026/11/24 10:54:00.486, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.41 W
2026/11/24 10:54:30.486, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.06 W
2026/11/24 10:55:00.488, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 292.40 W
2026/11/24 10:55:30.489, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.83 W
2026/11/24 10:56:00.492, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.91 W
2026/11/24 10:56:30.493, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.46 W
2026/11/24 10:57:00.493, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.38 W
2026/11/24 10:57:30.495, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.07 W
2026/11/24 10:58:00.497, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.81 W
2026/11/24 10:58:30.497, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 288.70 W
2026/11/24 10:59:00.499, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.16 W
2026/11/24 10:59:30.500, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.29 W
2026/11/24 11:00:00.500, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 282.12 W
2026/11/24 11:00:30.501, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 263.90 W
2026/11/24 11:01:00.504, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.61 W
2026/11/24 11:01:30.504, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.65 W
2026/11/24 11:02:00.504, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.33 W
2026/11/24 11:02:30.505, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 318.86 W
2026/11/24 11:03:00.506, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.82 W
2026/11/24 11:03:30.507, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.96 W
2026/11/24 11:04:00.509, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.72 W
2026/11/24 11:04:30.510, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 311.03 W
2026/11/24 11:05:00.511, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.73 W
2026/11/24 11:05:30.513, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 287.93 W
2026/11/24 11:06:00.514, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.56 W
2026/11/24 11:06:30.520, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.84 W
2026/11/24 11:07:00.521, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.28 W
2026/11/24 11:07:30.522, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 285.88 W
2026/11/24 11:08:00.524, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 294.08 W
2026/11/24 11:08:30.525, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.53 W
2026/11/24 11:09:00.526, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 306.77 W
2026/11/24 11:09:30.528, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.38 W
2026/11/24 11:10:00.529, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.68 W
2026/11/24 11:10:30.529, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.09 W
2026/11/24 11:11:00.531, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.03 W
2026/11/24 11:11:30.532, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 280.63 W
2026/11/24 11:12:00.533, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.31 W
2026/11/24 11:12:30.534, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.16 W
2026/11/24 11:13:00.535, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.31 W
2026/11/24 11:13:30.536, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.18 W
2026/11/24 11:14:00.537, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.58 W
2026/11/24 11:14:30.538, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.15 W
2026/11/24 11:15:00.539, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 305.54 W
2026/11/24 11:15:30.540, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 320.30 W
2026/11/24 11:16:00.541, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 296.25 W
2026/11/24 11:16:30.542, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.18 W
2026/11/24 11:17:00.544, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.76 W
2026/11/24 11:17:30.545, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 313.98 W
2026/11/24 11:18:00.547, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 284.63 W
2026/11/24 11:18:30.548, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 284.88 W
2026/11/24 11:19:00.549, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.67 W
2026/11/24 11:19:30.550, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.70 W
2026/11/24 11:20:00.550, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 318.48 W
2026/11/24 11:20:30.551, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 288.18 W
2026/11/24 11:21:00.552, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 298.04 W
2026/11/24 11:21:30.553, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.37 W
2026/11/24 11:22:00.555, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 262.03 W
2026/11/24 11:22:30.556, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 295.67 W
2026/11/24 11:23:00.557, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.10 W
2026/11/24 11:23:30.558, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.34 W
2026/11/24 11:24:00.559, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 303.55 W
2026/11/24 11:24:30.560, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 289.86 W
2026/11/24 11:25:00.560, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.58 W
2026/11/24 11:25:30.561, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 288.09 W
2026/11/24 11:26:00.562, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 327.28 W
2026/11/24 11:26:30.563, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 297.52 W
2026/11/24 11:27:00.564, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 288.65 W
2026/11/24 11:27:30.565, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.06 W
2026/11/24 11:28:00.566, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 283.37 W
2026/11/24 11:28:30.568, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 305.12 W
2026/11/24 11:29:00.570, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.01 W
2026/11/24 11:29:30.570, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 302.48 W
2026/11/24 11:30:00.571, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.73 W
2026/11/24 11:30:30.572, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 257.96 W
2026/11/24 11:31:00.573, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.76 W
2026/11/24 11:31:30.574, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 294.40 W
2026/11/24 11:32:00.575, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 300.83 W
2026/11/24 11:32:30.575, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 325.24 W
2026/11/24 11:33:00.576, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.01 W
2026/11/24 11:33:30.577, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.34 W
2026/11/24 11:34:00.579, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.39 W
2026/11/24 11:34:30.580, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.91 W
2026/11/24 11:35:00.581, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 259.74 W
2026/11/24 11:35:30.581, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 290.65 W
2026/11/24 11:36:00.581, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.58 W
2026/11/24 11:36:30.582, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.87 W
2026/11/24 11:37:00.583, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 287.44 W
2026/11/24 11:37:30.584, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 287.85 W
2026/11/24 11:38:00.585, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 281.20 W
2026/11/24 11:38:30.586, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.45 W
2026/11/24 11:39:00.586, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.82 W
2026/11/24 11:39:30.587, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.70 W
2026/11/24 11:40:00.587, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.88 W
2026/11/24 11:40:30.587, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.44 W
2026/11/24 11:41:00.588, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.82 W
2026/11/24 11:41:30.589, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 314.03 W
2026/11/24 11:42:00.589, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 296.85 W
2026/11/24 11:42:30.590, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.61 W
2026/11/24 11:43:00.590, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.00 W
2026/11/24 11:43:30.590, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 265.67 W
2026/11/24 11:44:00.591, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 292.25 W
2026/11/24 11:44:30.592, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.30 W
2026/11/24 11:45:00.592, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.71 W
2026/11/24 11:45:30.593, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 259.35 W
2026/11/24 11:46:00.594, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.79 W
2026/11/24 11:46:30.595, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 285.86 W
2026/11/24 11:47:00.596, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.39 W
2026/11/24 11:47:30.597, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 262.13 W
2026/11/24 11:48:00.598, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 272.62 W
2026/11/24 11:48:30.599, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.78 W
2026/11/24 11:49:00.600, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.89 W
2026/11/24 11:49:30.601, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 305.66 W
2026/11/24 11:50:00.602, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 314.49 W
2026/11/24 11:50:30.603, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 300.57 W
2026/11/24 11:51:00.604, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.24 W
2026/11/24 11:51:30.605, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 303.50 W
2026/11/24 11:52:00.606, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 256.28 W
2026/11/24 11:52:30.607, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.36 W
2026/11/24 11:53:00.607, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.03 W
2026/11/24 11:53:30.608, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.69 W
2026/11/24 11:54:00.609, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 297.17 W
2026/11/24 11:54:30.610, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 306.51 W
2026/11/24 11:55:00.610, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.84 W
2026/11/24 11:55:30.611, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.01 W
2026/11/24 11:56:00.612, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 302.81 W
2026/11/24 11:56:30.614, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.02 W
2026/11/24 11:57:00.615, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.93 W
2026/11/24 11:57:30.616, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.28 W
2026/11/24 11:58:00.616, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 308.83 W
2026/11/24 11:58:30.618, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 262.14 W
2026/11/24 11:59:00.618, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 281.08 W
2026/11/24 11:59:30.619, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 292.68 W
2026/11/24 12:00:00.620, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.40 W
2026/11/24 12:00:30.621, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 307.18 W
2026/11/24 12:01:00.622, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 306.10 W
2026/11/24 12:01:30.623, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 301.04 W
2026/11/24 12:02:00.624, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.68 W
2026/11/24 12:02:30.624, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.57 W
2026/11/24 12:03:00.625, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 256.76 W
2026/11/24 12:03:30.626, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 287.46 W
2026/11/24 12:04:00.627, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 288.43 W
2026/11/24 12:04:30.628, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 302.28 W
2026/11/24 12:05:00.629, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.18 W
2026/11/24 12:05:30.631, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.30 W
2026/11/24 12:06:00.632, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.09 W
2026/11/24 12:06:30.632, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.93 W
2026/11/24 12:07:00.633, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 283.12 W
2026/11/24 12:07:30.634, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.13 W
2026/11/24 12:08:00.635, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 285.38 W
2026/11/24 12:08:30.636, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.35 W
2026/11/24 12:09:00.637, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.42 W
2026/11/24 12:09:30.638, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.95 W
2026/11/24 12:10:00.639, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 288.27 W
2026/11/24 12:10:30.640, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.48 W
2026/11/24 12:11:00.641, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 304.16 W
2026/11/24 12:11:30.643, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 288.22 W
2026/11/24 12:12:00.643, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.50 W
2026/11/24 12:12:30.645, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 297.36 W
2026/11/24 12:13:00.645, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 286.76 W
2026/11/24 12:13:30.646, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.92 W
2026/11/24 12:14:00.647, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 305.77 W
2026/11/24 12:14:30.648, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 296.71 W
2026/11/24 12:15:00.649, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.00 W
2026/11/24 12:15:30.649, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 322.18 W
2026/11/24 12:16:00.650, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 306.77 W
2026/11/24 12:16:30.651, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 300.09 W
2026/11/24 12:17:00.651, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.15 W
2026/11/24 12:17:30.652, NVIDIA A40, 41281 MiB, 46068 MiB, 99 %, 70, 300.95 W
2026/11/24 12:18:00.653, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 288.85 W
2026/11/24 12:18:30.654, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.00 W
2026/11/24 12:19:00.655, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.09 W
2026/11/24 12:19:30.656, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.73 W
2026/11/24 12:20:00.657, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.57 W
2026/11/24 12:20:30.658, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 296.79 W
2026/11/24 12:21:00.659, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.87 W
2026/11/24 12:21:30.660, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.11 W
2026/11/24 12:22:00.660, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 327.77 W
2026/11/24 12:22:30.661, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 266.05 W
2026/11/24 12:23:00.662, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.75 W
2026/11/24 12:23:30.663, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.44 W
2026/11/24 12:24:00.664, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.17 W
2026/11/24 12:24:30.664, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 303.26 W
2026/11/24 12:25:00.665, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.08 W
2026/11/24 12:25:30.666, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 303.25 W
2026/11/24 12:26:00.667, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 299.72 W
2026/11/24 12:26:30.667, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.06 W
2026/11/24 12:27:00.668, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.83 W
2026/11/24 12:27:30.669, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 297.48 W
2026/11/24 12:28:00.670, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.90 W
2026/11/24 12:28:30.671, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 276.89 W
2026/11/24 12:29:00.673, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.96 W
2026/11/24 12:29:30.673, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.64 W
2026/11/24 12:30:00.674, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.83 W
2026/11/24 12:30:30.675, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 281.77 W
2026/11/24 12:31:00.676, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 313.99 W
2026/11/24 12:31:30.677, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.52 W
2026/11/24 12:32:00.677, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.58 W
2026/11/24 12:32:30.678, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.70 W
2026/11/24 12:33:00.679, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 264.74 W
2026/11/24 12:33:30.680, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.64 W
2026/11/24 12:34:00.681, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 294.52 W
2026/11/24 12:34:30.682, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.19 W
2026/11/24 12:35:00.683, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 280.06 W
2026/11/24 12:35:30.684, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.70 W
2026/11/24 12:36:00.685, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 292.49 W
2026/11/24 12:36:30.686, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.18 W
2026/11/24 12:37:00.687, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 311.67 W
2026/11/24 12:37:30.689, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.04 W
2026/11/24 12:38:00.689, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.51 W
2026/11/24 12:38:30.690, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.10 W
2026/11/24 12:39:00.691, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.31 W
2026/11/24 12:39:30.691, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 266.77 W
2026/11/24 12:40:00.692, NVIDIA A40, 41281 MiB, 46068 MiB, 6 %, 61, 122.64 W
2026/11/24 12:40:30.692, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 309.08 W
2026/11/24 12:41:00.694, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 298.99 W
2026/11/24 12:41:30.695, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 286.67 W
2026/11/24 12:42:00.696, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.03 W
2026/11/24 12:42:30.696, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 304.95 W
2026/11/24 12:43:00.697, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 284.57 W
2026/11/24 12:43:30.698, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.03 W
2026/11/24 12:44:00.700, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.13 W
2026/11/24 12:44:30.701, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.72 W
2026/11/24 12:45:00.702, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.24 W
2026/11/24 12:45:30.702, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 304.20 W
2026/11/24 12:46:00.704, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.55 W
2026/11/24 12:46:30.704, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.38 W
2026/11/24 12:47:00.705, NVIDIA A40, 41281 MiB, 46068 MiB, 99 %, 71, 296.06 W
2026/11/24 12:47:30.706, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 285.39 W
2026/11/24 12:48:00.707, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 299.79 W
2026/11/24 12:48:30.709, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 284.21 W
2026/11/24 12:49:00.709, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 292.46 W
2026/11/24 12:49:30.710, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 269.91 W
2026/11/24 12:50:00.711, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 281.36 W
2026/11/24 12:50:30.712, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.04 W
2026/11/24 12:51:00.713, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.91 W
2026/11/24 12:51:30.714, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 312.71 W
2026/11/24 12:52:00.716, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.67 W
2026/11/24 12:52:30.717, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 281.16 W
2026/11/24 12:53:00.718, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 299.22 W
2026/11/24 12:53:30.719, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.77 W
2026/11/24 12:54:00.720, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 284.31 W
2026/11/24 12:54:30.721, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.88 W
2026/11/24 12:55:00.722, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.37 W
2026/11/24 12:55:30.723, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.96 W
2026/11/24 12:56:00.724, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 272.10 W
2026/11/24 12:56:30.725, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 307.15 W
2026/11/24 12:57:00.725, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 285.27 W
2026/11/24 12:57:30.726, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.77 W
2026/11/24 12:58:00.728, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.35 W
2026/11/24 12:58:30.729, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 304.88 W
2026/11/24 12:59:00.731, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.16 W
2026/11/24 12:59:30.732, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.10 W
2026/11/24 13:00:00.733, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.93 W
2026/11/24 13:00:30.734, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 318.69 W
2026/11/24 13:01:00.735, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 290.56 W
2026/11/24 13:01:30.736, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.36 W
2026/11/24 13:02:00.736, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.82 W
2026/11/24 13:02:30.737, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.97 W
2026/11/24 13:03:00.737, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 305.66 W
2026/11/24 13:03:30.738, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 288.64 W
2026/11/24 13:04:00.738, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 290.26 W
2026/11/24 13:04:30.739, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 276.72 W
2026/11/24 13:05:00.740, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.65 W
2026/11/24 13:05:30.741, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 298.31 W
2026/11/24 13:06:00.742, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 296.36 W
2026/11/24 13:06:30.744, NVIDIA A40, 41281 MiB, 46068 MiB, 99 %, 69, 298.24 W
2026/11/24 13:07:00.745, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 287.63 W
2026/11/24 13:07:30.746, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.54 W
2026/11/24 13:08:00.747, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 290.44 W
2026/11/24 13:08:30.747, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.63 W
2026/11/24 13:09:00.749, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 318.31 W
2026/11/24 13:09:30.750, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 300.11 W
2026/11/24 13:10:00.750, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 297.21 W
2026/11/24 13:10:30.751, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.56 W
2026/11/24 13:11:00.752, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 301.08 W
2026/11/24 13:11:30.754, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 304.86 W
2026/11/24 13:12:00.754, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 295.77 W
2026/11/24 13:12:30.755, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 299.05 W
2026/11/24 13:13:00.755, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 316.32 W
2026/11/24 13:13:30.756, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 304.74 W
2026/11/24 13:14:00.757, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 285.96 W
2026/11/24 13:14:30.758, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 297.73 W
2026/11/24 13:15:00.758, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 297.11 W
2026/11/24 13:15:30.759, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 283.88 W
2026/11/24 13:16:00.760, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 296.97 W
2026/11/24 13:16:30.761, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.64 W
2026/11/24 13:17:00.762, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.87 W
2026/11/24 13:17:30.763, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 304.87 W
2026/11/24 13:18:00.765, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 290.98 W
2026/11/24 13:18:30.765, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 298.81 W
2026/11/24 13:19:00.766, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 301.79 W
2026/11/24 13:19:30.767, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 324.84 W
2026/11/24 13:20:00.768, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 284.19 W
2026/11/24 13:20:30.770, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.61 W
2026/11/24 13:21:00.771, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 299.29 W
2026/11/24 13:21:30.772, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 310.31 W
2026/11/24 13:22:00.773, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 259.98 W
2026/11/24 13:22:30.774, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 284.39 W
2026/11/24 13:23:00.775, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 287.64 W
2026/11/24 13:23:30.776, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.41 W
2026/11/24 13:24:00.777, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 304.24 W
2026/11/24 13:24:30.778, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.84 W
2026/11/24 13:25:00.779, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.04 W
2026/11/24 13:25:30.781, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.51 W
2026/11/24 13:26:00.782, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 328.81 W
2026/11/24 13:26:30.782, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 292.53 W
2026/11/24 13:27:00.783, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 286.15 W
2026/11/24 13:27:30.784, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.76 W
2026/11/24 13:28:00.788, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.13 W
2026/11/24 13:28:30.789, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 285.74 W
2026/11/24 13:29:00.790, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.57 W
2026/11/24 13:29:30.791, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.98 W
2026/11/24 13:30:00.792, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.31 W
2026/11/24 13:30:30.793, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 306.31 W
2026/11/24 13:31:00.794, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 289.74 W
2026/11/24 13:31:30.796, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 292.11 W
2026/11/24 13:32:00.797, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.13 W
2026/11/24 13:32:30.799, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 319.17 W
2026/11/24 13:33:00.801, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.27 W
2026/11/24 13:33:30.802, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.52 W
2026/11/24 13:34:00.803, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.94 W
2026/11/24 13:34:30.804, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 276.73 W
2026/11/24 13:35:00.805, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.21 W
2026/11/24 13:35:30.806, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.82 W
2026/11/24 13:36:00.807, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.92 W
2026/11/24 13:36:30.809, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 307.53 W
2026/11/24 13:37:00.810, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.84 W
2026/11/24 13:37:30.811, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 292.92 W
2026/11/24 13:38:00.812, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.86 W
2026/11/24 13:38:30.813, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.44 W
2026/11/24 13:39:00.814, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 259.52 W
2026/11/24 13:39:30.815, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 282.16 W
2026/11/24 13:40:00.815, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.17 W
2026/11/24 13:40:30.815, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.66 W
2026/11/24 13:41:00.816, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 258.56 W
2026/11/24 13:41:30.816, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.49 W
2026/11/24 13:42:00.818, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.65 W
2026/11/24 13:42:30.818, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 287.92 W
2026/11/24 13:43:00.820, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 323.22 W
2026/11/24 13:43:30.821, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.20 W
2026/11/24 13:44:00.821, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 278.83 W
2026/11/24 13:44:30.822, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.19 W
2026/11/24 13:45:00.823, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 323.78 W
2026/11/24 13:45:30.824, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 316.27 W
2026/11/24 13:46:00.825, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 289.58 W
2026/11/24 13:46:30.827, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 292.17 W
2026/11/24 13:47:00.828, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.56 W
2026/11/24 13:47:30.829, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 310.44 W
2026/11/24 13:48:00.829, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 286.42 W
2026/11/24 13:48:30.831, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 287.78 W
2026/11/24 13:49:00.832, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.01 W
2026/11/24 13:49:30.832, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 313.55 W
2026/11/24 13:50:00.842, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.00 W
2026/11/24 13:50:30.844, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.21 W
2026/11/24 13:51:00.844, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.24 W
2026/11/24 13:51:30.845, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.29 W
2026/11/24 13:52:00.846, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.93 W
2026/11/24 13:52:30.847, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 294.71 W
2026/11/24 13:53:00.848, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.29 W
2026/11/24 13:53:30.849, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 302.20 W
2026/11/24 13:54:00.850, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 279.77 W
2026/11/24 13:54:30.851, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.87 W
2026/11/24 13:55:00.853, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 294.63 W
2026/11/24 13:55:30.854, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.36 W
2026/11/24 13:56:00.855, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 261.05 W
2026/11/24 13:56:30.856, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.50 W
2026/11/24 13:57:00.858, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 284.86 W
2026/11/24 13:57:30.859, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.69 W
2026/11/24 13:58:00.860, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 262.96 W
2026/11/24 13:58:30.861, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.83 W
2026/11/24 13:59:00.862, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 302.58 W
2026/11/24 13:59:30.863, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.47 W
2026/11/24 14:00:00.863, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 300.39 W
2026/11/24 14:00:30.864, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.55 W
2026/11/24 14:01:00.865, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 287.11 W
2026/11/24 14:01:30.866, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 305.58 W
2026/11/24 14:02:00.867, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 312.47 W
2026/11/24 14:02:30.868, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 265.95 W
2026/11/24 14:03:00.869, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 286.80 W
2026/11/24 14:03:30.869, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 303.79 W
2026/11/24 14:04:00.871, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 303.77 W
2026/11/24 14:04:30.872, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 270.27 W
2026/11/24 14:05:00.873, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.82 W
2026/11/24 14:05:30.875, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.12 W
2026/11/24 14:06:00.876, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.50 W
2026/11/24 14:06:30.877, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.50 W
2026/11/24 14:07:00.878, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.83 W
2026/11/24 14:07:30.879, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.74 W
2026/11/24 14:08:00.880, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.81 W
2026/11/24 14:08:30.881, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 287.07 W
2026/11/24 14:09:00.882, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.81 W
2026/11/24 14:09:30.882, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 293.68 W
2026/11/24 14:10:00.883, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.10 W
2026/11/24 14:10:30.884, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 274.68 W
2026/11/24 14:11:00.885, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 295.30 W
2026/11/24 14:11:30.887, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 291.59 W
2026/11/24 14:12:00.888, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.33 W
2026/11/24 14:12:30.889, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.74 W
2026/11/24 14:13:00.890, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 317.29 W
2026/11/24 14:13:30.891, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.17 W
2026/11/24 14:14:00.893, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.97 W
2026/11/24 14:14:30.894, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 284.86 W
2026/11/24 14:15:00.895, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 313.66 W
2026/11/24 14:15:30.896, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 302.22 W
2026/11/24 14:16:00.897, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.04 W
2026/11/24 14:16:30.898, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 303.29 W
2026/11/24 14:17:00.899, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.95 W
2026/11/24 14:17:30.900, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.62 W
2026/11/24 14:18:00.901, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.06 W
2026/11/24 14:18:30.902, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.35 W
2026/11/24 14:19:00.903, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 319.37 W
2026/11/24 14:19:30.904, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.39 W
2026/11/24 14:20:00.905, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.40 W
2026/11/24 14:20:30.906, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.20 W
2026/11/24 14:21:00.907, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.87 W
2026/11/24 14:21:30.908, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 300.21 W
2026/11/24 14:22:00.909, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 295.36 W
2026/11/24 14:22:30.910, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.25 W
2026/11/24 14:23:00.911, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.63 W
2026/11/24 14:23:30.912, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 336.88 W
2026/11/24 14:24:00.914, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 307.71 W
2026/11/24 14:24:30.915, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.91 W
2026/11/24 14:25:00.916, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.08 W
2026/11/24 14:25:30.917, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 302.65 W
2026/11/24 14:26:00.918, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 301.21 W
2026/11/24 14:26:30.919, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.83 W
2026/11/24 14:27:00.920, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.86 W
2026/11/24 14:27:30.922, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.71 W
2026/11/24 14:28:00.923, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 281.97 W
2026/11/24 14:28:30.924, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.83 W
2026/11/24 14:29:00.925, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.81 W
2026/11/24 14:29:30.926, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.73 W
2026/11/24 14:30:00.927, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 276.50 W
2026/11/24 14:30:30.928, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 303.61 W
2026/11/24 14:31:00.929, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.11 W
2026/11/24 14:31:30.931, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.24 W
2026/11/24 14:32:00.931, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 307.44 W
2026/11/24 14:32:30.933, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 257.76 W
2026/11/24 14:33:00.934, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.72 W
2026/11/24 14:33:30.935, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.38 W
2026/11/24 14:34:00.935, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.99 W
2026/11/24 14:34:30.936, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.93 W
2026/11/24 14:35:00.937, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.66 W
2026/11/24 14:35:30.939, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.37 W
2026/11/24 14:36:00.940, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.86 W
2026/11/24 14:36:30.941, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 266.34 W
2026/11/24 14:37:00.942, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 292.71 W
2026/11/24 14:37:30.944, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.44 W
2026/11/24 14:38:00.945, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.69 W
2026/11/24 14:38:30.945, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 69, 304.49 W
2026/11/24 14:39:00.946, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.29 W
2026/11/24 14:39:30.947, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 297.83 W
2026/11/24 14:40:00.948, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.52 W
2026/11/24 14:40:30.949, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 334.07 W
2026/11/24 14:41:00.950, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 298.34 W
2026/11/24 14:41:30.952, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 285.39 W
2026/11/24 14:42:00.954, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.90 W
2026/11/24 14:42:30.956, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 300.07 W
2026/11/24 14:43:00.957, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 307.60 W
2026/11/24 14:43:30.958, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 299.31 W
2026/11/24 14:44:00.959, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.65 W
2026/11/24 14:44:30.959, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 304.32 W
2026/11/24 14:45:00.961, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 284.80 W
2026/11/24 14:45:30.961, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 286.11 W
2026/11/24 14:46:00.962, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.28 W
2026/11/24 14:46:30.963, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.52 W
2026/11/24 14:47:00.965, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 326.79 W
2026/11/24 14:47:30.966, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 296.59 W
2026/11/24 14:48:00.967, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 300.45 W
2026/11/24 14:48:30.969, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 310.38 W
2026/11/24 14:49:00.970, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 314.20 W
2026/11/24 14:49:30.971, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.77 W
2026/11/24 14:50:00.971, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 304.73 W
2026/11/24 14:50:30.972, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.41 W
2026/11/24 14:51:00.973, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.53 W
2026/11/24 14:51:30.974, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.01 W
2026/11/24 14:52:00.975, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 288.10 W
2026/11/24 14:52:30.976, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.78 W
2026/11/24 14:53:00.977, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.26 W
2026/11/24 14:53:30.978, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.35 W
2026/11/24 14:54:00.978, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.19 W
2026/11/24 14:54:30.979, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.18 W
2026/11/24 14:55:00.980, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.43 W
2026/11/24 14:55:30.981, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.89 W
2026/11/24 14:56:00.982, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 319.38 W
2026/11/24 14:56:30.983, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.97 W
2026/11/24 14:57:00.984, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 287.36 W
2026/11/24 14:57:30.985, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.33 W
2026/11/24 14:58:00.986, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.04 W
2026/11/24 14:58:30.987, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.49 W
2026/11/24 14:59:00.988, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 289.80 W
2026/11/24 14:59:30.989, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 290.09 W
2026/11/24 15:00:00.990, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.36 W
2026/11/24 15:00:30.990, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 306.74 W
2026/11/24 15:01:00.991, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 289.91 W
2026/11/24 15:01:30.992, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 290.32 W
2026/11/24 15:02:00.993, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.47 W
2026/11/24 15:02:30.994, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 305.50 W
2026/11/24 15:03:00.995, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.01 W
2026/11/24 15:03:30.996, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.92 W
2026/11/24 15:04:00.998, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.57 W
2026/11/24 15:04:30.999, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 284.05 W
2026/11/24 15:05:00.999, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 301.61 W
2026/11/24 15:05:31.001, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 299.14 W
2026/11/24 15:06:01.001, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 289.07 W
2026/11/24 15:06:31.003, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 287.78 W
2026/11/24 15:07:01.004, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 256.92 W
2026/11/24 15:07:31.005, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.64 W
2026/11/24 15:08:01.006, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.20 W
2026/11/24 15:08:31.007, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.27 W
2026/11/24 15:09:01.008, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 302.90 W
2026/11/24 15:09:31.009, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 292.37 W
2026/11/24 15:10:01.010, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.40 W
2026/11/24 15:10:31.011, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.35 W
2026/11/24 15:11:01.012, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 315.06 W
2026/11/24 15:11:31.014, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 299.92 W
2026/11/24 15:12:01.014, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.51 W
2026/11/24 15:12:31.015, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 294.38 W
2026/11/24 15:13:01.016, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 300.63 W
2026/11/24 15:13:31.018, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 328.46 W
2026/11/24 15:14:01.019, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.89 W
2026/11/24 15:14:31.020, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.03 W
2026/11/24 15:15:01.020, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 288.53 W
2026/11/24 15:15:31.021, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 328.67 W
2026/11/24 15:16:01.022, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 300.40 W
2026/11/24 15:16:31.023, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.35 W
2026/11/24 15:17:01.024, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.42 W
2026/11/24 15:17:31.025, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.42 W
2026/11/24 15:18:01.026, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.85 W
2026/11/24 15:18:31.027, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.02 W
2026/11/24 15:19:01.028, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.37 W
2026/11/24 15:19:31.029, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 309.22 W
2026/11/24 15:20:01.030, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 327.24 W
2026/11/24 15:20:31.030, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.96 W
2026/11/24 15:21:01.031, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.10 W
2026/11/24 15:21:31.033, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.42 W
2026/11/24 15:22:01.034, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 306.27 W
2026/11/24 15:22:31.034, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 318.36 W
2026/11/24 15:23:01.035, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.33 W
2026/11/24 15:23:31.036, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 289.39 W
2026/11/24 15:24:01.037, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.47 W
2026/11/24 15:24:31.038, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 323.93 W
2026/11/24 15:25:01.039, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.53 W
2026/11/24 15:25:31.040, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.64 W
2026/11/24 15:26:01.041, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.38 W
2026/11/24 15:26:31.042, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 279.92 W
2026/11/24 15:27:01.043, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 260.68 W
2026/11/24 15:27:31.045, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 295.63 W
2026/11/24 15:28:01.045, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.64 W
2026/11/24 15:28:31.046, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.68 W
2026/11/24 15:29:01.047, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 257.39 W
2026/11/24 15:29:31.047, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.73 W
2026/11/24 15:30:01.049, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.76 W
2026/11/24 15:30:31.050, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 305.81 W
2026/11/24 15:31:01.051, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 271.71 W
2026/11/24 15:31:31.051, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.05 W
2026/11/24 15:32:01.052, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.82 W
2026/11/24 15:32:31.052, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 286.87 W
2026/11/24 15:33:01.053, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 301.05 W
2026/11/24 15:33:31.054, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 276.90 W
2026/11/24 15:34:01.055, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.03 W
2026/11/24 15:34:31.056, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.30 W
2026/11/24 15:35:01.057, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 300.41 W
2026/11/24 15:35:31.057, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.92 W
2026/11/24 15:36:01.058, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.73 W
2026/11/24 15:36:31.059, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.05 W
2026/11/24 15:37:01.061, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.42 W
2026/11/24 15:37:31.062, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.87 W
2026/11/24 15:38:01.063, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 304.77 W
2026/11/24 15:38:31.064, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 284.80 W
2026/11/24 15:39:01.066, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.62 W
2026/11/24 15:39:31.067, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.67 W
2026/11/24 15:40:01.068, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 304.57 W
2026/11/24 15:40:31.069, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 285.83 W
2026/11/24 15:41:01.070, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.78 W
2026/11/24 15:41:31.071, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 292.97 W
2026/11/24 15:42:01.072, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 321.17 W
2026/11/24 15:42:31.073, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 303.02 W
2026/11/24 15:43:01.074, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 281.28 W
2026/11/24 15:43:31.075, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.56 W
2026/11/24 15:44:01.076, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 292.47 W
2026/11/24 15:44:31.078, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 302.50 W
2026/11/24 15:45:01.079, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.77 W
2026/11/24 15:45:31.080, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.77 W
2026/11/24 15:46:01.082, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 299.64 W
2026/11/24 15:46:31.083, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 287.65 W
2026/11/24 15:47:01.084, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 269.72 W
2026/11/24 15:47:31.085, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 284.35 W
2026/11/24 15:48:01.086, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.31 W
2026/11/24 15:48:31.087, NVIDIA A40, 41281 MiB, 46068 MiB, 99 %, 71, 296.96 W
2026/11/24 15:49:01.087, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 258.03 W
2026/11/24 15:49:31.088, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 299.08 W
2026/11/24 15:50:01.089, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.59 W
2026/11/24 15:50:31.090, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.45 W
2026/11/24 15:51:01.091, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.58 W
2026/11/24 15:51:31.091, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 307.55 W
2026/11/24 15:52:01.093, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 300.80 W
2026/11/24 15:52:31.094, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.33 W
2026/11/24 15:53:01.096, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 306.49 W
2026/11/24 15:53:31.097, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.28 W
2026/11/24 15:54:01.097, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 287.90 W
2026/11/24 15:54:31.099, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.86 W
2026/11/24 15:55:01.099, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 300.61 W
2026/11/24 15:55:31.101, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.69 W
2026/11/24 15:56:01.102, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.51 W
2026/11/24 15:56:31.103, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.33 W
2026/11/24 15:57:01.104, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.25 W
2026/11/24 15:57:31.105, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 291.36 W
2026/11/24 15:58:01.106, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 259.54 W
2026/11/24 15:58:31.107, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.05 W
2026/11/24 15:59:01.108, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 287.15 W
2026/11/24 15:59:31.108, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.94 W
2026/11/24 16:00:01.109, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 316.91 W
2026/11/24 16:00:31.110, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.10 W
2026/11/24 16:01:01.110, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 281.41 W
2026/11/24 16:01:31.112, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 307.46 W
2026/11/24 16:02:01.113, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 320.94 W
2026/11/24 16:02:31.114, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 303.74 W
2026/11/24 16:03:01.115, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 301.38 W
2026/11/24 16:03:31.116, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 299.02 W
2026/11/24 16:04:01.117, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.02 W
2026/11/24 16:04:31.118, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 286.23 W
2026/11/24 16:05:01.119, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.76 W
2026/11/24 16:05:31.121, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 284.71 W
2026/11/24 16:06:01.122, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 303.46 W
2026/11/24 16:06:31.123, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 312.52 W
2026/11/24 16:07:01.124, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 284.17 W
2026/11/24 16:07:31.125, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.06 W
2026/11/24 16:08:01.126, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.80 W
2026/11/24 16:08:31.126, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 308.14 W
2026/11/24 16:09:01.127, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.36 W
2026/11/24 16:09:31.128, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 288.50 W
2026/11/24 16:10:01.129, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.23 W
2026/11/24 16:10:31.130, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 302.98 W
2026/11/24 16:11:01.132, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 329.11 W
2026/11/24 16:11:31.133, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 292.55 W
2026/11/24 16:12:01.134, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 288.43 W
2026/11/24 16:12:31.135, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 289.55 W
2026/11/24 16:13:01.136, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.77 W
2026/11/24 16:13:31.137, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 302.48 W
2026/11/24 16:14:01.139, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 293.17 W
2026/11/24 16:14:31.139, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 289.89 W
2026/11/24 16:15:01.140, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 299.58 W
2026/11/24 16:15:31.140, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 72, 288.75 W
2026/11/24 16:16:01.141, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 290.75 W
2026/11/24 16:16:31.143, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.47 W
2026/11/24 16:17:01.143, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 306.52 W
2026/11/24 16:17:31.145, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 325.04 W
2026/11/24 16:18:01.145, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.11 W
2026/11/24 16:18:31.147, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.48 W
2026/11/24 16:19:01.148, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.35 W
2026/11/24 16:19:31.149, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.86 W
2026/11/24 16:20:01.149, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 318.00 W
2026/11/24 16:20:31.150, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.14 W
2026/11/24 16:21:01.151, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 290.31 W
2026/11/24 16:21:31.152, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.64 W
2026/11/24 16:22:01.153, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 301.42 W
2026/11/24 16:22:31.155, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.23 W
2026/11/24 16:23:01.156, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 296.23 W
2026/11/24 16:23:31.157, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.29 W
2026/11/24 16:24:01.158, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.10 W
2026/11/24 16:24:31.159, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 308.80 W
2026/11/24 16:25:01.160, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.34 W
2026/11/24 16:25:31.160, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 292.65 W
2026/11/24 16:26:01.161, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 298.70 W
2026/11/24 16:26:31.162, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 258.27 W
2026/11/24 16:27:01.164, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 294.78 W
2026/11/24 16:27:31.165, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.27 W
2026/11/24 16:28:01.166, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.49 W
2026/11/24 16:28:31.167, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 307.41 W
2026/11/24 16:29:01.168, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.14 W
2026/11/24 16:29:31.169, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 304.87 W
2026/11/24 16:30:01.170, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 295.48 W
2026/11/24 16:30:31.172, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.85 W
2026/11/24 16:31:01.173, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 295.42 W
2026/11/24 16:31:31.174, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 299.21 W
2026/11/24 16:32:01.175, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 291.33 W
2026/11/24 16:32:31.176, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 286.54 W
2026/11/24 16:33:01.177, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.73 W
2026/11/24 16:33:31.178, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 311.42 W
2026/11/24 16:34:01.178, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 297.43 W
2026/11/24 16:34:31.179, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 70, 293.41 W
2026/11/24 16:35:01.180, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 294.43 W
2026/11/24 16:35:31.182, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 314.54 W
2026/11/24 16:36:01.182, NVIDIA A40, 41281 MiB, 46068 MiB, 100 %, 71, 293.91 W
2026/11/24 16:36:31.183, NVIDIA A40, 41281 MiB, 46068 MiB, 0 %, 61, 122.75 W
2026/11/24 16:37:01.184, NVIDIA A40, 0 MiB, 46068 MiB, 0 %, 45, 37.05 W
2026/11/24 16:37:31.185, NVIDIA A40, 0 MiB, 46068 MiB, 0 %, 40, 35.47 W
2026/11/24 16:38:01.186, NVIDIA A40, 0 MiB, 46068 MiB, 0 %, 36, 34.14 W
2026/11/24 16:38:31.186, NVIDIA A40, 0 MiB, 46068 MiB, 0 %, 33, 33.58 W
2026/11/24 16:39:01.187, NVIDIA A40, 0 MiB, 46068 MiB, 0 %, 33, 33.40 W
```

#### norm_stats.json（正規化の値）

```json
{
  "norm_stats": {
    "state": {
      "mean": [
        -2.055086374282837,
        -24.448183059692383,
        31.598735809326172,
        48.35274124145508,
        -2.5662002563476562,
        18.849225997924805
      ],
      "std": [
        25.20230484008789,
        50.940372467041016,
        41.71092224121094,
        14.985051155090332,
        10.860955238342285,
        13.150036811828613
      ],
      "q01": [
        -53.99136690826416,
        -103.61846178817748,
        -53.9346970703125,
        15.499885692822936,
        -29.158786061859132,
        0.948197846710682
      ],
      "q99": [
        42.71405640563965,
        55.681056470489494,
        91.07270262908935,
        94.93119999871254,
        20.526277140808105,
        48.569783464074135
      ]
    },
    "actions": {
      "mean": [
        0.10850124061107635,
        -0.9079663753509521,
        -0.18789170682430267,
        -0.5175042748451233,
        -0.04379744082689285,
        16.359880447387695
      ],
      "std": [
        10.124398231506348,
        20.791915893554688,
        17.684526443481445,
        9.586275100708008,
        4.523604393005371,
        15.435542106628418
      ],
      "q01": [
        -32.739375430297855,
        -63.8875109375,
        -57.15462244873047,
        -32.929069317626954,
        -13.749750142669676,
        0.4851644874572754
      ],
      "q99": [
        37.929565473937984,
        78.45062032470705,
        59.96648859863282,
        27.897214343261723,
        15.286136191558839,
        48.67486980285645
      ]
    }
  }
}
```

#### train_provenance.json（由来の記録）

```json
{
  "schema_version": "provenance/1",
  "created_at": "2026-11-25T01:41:59+09:00",
  "producer": {
    "script": "lab_train.sh",
    "argv": [
      "--log",
      "so101_Log10",
      "--model",
      "so101b",
      "--limit-hours",
      "7"
    ],
    "machine": "shimadzueiichinoMacBook-Pro.local",
    "platform": "Darwin 25.6.0",
    "python": "3.12.12",
    "dry_run": false
  },
  "code": {
    "repo": "r2r2r-scripts",
    "commit": "f755b0870bd817848280735ca650f94224493a3a",
    "dirty": true,
    "dirty_files": [
      "pi05/DEEP_DEMOS.md",
      "pi05/POWER_AB.md",
      "pi05/build_deep_even10_v2.sh",
      "pi05/policy_recorder.py",
      "pi05/pos5_lift_compare.py",
      "pi05/power_ab_compare.py",
      "pi05/test_build_deep_even10_v2.py",
      "pi05/test_pos5_lift_compare.py",
      "pi05/test_power_ab.py",
      "pi05/verdict_viewer/判定の画面を開く.command"
    ],
    "untracked_backups": [
      "pi05/build_demo_episodes.py.bak_pre_LOG352_20261019",
      "pi05/teach_state_rate.py.bak_pre_req225_20261116"
    ],
    "diff_sha256": "7c2e596c85ffc7b81bf09631620d251a7cb287db3fdbdf0ecd0c1be4af0805a2",
    "measured_at": "2026-11-24T19:16:07+09:00",
    "paths": [
      "lab_train.sh",
      "lab_lib.sh",
      "provenance.py",
      "pi05"
    ]
  },
  "external_code": [
    {
      "name": "openpi",
      "commit": "215abfb217dbac7d5f1273282331b9b1866c0479",
      "dirty": true,
      "dirty_files": [
        "src/openpi/training/config.py",
        "src/openpi/policies/mecharm_policy.py"
      ],
      "expected_commit": "215abfb"
    }
  ],
  "inputs": [
    {
      "kind": "dataset",
      "id": "so101_redblock_box_teleop_even_v1",
      "path": "datasets/so101_redblock_box_teleop_even_v1",
      "fingerprint": "files-v2:fb3a4ad2973bc3df8037d5f531a3c2441b9ae2502beba8c1a6e8afc1925e9d5f",
      "tar": {
        "path": "datasets/so101_redblock_box_teleop_even_v1/so101_redblock_box_teleop_even_v1_raw_episodes.tar",
        "sha256": "11905f95d06e88fcf8a67d7e19199e058353e656a824a3de4e6064877a699bc1"
      },
      "measured_at": "2026-11-24T19:16:13+09:00"
    },
    {
      "kind": "checkpoint",
      "id": "pi05_base",
      "path": null,
      "fingerprint": null,
      "hf_repo": null,
      "pod_path": null,
      "url": "gs://openpi-assets/checkpoints/pi05_base/params",
      "note": "π0.5 base から新しく学習 (続きの学習ではない)",
      "measured_at": "2026-11-24T19:16:13+09:00"
    },
    {
      "kind": "config",
      "id": "add_trim_config.py",
      "path": "lab/Log11/pod/add_trim_config.py",
      "fingerprint": "files-v2:3d7a5ce690b205880da44fa4b20de1b5905b7fb96a91580413ecb5cd660db44c",
      "sha256": "94059deb462623946344a5285f7ebd69c8041b5d820ed28fd4d383f7922f38a9",
      "measured_at": "2026-11-24T19:16:13+09:00"
    }
  ],
  "outputs": [
    {
      "kind": "checkpoint",
      "id": "pi05_so101_teleop_even_h30_lora_v1/2999",
      "path": "checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999",
      "fingerprint": "files-v2:cfc9b52cceefe742684201406bf2253d7bb434207e75511eb771ed58326ede88",
      "hf_repo": "PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1"
    }
  ],
  "config": {
    "name": "pi05_so101_teleop_even_h30_lora",
    "exp_name": "so101_teleop_even_h30_v1",
    "num_train_steps": 3000,
    "init_params": "base",
    "data_name": "so101_redblock_box_teleop_even_v1",
    "limit_hours": 7,
    "checkpoint_step": "2999",
    "norm_stats": {
      "source": "Pod で compute_norm_stats.py を回して測り直した (依頼 133)",
      "sha256": "76effd23c1504b8935c19f03c1c259d8cd492f06b5adbbb050d197089115e331",
      "pod_path": "/workspace/openpi/assets/pi05_so101_teleop_even_h30_lora/local/so101_redblock_box_teleop_even_v1/norm_stats.json",
      "lab_copy": "/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/norm_stats.json"
    },
    "lr_schedule": {
      "warmup_steps": 300,
      "peak_lr": 5e-05,
      "decay_steps": 3000,
      "decay_lr": 5e-06,
      "source": "add_so101_config.py --steps 3000 --variant h30"
    }
  },
  "compute": {
    "provider": "runpod",
    "pod_id": "wy6239vev0mcah",
    "gpu": "NVIDIA A40",
    "started_at": "2026-11-24T19:17:17+09:00",
    "train_started_at": "2026-11-24T19:35:33+09:00",
    "ended_at": "2026-11-25T01:39:45+09:00",
    "duration_sec": 22948,
    "cost_per_hr_usd": 0.59,
    "cost_usd": 3.76,
    "yen_per_usd": 158,
    "cost_line": "借りていた時間 382 分 28 秒 (6.37 時間) × 1時間 0.59 ドル = 約 3.76 ドル (約 594 円. 1ドル=158円)"
  },
  "numbering": {
    "series": "フィジカルAI研究室",
    "series_log": "so101_Log10",
    "article_no": ""
  },
  "status": {
    "process": "completed",
    "task": "not_applicable"
  },
  "notes": {
    "hugging_face": "ok PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1 に 32 ファイル 6,335,875,114 バイトを上げ, 名前・バイト数が全部合うのを確かめた",
    "kioxia": "/Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999 に置いた (32 ファイル 6335875114 バイト. Pod 側と名前・バイト数が全部合った). assets の正規化の値は測り直したものと sha256 が同じ"
  }
}
```

#### after_train_289.txt（学習のあとの確かめと片付け）

```text
[289   ] 2026-11-24 19:16:54 lab_train.sh (pid 287) が終わるのを待つ
[289   ] 2026-11-25 01:42:59 学習の結果: /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/train/result_20261124_191604.txt
[289   ] 2026-11-25 01:42:59 lab_start.sh --model so101b --serve-only を始める
[289   ] 2026-11-25 01:50:41 サーバーが待っている. お手本を流す
[HORIZON] 答えのコマ数 30 (サーバーの答えから)
[1] so101_redblock_box_teleop_v1_ep002  53 回  30 コマの差の中央値 [0.72, 1.25, 0.9, 1.19, 0.6, 0.46]  先頭 10 コマ [0.64, 0.97, 0.84, 0.99, 0.67, 0.41]
[2] so101_redblock_box_teleop_v1_pos23_ep000  51 回  30 コマの差の中央値 [0.85, 0.8, 1.13, 0.97, 0.45, 0.4]  先頭 10 コマ [0.66, 0.6, 0.92, 0.68, 0.35, 0.38]
[3] so101_redblock_box_teleop_v1_pos23_ep010  56 回  30 コマの差の中央値 [1.01, 1.09, 1.61, 1.41, 0.71, 0.37]  先頭 10 コマ [0.76, 0.86, 1.13, 1.05, 0.66, 0.33]
[4] so101_redblock_box_teleop_v1_pos45_ep000  41 回  30 コマの差の中央値 [0.72, 1.09, 1.24, 1.08, 0.48, 0.67]  先頭 10 コマ [0.49, 0.82, 0.94, 1.02, 0.42, 0.54]
[5] so101_redblock_box_teleop_v1_pos45_ep010  39 回  30 コマの差の中央値 [0.97, 0.97, 1.55, 1.41, 0.62, 0.54]  先頭 10 コマ [0.79, 0.74, 1.16, 0.87, 0.42, 0.46]
[ALL   ] 30 コマの差 {'median': [0.85, 1.04, 1.26, 1.19, 0.56, 0.46], 'max': [23.03, 59.92, 57.77, 24.46, 21.03, 26.72]}
[ALL   ] 先頭 10 コマの差 {'median': [0.66, 0.78, 0.97, 0.94, 0.49, 0.41], 'max': [16.32, 12.54, 19.6, 17.7, 4.96, 16.68]}
[STEP  ] 答えの 0・9・19・29 コマ目の差の中央値 [[0.55, 0.75, 0.9, 0.72, 0.39, 0.41], [0.69, 0.83, 1.08, 1.05, 0.54, 0.44], [0.95, 1.23, 1.5, 1.35, 0.62, 0.51], [1.22, 1.95, 1.88, 1.81, 0.74, 0.65]]
[LATENCY] {'first': 0.46, 'n': 240, 'median': 0.469, 'max': 0.793, 'p90': 0.59, 'over_30frames_1.00s': 0}
[OUT   ] so101/check_289/replay_demo_20261125_015244.json
[289   ] 2026-11-25 01:52:54 lab_stop.sh で Pod を消す
[STOP  ] so101_Log10 の Pod: id pkxduwi68v8sri  GPU=NVIDIA A40  作った時刻 2026-11-25 01:43:33
[LOG   ] serve.log を持ち帰った → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/serve_20261125_015255.log (24 行)
[STOP  ] Terminate を送った (01:53:04)
[STOP  ] Pod (id pkxduwi68v8sri) が消えたことを API で確かめた
[COST  ] 借りていた時間 9 分 31 秒 (0.16 時間) × 1時間 0.59 ドル = 約 0.09 ドル (約 15 円. 1ドル=158円)
[TUNNEL] 8000 番のトンネルは残っていません
[CHECK ] 残っている Pod はありません
[289   ] 2026-11-25 01:53:05 Pod は残っていない
[289   ] 2026-11-25 01:53:05 終わり
```

#### lab_start のログ（学習のあとの確かめ）

```text
[LOG   ] ターミナルの出力を残します → /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/lab_start_20261125_014259.txt
[RANGE ] 安全範囲 (学習データ ±10°) は /Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes から (--model so101b)
[SO101 ] 推論のクライアントは so101/run_so101_policy.py (/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python). --serve-only なのでクライアントは流さない (空打ちだけ)
[SO101 ] 1 回で実行するコマ: 30 (既定. 答えの 30 コマ全部)
[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す (既定. 依頼 285)
[LAB   ] 2026-11-25 01:42:59  GPU=NVIDIA A40  episode=run_0001_20261019_194818  log=/Volumes/KIOXIA/r2r2r-data/lab/so101_Log10  サーバーとトンネルだけ (--serve-only. アームと daemon には触らない)
[MODEL ] --model so101b: SO-101: so101a と同じデータ・値で, 1 回の答えを 30 コマ (1 秒) にして学習した 2999 (依頼 289)
         PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1 → /workspace/ckpt/so101_teleop_even_h30_v1_2999  設定 pi05_so101_teleop_even_h30_lora  assets local/so101_redblock_box_teleop_even_v1

=== 1. Pod を作る
[POD   ] 記録の Pod (id 3gn2i41m01ilz0) は API で見ると残っていない. 新しく作ります
         古い記録は /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/pod/lab_pod_20261125_014300.json に残しました
[POD   ] 作れなかった (1/5, HTTP 400): There are no longer any instances available with the requested specifications. Please refresh and try again.
[POD   ] 30 秒待って作り直します
[POD   ] 作った: id pkxduwi68v8sri  GPU=NVIDIA A40  1時間 0.59 ドル  (記録 /Volumes/KIOXIA/r2r2r-data/lab/so101_Log10/pod/lab_pod.json)
    (34 秒)

=== 2. Pod が立ち上がるまで待つ
[POD   ] SSH の IP とポートを API から受け取った (<POD_IP>:<SSH_PORT>)
[POD   ] 入れた: 13b2e900ce96
NVIDIA A40, 46068 MiB
    (30 秒)

=== 3a. スクリプトを送る
    (203 秒)

=== 3b. huggingface_hub を入れ, 鍵を渡す
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager, possibly rendering your system unusable. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv. Use the --root-user-action option if you know what you are doing and want to suppress this warning.
[90mHint: The `hf-cli` skill is not installed. Run `hf skills add -g` to teach your AI agents how to use the `hf` CLI.[0m
[32m✓ Logged in[0m
  user: PixelstoMotors
    (14 秒)

=== 3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1)

Fetching 34 files:   0%|          | 0/34 [00:00<?, ?it/s]
Fetching 34 files:   3%|▎         | 1/34 [00:00<00:09,  3.55it/s]
Fetching 34 files:  26%|██▋       | 9/34 [00:00<00:01, 18.55it/s]
Fetching 34 files:  32%|███▏      | 11/34 [00:02<00:05,  4.52it/s]
Fetching 34 files:  38%|███▊      | 13/34 [00:05<00:12,  1.70it/s]
Fetching 34 files:  41%|████      | 14/34 [00:05<00:10,  1.92it/s]
Fetching 34 files:  44%|████▍     | 15/34 [00:05<00:08,  2.23it/s]
Fetching 34 files:  47%|████▋     | 16/34 [00:08<00:15,  1.15it/s]
Fetching 34 files:  50%|█████     | 17/34 [00:09<00:17,  1.03s/it]
Fetching 34 files:  53%|█████▎    | 18/34 [00:09<00:13,  1.21it/s]
Fetching 34 files:  59%|█████▉    | 20/34 [00:10<00:07,  1.88it/s]
Fetching 34 files:  65%|██████▍   | 22/34 [00:10<00:04,  2.50it/s]
Fetching 34 files:  68%|██████▊   | 23/34 [00:11<00:05,  2.10it/s]
Fetching 34 files:  71%|███████   | 24/34 [00:11<00:04,  2.43it/s]
Fetching 34 files:  74%|███████▎  | 25/34 [00:11<00:03,  2.55it/s]
Fetching 34 files:  76%|███████▋  | 26/34 [00:11<00:02,  2.97it/s]
Fetching 34 files:  85%|████████▌ | 29/34 [00:12<00:01,  4.83it/s]
Fetching 34 files:  88%|████████▊ | 30/34 [00:13<00:01,  2.95it/s]
Fetching 34 files:  91%|█████████ | 31/34 [00:13<00:00,  3.48it/s]
Fetching 34 files:  94%|█████████▍| 32/34 [00:13<00:00,  3.37it/s]
Fetching 34 files:  97%|█████████▋| 33/34 [00:13<00:00,  3.12it/s][32m✓ Downloaded[0m
  path: /workspace/ckpt/so101_teleop_even_h30_v1_2999

Fetching 34 files: 100%|██████████| 34/34 [00:14<00:00,  3.00it/s]
Fetching 34 files: 100%|██████████| 34/34 [00:14<00:00,  2.39it/s]
6.0G	/workspace/ckpt/so101_teleop_even_h30_v1_2999
    (18 秒)

=== 3d. openpi を取る (215abfb)
215abfb docs(droid): fix config search instruction (#1023)
    (21 秒)

=== 3e. uv sync
downloading uv 0.13.9 x86_64-unknown-linux-gnu
WARN: The following commands are shadowed by other commands in your PATH: uv uvx
Using CPython 3.11.13 interpreter at: /usr/bin/python3.11
Creating virtual environment at: .venv
Resolved 279 packages in 2ms
   Building openpi-client @ file:///workspace/openpi/packages/openpi-client
   Building openpi @ file:///workspace/openpi
   Updating https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
Downloading tensorstore (17.5MiB)
Downloading jax-cuda12-plugin (15.9MiB)
Downloading labmaze (4.7MiB)
Downloading h5py (4.3MiB)
Downloading jax-cuda12-pjrt (99.8MiB)
Downloading opencv-python (60.1MiB)
Downloading numcodecs (8.4MiB)
Downloading dm-control (37.5MiB)
Downloading scipy (35.9MiB)
Downloading transformers (10.3MiB)
Downloading pyarrow (40.3MiB)
Downloading triton (148.5MiB)
Downloading llvmlite (40.4MiB)
Downloading polars (34.6MiB)
Downloading nvidia-cudnn-cu12 (544.5MiB)
Downloading rerun-sdk (68.1MiB)
Downloading nvidia-nccl-cu12 (192.0MiB)
Downloading virtualenv (5.8MiB)
Downloading matplotlib (8.2MiB)
Downloading av (34.7MiB)
Downloading nvidia-nvjitlink-cu12 (18.8MiB)
Downloading jaxlib (100.2MiB)
Downloading numpy (17.4MiB)
Downloading torch (783.1MiB)
Downloading lxml (4.7MiB)
Downloading torchvision (7.1MiB)
Downloading numba (3.7MiB)
Downloading nvidia-cusparse-cu12 (206.5MiB)
Downloading hf-xet (4.9MiB)
Downloading nvidia-cusparselt-cu12 (149.5MiB)
Downloading diffusers (3.4MiB)
Downloading nvidia-cuda-nvcc-cu12 (38.7MiB)
Downloading pyopengl (3.0MiB)
Downloading opencv-python-headless (47.7MiB)
Downloading wandb (20.4MiB)
Downloading nvidia-cuda-cupti-cu12 (8.5MiB)
Downloading pillow (4.4MiB)
Downloading ruff (11.0MiB)
Downloading cmake (26.6MiB)
Downloading mujoco (4.4MiB)
Downloading fonttools (4.7MiB)
Downloading nvidia-cuda-nvrtc-cu12 (22.6MiB)
Downloading hf-transfer (3.4MiB)
Downloading pandas (12.5MiB)
Downloading nvidia-cusolver-cu12 (150.9MiB)
Downloading imageio-ffmpeg (28.1MiB)
Downloading nvidia-cufft-cu12 (190.9MiB)
Downloading sympy (6.0MiB)
Downloading nvidia-curand-cu12 (53.7MiB)
Downloading nvidia-cublas-cu12 (374.9MiB)
 Downloaded hf-transfer
 Downloaded diffusers
 Downloaded pyopengl
Downloading tokenizers (2.9MiB)
Downloading debugpy (3.0MiB)
Downloading jax (2.3MiB)
 Downloaded numba
Downloading widgetsnbextension (2.1MiB)
 Downloaded h5py
 Downloaded pillow
Downloading ml-dtypes (2.1MiB)
 Downloaded mujoco
Downloading networkx (1.9MiB)
 Downloaded labmaze
Downloading pydantic-core (1.9MiB)
 Downloaded fonttools
Downloading aiohttp (1.6MiB)
 Downloaded lxml
Downloading jedi (1.5MiB)
Downloading kiwisolver (1.4MiB)
 Downloaded hf-xet
Downloading torchcodec (1.3MiB)
 Downloaded virtualenv
Downloading sentencepiece (1.2MiB)
 Downloaded jax
 Downloaded widgetsnbextension
Downloading pygments (1.2MiB)
 Downloaded sympy
Downloading setuptools (1.1MiB)
Downloading nvidia-cufile-cu12 (1.1MiB)
 Downloaded kiwisolver
Downloading pymunk (1.0MiB)
 Downloaded aiohttp
 Downloaded torchcodec
 Downloaded networkx
 Downloaded tokenizers
 Downloaded ml-dtypes
 Downloaded debugpy
 Downloaded pydantic-core
 Downloaded jedi
 Downloaded sentencepiece
 Downloaded torchvision
 Downloaded nvidia-cufile-cu12
 Downloaded pygments
 Downloaded pymunk
 Downloaded setuptools
 Downloaded matplotlib
 Downloaded nvidia-cuda-cupti-cu12
 Downloaded numcodecs
   Building evdev==1.9.2
   Building antlr4-python3-runtime==4.9.3
 Downloaded transformers
 Downloaded ruff
 Downloaded pandas
 Downloaded jax-cuda12-plugin
 Downloaded numpy
 Downloaded tensorstore
 Downloaded nvidia-nvjitlink-cu12
      Built openpi-client @ file:///workspace/openpi/packages/openpi-client
      Built openpi @ file:///workspace/openpi
 Downloaded wandb
 Downloaded nvidia-cuda-nvrtc-cu12
 Downloaded imageio-ffmpeg
      Built antlr4-python3-runtime==4.9.3
 Downloaded av
 Downloaded polars
 Downloaded scipy
 Downloaded dm-control
 Downloaded cmake
 Downloaded nvidia-cuda-nvcc-cu12
 Downloaded llvmlite
 Downloaded pyarrow
 Downloaded opencv-python-headless
 Downloaded nvidia-curand-cu12
 Downloaded opencv-python
 Downloaded rerun-sdk
      Built evdev==1.9.2
 Downloaded jax-cuda12-pjrt
 Downloaded jaxlib
 Downloaded triton
 Downloaded nvidia-cusparselt-cu12
 Downloaded nvidia-cusolver-cu12
 Downloaded nvidia-nccl-cu12
 Downloaded nvidia-cufft-cu12
 Downloaded nvidia-cusparse-cu12
    Updated https://github.com/huggingface/lerobot (0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
   Building lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded nvidia-cublas-cu12
      Built lerobot @ git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5
 Downloaded nvidia-cudnn-cu12
 Downloaded torch
Prepared 240 packages in 13.87s
Installed 240 packages in 1.61s
 + absl-py==2.3.0
 + aiohappyeyeballs==2.6.1
 + aiohttp==3.12.4
 + aiosignal==1.3.2
 + annotated-types==0.7.0
 + antlr4-python3-runtime==4.9.3
 + asttokens==3.0.0
 + attrs==25.3.0
 + augmax==0.4.1
 + av==17.0.0
 + beartype==0.19.0
 + beautifulsoup4==4.13.4
 + blinker==1.9.0
 + cachetools==5.5.2
 + certifi==2025.4.26
 + cffi==1.17.1
 + cfgv==3.4.0
 + charset-normalizer==3.4.2
 + chex==0.1.90
 + click==8.2.1
 + cloudpickle==3.1.1
 + cmake==4.0.2
 + comm==0.2.2
 + contourpy==1.3.2
 + crc32c==2.7.1
 + cycler==0.12.1
 + datasets==3.6.0
 + debugpy==1.8.14
 + decorator==5.2.1
 + deepdiff==8.5.0
 + diffusers==0.33.1
 + dill==0.3.8
 + distlib==0.3.9
 + dm-control==1.0.14
 + dm-env==1.6
 + dm-tree==0.1.9
 + docker-pycreds==0.4.0
 + docstring-parser==0.16
 + donfig==0.8.1.post1
 + draccus==0.10.0
 + einops==0.8.1
 + equinox==0.12.2
 + etils==1.12.2
 + evdev==1.9.2
 + executing==2.2.0
 + farama-notifications==0.0.4
 + filelock==3.18.0
 + flask==3.1.1
 + flatbuffers==25.2.10
 + flax==0.10.2
 + fonttools==4.58.1
 + frozenlist==1.6.0
 + fsspec==2025.3.0
 + gcsfs==2025.3.0
 + gdown==5.2.0
 + gitdb==4.0.12
 + gitpython==3.1.44
 + glfw==2.9.0
 + google-api-core==2.24.2
 + google-auth==2.40.2
 + google-auth-oauthlib==1.2.2
 + google-cloud-core==2.4.3
 + google-cloud-storage==3.1.0
 + google-crc32c==1.7.1
 + google-resumable-media==2.7.2
 + googleapis-common-protos==1.70.0
 + gym-aloha==0.1.1
 + gymnasium==0.29.1
 + h5py==3.13.0
 + hf-transfer==0.1.9
 + hf-xet==1.1.2
 + huggingface-hub==0.32.3
 + humanize==4.12.3
 + identify==2.6.12
 + idna==3.10
 + imageio==2.37.0
 + imageio-ffmpeg==0.6.0
 + importlib-metadata==8.7.0
 + importlib-resources==6.5.2
 + iniconfig==2.1.0
 + inquirerpy==0.3.4
 + ipykernel==6.29.5
 + ipython==9.2.0
 + ipython-pygments-lexers==1.1.1
 + ipywidgets==8.1.7
 + itsdangerous==2.2.0
 + jax==0.5.3
 + jax-cuda12-pjrt==0.5.3
 + jax-cuda12-plugin==0.5.3
 + jaxlib==0.5.3
 + jaxtyping==0.2.36
 + jedi==0.19.2
 + jinja2==3.1.6
 + jsonlines==4.0.0
 + jupyter-client==8.6.3
 + jupyter-core==5.8.1
 + jupyterlab-widgets==3.0.15
 + kiwisolver==1.4.8
 + labmaze==1.0.6
 + lerobot==0.1.0 (from git+https://github.com/huggingface/lerobot@0cf864870cf29f4738d3ade893e6fd13fbd7cdb5)
 + llvmlite==0.44.0
 + lxml==5.4.0
 + markdown-it-py==3.0.0
 + markupsafe==3.0.2
 + matplotlib==3.10.3
 + matplotlib-inline==0.1.7
 + mdurl==0.1.2
 + mergedeep==1.3.4
 + ml-collections==1.0.0
 + ml-dtypes==0.4.1
 + mpmath==1.3.0
 + msgpack==1.1.0
 + mujoco==2.3.7
 + multidict==6.4.4
 + multiprocess==0.70.16
 + mypy-extensions==1.1.0
 + nest-asyncio==1.6.0
 + networkx==3.5
 + nodeenv==1.9.1
 + numba==0.61.2
 + numcodecs==0.16.1
 + numpy==1.26.4
 + numpydantic==1.6.9
 + nvidia-cublas-cu12==12.6.4.1
 + nvidia-cuda-cupti-cu12==12.6.80
 + nvidia-cuda-nvcc-cu12==12.9.41
 + nvidia-cuda-nvrtc-cu12==12.6.77
 + nvidia-cuda-runtime-cu12==12.6.77
 + nvidia-cudnn-cu12==9.5.1.17
 + nvidia-cufft-cu12==11.3.0.4
 + nvidia-cufile-cu12==1.11.1.6
 + nvidia-curand-cu12==10.3.7.77
 + nvidia-cusolver-cu12==11.7.1.2
 + nvidia-cusparse-cu12==12.5.4.2
 + nvidia-cusparselt-cu12==0.6.3
 + nvidia-ml-py==12.575.51
 + nvidia-nccl-cu12==2.26.2
 + nvidia-nvjitlink-cu12==12.6.85
 + nvidia-nvtx-cu12==12.6.77
 + oauthlib==3.2.2
 + omegaconf==2.3.0
 + opencv-python==4.11.0.86
 + opencv-python-headless==4.11.0.86
 + openpi==0.1.0 (from file:///workspace/openpi)
 + openpi-client==0.1.0 (from file:///workspace/openpi/packages/openpi-client)
 + opt-einsum==3.4.0
 + optax==0.2.4
 + orbax-checkpoint==0.11.13
 + orderly-set==5.4.1
 + packaging==25.0
 + pandas==2.2.3
 + parso==0.8.4
 + pexpect==4.9.0
 + pfzy==0.3.4
 + pillow==11.2.1
 + platformdirs==4.3.8
 + pluggy==1.6.0
 + polars==1.30.0
 + pre-commit==4.2.0
 + prompt-toolkit==3.0.51
 + propcache==0.3.1
 + proto-plus==1.26.1
 + protobuf==4.25.8
 + psutil==7.0.0
 + ptyprocess==0.7.0
 + pure-eval==0.2.3
 + pyarrow==20.0.0
 + pyasn1==0.6.1
 + pyasn1-modules==0.4.2
 + pycparser==2.22
 + pydantic==2.11.5
 + pydantic-core==2.33.2
 + pygments==2.19.1
 + pymunk==7.0.0
 + pynput==1.8.1
 + pynvml==12.0.0
 + pyopengl==3.1.9
 + pyparsing==3.2.3
 + pysocks==1.7.1
 + pytest==8.3.5
 + python-dateutil==2.9.0.post0
 + python-xlib==0.33
 + pytz==2025.2
 + pyyaml==6.0.2
 + pyyaml-include==1.4.1
 + pyzmq==26.4.0
 + regex==2024.11.6
 + requests==2.32.3
 + requests-oauthlib==2.0.0
 + rerun-sdk==0.23.1
 + rich==14.0.0
 + rsa==4.9.1
 + ruff==0.11.12
 + safetensors==0.5.3
 + scipy==1.15.3
 + sentencepiece==0.2.0
 + sentry-sdk==2.29.1
 + setproctitle==1.3.6
 + setuptools==80.9.0
 + shtab==1.7.2
 + simplejson==3.20.1
 + six==1.17.0
 + smmap==5.0.2
 + soupsieve==2.7
 + stack-data==0.6.3
 + sympy==1.14.0
 + tensorstore==0.1.74
 + termcolor==3.1.0
 + tokenizers==0.21.1
 + toml==0.10.2
 + toolz==1.0.0
 + torch==2.7.1
 + torchcodec==0.4.0
 + torchvision==0.22.1
 + tornado==6.5.1
 + tqdm==4.67.1
 + tqdm-loggable==0.2
 + traitlets==5.14.3
 + transformers==4.53.2
 + treescope==0.1.9
 + triton==3.3.1
 + typeguard==4.4.2
 + typing-extensions==4.13.2
 + typing-inspect==0.9.0
 + typing-inspection==0.4.1
 + tyro==0.9.22
 + tzdata==2025.2
 + urllib3==2.4.0
 + virtualenv==20.31.2
 + wadler-lindig==0.1.6
 + wandb==0.19.11
 + wcwidth==0.2.13
 + websockets==15.0.1
 + werkzeug==3.1.3
 + widgetsnbextension==4.0.14
 + wrapt==1.14.1
 + xxhash==3.5.0
 + yarl==1.20.0
 + zarr==3.0.8
 + zipp==3.22.0
    (21 秒)

=== 3f. addon・設定・assets (pi05_so101_teleop_even_h30_lora)
installed: policies/mecharm_policy.py + config.py (pi05_mecharm_lora)
installed: pi05_mecharm_trim_lora (repo_id=local/mecharm_redblock_box_teach_v1_trim2, 4,000 steps)
installed: policies/so101_policy.py + pi05_so101_teleop_even_h30_lora (repo_id=local/so101_redblock_box_teleop_even_v1, 3000 steps, decay_steps 3000, action_horizon 30, init=π0.5 base)
    (3 秒)

=== 4. サーバーの起動
[SERVE ] --model so101b: --policy.config=pi05_so101_teleop_even_h30_lora --policy.dir=/workspace/ckpt/so101_teleop_even_h30_v1_2999
INFO:websockets.server:server listening on 0.0.0.0:8000
    (54 秒)

=== 5. Mac の 8000 番へのトンネル
[TUNNEL] localhost:8000 → Pod の 8000 番 (pid 34963. このスクリプトが終わると閉じる)
    (4 秒)

=== 5b. 空打ち (1 回目の推論の待ちを先に済ませる)
[WARM  ] 空打ち 53.9 秒 (答え (30, 6))
    (54 秒)
[SERVE ] --serve-only: サーバー (--model so101b) は localhost:8000 で待っています.
         デーモン・HOME・爪・位置合わせ・推論には進みません. 終わるときは Ctrl-C か kill (TERM) (Pod は消さない)

[SERVE ] 終わりの合図を受けました. トンネルを閉じて終わります

=== かかった時間  モデル so101b (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1)
  1. Pod を作る                     34 秒
  2. Pod が立ち上がるまで待つ     30 秒
  3a. スクリプトを送る        203 秒
  3b. huggingface_hub を入れ, 鍵を渡す     14 秒
  3c. モデルを取る (hf download PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1)     18 秒
  3d. openpi を取る (215abfb)       21 秒
  3e. uv sync                          21 秒
  3f. addon・設定・assets (pi05_so101_teleop_even_h30_lora)      3 秒
  4. サーバーの起動             54 秒
  5. Mac の 8000 番へのトンネル      4 秒
  5b. 空打ち (1 回目の推論の待ちを先に済ませる)     54 秒

[LAB   ] Pod は残しています (id pkxduwi68v8sri). 片付けは ./lab_stop.sh --log so101_Log10
[TUNNEL] 8000 番のトンネルを閉じました
```

#### replay_demo_289.txt

```text
[HORIZON] 答えのコマ数 30 (サーバーの答えから)
[1] so101_redblock_box_teleop_v1_ep002  53 回  30 コマの差の中央値 [0.72, 1.25, 0.9, 1.19, 0.6, 0.46]  先頭 10 コマ [0.64, 0.97, 0.84, 0.99, 0.67, 0.41]
[2] so101_redblock_box_teleop_v1_pos23_ep000  51 回  30 コマの差の中央値 [0.85, 0.8, 1.13, 0.97, 0.45, 0.4]  先頭 10 コマ [0.66, 0.6, 0.92, 0.68, 0.35, 0.38]
[3] so101_redblock_box_teleop_v1_pos23_ep010  56 回  30 コマの差の中央値 [1.01, 1.09, 1.61, 1.41, 0.71, 0.37]  先頭 10 コマ [0.76, 0.86, 1.13, 1.05, 0.66, 0.33]
[4] so101_redblock_box_teleop_v1_pos45_ep000  41 回  30 コマの差の中央値 [0.72, 1.09, 1.24, 1.08, 0.48, 0.67]  先頭 10 コマ [0.49, 0.82, 0.94, 1.02, 0.42, 0.54]
[5] so101_redblock_box_teleop_v1_pos45_ep010  39 回  30 コマの差の中央値 [0.97, 0.97, 1.55, 1.41, 0.62, 0.54]  先頭 10 コマ [0.79, 0.74, 1.16, 0.87, 0.42, 0.46]
[ALL   ] 30 コマの差 {'median': [0.85, 1.04, 1.26, 1.19, 0.56, 0.46], 'max': [23.03, 59.92, 57.77, 24.46, 21.03, 26.72]}
[ALL   ] 先頭 10 コマの差 {'median': [0.66, 0.78, 0.97, 0.94, 0.49, 0.41], 'max': [16.32, 12.54, 19.6, 17.7, 4.96, 16.68]}
[STEP  ] 答えの 0・9・19・29 コマ目の差の中央値 [[0.55, 0.75, 0.9, 0.72, 0.39, 0.41], [0.69, 0.83, 1.08, 1.05, 0.54, 0.44], [0.95, 1.23, 1.5, 1.35, 0.62, 0.51], [1.22, 1.95, 1.88, 1.81, 0.74, 0.65]]
[LATENCY] {'first': 0.46, 'n': 240, 'median': 0.469, 'max': 0.793, 'p90': 0.59, 'over_30frames_1.00s': 0}
[OUT   ] so101/check_289/replay_demo_20261125_015244.json
```

#### replay_demo_20261125_015244.json（so101b の答えとお手本の差）

```json
{
  "data": "/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes",
  "stride": 10,
  "joints": [
    "shoulder_pan",
    "shoulder_lift",
    "elbow_flex",
    "wrist_flex",
    "wrist_roll",
    "gripper"
  ],
  "horizon": 30,
  "by_place": {
    "1": {
      "episode": "so101_redblock_box_teleop_v1_ep002",
      "frames": 551,
      "queries": 53,
      "all_30": {
        "median": [
          0.72,
          1.25,
          0.9,
          1.19,
          0.6,
          0.46
        ],
        "max": [
          10.44,
          35.57,
          38.89,
          24.46,
          12.06,
          25.44
        ]
      },
      "head_10": {
        "median": [
          0.64,
          0.97,
          0.84,
          0.99,
          0.67,
          0.41
        ],
        "max": [
          4.56,
          10.45,
          9.93,
          6.96,
          4.96,
          10.01
        ]
      }
    },
    "2": {
      "episode": "so101_redblock_box_teleop_v1_pos23_ep000",
      "frames": 538,
      "queries": 51,
      "all_30": {
        "median": [
          0.85,
          0.8,
          1.13,
          0.97,
          0.45,
          0.4
        ],
        "max": [
          14.51,
          21.99,
          26.46,
          12.19,
          4.8,
          15.79
        ]
      },
      "head_10": {
        "median": [
          0.66,
          0.6,
          0.92,
          0.68,
          0.35,
          0.38
        ],
        "max": [
          9.62,
          10.71,
          14.71,
          6.32,
          4.12,
          15.58
        ]
      }
    },
    "3": {
      "episode": "so101_redblock_box_teleop_v1_pos23_ep010",
      "frames": 581,
      "queries": 56,
      "all_30": {
        "median": [
          1.01,
          1.09,
          1.61,
          1.41,
          0.71,
          0.37
        ],
        "max": [
          23.03,
          14.87,
          14.46,
          9.42,
          8.22,
          20.68
        ]
      },
      "head_10": {
        "median": [
          0.76,
          0.86,
          1.13,
          1.05,
          0.66,
          0.33
        ],
        "max": [
          16.32,
          11.51,
          8.8,
          9.2,
          3.62,
          11.47
        ]
      }
    },
    "4": {
      "episode": "so101_redblock_box_teleop_v1_pos45_ep000",
      "frames": 431,
      "queries": 41,
      "all_30": {
        "median": [
          0.72,
          1.09,
          1.24,
          1.08,
          0.48,
          0.67
        ],
        "max": [
          19.13,
          59.92,
          57.77,
          15.04,
          21.03,
          26.72
        ]
      },
      "head_10": {
        "median": [
          0.49,
          0.82,
          0.94,
          1.02,
          0.42,
          0.54
        ],
        "max": [
          8.5,
          12.54,
          19.6,
          8.49,
          2.44,
          12.79
        ]
      }
    },
    "5": {
      "episode": "so101_redblock_box_teleop_v1_pos45_ep010",
      "frames": 417,
      "queries": 39,
      "all_30": {
        "median": [
          0.97,
          0.97,
          1.55,
          1.41,
          0.62,
          0.54
        ],
        "max": [
          9.6,
          44.31,
          16.74,
          20.08,
          5.73,
          20.76
        ]
      },
      "head_10": {
        "median": [
          0.79,
          0.74,
          1.16,
          0.87,
          0.42,
          0.46
        ],
        "max": [
          4.83,
          8.52,
          13.12,
          17.7,
          4.65,
          16.68
        ]
      }
    }
  },
  "all_30": {
    "median": [
      0.85,
      1.04,
      1.26,
      1.19,
      0.56,
      0.46
    ],
    "max": [
      23.03,
      59.92,
      57.77,
      24.46,
      21.03,
      26.72
    ]
  },
  "head_10": {
    "median": [
      0.66,
      0.78,
      0.97,
      0.94,
      0.49,
      0.41
    ],
    "max": [
      16.32,
      12.54,
      19.6,
      17.7,
      4.96,
      16.68
    ]
  },
  "median_by_chunk_step": [
    [
      0.55,
      0.75,
      0.9,
      0.72,
      0.39,
      0.41
    ],
    [
      0.61,
      0.74,
      0.89,
      0.83,
      0.42,
      0.4
    ],
    [
      0.66,
      0.76,
      0.87,
      0.93,
      0.46,
      0.38
    ],
    [
      0.63,
      0.77,
      0.91,
      0.98,
      0.47,
      0.39
    ],
    [
      0.64,
      0.76,
      0.99,
      0.98,
      0.52,
      0.41
    ],
    [
      0.66,
      0.76,
      1.02,
      1.06,
      0.54,
      0.42
    ],
    [
      0.66,
      0.83,
      1.04,
      1.02,
      0.53,
      0.43
    ],
    [
      0.69,
      0.82,
      1.06,
      1.02,
      0.56,
      0.44
    ],
    [
      0.72,
      0.84,
      1.02,
      1.02,
      0.57,
      0.47
    ],
    [
      0.69,
      0.83,
      1.08,
      1.05,
      0.54,
      0.44
    ],
    [
      0.72,
      0.93,
      1.14,
      1.01,
      0.56,
      0.43
    ],
    [
      0.76,
      0.88,
      1.25,
      1.13,
      0.56,
      0.41
    ],
    [
      0.76,
      0.92,
      1.33,
      1.13,
      0.55,
      0.42
    ],
    [
      0.79,
      0.9,
      1.3,
      1.13,
      0.52,
      0.41
    ],
    [
      0.84,
      0.94,
      1.44,
      1.16,
      0.59,
      0.44
    ],
    [
      0.91,
      1.08,
      1.46,
      1.28,
      0.6,
      0.46
    ],
    [
      1.02,
      1.06,
      1.47,
      1.36,
      0.58,
      0.45
    ],
    [
      0.92,
      1.1,
      1.51,
      1.4,
      0.6,
      0.47
    ],
    [
      0.89,
      1.08,
      1.51,
      1.41,
      0.55,
      0.47
    ],
    [
      0.95,
      1.23,
      1.5,
      1.35,
      0.62,
      0.51
    ],
    [
      0.99,
      1.26,
      1.61,
      1.46,
      0.58,
      0.5
    ],
    [
      1.0,
      1.29,
      1.65,
      1.56,
      0.58,
      0.5
    ],
    [
      1.05,
      1.39,
      1.6,
      1.54,
      0.61,
      0.51
    ],
    [
      1.01,
      1.41,
      1.6,
      1.59,
      0.57,
      0.5
    ],
    [
      1.07,
      1.49,
      1.58,
      1.62,
      0.6,
      0.51
    ],
    [
      1.18,
      1.6,
      1.65,
      1.63,
      0.64,
      0.54
    ],
    [
      1.17,
      1.55,
      1.58,
      1.73,
      0.6,
      0.54
    ],
    [
      1.21,
      1.75,
      1.66,
      1.66,
      0.65,
      0.58
    ],
    [
      1.2,
      1.85,
      1.79,
      1.8,
      0.72,
      0.57
    ],
    [
      1.22,
      1.95,
      1.88,
      1.81,
      0.74,
      0.65
    ]
  ],
  "latency_s": {
    "first": 0.46,
    "n": 240,
    "median": 0.469,
    "max": 0.793,
    "p90": 0.59,
    "over_30frames_1.00s": 0
  },
  "payload_bytes": {
    "median": 21947
  }
}
```

#### commit f755b08 の差分（依頼289）

```diff
commit f755b0870bd817848280735ca650f94224493a3a
Date: Tue Nov 24 19:15:51 2026 +0900

SO-101 の答えを 30 コマにした so101b を学習・推論できるようにする (依頼 289・フォロワーは動かしていない). lab_train.sh / lab_start.sh --model so101b: so101a と同じデータ so101_redblock_box_teleop_even_v1・同じ値 (LoRA・batch 32・warmup 300・peak 5e-5・decay_lr 5e-6・3000 ステップ・decay_steps 3000・π0.5 base から・正規化の値は測り直す) で action_horizon だけ 30. 設定 pi05_so101_teleop_even_h30_lora・exp so101_teleop_even_h30_v1・上げる先 PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1・KIOXIA は checkpoints/pi05_so101_teleop_even_h30_lora_v1. add_so101_config.py に --variant h30 (既定 a は前と同じ config.py の中身. a と h30 は同じ config.py に両方入る), pod_prep_so101.sh <steps> h30 (足りないコマの埋め方を check_pad_so101.py で見て出すだけ). run_so101_policy.py は答えのコマ数をサーバーの 1 回目の答えから読む (--exec-steps の既定は全部. 1〜30. 答えより多ければ止める). lab_start.sh の --exec-steps は so101a 1〜10・so101b 1〜30. check_289_replay_demo.py (お手本 5 本を流し 30 コマ・先頭 10 コマの差と待ち). so101a・mechArm のドライランの出力は時刻・番号のほか変わらない. テスト: test_lab_start 300 件・test_lab_train 288 件・test_run_so101_policy 49 件・test_so101_train 9 件・test_lerobot_safe_259 64 件 OK

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/lab_lib.sh b/lab_lib.sh
index 33bb8f4..89361ae 100644
--- a/lab_lib.sh
+++ b/lab_lib.sh
@@ -325,7 +325,9 @@ lab_cmd_addon() {           # 3f. 何度流しても同じ結果 (install_addon.
 # so101a (依頼 283) は SO-101 のお手本 50 本 (場所 1〜5 を各 10 本) で π0.5 base から学習した 2999 (依頼 282 の lab_train.sh --model so101a.
 #   設定 pi05_so101_teleop_even_lora). 推論のクライアントは so101/run_so101_policy.py (mechArm の run_policy_client.py は使わない).
 #   安全範囲 (学習データ ±10°) はこの 50 本から
-LAB_MODELS="trim corr corr2 corr3 deep1 deep1b split1 split2 so101a"
+# so101b (依頼 289) は so101a と同じデータ・同じ値で, action_horizon だけを 30 (1 秒ぶん) にして π0.5 base から学習した 2999
+#   (lab_train.sh --model so101b. 設定 pi05_so101_teleop_even_h30_lora). クライアント・安全範囲は so101a と同じ
+LAB_MODELS="trim corr corr2 corr3 deep1 deep1b split1 split2 so101a so101b"
 LAB_SO101_PY=${LAB_SO101_PY:-/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python}   # 依頼 283: SO-101 のクライアントを流す python (conda の lerobot)
 LAB_CORR_STEPS=1500
 LAB_CORR_INIT=/workspace/ckpt/3999/params
@@ -338,6 +340,7 @@ LAB_DEEP1B_STEPS=3000       # 依頼 135. deep1b の学習の既定のステッ
 LAB_SPLIT1_STEPS=3000       # 依頼 228. deep_even10_lora_v1 (deep1) と同じステップ数
 LAB_SPLIT2_STEPS=3000       # 依頼 229. split1 と同じステップ数
 LAB_SO101A_STEPS=3000       # 依頼 282. deep1b と同じステップ数 (decay_steps も同じ). 依頼 283 で推論の設定を入れるときも同じ値
+LAB_SO101B_STEPS=3000       # 依頼 289. so101a と同じステップ数 (decay_steps も同じ)
 lab_model_def() {           # lab_model_def trim|corr|... → MODEL_REPO MODEL_CKPT MODEL_CONFIG MODEL_DATA MODEL_DESC MODEL_RANGE_DATA. 知らない名前なら 1
     MODEL_RANGE_DATA=mecharm_redblock_box_teach_v1_trim2        # 安全範囲を作るデータ (依頼 135. deep1・deep1b だけ下で変える)
     case "$1" in
@@ -400,6 +403,13 @@ lab_model_def() {           # lab_model_def trim|corr|... → MODEL_REPO MODEL_C
             MODEL_DATA=so101_redblock_box_teleop_even_v1
             MODEL_RANGE_DATA=$MODEL_DATA
             MODEL_DESC="SO-101: π0.5 base から so101_redblock_box_teleop_even_v1 (場所 1〜5 を各 10 本) で学習した $((LAB_SO101A_STEPS - 1)) (依頼 282)" ;;
+        so101b)                 # 依頼 289: so101a と同じデータ・値で action_horizon だけ 30. 名前は lab_train.sh --model so101b と同じ
+            MODEL_REPO=PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1
+            MODEL_CKPT=/workspace/ckpt/so101_teleop_even_h30_v1_$((LAB_SO101B_STEPS - 1))
+            MODEL_CONFIG=pi05_so101_teleop_even_h30_lora
+            MODEL_DATA=so101_redblock_box_teleop_even_v1
+            MODEL_RANGE_DATA=$MODEL_DATA
+            MODEL_DESC="SO-101: so101a と同じデータ・値で, 1 回の答えを 30 コマ (1 秒) にして学習した $((LAB_SO101B_STEPS - 1)) (依頼 289)" ;;
         *) return 1 ;;
     esac
 }
@@ -415,6 +425,7 @@ lab_cmd_addon_model() {     # lab_cmd_addon_model trim|corr|corr2|corr3|deep1|de
     [ "$1" = split1 ] && add="add_deep_config.py /workspace/openpi --steps $LAB_SPLIT1_STEPS --variant split1"     # 依頼 228
     [ "$1" = split2 ] && add="add_deep_config.py /workspace/openpi --steps $LAB_SPLIT2_STEPS --variant split2"     # 依頼 229
     [ "$1" = so101a ] && add="add_so101_config.py /workspace/openpi --steps $LAB_SO101A_STEPS"                    # 依頼 283 (so101_policy.py も写す)
+    [ "$1" = so101b ] && add="add_so101_config.py /workspace/openpi --steps $LAB_SO101B_STEPS --variant h30"      # 依頼 289
     # assets は hf download が置いたモデルの assets/local/<データ名> を, openpi の assets/<設定>/local/ に写す
     # (trim の 3f が assets/pi05_mecharm_trim_lora/local/ に写すのと同じ形. corr〜corr3 は trim2 と同じ正規化の値,
     # deep1 は deep_even10_v1 で測り直した値)
@@ -429,7 +440,8 @@ lab_cmd_addon_model() {     # lab_cmd_addon_model trim|corr|corr2|corr3|deep1|de
 #   作った形なので, 依頼 135 からは deep1b で学習する
 # so101a (依頼 282): SO-101 のお手本 50 本 (場所 1〜5 を各 10 本) で π0.5 base から学習する. 値は deep1b と同じ.
 #   推論のモデル (LAB_MODELS・lab_model_def・lab_start.sh) には依頼 283 で足した (学習の lab_train_def は lab_model_def を使わないまま)
-LAB_TRAIN_MODELS="corr corr2 corr3 deep1 deep1b split1 split2 so101a"
+# so101b (依頼 289): so101a と同じデータ・値で, action_horizon だけを 30 にして π0.5 base から学習する (4b は pod_prep_so101.sh <steps> h30)
+LAB_TRAIN_MODELS="corr corr2 corr3 deep1 deep1b split1 split2 so101a so101b"
 lab_train_def() {           # lab_train_def corr|corr2|corr3|deep1|deep1b → TRAIN_* (知らない名前なら 1)
     TRAIN_STEPS=1500; TRAIN_PREP=pod_prep_trim_corr.sh      # ステップ数の既定・4b で流す準備 (依頼 133 で deep1 だけ違う)
     TRAIN_DECAY=steps; TRAIN_RETIRED=0                      # corr〜corr3 は add_trim_corr_config.py の 1_500 (= 既定のステップ数)
@@ -468,6 +480,14 @@ lab_train_def() {           # lab_train_def corr|corr2|corr3|deep1|deep1b → TR
             TRAIN_REPO_OUT=PixelstoMotors/pi05-so101-teleop-even-lora-v1
             TRAIN_CKPT_NAME=pi05_so101_teleop_even_lora_v1
             return 0 ;;
+        so101b)                 # 依頼 289: so101a と同じデータ・値で, action_horizon だけ 30 (lab_model_def は使わない)
+            TRAIN_FROM=""; TRAIN_VARIANT=h30; TRAIN_EXP=so101_teleop_even_h30_v1
+            TRAIN_FROM_KIOXIA=""; TRAIN_REPO_IN=""; TRAIN_CKPT_IN=""; TRAIN_INIT=base
+            TRAIN_STEPS=$LAB_SO101B_STEPS; TRAIN_PREP=pod_prep_so101.sh
+            TRAIN_DATA=so101_redblock_box_teleop_even_v1; TRAIN_CONFIG=pi05_so101_teleop_even_h30_lora
+            TRAIN_REPO_OUT=PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1
+            TRAIN_CKPT_NAME=pi05_so101_teleop_even_h30_lora_v1
+            return 0 ;;
         *) return 1 ;;
     esac
     lab_model_def "$1" || return 1
diff --git a/lab_start.sh b/lab_start.sh
index 87ca78f..bd4ecaf 100755
--- a/lab_start.sh
+++ b/lab_start.sh
@@ -26,6 +26,9 @@
 #                      答えを実行している間に次を先に問い合わせる (依頼 285). --no-prefetch で依頼 283 の形 (使い切ってから問い合わせる).
 #                      2 回目の試行からは --skip-first-confirm を渡し, 始めの Enter を待たない (mechArm と同じ. 依頼 285)
 #                      --play-speed X (0 より大きく 1 まで. 例 0.8) をそのまま渡す (答えの 1 コマの間を 1/(30×X) 秒に. 依頼 288)
+#              so101b = so101a と同じデータ・値で, 1 回の答えを 30 コマ (1 秒) にして学習した 2999 (依頼 289.
+#                      PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1. Pod の /workspace/ckpt/so101_teleop_even_h30_v1_2999).
+#                      流れ・引数は so101a と同じ (--exec-steps は 1〜30). クライアントは答えの長さをサーバーの答えから読む
 #              取る場所・設定・assets・サーバーの起動・つなぎ直しの確かめが選んだモデルに合う. 安全範囲 (学習データ ±10°.
 #              run_policy_client.py --raw-dir) は, deep1・deep1b は deep_even10_v1 の raw_episodes (依頼 135), ほかは trim2 の
 #              raw_episodes (corr_v3・corr_v4 と合わせても範囲はほぼ同じで, trim2 の方が狭い. corr_v5 は 11-06 の 184650 の j2 が
@@ -105,7 +108,7 @@ VIA_STRIDE=3         # 依頼 182: --via-stride N で変える (既定は今ま
 FLOW_ARGS=()         # 依頼 176: --flow / --speed N のときだけ run_policy_client.py に渡す
 STEP_ARGS=(--no-step-confirm)   # 依頼 178: 既定はチャンクごとに確かめない. --step-confirm で今までどおり
 FINISH_ARGS=(--auto-finish)     # 依頼 181: 既定は置き終えたら自動で終わる. --no-auto-finish で今までどおり
-EXEC_STEPS=""        # 依頼 283: so101a だけ. 付けなければ run_so101_policy.py の既定 (答えの 10 コマ全部)
+EXEC_STEPS=""        # 依頼 283: so101a だけ (依頼 289 から so101b も). 付けなければ run_so101_policy.py の既定 (答えのコマ全部)
 NO_PREFETCH=0        # 依頼 285: so101a だけ. 1 なら run_so101_policy.py に --no-prefetch を渡す
 PLAY_SPEED=""        # 依頼 288: so101a だけ. 付けなければ run_so101_policy.py の既定 (1.0)
 MECHARM_ONLY=()      # 依頼 283: so101a では使えない mechArm の引数 (付けられていれば止める)
@@ -138,32 +141,39 @@ while [ $# -gt 0 ]; do
                  FLOW_ARGS+=(--speed "$((10#$2))"); shift 2 ;;
         --model) [ $# -ge 2 ] || { echo "[ERROR] --model には ${LAB_MODELS// / か } を付ける" >&2; exit 2; }     # 値がないと shift 2 が失敗して回り続ける (codex R1)
                  MODEL="$2"; shift 2 ;;
-        --exec-steps) [ $# -ge 2 ] || { echo "[ERROR] --exec-steps には 1〜10 の整数を付ける" >&2; exit 2; }     # 依頼 283 (so101a だけ)
-                      case "$2" in ''|*[!0-9]*) echo "[ERROR] --exec-steps は 1〜10 の整数: $2" >&2; exit 2 ;; esac
-                      [ ${#2} -le 2 ] && [ "$((10#$2))" -ge 1 ] && [ "$((10#$2))" -le 10 ] || { echo "[ERROR] --exec-steps は 1〜10 の整数: $2" >&2; exit 2; }
-                      EXEC_STEPS="$((10#$2))"; shift 2 ;;
+        --exec-steps) [ $# -ge 2 ] || { echo "[ERROR] --exec-steps には 1〜10 (so101b は 1〜30) の整数を付ける" >&2; exit 2; }     # 依頼 283 (so101a だけ. 依頼 289 で so101b)
+                      case "$2" in ''|*[!0-9]*) echo "[ERROR] --exec-steps は 1〜10 (so101b は 1〜30) の整数: $2" >&2; exit 2 ;; esac
+                      [ ${#2} -le 2 ] && [ "$((10#$2))" -ge 1 ] && [ "$((10#$2))" -le 30 ] || { echo "[ERROR] --exec-steps は 1〜10 (so101b は 1〜30) の整数: $2" >&2; exit 2; }
+                      EXEC_STEPS="$((10#$2))"; shift 2 ;;     # 上限 (so101a は 10) はモデルが決まってから見る
         --no-prefetch) NO_PREFETCH=1; shift ;;     # 依頼 285 (so101a だけ)
         --play-speed) [ $# -ge 2 ] || { echo "[ERROR] --play-speed には 0 より大きく 1 までの数を付ける (例 0.8)" >&2; exit 2; }     # 依頼 288 (so101a だけ)
                       [[ "$2" =~ ^(0\.[0-9]{1,3}|1|1\.0{1,3})$ ]] && [[ ! "$2" =~ ^0\.0+$ ]] || { echo "[ERROR] --play-speed は 0 より大きく 1 までの数 (例 0.8): $2" >&2; exit 2; }
                       PLAY_SPEED="$2"; shift 2 ;;
-        -h|--help) sed -n '2,72p' "$0"; exit 0 ;;
+        -h|--help) sed -n '2,75p' "$0"; exit 0 ;;
         *) echo "[ERROR] 知らない引数: $1  (./lab_start.sh --help)" >&2; exit 2 ;;
     esac
 done
 case "$GPU" in *" "*) GPU_ID="$GPU" ;; *) GPU_ID="NVIDIA $GPU" ;; esac
 lab_model_def "$MODEL" || { echo "[ERROR] --model は ${LAB_MODELS// / か }: $MODEL" >&2; exit 2; }
-SO101=0; [ "$MODEL" = so101a ] && SO101=1      # 依頼 283: SO-101 は 6〜8 が別 (so101/run_so101_policy.py)
+SO101=0; SO101_HORIZON=""; SO101_STEP=""      # 依頼 283: SO-101 は 6〜8 が別 (so101/run_so101_policy.py)
+case "$MODEL" in            # 依頼 289: so101b は答えが 30 コマ. 答えの長さ (クライアントはサーバーの答えから読む) と記録に残す step
+    so101a) SO101=1; SO101_HORIZON=10; SO101_STEP=$((LAB_SO101A_STEPS - 1)) ;;
+    so101b) SO101=1; SO101_HORIZON=30; SO101_STEP=$((LAB_SO101B_STEPS - 1)) ;;
+esac
 if [ $SO101 = 1 ] && [ ${#MECHARM_ONLY[@]} -gt 0 ]; then
-    echo "[ERROR] --model so101a では mechArm の引数は使えない: ${MECHARM_ONLY[*]}" >&2; exit 2
+    echo "[ERROR] --model $MODEL では mechArm の引数は使えない: ${MECHARM_ONLY[*]}" >&2; exit 2
 fi
 if [ $SO101 = 0 ] && [ -n "$EXEC_STEPS" ]; then
-    echo "[ERROR] --exec-steps は --model so101a だけ" >&2; exit 2
+    echo "[ERROR] --exec-steps は --model so101a・so101b だけ" >&2; exit 2
+fi
+if [ $SO101 = 1 ] && [ -n "$EXEC_STEPS" ] && [ "$EXEC_STEPS" -gt "$SO101_HORIZON" ]; then
+    echo "[ERROR] --exec-steps は 1〜$SO101_HORIZON の整数 (--model $MODEL の答えは $SO101_HORIZON コマ): $EXEC_STEPS" >&2; exit 2
 fi
 if [ $SO101 = 0 ] && [ $NO_PREFETCH = 1 ]; then
-    echo "[ERROR] --no-prefetch は --model so101a だけ" >&2; exit 2
+    echo "[ERROR] --no-prefetch は --model so101a・so101b だけ" >&2; exit 2
 fi
 if [ $SO101 = 0 ] && [ -n "$PLAY_SPEED" ]; then
-    echo "[ERROR] --play-speed は --model so101a だけ" >&2; exit 2
+    echo "[ERROR] --play-speed は --model so101a・so101b だけ" >&2; exit 2
 fi
 
 if [ ! -d /Volumes/KIOXIA/r2r2r-data ]; then
@@ -206,7 +216,7 @@ if [ $SO101 = 1 ]; then     # 依頼 283: mechArm の位置合わせ・傾き・
     elif [ $DRY_RUN = 1 ]; then so101_how="ドライラン (フォロワーに送らない)"
     else so101_how="--execute (フォロワーに送る)"; fi
     echo "[SO101 ] 推論のクライアントは so101/run_so101_policy.py ($LAB_SO101_PY). $so101_how"
-    echo "[SO101 ] 1 回で実行するコマ: ${EXEC_STEPS:-10 (既定. 答えの 10 コマ全部)}$([ -n "$EXEC_STEPS" ] && echo ' (--exec-steps)')"
+    echo "[SO101 ] 1 回で実行するコマ: ${EXEC_STEPS:-$SO101_HORIZON (既定. 答えの $SO101_HORIZON コマ全部)}$([ -n "$EXEC_STEPS" ] && echo ' (--exec-steps)')"
     if [ $NO_PREFETCH = 1 ]; then echo "[SO101 ] 次の問い合わせ: 答えを使い切ってから (--no-prefetch. 依頼 283 の形)"
     else echo "[SO101 ] 次の問い合わせ: 答えを実行している間に先に出す (既定. 依頼 285)"; fi
     [ -z "$PLAY_SPEED" ] || echo "[SO101 ] 答えを流す速さ: $PLAY_SPEED (--play-speed. 1 コマの間 1/(30×$PLAY_SPEED) 秒. 依頼 288)"
@@ -601,7 +611,7 @@ while :; do
     [ $round -ge 2 ] && CONFIRM_ARGS=(--skip-first-confirm)
     if [ $SO101 = 1 ]; then     # 依頼 283: SO-101. 記録は <Log>/so101/ に. 始めの確かめ (Enter) は 1 回目だけ (依頼 285)
         stage "8. SO-101 の推論 ($round 回目$([ $DRY_RUN = 1 ] && echo '. ドライラン (フォロワーに送らない)'))"
-        SO101_ARGS=(--port "$TUNNEL_PORT" --raw-dir "$RAW_RANGE" --log-dir "$LOGDIR" --model "$MODEL_TAG" --step "$((LAB_SO101A_STEPS - 1))")
+        SO101_ARGS=(--port "$TUNNEL_PORT" --raw-dir "$RAW_RANGE" --log-dir "$LOGDIR" --model "$MODEL_TAG" --step "$SO101_STEP")
         [ -n "$EXEC_STEPS" ] && SO101_ARGS+=(--exec-steps "$EXEC_STEPS")
         [ $NO_PREFETCH = 1 ] && SO101_ARGS+=(--no-prefetch)
         [ -n "$PLAY_SPEED" ] && SO101_ARGS+=(--play-speed "$PLAY_SPEED")
diff --git a/lab_train.sh b/lab_train.sh
index d02bb3a..81386f1 100755
--- a/lab_train.sh
+++ b/lab_train.sh
@@ -32,6 +32,9 @@
 #                            π0.5 base から学習 → PixelstoMotors/pi05-so101-teleop-even-lora-v1 (依頼 282. 設定 pi05_so101_teleop_even_lora.
 #                            exp so101_teleop_even_v1. 4b は pod_prep_so101.sh <steps> a. 設定を足すのは add_so101_config.py.
 #                            正規化の値は deep1b と同じく Pod で測り直す)
+#                    so101b = so101a と同じデータ・値で, 1 回の答え (action_horizon) だけを 30 コマ (1 秒) にして π0.5 base から学習
+#                            → PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1 (依頼 289. 設定 pi05_so101_teleop_even_h30_lora.
+#                            exp so101_teleop_even_h30_v1. 4b は pod_prep_so101.sh <steps> h30)
 #   --steps / --init / --exp-name   学習 (既定 1500 (deep1b は 3000) / 続きの元の params (deep1b は base) /
 #                    trim_corr_v3・trim_corr_v4・trim_corr_v5・deep_even10_v1_b)
 #                    続きの元: corr は /workspace/ckpt/3999/params, corr2 は /workspace/ckpt/corr_v1_1499/params,
@@ -140,6 +143,7 @@ use_model() {               # use_model corr|corr2|corr3|deep1 → 作るモデ
     ADD_CFG=add_deep_config.py; [ "$PREP_SH" = pod_prep_so101.sh ] && ADD_CFG=add_so101_config.py    # 4b で設定を足すスクリプト
     return 0
 }
+so101_variant_arg() { [ "$PREP_VARIANT" = a ] || echo " --variant $PREP_VARIANT"; }     # 依頼 289: so101a は今までどおり付けない
 use_model "$MODEL"
 POD_EXP_DIR=/workspace/openpi/checkpoints/$CONFIG/$EXP
 TRAIN_LOG=/workspace/logs/train_$EXP.log
@@ -243,7 +247,7 @@ prov_spec() {               # 由来の spec (lab_train.sh が知っているこ
         --arg t0 "$(iso_of "$POD_T0")" --arg t1 "$(iso_of "$t_end")" --arg tt "$(iso_of "$TRAIN_T0")" --arg rented "$rented" \
         --arg cost_line "${COST_LINE:-}" --arg norm_sha "$NORM_SHA" --arg norm_pod "$NORM_POD" --arg norm_local "$NORM_LOCAL" \
         --arg deep "$([ "$FRESH" = 1 ] && echo 1)" --arg decay "${DECAY_STEPS:-}" --arg variant "$PREP_VARIANT" \
-        --arg lr_src "$([ "$PREP_SH" = pod_prep_so101.sh ] && echo "add_so101_config.py --steps $STEPS" || echo "add_deep_config.py --variant $PREP_VARIANT")" \
+        --arg lr_src "$([ "$PREP_SH" = pod_prep_so101.sh ] && echo "add_so101_config.py --steps $STEPS$(so101_variant_arg)" || echo "add_deep_config.py --variant $PREP_VARIANT")" \
         'def num: if . == "" then null else tonumber end; def str: if . == "" then null else . end;
         {producer: {script: $script, argv: $argv, dry_run: ($dry == "1")},
          external_code: $openpi,
@@ -694,7 +698,8 @@ echo "[LAB   ] $(date '+%Y-%m-%d %H:%M:%S')  学習  GPU=$GPU_ID$([ $FALLBACK =
 echo "         --model $MODEL (${HF_REPO_IN:-π0.5 base} → $HF_REPO_OUT)  データ $DATA_NAME"
 echo "         $CONFIG --exp-name=$EXP  steps=$STEPS  init=$INIT  上限 $LIMIT_HOURS 時間  記録 $LOGDIR$([ $DRY_RUN = 1 ] && echo '  ドライラン (Pod は借りない)')"
 [ "$PREP_SH" = pod_prep_deep.sh ] && echo "         学習率: warmup 300・peak 5e-5・decay_steps ${DECAY_STEPS}・decay_lr 5e-6 (add_deep_config.py --variant ${PREP_VARIANT})"
-[ "$PREP_SH" = pod_prep_so101.sh ] && echo "         学習率: warmup 300・peak 5e-5・decay_steps ${DECAY_STEPS}・decay_lr 5e-6 (add_so101_config.py --steps ${STEPS}. deep1b と同じ値)"
+[ "$PREP_SH" = pod_prep_so101.sh ] && echo "         学習率: warmup 300・peak 5e-5・decay_steps ${DECAY_STEPS}・decay_lr 5e-6 (add_so101_config.py --steps ${STEPS}$(so101_variant_arg). deep1b と同じ値)"
+[ "$PREP_SH" = pod_prep_so101.sh ] && [ "$PREP_VARIANT" = h30 ] && echo "         1 回の答え (action_horizon): 30 コマ (so101a は 10. ほかは so101a と同じ. 依頼 289)"
 
 # ---- 0. 送るものと Mac の道具 ----
 stage "0. 送るものと Mac の道具を確かめる"
diff --git a/pi05/openpi_addon/add_so101_config.py b/pi05/openpi_addon/add_so101_config.py
index 17af0c0..0745aba 100644
--- a/pi05/openpi_addon/add_so101_config.py
+++ b/pi05/openpi_addon/add_so101_config.py
@@ -17,8 +17,15 @@ weight_loader は π0.5 base), 次の所だけ変える:
     actions は関節 5 つ (shoulder_pan〜wrist_roll) を差分・爪 (6 つ目) は絶対値で学習する
 正規化の値は写さず, Pod で compute_norm_stats.py をこの設定で回して測り直す (pod_prep_so101.sh).
 
+--variant h30 (依頼 289. lab_train.sh --model so101b): action_horizon だけを 30 (30fps で 1 秒先まで) にしたもの.
+  name pi05_so101_teleop_even_h30_lora. ほか (データ・LoRA・batch・学習率・ステップ数・データの設定) は a と同じ.
+  a と h30 は同じ config.py に両方入れられる (データの設定・import・so101_policy.py は 1 つを共有する).
+  お手本の終わり近くで先の 30 コマが足りないコマは, openpi が LeRobot に頼む delta_timestamps のままで扱う
+  (このスクリプトでは埋め方を足さない)
+
 install_addon.py と add_trim_config.py (lab/Log11/pod/) を実行した後に 1 回実行:
-  python3 add_so101_config.py /workspace/openpi --steps 3000
+  python3 add_so101_config.py /workspace/openpi --steps 3000                  (a. 依頼 282)
+  python3 add_so101_config.py /workspace/openpi --steps 3000 --variant h30    (h30. 依頼 289)
 何度実行しても同じ結果 (二重に入れない). 入っている設定と --steps が違うときは止まる.
 """
 import argparse
@@ -28,19 +35,23 @@ import sys
 from pathlib import Path
 
 HERE = Path(__file__).resolve().parent
-NAME = "pi05_so101_teleop_even_lora"
 REPO_ID = "local/so101_redblock_box_teleop_even_v1"
 TRIM_A = "    # >>> r2r2r mecharm teach_v1_trim2 (train config)\n"
 TRIM_B = "    # <<< r2r2r mecharm teach_v1_trim2 (train config)\n"
-MARK_A = "    # >>> r2r2r so101 teleop_even_v1 (train config)\n"
-MARK_B = "    # <<< r2r2r so101 teleop_even_v1 (train config)\n"
+# variant → (設定の名前, 印の中の名前, action_horizon, action_horizon の行に付ける注). a は依頼 282 のまま
+VARIANTS = {
+    "a": ("pi05_so101_teleop_even_lora", "teleop_even_v1", 10,
+          "  # deep1b と同じ 10 (SO-101 は 30fps なので 0.33 秒先まで. 依頼 280)"),
+    "h30": ("pi05_so101_teleop_even_h30_lora", "teleop_even_h30_v1", 30,
+            "  # 30 (SO-101 は 30fps なので 1 秒先まで. 依頼 289. ほかは a と同じ)"),
+}
 DATA_MARK = "# >>> r2r2r so101 addon (data config)"
 BASE_LOADER = 'weight_loader=weight_loaders.CheckpointWeightLoader("gs://openpi-assets/checkpoints/pi05_base/params"),'
 WARMUP = 300
 # deep1b (trim) と同じであることを確かめる値. action_horizon は model と freeze_filter の 2 か所
 SAME_AS_TRIM = ("batch_size=32,", f"warmup_steps={WARMUP},", "peak_lr=5e-5,", "decay_lr=5e-6,", BASE_LOADER, "ema_decay=None,")
 # model と freeze_filter の 2 か所にあるもの (LoRA・action_horizon)
-TWICE = ("action_horizon=10,", 'paligemma_variant="gemma_2b_lora",', 'action_expert_variant="gemma_300m_lora",')
+TWICE = ('paligemma_variant="gemma_2b_lora",', 'action_expert_variant="gemma_300m_lora",')
 
 IMPORT_ANCHOR = "import openpi.policies.mecharm_policy as mecharm_policy\n"
 IMPORT = "import openpi.policies.so101_policy as so101_policy\n"
@@ -94,37 +105,50 @@ def decay_text(n):
     return f"decay_steps={n:_},"
 
 
-def make_block(s, steps):
+def marks(variant):
+    tag = VARIANTS[variant][1]
+    return f"    # >>> r2r2r so101 {tag} (train config)\n", f"    # <<< r2r2r so101 {tag} (train config)\n"
+
+
+def make_block(s, steps, variant="a"):
     assert s.count(TRIM_A) == 1 and s.count(TRIM_B) == 1, "先に install_addon.py と add_trim_config.py を実行する"
     block = s[s.index(TRIM_A):s.index(TRIM_B) + len(TRIM_B)]
+    name, _, horizon, note = VARIANTS[variant]
+    mark_a, mark_b = marks(variant)
     reps = [
-        (TRIM_A, MARK_A),
-        (TRIM_B, MARK_B),
-        ('name="pi05_mecharm_trim_lora"', f'name="{NAME}"'),
+        (TRIM_A, mark_a),
+        (TRIM_B, mark_b),
+        ('name="pi05_mecharm_trim_lora"', f'name="{name}"'),
         ("data=LeRobotMecharmDataConfig(", "data=LeRobotSo101DataConfig("),
         ('repo_id="local/mecharm_redblock_box_teach_v1_trim2"', f'repo_id="{REPO_ID}"'),
         ("num_train_steps=4_000,", f"num_train_steps={steps},"),
         ("decay_steps=5_000,", decay_text(steps)),
-        ("  # 10Hz x 10 = 1 秒先までを 1 回で予測", "  # deep1b と同じ 10 (SO-101 は 30fps なので 0.33 秒先まで. 依頼 280)"),
+        ("  # 10Hz x 10 = 1 秒先までを 1 回で予測", note),
         ("  # 成功 20 本 (約 6,000 フレーム) で約 27 周", "  # deep1b と同じ (依頼 280)"),
     ]
     for a, b in reps:
         assert block.count(a) == 1, f"見つからない/重複: {a!r}"
         block = block.replace(a, b)
-    why = check_block(block, steps)
+    assert block.count("action_horizon=10,") == 2, "action_horizon=10 が model と freeze_filter の 2 か所にない"
+    block = block.replace("action_horizon=10,", f"action_horizon={horizon},")
+    why = check_block(block, steps, variant)
     assert why is None, why
     return block
 
 
-def check_block(block, steps):
-    """写した (入っている) 設定が deep1b と同じ値で, 名前・データ・ステップ数が今回のものか. 違えば理由を返す"""
+def check_block(block, steps, variant="a"):
+    """写した (入っている) 設定が deep1b と同じ値 (h30 は action_horizon だけ 30) で, 名前・データ・ステップ数が今回のものか.
+    違えば理由を返す"""
+    name, _, horizon, _ = VARIANTS[variant]
     for x in SAME_AS_TRIM:
         if block.count(x) != 1:
             return f"deep1b (trim) と同じ値が見つからない: {x!r}"
     for x in TWICE:
         if block.count(x) != 2:
             return f"{x!r} が model と freeze_filter の 2 か所にない"
-    if f'name="{NAME}"' not in block or f'repo_id="{REPO_ID}"' not in block or "data=LeRobotSo101DataConfig(" not in block:
+    if block.count(f"action_horizon={horizon},") != 2:
+        return f"action_horizon={horizon} が model と freeze_filter の 2 か所にない"
+    if f'name="{name}"' not in block or f'repo_id="{REPO_ID}"' not in block or "data=LeRobotSo101DataConfig(" not in block:
         return "名前・データ名・データの設定が違う"
     m = re.search(r"num_train_steps=(\d+),", block)
     if not (m and int(m.group(1)) == steps):
@@ -138,36 +162,49 @@ def main(argv=None):
     ap = argparse.ArgumentParser()
     ap.add_argument("openpi_root")
     ap.add_argument("--steps", type=int, required=True, help="学習のステップ数 (num_train_steps = decay_steps. 依頼 282 は 3000)")
+    ap.add_argument("--variant", choices=sorted(VARIANTS), default="a",
+                    help="a = action_horizon 10 (依頼 282) / h30 = action_horizon 30 (依頼 289)")
     args = ap.parse_args(argv)
+    name = VARIANTS[args.variant][0]
+    mark_a, mark_b = marks(args.variant)
     if args.steps <= WARMUP:
         sys.exit(f"[ERROR] --steps ({args.steps}) が warmup_steps ({WARMUP}) 以下 (decay_steps を --steps と同じにするので下げる区間がない)")
     src = Path(args.openpi_root).resolve() / "src" / "openpi"
     cfg = src / "training" / "config.py"
     s = cfg.read_text()
     pol_src, pol_dst = HERE / "so101_policy.py", src / "policies" / "so101_policy.py"
-    parts = (MARK_A in s, DATA_MARK in s, IMPORT in s)
-    if all(parts):
-        have = s[s.index(MARK_A):s.index(MARK_B)]
-        why = check_block(have, args.steps)
-        if why:
-            sys.exit(f"[ERROR] 入っている {NAME} が違う ({why}). openpi の config.py を git checkout してから入れ直す")
+    shared = (DATA_MARK in s, IMPORT in s)     # データの設定と import (a と h30 で共有. 依頼 289)
+    if any(shared) and not all(shared):
+        sys.exit("[ERROR] SO-101 のデータの設定・import の一部だけが入っている. openpi の config.py を git checkout してから入れ直す")
+    if all(shared):
+        have = s[s.index(DATA_MARK):s.index("# <<< r2r2r so101 addon (data config)")]
+        if have != DATA_CLASS[:DATA_CLASS.index("# <<< r2r2r so101 addon (data config)")]:
+            sys.exit("[ERROR] 入っている LeRobotSo101DataConfig が違う. openpi の config.py を git checkout してから入れ直す")
         if not (pol_dst.exists() and pol_dst.read_bytes() == pol_src.read_bytes()):
             sys.exit(f"[ERROR] {pol_dst} が so101_policy.py と違う. openpi を git checkout してから入れ直す")
+    if mark_a in s:
+        if mark_b not in s or not all(shared):
+            sys.exit(f"[ERROR] {name} の一部だけが入っている. openpi の config.py を git checkout してから入れ直す")
+        have = s[s.index(mark_a):s.index(mark_b)]
+        why = check_block(have, args.steps, args.variant)
+        if why:
+            sys.exit(f"[ERROR] 入っている {name} が違う ({why}). openpi の config.py を git checkout してから入れ直す")
         print("already installed (config.py は変更なし)")
         return 0
-    if any(parts) or f'name="{NAME}"' in s or "class LeRobotSo101DataConfig" in s:
-        sys.exit(f"[ERROR] {NAME} の一部だけが入っている. openpi の config.py を git checkout してから入れ直す")
+    if mark_b in s or f'name="{name}"' in s or (not all(shared) and "class LeRobotSo101DataConfig" in s):
+        sys.exit(f"[ERROR] {name} の一部だけが入っている. openpi の config.py を git checkout してから入れ直す")
     assert s.count(IMPORT_ANCHOR) == 1, "先に install_addon.py を実行する (mecharm_policy の import がない)"
     assert s.count(DATA_ANCHOR) == 1, f"見つからない/重複: {DATA_ANCHOR!r}"
-    block = make_block(s, args.steps)
+    block = make_block(s, args.steps, args.variant)
     j = s.index(TRIM_B) + len(TRIM_B)
     s = s[:j] + block + s[j:]
-    s = s.replace(DATA_ANCHOR, DATA_CLASS + DATA_ANCHOR, 1)
-    s = s.replace(IMPORT_ANCHOR, IMPORT_ANCHOR + IMPORT, 1)
-    shutil.copy(pol_src, pol_dst)
+    if not all(shared):
+        s = s.replace(DATA_ANCHOR, DATA_CLASS + DATA_ANCHOR, 1)
+        s = s.replace(IMPORT_ANCHOR, IMPORT_ANCHOR + IMPORT, 1)
+        shutil.copy(pol_src, pol_dst)
     cfg.write_text(s)
-    print(f"installed: policies/so101_policy.py + {NAME} (repo_id={REPO_ID}, {args.steps} steps, "
-          f"decay_steps {args.steps}, init=π0.5 base)")
+    print(f"installed: policies/so101_policy.py + {name} (repo_id={REPO_ID}, {args.steps} steps, "
+          f"decay_steps {args.steps}, action_horizon {VARIANTS[args.variant][2]}, init=π0.5 base)")
     return 0
 
 
diff --git a/pi05/openpi_addon/check_pad_so101.py b/pi05/openpi_addon/check_pad_so101.py
new file mode 100644
index 0000000..e37a5a0
--- /dev/null
+++ b/pi05/openpi_addon/check_pad_so101.py
@@ -0,0 +1,59 @@
+#!/usr/bin/env python3
+"""check_pad_so101.py — お手本の終わり近くのコマで, 先の action_horizon コマが足りないときに openpi (LeRobot) が
+どう埋めるかを, Pod で変換したデータから確かめる (依頼 289. 学習には何も足さない. 見て出すだけ).
+
+openpi の data_loader.create_torch_dataset と同じく, LeRobotDataset に
+delta_timestamps = {"actions": [t / fps for t in range(action_horizon)]} を渡して読み, 最初のエピソードの
+最後のコマ・最後から action_horizon コマ目を取り出して, 足りない分の値と actions_is_pad を見る.
+openpi のコード (src/) が actions_is_pad を使っているか (損失から外しているか) も数える.
+
+  uv run python /workspace/r2r2r/pi05/openpi_addon/check_pad_so101.py --repo-id local/<データ名> --horizon 30
+
+最後に「PAD ...」の 1 行を出す (lab_train.sh の 4b の記録に残る).
+"""
+import argparse
+import subprocess
+import sys
+
+import numpy as np
+
+
+def main(argv=None):
+    ap = argparse.ArgumentParser()
+    ap.add_argument("--repo-id", required=True)
+    ap.add_argument("--horizon", type=int, required=True)
+    ap.add_argument("--openpi", default="/workspace/openpi")
+    args = ap.parse_args(argv)
+    from lerobot.common.datasets.lerobot_dataset import LeRobotDataset, LeRobotDatasetMetadata
+
+    meta = LeRobotDatasetMetadata(args.repo_id)
+    h = args.horizon
+    ds = LeRobotDataset(args.repo_id, delta_timestamps={"actions": [t / meta.fps for t in range(h)]})
+    ep = ds.hf_dataset["episode_index"]
+    idx0 = [i for i, e in enumerate(ep) if int(e) == 0]
+    first, last = idx0[0], idx0[-1]
+    n0 = last - first + 1
+    raw = np.stack([np.asarray(ds.hf_dataset[i]["actions"]) for i in range(max(first, last - h + 1), last + 1)])
+    it = ds[last]
+    a, pad = np.asarray(it["actions"]), np.asarray(it.get("actions_is_pad", np.zeros(h, bool)))
+    n_pad = int(pad.sum())
+    same_last = bool(np.allclose(a[1:], raw[-1])) if h > 1 else True
+    mid = ds[last - h + 2]                      # 先が 1 コマだけ足りないコマ
+    mid_pad = int(np.asarray(mid.get("actions_is_pad", np.zeros(h, bool))).sum())
+    lens = [int(x) for x in np.bincount(np.asarray(ep, dtype=np.int64))]
+    short = sum(min(h - 1, n) for n in lens)    # 先の h コマが足りないコマの数 (エピソードごとに最後の h-1 コマ)
+    try:
+        hits = subprocess.run(["grep", "-rln", "_is_pad", f"{args.openpi}/src"], capture_output=True, text=True).stdout.split()
+    except OSError:
+        hits = ["?"]
+    print(f"   エピソード 0 ({n0} コマ) の最後のコマ: 足りない {n_pad} / {h} コマ, 埋めた値はエピソードの最後の actions と"
+          f"{'同じ' if same_last else '違う'}. 最後から {h - 1} コマ目は足りない {mid_pad} コマ")
+    print(f"   先の {h} コマが足りないコマ: {short} / {len(ep)} コマ ({len(lens)} 本 × 最後の {h - 1} コマ)")
+    print(f"   openpi の src で _is_pad を使うファイル: {', '.join(hits) if hits else 'なし (損失から外さない)'}")
+    print(f"PAD horizon={h} last_frame_pad={n_pad} fill={'last_action' if same_last else 'other'} "
+          f"short_frames={short}/{len(ep)} openpi_uses_is_pad={'yes' if hits else 'no'}")
+    return 0
+
+
+if __name__ == "__main__":
+    sys.exit(main())
diff --git a/pi05/openpi_addon/pod_prep_so101.sh b/pi05/openpi_addon/pod_prep_so101.sh
index 696790d..6e1aa51 100644
--- a/pi05/openpi_addon/pod_prep_so101.sh
+++ b/pi05/openpi_addon/pod_prep_so101.sh
@@ -11,12 +11,15 @@
 #
 #   bash /workspace/r2r2r/pi05/openpi_addon/pod_prep_so101.sh <steps> <variant>
 #   例: bash ... 3000 a
-#   <variant> は a だけ (lab_train.sh --model so101a. 設定 pi05_so101_teleop_even_lora・decay_steps は <steps> と同じ)
+#   <variant> は a (lab_train.sh --model so101a. 設定 pi05_so101_teleop_even_lora・decay_steps は <steps> と同じ)
+#            か h30 (依頼 289. lab_train.sh --model so101b. 設定 pi05_so101_teleop_even_h30_lora. a と同じデータ・値で
+#            action_horizon だけ 30. 正規化の値もこの設定で測り直す)
 #
 # すること (何度流しても同じ結果):
 #   1. tar を /workspace/data/<データ名>/ に広げ, エピソードの本数を確かめる (Mac で作ったときは 50 本)
 #   2. openpi の config.py に SO-101 の設定を足す (add_so101_config.py --steps. so101_policy.py も写す)
 #   3. LeRobot 形式に変換 (repo_id local/<データ名>. カメラ 2 台). 本数・コマ数が raw_episodes の meta.json と同じかを確かめる
+#      h30 は先の 30 コマが足りないコマの埋め方を check_pad_so101.py で見て出す (依頼 289. 止めない)
 #   4. 正規化の値をこの 50 本で測り直す (compute_norm_stats.py をこの設定で).
 #      置く場所は openpi が学習で読む assets/<設定の名前>/local/<データ名>/norm_stats.json.
 #      最後に「NORM sha256=<64 桁> path=<openpi からの相対>」の1行を出す (lab_train.sh が由来に残し, 持ち帰る)
@@ -27,7 +30,8 @@ STEPS="${1:?学習のステップ数 (例 3000)}"
 VARIANT="${2:?<variant> (a)}"
 case "$VARIANT" in          # 何かする前に確かめる
     a) CONFIG=pi05_so101_teleop_even_lora; EXP=so101_teleop_even_v1; NAME=so101_redblock_box_teleop_even_v1; N_MAC=50 ;;
-    *) echo "[ERROR] <variant> は a: $VARIANT" >&2; exit 2 ;;
+    h30) CONFIG=pi05_so101_teleop_even_h30_lora; EXP=so101_teleop_even_h30_v1; NAME=so101_redblock_box_teleop_even_v1; N_MAC=50 ;;   # 依頼 289
+    *) echo "[ERROR] <variant> は a か h30: $VARIANT" >&2; exit 2 ;;
 esac
 TAR=/workspace/data/${NAME}_raw_episodes.tar
 DATA=/workspace/data/$NAME
@@ -55,7 +59,7 @@ echo "   エピソード $N 本 (Mac で作ったときは $N_MAC 本)・コマ
 
 cd "$OPENPI"
 echo "== 2. 学習設定 $CONFIG を足す (steps=${STEPS}・decay_steps=${STEPS}. π0.5 base から)"
-python3 "$ADDON/add_so101_config.py" "$OPENPI" --steps "$STEPS"
+python3 "$ADDON/add_so101_config.py" "$OPENPI" --steps "$STEPS" --variant "$VARIANT"
 
 echo "== 3. LeRobot 形式に変換 (local/$NAME. カメラ 2 台)"
 CONV_LOG=$(mktemp)
@@ -64,6 +68,11 @@ grep -qx "CONVERTED episodes=$N frames=$FRAMES" "$CONV_LOG" \
     || { echo "[ERROR] 変換した本数・コマ数が raw_episodes ($N 本・$FRAMES コマ) と違う" >&2; rm -f "$CONV_LOG"; exit 1; }
 rm -f "$CONV_LOG"
 echo "   変換した本数・コマ数は raw_episodes と同じ ($N 本・$FRAMES コマ)"
+if [ "$VARIANT" = h30 ]; then      # 依頼 289: 先の 30 コマが足りないコマの埋め方を見て出すだけ (確かめられなくても止めない)
+    echo "== 3b. 先の 30 コマが足りないコマを openpi (LeRobot) がどう埋めるか (check_pad_so101.py. 学習には何も足さない)"
+    uv run python "$ADDON/check_pad_so101.py" --repo-id "local/$NAME" --horizon 30 --openpi "$OPENPI" \
+        || echo "   [WARN] 埋め方を確かめられなかった (学習は続ける)"
+fi
 
 echo "== 4. 正規化の値をこの $N 本で測り直す (compute_norm_stats.py --config-name $CONFIG)"
 rm -f "$NORM_DST"           # 前の回の値を残さない (測れなかったときに古い値で学習しない)
diff --git a/pi05/test_so101_train.py b/pi05/test_so101_train.py
index 3d7ef3b..88665b4 100644
--- a/pi05/test_so101_train.py
+++ b/pi05/test_so101_train.py
@@ -161,6 +161,52 @@ class TestSo101Policy(unittest.TestCase):
         self.assertEqual(out["image"]["base_0_rgb"].shape, (240, 320, 3))
 
 
+class TestAddSo101ConfigH30(unittest.TestCase):
+    """依頼 289: --variant h30 は a と同じ値で action_horizon だけ 30. a と同じ config.py に両方入れられる"""
+
+    def test_h30_differs_only_in_horizon(self):
+        with tempfile.TemporaryDirectory() as td, mock.patch("sys.stdout"):
+            cfg = fake_openpi(Path(td))
+            before = configs(cfg)
+            self.assertEqual(asc.main([td, "--steps", "3000", "--variant", "h30"]), 0)
+            self.assertEqual(asc.main([td, "--steps", "3000"]), 0)          # a も足せる (データの設定は共有)
+            c = configs(cfg)
+            a, h = c["pi05_so101_teleop_even_lora"], c["pi05_so101_teleop_even_h30_lora"]
+            self.assertEqual(set(a), set(h))
+            for k in a:
+                if k == "name":
+                    continue
+                if k in ("model", "freeze_filter"):
+                    self.assertIn("action_horizon=10", a[k])
+                    self.assertEqual(h[k], a[k].replace("action_horizon=10", "action_horizon=30"), k)
+                else:
+                    self.assertEqual(h[k], a[k], k)
+            for name, kw in before.items():
+                self.assertEqual(c[name], kw, name)
+            s = cfg.read_text()
+            self.assertEqual(s.count("class LeRobotSo101DataConfig(DataConfigFactory):"), 1)
+            self.assertEqual(s.count("import openpi.policies.so101_policy as so101_policy\n"), 1)
+            self.assertEqual(asc.main([td, "--steps", "3000", "--variant", "h30"]), 0)    # 二重に入れない
+            self.assertEqual(cfg.read_text(), s)
+            with self.assertRaises(SystemExit):
+                asc.main([td, "--steps", "2000", "--variant", "h30"])
+            self.assertEqual(cfg.read_text(), s)
+
+    def test_a_alone_unchanged(self):
+        """--variant を付けないときは依頼 282 の a と同じ中身 (a を先に入れた config.py は h30 を足しても a の所は同じ)"""
+        with tempfile.TemporaryDirectory() as td, mock.patch("sys.stdout"):
+            cfg = fake_openpi(Path(td))
+            asc.main([td, "--steps", "3000"])
+            s1 = cfg.read_text()
+            with tempfile.TemporaryDirectory() as td2:
+                cfg2 = fake_openpi(Path(td2))
+                asc.main([td2, "--steps", "3000", "--variant", "a"])
+                self.assertEqual(cfg2.read_text(), s1)
+            asc.main([td, "--steps", "3000", "--variant", "h30"])
+            self.assertEqual(configs(cfg)["pi05_so101_teleop_even_lora"], configs(Path(td) / "src/openpi/training/config.py")["pi05_so101_teleop_even_lora"])
+            self.assertIn("action_horizon=10", configs(cfg)["pi05_so101_teleop_even_lora"]["model"])
+
+
 class TestPodPrepSo101(unittest.TestCase):
     SH = ADDON / "pod_prep_so101.sh"
 
@@ -175,11 +221,17 @@ class TestPodPrepSo101(unittest.TestCase):
                   "NORM_DST=assets/$CONFIG/local/$NAME/norm_stats.json", 'echo "NORM sha256=$SHA path=$NORM_DST"'):
             self.assertIn(x, code)
         self.assertNotIn("add_deep_config.py", code)            # mechArm の設定は足さない
+        # 依頼 289: h30 は a と同じデータで設定・exp だけ違い, 足りないコマの埋め方を見て出す (止めない)
+        self.assertIn("h30) CONFIG=pi05_so101_teleop_even_h30_lora; EXP=so101_teleop_even_h30_v1; NAME=so101_redblock_box_teleop_even_v1; N_MAC=50 ;;", code)
+        self.assertIn('--steps "$STEPS" --variant "$VARIANT"', code)
+        self.assertIn('check_pad_so101.py" --repo-id "local/$NAME" --horizon 30', code)
+        self.assertIn("|| echo \"   [WARN] 埋め方を確かめられなかった (学習は続ける)\"", code)
+        ast.parse((ADDON / "check_pad_so101.py").read_text())
 
     def test_unknown_variant_stops_first(self):
         r = subprocess.run(["bash", str(self.SH), "3000", "b"], capture_output=True, text=True)
         self.assertEqual(r.returncode, 2)
-        self.assertIn("<variant> は a: b", r.stderr)
+        self.assertIn("<variant> は a か h30: b", r.stderr)
         self.assertNotIn("tar がない", r.stderr)
 
     def test_converter_compiles(self):
diff --git a/so101/check_289_replay_demo.py b/so101/check_289_replay_demo.py
new file mode 100644
index 0000000..75a3500
--- /dev/null
+++ b/so101/check_289_replay_demo.py
@@ -0,0 +1,97 @@
+"""録ったお手本を流して so101b (答え 30 コマ) の答えと待ちを確かめる (依頼 289. フォロワー・カメラは使わない).
+
+check_283_replay_demo.py と同じお手本 (場所ごとに 1 本・--stride コマおき) を, 依頼 285 の送り方 (学習の jpg のバイト列を
+そのまま) で流す. 答えのコマ数 N はサーバーの答えから読む (so101b は 30). 次を出す:
+  - 答えとお手本の次の N コマの action の差 (場所ごと・関節ごとの中央値と最大)
+  - so101a と並べるための, 答えの先頭 10 コマだけの差 (so101a の check_285 の jpeg と同じ比べ方)
+  - 答えの何コマ目か (0〜N-1) ごとの差の中央値 (先のコマほど離れるか)
+  - 答えが返るまでの時間 (1 回目を除いた中央値・最大・p90. N コマ = N/30 秒より長い回の数)
+問い合わせるコマは 0, stride, ... で, 先の N コマがお手本の中に収まるところまで (so101a の 283・285 は先の 10 コマ).
+
+    python so101/check_289_replay_demo.py --port 8000 --out-dir so101/check_289
+"""
+
+import argparse
+import json
+import statistics
+import sys
+import time
+from pathlib import Path
+
+import numpy as np
+
+HERE = Path(__file__).resolve().parent
+sys.path.insert(0, str(HERE))
+sys.path.insert(0, str(HERE.parent / "pi05"))
+
+import check_283_replay_demo as C  # noqa: E402
+import run_so101_policy as R  # noqa: E402
+
+HEAD = 10       # so101a の答えのコマ数 (並べる比べ方)
+
+
+def lat_stats(lat, horizon):
+    rest = lat[1:] if len(lat) > 1 else lat
+    return {"first": round(lat[0], 3), "n": len(rest), "median": round(statistics.median(rest), 3),
+            "max": round(max(rest), 3), "p90": round(float(np.percentile(rest, 90)), 3),
+            f"over_{horizon}frames_{horizon / R.FPS:.2f}s": sum(1 for x in rest if x > horizon / R.FPS)}
+
+
+def first_horizon(client, raw, name):
+    """1 本目の 1 コマ目で 1 回問い合わせ, 答えのコマ数を読む (この回は時間に数えない 1 回目になる)"""
+    ep = raw / name
+    z = np.load(ep / "episode.npz")
+    imgs = {c: (ep / f"frames_{c}" / "000000.jpg").read_bytes() for c in R.CAMERAS}
+    return len(client.infer(R.make_obs(z["state"][0].astype(np.float64), imgs["desk"], imgs["wrist"])))
+
+
+def main(argv=None):
+    ap = argparse.ArgumentParser()
+    ap.add_argument("--port", type=int, default=8000)
+    ap.add_argument("--data-dir", default=str(C.DATA))
+    ap.add_argument("--stride", type=int, default=10)
+    ap.add_argument("--out-dir", default=str(HERE / "check_289"))
+    args = ap.parse_args(argv)
+    from policy_ws import PolicyClient
+    client = R.Policy(args.port, client=PolicyClient(port=args.port, wait_sec=30.0))
+    raw = Path(args.data_dir) / "raw_episodes"
+    eps = C.pick_episodes(args.data_dir)
+    h = first_horizon(client, raw, next(iter(eps.values())))
+    print(f"[HORIZON] 答えのコマ数 {h} (サーバーの答えから)", flush=True)
+    by_place, errs = {}, []
+    for place, name in eps.items():
+        ep = raw / name
+        z = np.load(ep / "episode.npz")
+        state, actions = z["state"].astype(np.float64), z["actions"].astype(np.float64)
+        err = []
+        for t in range(0, len(state) - h, args.stride):
+            imgs = {c: (ep / f"frames_{c}" / f"{t:06d}.jpg").read_bytes() for c in R.CAMERAS}
+            a = client.infer(R.make_obs(state[t], imgs["desk"], imgs["wrist"]))
+            err.append(R.to_absolute(a, state[t]) - actions[t:t + h])
+        err = np.array(err)
+        errs.append(err)
+        by_place[str(place)] = {"episode": name, "frames": len(state), "queries": len(err),
+                                f"all_{h}": C.stats(err), f"head_{HEAD}": C.stats(err[:, :HEAD])}
+        print(f"[{place}] {name}  {len(err)} 回  {h} コマの差の中央値 {by_place[str(place)][f'all_{h}']['median']}  "
+              f"先頭 {HEAD} コマ {by_place[str(place)][f'head_{HEAD}']['median']}", flush=True)
+    client.close()
+    e = np.concatenate(errs)
+    per_k = [[round(float(x), 2) for x in np.median(np.abs(e[:, k]), 0)] for k in range(h)]
+    result = {"data": str(raw), "stride": args.stride, "joints": R.MOTORS, "horizon": h, "by_place": by_place,
+              f"all_{h}": C.stats(e), f"head_{HEAD}": C.stats(e[:, :HEAD]), "median_by_chunk_step": per_k,
+              "latency_s": lat_stats(client.latencies, h),
+              "payload_bytes": {"median": int(statistics.median(client.payloads))} if client.payloads else {}}
+    print(f"[ALL   ] {h} コマの差 {result[f'all_{h}']}")
+    print(f"[ALL   ] 先頭 {HEAD} コマの差 {result[f'head_{HEAD}']}")
+    print(f"[STEP  ] 答えの 0・9・19・29 コマ目の差の中央値 {[per_k[k] for k in (0, 9, 19, h - 1) if k < h]}")
+    print(f"[LATENCY] {result['latency_s']}", flush=True)
+    out = Path(args.out_dir)
+    out.mkdir(parents=True, exist_ok=True)
+    p = out / f"replay_demo_{time.strftime('%Y%m%d_%H%M%S')}.json"
+    p.write_text(json.dumps(result, ensure_ascii=False, indent=2) + "\n")
+    print(f"[OUT   ] {p}")
+    return 0
+
+
+if __name__ == "__main__":
+    sys.exit(main())
diff --git a/so101/run_so101_policy.py b/so101/run_so101_policy.py
index 3043705..e0403f4 100644
--- a/so101/run_so101_policy.py
+++ b/so101/run_so101_policy.py
@@ -1,4 +1,4 @@
-"""SO-101 の π0.5 (so101a) を実機で動かす Mac 側のクライアント (依頼 283).
+"""SO-101 の π0.5 (so101a. 依頼 289 から so101b も) を実機で動かす Mac 側のクライアント (依頼 283).
 
 mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節 6 つ・LeRobot で動かすため別に作った).
 サーバーは lab_start.sh --model so101a が Pod に立て, Mac の localhost:8000 へトンネルを張ったもの.
@@ -7,7 +7,8 @@ mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節
     python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/<Log>              ドライラン (フォロワーに送らない)
     python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/<Log> --execute    フォロワーに送る
     python so101/run_so101_policy.py --warmup                                                  空打ち (lab_start.sh の 5b)
-    --exec-steps N (1〜10): 答えの 10 コマのうち先頭 N コマ (0〜N-1 番目) までを使う (既定 10 = 全部. 0.33 秒)
+    --exec-steps N (1〜答えのコマ数): 答えのうち先頭 N コマ (0〜N-1 番目) までを使う (既定 = 全部. so101a は 10 コマ・0.33 秒)
+    答えのコマ数 (so101a は 10・so101b は 30) はサーバーの 1 回目の答えの長さから読む (依頼 289). 2 回目からも同じ長さでなければ止まる
     --no-prefetch: 答えを実行し終えてから次を問い合わせる (依頼 283 の形. 付けなければ先に問い合わせる. 依頼 285)
     --skip-first-confirm: 始めの確かめ (Enter) を待たない (lab_start.sh が 2 回目の試行から付ける. mechArm と同じ. 依頼 285)
     --play-speed X (0 より大きく 1 まで. 既定 1.0 = 今までどおり): 答えの 1 コマを送る間を 1/(30×X) 秒にする (依頼 288.
@@ -36,7 +37,7 @@ mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節
   observation/desk_image・observation/wrist_image: 640x480 を 320x240 に BOX で縮め, JPEG 品質 95 で書いたバイト列
   (お手本 export_so101_raw_episodes.py と同じ作り方. 依頼 285 から読み直さずにバイト列のまま送り, サーバーの
   so101_policy.py が PIL で読み戻す = 学習のコマと同じ画像) / observation/state: 関節 6 つ (float32) / prompt: PROMPT
-受ける形: actions (10, 6). サーバーの設定 (add_so101_config.py) は出口で AbsoluteActions (関節 5 つに state を足す) を
+受ける形: actions (N, 6) (so101a は N=10・so101b は N=30. 依頼 289). サーバーの設定 (add_so101_config.py) は出口で AbsoluteActions (関節 5 つに state を足す) を
   通すので, 返ってくる値は絶対値 (依頼 283 の確かめ: お手本を流して比べた. check_283_replay_demo.py).
   SERVER_RETURNS_ABSOLUTE を False にすると関節 5 つに今の角度を足す (爪は絶対値のまま)
 安全範囲: 学習の 50 本 (--raw-dir の episode.npz の state と actions) の関節ごとの最小〜最大 ±10. 爪はさらに 0〜100 で切る
@@ -81,7 +82,8 @@ MOTORS = ["shoulder_pan", "shoulder_lift", "elbow_flex", "wrist_flex", "wrist_ro
 JOINTS = [f"{m}.pos" for m in MOTORS]
 PROMPT = "Put the red block into the white box"       # so101_policy.py・お手本の課題の言葉と同じ
 FPS = 30
-HORIZON = 10
+HORIZON = 10                            # so101a の答えのコマ数 (依頼 289 からは答えの長さを使う. これはテストの既定)
+MAX_HORIZON = 30                        # --exec-steps の上限 (so101b の答えのコマ数. 依頼 289)
 CAM_W, CAM_H = 640, 480
 OUT_W, OUT_H = 320, 240
 JPEG_Q = 95
@@ -189,11 +191,20 @@ def clip_to_range(target, lo, hi):
     return c, np.abs(c - t) > 1e-9
 
 
+def check_answer_shape(a, horizon=None):
+    """答えの形が (N, 6) (N は 1 以上) か. horizon (前の答えのコマ数) があれば N が同じか (依頼 289. so101a は 10・so101b は 30)"""
+    a = np.asarray(a)
+    if a.ndim != 2 or a.shape[1] != 6 or a.shape[0] < 1:
+        raise ValueError(f"答えの形が (N, 6) ではない: {a.shape}")
+    if horizon is not None and a.shape[0] != horizon:
+        raise ValueError(f"答えのコマ数が前の答え ({horizon}) と違う: {a.shape}")
+
+
 def plan_chunk(actions_abs, exec_steps, lo, hi, skip=0):
     """答え (絶対値) の skip〜exec_steps-1 番目を安全範囲で切った [(答えの何番目, 目標, 切ったか)].
     skip: 先に問い合わせたとき, 問い合わせを出してから前の答えで動いたコマ数 (その分の目標はもう過ぎている. 依頼 285)"""
-    if not 1 <= exec_steps <= HORIZON:
-        raise ValueError(f"--exec-steps は 1〜{HORIZON}: {exec_steps}")
+    if not 1 <= exec_steps <= len(actions_abs):
+        raise ValueError(f"--exec-steps は 1〜{len(actions_abs)} (答えのコマ数): {exec_steps}")
     if not 0 <= skip < exec_steps:
         raise ValueError(f"飛ばすコマ {skip} は 0〜{exec_steps - 1}")
     out = []
@@ -343,6 +354,7 @@ class Policy:
         self.client = client
         self.latencies = []
         self.payloads = []          # 1 回に送ったバイト数 (msgpack にしたもの. 依頼 285)
+        self.horizon = None         # 答えのコマ数 (1 回目の答えの長さ. 依頼 289)
 
     def infer(self, obs):
         try:
@@ -354,8 +366,8 @@ class Policy:
         out = self.client.infer(obs)
         self.latencies.append(time.perf_counter() - t0)
         a = np.asarray(out["actions"])
-        if a.shape != (HORIZON, 6):
-            raise ValueError(f"答えの形が ({HORIZON}, 6) ではない: {a.shape}")
+        check_answer_shape(a, self.horizon)
+        self.horizon = a.shape[0]
         return a
 
     def close(self):
@@ -537,12 +549,18 @@ def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=
     """試行 1 回. 終わったときの情報を返す (記録の close・結果を聞くのは呼ぶ側).
     prefetch: 今の答えの残りが r コマ (prefetch_lead) になったら, そのコマの観測で次を裏で問い合わせておく (依頼 285).
     skip_confirm: 始めの確かめ (Enter) を待たない (2 回目の試行から. 依頼 285)
-    play_speed: 1 コマを送る間を 1/(FPS×play_speed) 秒にする. r もこの速さでコマに直す (依頼 288)"""
+    play_speed: 1 コマを送る間を 1/(FPS×play_speed) 秒にする. r もこの速さでコマに直す (依頼 288)
+    exec_steps: None なら 1 回目の答えのコマ数 (全部) を使う (依頼 289). 答えのコマ数より多ければ止める"""
     play_fps = FPS * play_speed
     info = {"queries": 0, "clipped_frames": 0, "frames": 0, "gaps": [], "waits": [], "skips": []}
     state, desk, wrist = arm.observe()
     a = ask_model(policy, state, desk, wrist)
     info["queries"] += 1
+    info["horizon"] = len(a)
+    if exec_steps is None:
+        exec_steps = len(a)
+    info["exec_steps"] = exec_steps
+    out(f"[FIRST ] 答えのコマ数   {len(a)} (サーバーの答えから). 1 回で実行するコマ {exec_steps}")
     plan = plan_chunk(a, exec_steps, lo, hi)
     out(f"[FIRST ] 今の角度       {fmt(state)}")
     out(f"[FIRST ] 最初の目標     {fmt(plan[0][1])}  (1 コマ 関節 10°・爪 20 までで寄せる)")
@@ -646,7 +664,7 @@ def run(args):
     print(f"[RANGE ] 安全範囲 (学習の {n_eps} 本の幅 ±{RANGE_MARGIN:g}) " +
           "  ".join(f"{m} {a:.1f}〜{b:.1f}" for m, a, b in zip(MOTORS, lo, hi)))
     print(f"[MODE  ] {'--execute: フォロワーに送る' if args.execute else 'ドライラン: フォロワーに送らない (カメラだけ開く)'}"
-          f"  1 回で実行するコマ {args.exec_steps} / {HORIZON}"
+          f"  1 回で実行するコマ {args.exec_steps or '答えの全部'} (答えのコマ数はサーバーの答えから)"
           f"  {'--no-prefetch: 使い切ってから問い合わせる' if args.no_prefetch else '先に問い合わせる'}"
           f"  流す速さ {args.play_speed:g} (1 コマ {1000 / (FPS * args.play_speed):.1f} ms)")
     log_dir = Path(args.log_dir)
@@ -696,7 +714,7 @@ def run(args):
     payload = int(statistics.median(policy.payloads)) if policy.payloads else ""
     modes = recorder.modes
     row = {"trial": trial, "started_at": stamp, "operator": operator_of(modes), "place": place, "model": args.model,
-           "step": args.step, "exec_steps": args.exec_steps, "execute": int(args.execute), "result": result,
+           "step": args.step, "exec_steps": info.get("exec_steps", args.exec_steps or ""), "execute": int(args.execute), "result": result,
            "frames": len(modes), "frames_model": modes.count(MODEL), "frames_correct": modes.count(CORRECT),
            "frames_pause": modes.count(PAUSE), "queries": info.get("queries", 0),
            "latency_median_s": "" if med is None else round(med, 3), "latency_max_s": "" if mx is None else round(mx, 3),
@@ -710,11 +728,12 @@ def run(args):
                                                  "switch_gaps_s": [round(x, 4) for x in info.get("gaps", [])],
                                                  "waits_s": [round(x, 4) for x in info.get("waits", [])],
                                                  "skips": info.get("skips", []),
+                                                 "horizon": info.get("horizon", policy.horizon),
                                                  "safe_range": {"lo": lo.tolist(), "hi": hi.tolist()},
                                                  "stopped_by": err}, ensure_ascii=False, indent=2) + "\n")
     print(f"[RECORD] {dst} ({n_files} ファイル) / 1 行 → {log_dir / TRIALS_CSV}")
     if med is not None:
-        run_s = args.exec_steps / (FPS * args.play_speed)
+        run_s = (info.get("exec_steps") or args.exec_steps or policy.horizon or HORIZON) / (FPS * args.play_speed)
         print(f"[LATENCY] 答えが返るまで 中央値 {med:.3f} 秒・最長 {mx:.3f} 秒 ({len(policy.latencies)} 回. "
               f"1 回で実行する {run_s:.2f} 秒より{'長い' if med > run_s else '短い'}. "
               f"1 回の送り {payload} バイト)")
@@ -734,8 +753,7 @@ def warmup(args):
         c = PolicyClient(port=args.port, wait_sec=30.0)
         a = np.asarray(c.infer(make_obs(state, imgs["desk"], imgs["wrist"]))["actions"])
         c.close()
-        if a.shape != (HORIZON, 6):
-            raise ValueError(f"答えの形 {a.shape}")
+        check_answer_shape(a)        # 依頼 289: so101a は (10, 6)・so101b は (30, 6)
     except Exception as e:
         print(f"[WARM  ] 空打ちに失敗: {type(e).__name__}: {e}. 止めずに続けます (1 回目の推論が長くなる)", flush=True)
         return 1
@@ -750,7 +768,8 @@ def main(argv=None):
     ap.add_argument("--log-dir", help="記録の置き場所 (KIOXIA の lab/<Log>)")
     ap.add_argument("--model", default="so101a", help="記録に残すモデルの名前")
     ap.add_argument("--step", default="2999", help="記録に残す checkpoint の step")
-    ap.add_argument("--exec-steps", type=int, default=HORIZON, help="答えの先頭 N コマ (0〜N-1 番目) までを使う (1〜10)")
+    ap.add_argument("--exec-steps", type=int, default=None,
+                    help="答えの先頭 N コマ (0〜N-1 番目) までを使う (1〜答えのコマ数. 既定は全部. 依頼 289 から答えのコマ数はサーバーの答えから)")
     ap.add_argument("--no-prefetch", action="store_true", help="答えを実行し終えてから次を問い合わせる (依頼 283 の形)")
     ap.add_argument("--skip-first-confirm", action="store_true", help="始めの確かめ (Enter) を待たない (2 回目の試行から)")
     ap.add_argument("--execute", action="store_true", help="フォロワーに送る (付けなければドライラン)")
@@ -762,8 +781,8 @@ def main(argv=None):
     ap.add_argument("--play-speed", type=float, default=1.0,
                     help="答えを流す速さ (0 より大きく 1 まで. 1 コマの間 1/(30×X) 秒. 既定 1.0 = 今までどおり. 依頼 288)")
     args = ap.parse_args(argv)
-    if not 1 <= args.exec_steps <= HORIZON:
-        ap.error(f"--exec-steps は 1〜{HORIZON}")
+    if args.exec_steps is not None and not 1 <= args.exec_steps <= MAX_HORIZON:
+        ap.error(f"--exec-steps は 1〜{MAX_HORIZON} (答えのコマ数より多ければ 1 回目の答えで止まる)")
     if not (math.isfinite(args.play_speed) and 0 < args.play_speed <= 1.0):
         ap.error(f"--play-speed は 0 より大きく 1 まで: {args.play_speed}")
     if args.warmup:
diff --git a/so101/test_run_so101_policy.py b/so101/test_run_so101_policy.py
index 58a95aa..d733a73 100644
--- a/so101/test_run_so101_policy.py
+++ b/so101/test_run_so101_policy.py
@@ -497,9 +497,67 @@ class TestRecord(unittest.TestCase):
             self.assertEqual(rows[1]["exec_steps"], "3")
 
 
+class TestHorizonFromAnswer(unittest.TestCase):
+    """依頼 289: 答えのコマ数 (so101a は 10・so101b は 30) をサーバーの答えから読む"""
+
+    @staticmethod
+    def policy(n):
+        class P(FakePolicy):
+            def infer(self, obs):
+                self.obs.append(obs)
+                self.latencies.append(0.1)
+                s = np.asarray(obs["observation/state"], dtype=np.float64)
+                return np.stack([s + (k + 1) for k in range(n)])
+        return P()
+
+    def test_default_uses_whole_answer(self):
+        for n in (10, 30):
+            arm, pol, rec = FakeArm(), self.policy(n), FakeRecorder()
+            info, _ = trial(arm, pol, rec, None, FakeKeys({2 * n + 5: "q"}))
+            self.assertEqual(info["horizon"], n)
+            self.assertEqual(info["exec_steps"], n)
+            self.assertEqual([r["chunk_step"] for r in rec.rows], [i % n for i in range(2 * n + 5)])
+            self.assertEqual(info["queries"], 3)
+
+    def test_prefetch_30(self):
+        arm, pol, rec = FakeArm(), self.policy(30), FakeRecorder()
+        info, _ = trial(arm, pol, rec, None, FakeKeys({70: "q"}), prefetch=True)
+        self.assertEqual(info["exec_steps"], 30)
+        self.assertEqual(len(rec.rows), 70)
+        self.assertTrue(all(0 <= r["chunk_step"] < 30 for r in rec.rows))
+
+    def test_exec_steps_more_than_answer_stops(self):
+        arm, pol, rec = FakeArm(), self.policy(10), FakeRecorder()
+        with self.assertRaises(ValueError):
+            trial(arm, pol, rec, 11, FakeKeys({5: "q"}))
+        self.assertEqual(rec.rows, [])          # 1 コマも送らない
+        arm, pol, rec = FakeArm(), self.policy(30), FakeRecorder()
+        info, _ = trial(arm, pol, rec, 20, FakeKeys({25: "q"}))
+        self.assertEqual([r["chunk_step"] for r in rec.rows], [i % 20 for i in range(25)])
+
+    def test_policy_checks_answer_length(self):
+        class Client:
+            def __init__(self, ns):
+                self.ns = list(ns)
+
+            def infer(self, obs):
+                return {"actions": np.zeros((self.ns.pop(0), 6))}
+
+        p = R.Policy(0, client=Client([30, 30, 10]))
+        self.assertEqual(p.infer({}).shape, (30, 6))
+        self.assertEqual(p.horizon, 30)
+        p.infer({})
+        with self.assertRaises(ValueError):
+            p.infer({})                         # 途中で長さが変わったら止める
+        for bad in (np.zeros((10, 5)), np.zeros(6), np.zeros((0, 6))):
+            with self.assertRaises(ValueError):
+                R.check_answer_shape(bad)
+        R.check_answer_shape(np.zeros((30, 6)))
+
+
 class TestArgs(unittest.TestCase):
     def test_exec_steps_range(self):
-        for bad in ("0", "11"):
+        for bad in ("0", "31"):         # 依頼 289: 上限は so101b の 30 (答えより多いかは 1 回目の答えで見る)
             with self.assertRaises(SystemExit):
                 R.main(["--exec-steps", bad, "--log-dir", "/tmp"])
 
diff --git a/test_lab_start.sh b/test_lab_start.sh
index 452d2ec..8b98a7a 100755
--- a/test_lab_start.sh
+++ b/test_lab_start.sh
@@ -519,7 +519,7 @@ check "終了コード 2・使える名前を出す・API を呼ばない" '[ $R
 rm -rf "$T"
 setup
 (cd "$T" && PATH="$T/bin:$PATH" perl -e 'alarm 10; exec @ARGV' ./lab_start.sh --log LogT --dry-run --model < /dev/null > "$T/out.txt" 2>&1); RC=$?
-check "--model だけで値がない → 回り続けずに終了コード 2 (codex R1)" '[ $RC = 2 ] && has out.txt "--model には trim か corr か corr2 か corr3 か deep1 か deep1b か split1 か split2 か so101a を付ける"'
+check "--model だけで値がない → 回り続けずに終了コード 2 (codex R1)" '[ $RC = 2 ] && has out.txt "--model には trim か corr か corr2 か corr3 か deep1 か deep1b か split1 か split2 か so101a か so101b を付ける"'
 rm -rf "$T"
 for a in "--gpu" "--episode" "--log" "--gpu --dry-run" "--episode --log LogT" "--log --dry-run"; do
     setup
@@ -642,7 +642,7 @@ check "--serve-only でも空打ちまで行う (依頼 176)" 'has out.txt "===
 check "Pod は消さない (DELETE を呼ばない) で, かかった時間と片付け方を出す" '[ $(n_call DELETE) = 0 ] && has out.txt "=== かかった時間" && has out.txt "Pod は残しています (id $ID_NEW). 片付けは ./lab_stop.sh --log LogT"'
 check "記録 lab_start_*.txt に残る・始めの行に --serve-only と出る" 'grep -qF "サーバーとトンネルだけ (--serve-only" "$T/data/lab/LogT"/lab_start_*.txt'
 rm -rf "$T"
-check "--help に --serve-only・--grip-value・--flow / --speed・5b の空打ちの説明が入る (2〜72 行 (依頼 288 で 1 行増えた))" 'sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "--serve-only  Pod を作って" && sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "--no-tilt-fix  傾きを" && sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "--grip-value N  爪の閉じる値" && sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "--flow / --speed N  run_policy_client.py に" && sed -n "2,72p" "$HERE/lab_start.sh" | grep -qF -- "# 5b. 空打ち" && grep -qF "sed -n '"'"'2,72p'"'"'" "$HERE/lab_start.sh"'
+check "--help に --serve-only・--grip-value・--flow / --speed・5b の空打ちの説明が入る (2〜75 行 (依頼 289 で so101b の 3 行が増えた))" 'sed -n "2,75p" "$HERE/lab_start.sh" | grep -qF -- "--serve-only  Pod を作って" && sed -n "2,75p" "$HERE/lab_start.sh" | grep -qF -- "--no-tilt-fix  傾きを" && sed -n "2,75p" "$HERE/lab_start.sh" | grep -qF -- "--grip-value N  爪の閉じる値" && sed -n "2,75p" "$HERE/lab_start.sh" | grep -qF -- "--flow / --speed N  run_policy_client.py に" && sed -n "2,75p" "$HERE/lab_start.sh" | grep -qF -- "# 5b. 空打ち" && grep -qF "sed -n '"'"'2,75p'"'"'" "$HERE/lab_start.sh"'
 
 echo "== 空打ち (依頼 176): トンネルのあと・アームの前に 1 回. 失敗しても止めずに続ける"
 setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; run
@@ -761,13 +761,13 @@ so101_setup
 (cd "$T" && PATH="$T/bin:$PATH" ./lab_start.sh --log LogT --model so101a < /dev/null > "$T/out.txt" 2>&1); RC=$?
 check "--dry-run なしなら --execute を付ける (デーモン・HOME は流さない)" '[ $RC = 0 ] && grep -q -- "so101/run_so101_policy.py .* --step 2999 --execute$" "$T/py.log" && ! has out.txt "=== 6." && ! has py.log "08_home_from_anywhere.py"'
 rm -rf "$T"
-for bad in 0 11 abc ""; do
+for bad in 0 11 31 abc ""; do
     so101_setup; run --model so101a --exec-steps "$bad"
     check "--exec-steps '$bad' は受けない (終了コード 2・API を呼ばない)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--exec-steps"'
     rm -rf "$T"
 done
 setup; run --exec-steps 3
-check "mechArm の --model に --exec-steps は付けられない" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--exec-steps は --model so101a だけ"'
+check "mechArm の --model に --exec-steps は付けられない" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--exec-steps は --model so101a・so101b だけ"'
 rm -rf "$T"
 for arg in "--flow" "--grip-value 30" "--via-stride 5" "--no-tilt-fix" "--episode x"; do
     so101_setup; run --model so101a $arg
@@ -781,7 +781,7 @@ so101_setup; run --model so101a --exec-steps 4 --no-prefetch
 check "--no-prefetch をそのまま渡す (依頼 285)" '[ $RC = 0 ] && grep -q -- "so101/run_so101_policy.py .* --step 2999 --exec-steps 4 --no-prefetch$" "$T/py.log" && has out.txt "[SO101 ] 次の問い合わせ: 答えを使い切ってから (--no-prefetch"'
 rm -rf "$T"
 setup; run --no-prefetch
-check "mechArm の --model に --no-prefetch は付けられない (依頼 285)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--no-prefetch は --model so101a だけ"'
+check "mechArm の --model に --no-prefetch は付けられない (依頼 285)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--no-prefetch は --model so101a・so101b だけ"'
 rm -rf "$T"
 so101_setup; run --model so101a --play-speed 0.8
 check "--play-speed 0.8 をそのまま渡し, [SO101] で出す (依頼 288)" '[ $RC = 0 ] && grep -q -- "so101/run_so101_policy.py .* --step 2999 --play-speed 0.8$" "$T/py.log" && has out.txt "[SO101 ] 答えを流す速さ: 0.8 (--play-speed"'
@@ -795,7 +795,7 @@ for bad in 0 0.0 1.5 2 abc -0.5 ""; do
     rm -rf "$T"
 done
 setup; run --play-speed 0.8
-check "mechArm の --model に --play-speed は付けられない (依頼 288)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--play-speed は --model so101a だけ"'
+check "mechArm の --model に --play-speed は付けられない (依頼 288)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--play-speed は --model so101a・so101b だけ"'
 rm -rf "$T"
 # 依頼 285: so101a も 2 回目の試行から --skip-first-confirm を渡す (mechArm と同じ. 端末を作って y・y・n を打つ)
 so101_setup; state $ID_OLD; pod 200 "$RUNNING"; probe 1 1 1 1 1; serve_dir /workspace/ckpt/so101_teleop_even_v1_2999
@@ -808,6 +808,33 @@ check "フォルダからモデルの名前 (so101a)" '[ "$(lab_model_of_dir /wo
 check "--help に so101a と --exec-steps の説明が入る" './lab_start.sh --help | grep -qF "so101a = SO-101 のお手本 50 本" && ./lab_start.sh --help | grep -qF -- "--exec-steps N (1〜10)"'
 check "--help に --play-speed の説明が入る (依頼 288)" './lab_start.sh --help | grep -qF -- "--play-speed X (0 より大きく 1 まで"'
 
+echo "== so101b (依頼 289): so101a と同じ流れで, 答えが 30 コマのモデル"
+so101_setup; run --model so101b
+check "so101b: 終了コード 0" '[ $RC = 0 ]'
+check "Hugging Face の so101b を /workspace/ckpt/so101_teleop_even_h30_v1_2999 に取る" 'has ssh.log "hf download PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1 --local-dir /workspace/ckpt/so101_teleop_even_h30_v1_2999"'
+check "3f で add_so101_config.py --steps 3000 --variant h30 と assets を入れる" 'has ssh.log "add_so101_config.py /workspace/openpi --steps 3000 --variant h30 && mkdir -p assets/pi05_so101_teleop_even_h30_lora/local && cp -r /workspace/ckpt/so101_teleop_even_h30_v1_2999/assets/local/so101_redblock_box_teleop_even_v1 assets/pi05_so101_teleop_even_h30_lora/local/"'
+check "サーバーを pi05_so101_teleop_even_h30_lora で起動する" 'has ssh.log "--policy.config=pi05_so101_teleop_even_h30_lora --policy.dir=/workspace/ckpt/so101_teleop_even_h30_v1_2999"'
+check "so101b: 空打ちとクライアントは so101a と同じ形 (安全範囲も同じ 50 本. step 2999. --exec-steps は付けない)" '[ "$(sed -n 1p "$T/py.log")" = "python3 so101/run_so101_policy.py --warmup --port 8000 --raw-dir $T/data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes" ] && [ "$(sed -n 2p "$T/py.log")" = "python3 so101/run_so101_policy.py --port 8000 --raw-dir $T/data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes --log-dir $T/data/lab/LogT --model so101b (PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1) --step 2999" ]'
+check "so101b: [SO101] の既定は答えの 30 コマ全部・mechArm の行は出さない" 'has out.txt "[SO101 ] 1 回で実行するコマ: 30 (既定. 答えの 30 コマ全部)" && ! has out.txt "[GRIP  ]" && ! has py.log "run_policy_client.py" && ! has out.txt "=== 6."'
+check "記録 lab_pod.json に so101b を残す" '[ "$(jq -r .model "$T/data/lab/LogT/pod/lab_pod.json")" = so101b ]'
+rm -rf "$T"
+so101_setup; run --model so101b --exec-steps 20 --play-speed 0.8
+check "so101b: --exec-steps 20 (10 より多い) と --play-speed をそのまま渡す" '[ $RC = 0 ] && grep -q -- "so101/run_so101_policy.py .* --model so101b .* --step 2999 --exec-steps 20 --play-speed 0.8$" "$T/py.log"'
+rm -rf "$T"
+for bad in 0 31 abc; do
+    so101_setup; run --model so101b --exec-steps "$bad"
+    check "so101b: --exec-steps '$bad' は受けない (終了コード 2・API を呼ばない)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--exec-steps"'
+    rm -rf "$T"
+done
+so101_setup; run --model so101a --exec-steps 11
+check "so101a に --exec-steps 11 は付けられない (答えは 10 コマ. 依頼 289)" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--exec-steps は 1〜10 の整数 (--model so101a の答えは 10 コマ): 11"'
+rm -rf "$T"
+so101_setup; run --model so101b --flow
+check "so101b に mechArm の --flow は付けられない" '[ $RC = 2 ] && [ ! -s "$T/calls.log" ] && has out.txt "--model so101b では mechArm の引数は使えない"'
+rm -rf "$T"
+check "フォルダからモデルの名前 (so101b)" '[ "$(lab_model_of_dir /workspace/ckpt/so101_teleop_even_h30_v1_2999)" = so101b ]'
+check "--help に so101b の説明が入る" './lab_start.sh --help | grep -qF "so101b = so101a と同じデータ・値で, 1 回の答えを 30 コマ"'
+
 echo
 echo "OK $OK / NG $NG"
 [ $NG = 0 ]
diff --git a/test_lab_train.sh b/test_lab_train.sh
index 9f77051..09fd0bb 100755
--- a/test_lab_train.sh
+++ b/test_lab_train.sh
@@ -687,6 +687,20 @@ TD="$T/data/lab/LogT/train"
 check "--stop (--model なし): 記録の model=so101a の設定・exp・準備のログ (prep_so101.log) でログと一覧を取る" '[ $(n_call DELETE) = 1 ] && [ -f "$TD/train_so101_teleop_even_v1.log" ] && [ -f "$TD/prep_so101.log" ] && has ssh.log "cd /workspace/openpi/checkpoints/pi05_so101_teleop_even_lora/so101_teleop_even_v1" && [ "$(jq -r .config.data_name "$TD/train_provenance.json")" = so101_redblock_box_teleop_even_v1 ] && [ "$(jq -r .config.lr_schedule.source "$TD/train_provenance.json")" = "add_so101_config.py --steps 3000" ]'
 rm -rf "$T"
 
+echo "== 12so-b. --model so101b (依頼 289): so101a と同じデータ・値で, 1 回の答えだけ 30 コマ"
+run success --model so101b --limit-hours 7
+CKS="$T/data/checkpoints/pi05_so101_teleop_even_h30_lora_v1"
+check "so101b: 終了コード 0・画面に π0.5 base → 上げる先・steps 3000・上限 7 時間・add_so101_config.py --variant h30・答え 30 コマ" '[ $RC = 0 ] && has out.txt "--model so101b (π0.5 base → PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1)  データ so101_redblock_box_teleop_even_v1" && has out.txt "pi05_so101_teleop_even_h30_lora --exp-name=so101_teleop_even_h30_v1  steps=3000  init=base  上限 7 時間" && has out.txt "decay_steps 3000・decay_lr 5e-6 (add_so101_config.py --steps 3000 --variant h30. deep1b と同じ値)" && has out.txt "1 回の答え (action_horizon): 30 コマ"'
+check "so101b: so101a と同じ tar を送り, pod_prep_so101.sh 3000 h30" 'has scp.log "so101_redblock_box_teleop_even_v1_raw_episodes.tar root@" && has ssh.log "bash /workspace/r2r2r/pi05/openpi_addon/pod_prep_so101.sh 3000 h30 2>&1 | tee /workspace/logs/prep_so101.log" && ! has ssh.log "pod_prep_so101.sh 3000 a" && ! has ssh.log "hf download"'
+check "so101b: 正規化の値は so101b の設定の置き場所で測り直したもの" '[ "$(jq -r .norm_pod "$TD/lab_pod.json")" = assets/pi05_so101_teleop_even_h30_lora/local/so101_redblock_box_teleop_even_v1/norm_stats.json ] && [ -f "$TD/norm_stats.json" ]'
+check "so101b: 学習は pi05_so101_teleop_even_h30_lora --exp-name=so101_teleop_even_h30_v1" 'has ssh.log "uv run scripts/train.py pi05_so101_teleop_even_h30_lora --exp-name=so101_teleop_even_h30_v1 --overwrite > /workspace/logs/train_so101_teleop_even_h30_v1.log"'
+check "so101b: 2999 を pi05-so101-teleop-even-h30-lora-v1 へ上げ, KIOXIA の checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999 に置く" 'has ssh.log "hf_upload_ckpt.py --dir /workspace/openpi/checkpoints/pi05_so101_teleop_even_h30_lora/so101_teleop_even_h30_v1/2999 --repo PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1" && [ -f "$CKS/2999/_CHECKPOINT_METADATA" ] && [ -f "$CKS/2999/assets/local/so101_redblock_box_teleop_even_v1/norm_stats.json" ] && [ ! -e "$T/data/checkpoints/pi05_so101_teleop_even_lora_v1" ]'
+check "so101b: 記録 lab_pod.json と由来 (学習率の予定の source に --variant h30)" '[ "$(jq -r "[.model,.config,.exp,.init,.steps] | join(\" \")" "$TD/lab_pod.json")" = "so101b pi05_so101_teleop_even_h30_lora so101_teleop_even_h30_v1 base 3000" ] && [ "$(jq -r ".config | [.name, .num_train_steps, .lr_schedule.decay_steps, .lr_schedule.source] | join(\" \")" "$TD/train_provenance.json")" = "pi05_so101_teleop_even_h30_lora 3000 3000 add_so101_config.py --steps 3000 --variant h30" ]'
+rm -rf "$T"
+run success --model so101b --steps 300
+check "so101b --steps 300 → Pod を借りずに終了コード 2" '[ $RC = 2 ] && has out.txt "decay_steps (300) が warmup 300 以下" && [ ! -s "$T/calls.log" ]'
+rm -rf "$T"
+
 rm -rf "${OUT1:-}"
 echo
 echo "OK $OK / NG $NG"
```

#### commit a65fda0 の差分（依頼289）

```diff
commit a65fda063629af4510f2112f9562a030a8345032
Date: Tue Nov 24 19:51:36 2026 +0900

依頼 289: 学習のあとお手本 5 本で so101b の答えと待ちを確かめて Pod を消すまでを nohup で流す so101/check_289/after_train_289.sh と作業のまとめ

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/logs/20261124_1955.md b/logs/20261124_1955.md
new file mode 100644
index 0000000..9d978ba
--- /dev/null
+++ b/logs/20261124_1955.md
@@ -0,0 +1,21 @@
+# 2026-11-24 依頼289 SO-101 の答えを30コマにして π0.5 を学び直す (so101b)
+
+## やったこと
+- lab_train.sh / lab_start.sh に --model so101b（so101a と同じデータ・値で action_horizon だけ 30）
+  - 設定 pi05_so101_teleop_even_h30_lora・exp so101_teleop_even_h30_v1・上げる先 PixelstoMotors/pi05-so101-teleop-even-h30-lora-v1（非公開）・KIOXIA checkpoints/pi05_so101_teleop_even_h30_lora_v1/
+- add_so101_config.py --variant h30（既定 a は前と同じ config.py の中身。前の版と並べて一致を確かめた）
+- pod_prep_so101.sh <steps> h30、check_pad_so101.py（足りないコマの埋め方を見て出すだけ）
+- run_so101_policy.py: 答えのコマ数をサーバーの1回目の答えから読む。--exec-steps 既定は全部（1〜30、答えより多ければ止める）
+- check_289_replay_demo.py（お手本5本・30コマと先頭10コマの差・待ち）
+- so101/check_289/after_train_289.sh（学習のあと serve-only → お手本を流す → lab_stop を nohup で自動）
+- commit f755b08
+
+## テスト
+test_lab_start 300・test_lab_train 288・test_run_so101_policy 49・test_so101_train 9・test_lerobot_safe_259 64 件 OK。
+so101a・deep1b・corr の lab_train ドライランの出力は前の版と時刻・番号以外同じ。
+
+## 学習（so101_Log10/train）
+- Pod wy6239vev0mcah・A40・0.59 ドル/時。19:35 学習開始。終わりの見込み 01:45 ごろ（上限 02:17）
+- 正規化の値 sha256 76effd23c1504b8935c19f03c1c259d8cd492f06b5adbbb050d197089115e331
+- 足りないコマ: 本の最後の actions をくり返して埋める・openpi は actions_is_pad を使わない・1450/25324 コマ
+- 途中経過: KIOXIA lab/so101_Log10/train/progress_289.md
diff --git a/so101/check_289/after_train_289.sh b/so101/check_289/after_train_289.sh
new file mode 100755
index 0000000..0c9dfa3
--- /dev/null
+++ b/so101/check_289/after_train_289.sh
@@ -0,0 +1,51 @@
+#!/bin/bash
+# after_train_289.sh — so101b の学習 (lab_train.sh --log so101_Log10 --model so101b) が終わるのを待ち,
+# 成功していれば推論の確かめ (お手本 5 本を流す) をして Pod を消す (依頼 289. フォロワー・カメラは使わない).
+# 依頼箱の時間切れで Claude が止められても最後まで進むように nohup で切り離して流す.
+#
+#   nohup so101/check_289/after_train_289.sh <lab_train の pid> > <記録> 2>&1 &
+#
+# 1. lab_train.sh の pid が終わるまで待つ
+# 2. lab/so101_Log10/train/ の一番新しい result_*.txt が「成功: 学習が終わりました」で, KIOXIA に 2999 があるときだけ進む
+# 3. lab_start.sh --log so101_Log10 --model so101b --serve-only を裏で流し, サーバーが待つまで待つ (上限 60 分)
+# 4. check_289_replay_demo.py (結果は so101/check_289/ と KIOXIA の lab/so101_Log10/289/)
+# 5. lab_start.sh に TERM → lab_stop.sh --log so101_Log10 → lab_stop.sh --check で残りがないかを確かめる
+set -u
+HERE="$(cd "$(dirname "$0")/../.." && pwd)"
+cd "$HERE" || exit 1
+PID="${1:?lab_train.sh の pid}"
+LOG=so101_Log10
+LAB=/Volumes/KIOXIA/r2r2r-data/lab/$LOG
+CK=/Volumes/KIOXIA/r2r2r-data/checkpoints/pi05_so101_teleop_even_h30_lora_v1/2999
+PY=/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python
+OUT=$LAB/289
+mkdir -p "$OUT"
+say() { echo "[289   ] $(date '+%Y-%m-%d %H:%M:%S') $*"; }
+
+say "lab_train.sh (pid $PID) が終わるのを待つ"
+while kill -0 "$PID" 2>/dev/null; do sleep 60; done
+R=$(ls -t "$LAB"/train/result_*.txt 2>/dev/null | head -1)
+say "学習の結果: ${R:-なし}"
+[ -n "$R" ] && grep -q "成功: 学習が終わりました" "$R" || { say "学習が成功していないので推論の確かめはしない"; exit 1; }
+[ -f "$CK/_CHECKPOINT_METADATA" ] || { say "KIOXIA に 2999 がない: $CK"; exit 1; }
+
+say "lab_start.sh --model so101b --serve-only を始める"
+./lab_start.sh --log $LOG --model so101b --serve-only < /dev/null > "$OUT/lab_start_serve_only.txt" 2>&1 &
+SPID=$!
+t0=$SECONDS; ok=0
+while kill -0 $SPID 2>/dev/null && [ $((SECONDS - t0)) -lt 3600 ]; do
+    grep -q "\[SERVE \] --serve-only: サーバー" "$OUT/lab_start_serve_only.txt" && { ok=1; break; }
+    sleep 10
+done
+if [ $ok = 1 ]; then
+    say "サーバーが待っている. お手本を流す"
+    "$PY" so101/check_289_replay_demo.py --port 8000 --out-dir so101/check_289 2>&1 | tee "$OUT/replay_demo_289.txt"
+    cp so101/check_289/replay_demo_*.json "$OUT/" 2>/dev/null
+else
+    say "サーバーが待つところまで行かなかった (lab_start の記録 $OUT/lab_start_serve_only.txt)"
+fi
+kill -TERM $SPID 2>/dev/null; sleep 10
+say "lab_stop.sh で Pod を消す"
+./lab_stop.sh --log $LOG < /dev/null
+./lab_stop.sh --log $LOG --check < /dev/null && say "Pod は残っていない" || say "[ERROR] Pod が残っているかもしれない. ./lab_stop.sh --log $LOG"
+say "終わり"
```

#### commit e1683e4 の差分（依頼289）

````diff
commit e1683e41a4b05a14907e9e53773e6ba3a713c48e
Date: Tue Nov 24 20:42:03 2026 +0900

依頼 289: 学習とお手本の確かめが終わったら so101a と並べた結果を KIOXIA lab/so101_Log10/289/report_289.md に書く so101/check_289/report_289.py

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/so101/check_289/report_289.py b/so101/check_289/report_289.py
new file mode 100644
index 0000000..517ef3f
--- /dev/null
+++ b/so101/check_289/report_289.py
@@ -0,0 +1,78 @@
+"""依頼 289 の結果を 1 つの md にまとめる (学習・推論の確かめが終わってから. after_train_289.sh のあとに流す).
+
+    python3 so101/check_289/report_289.py     → KIOXIA lab/so101_Log10/289/report_289.md
+
+so101a (依頼 282 の so101_Log08/train・依頼 285 の check_285 の jpeg) と並べる.
+"""
+import glob
+import json
+import re
+from pathlib import Path
+
+ROOT = Path("/Volumes/KIOXIA/r2r2r-data/lab")
+B = ROOT / "so101_Log10"
+A_TRAIN = ROOT / "so101_Log08/train/train_so101_teleop_even_v1.log"
+B_TRAIN = B / "train/train_so101_teleop_even_h30_v1.log"
+HERE = Path(__file__).resolve().parent
+A_REPLAY = HERE.parent / "check_285/replay_demo_20261124_161255.json"
+YEN = 158
+
+
+def losses(p):
+    out = {}
+    if p.exists():
+        for m in re.finditer(r"Step (\d+): .*?loss=([0-9.]+)", p.read_text(errors="ignore")):
+            s = int(m.group(1))
+            if s % 500 == 0 or s == 2999:
+                out[s] = float(m.group(2))
+    return out
+
+
+def main():
+    lines = ["# 依頼289 結果（so101b・答え30コマ）", ""]
+    res = sorted(glob.glob(str(B / "train/result_*.txt")))
+    lines += ["## 学習のまとめ（lab_train.sh の result）", "", "```", Path(res[-1]).read_text().strip() if res else "なし", "```", ""]
+    la, lb = losses(A_TRAIN), losses(B_TRAIN)
+    lines += ["## loss（500 ステップごと）", "", "| step | so101a (10コマ) | so101b (30コマ) |", "|---|---|---|"]
+    for s in sorted(set(la) | set(lb)):
+        lines.append(f"| {s} | {la.get(s, '')} | {lb.get(s, '')} |")
+    lines.append("")
+    prov = B / "train/train_provenance.json"
+    if prov.exists():
+        c = json.loads(prov.read_text()).get("compute", {})
+        usd = c.get("cost_usd")
+        lines += [f"GPU {c.get('gpu')}・借りた時間 {c.get('duration_sec')} 秒・約 {usd} ドル"
+                  f"（約 {round(usd * YEN) if usd is not None else '?'} 円）・学習開始 {c.get('train_started_at')}・終わり {c.get('ended_at')}", ""]
+    reps = sorted(glob.glob(str(B / "289/replay_demo_*.json")))
+    lines += ["## お手本5本（jpeg で送る・10 コマおき）", ""]
+    if reps:
+        r = json.loads(Path(reps[-1]).read_text())
+        a = json.loads(A_REPLAY.read_text())["jpeg"] if A_REPLAY.exists() else {}
+        h = r["horizon"]
+        lines += [f"答えのコマ数 {h}（サーバーの答えから）", "",
+                  "| | so101a | so101b |", "|---|---|---|",
+                  f"| 差の中央値 先頭10コマ (関節5つ・爪) | {a.get('all', {}).get('median')} | {r['head_10']['median']} |",
+                  f"| 差の最大 先頭10コマ | {a.get('all', {}).get('max')} | {r['head_10']['max']} |",
+                  f"| 差の中央値 全 {h} コマ | - | {r[f'all_{h}']['median']} |",
+                  f"| 差の最大 全 {h} コマ | - | {r[f'all_{h}']['max']} |",
+                  f"| 答えが返るまで 中央値 / 最大 / p90 (秒) | {a.get('latency_s', {}).get('median')} / {a.get('latency_s', {}).get('max')} / {a.get('latency_s', {}).get('p90')}"
+                  f" | {r['latency_s']['median']} / {r['latency_s']['max']} / {r['latency_s']['p90']} |",
+                  f"| 1回の答えの長さ (秒) | 0.33 | {h / 30:.2f} |", "",
+                  "答えの何コマ目かごとの差の中央値（0・9・19・29 コマ目）: "
+                  + str([r["median_by_chunk_step"][k] for k in (0, 9, 19, h - 1) if k < h]), "",
+                  "場所ごと（先頭10コマの差の中央値 / 全コマの差の中央値）:", ""]
+        for p, v in r["by_place"].items():
+            lines.append(f"- 場所{p} {v['episode']} {v['queries']} 回: {v['head_10']['median']} / {v[f'all_{h}']['median']}")
+    else:
+        lines.append("結果なし（after_train_289.txt を見る）")
+    lines += ["", "## 片付け", "", "```"]
+    t = B / "289/after_train_289.txt"
+    lines += [ln for ln in (t.read_text(errors="ignore").splitlines() if t.exists() else []) if ln.startswith("[289")]
+    lines += ["```", ""]
+    out = B / "289/report_289.md"
+    out.write_text("\n".join(lines) + "\n")
+    print(out)
+
+
+if __name__ == "__main__":
+    main()
````

#### commit a34853d の差分（依頼289）

```diff
commit a34853d691626c7f1e1e2b5470b185de3d9a60fd
Date: Tue Nov 24 20:52:15 2026 +0900

依頼 289: 作業のまとめに途中経過を足す

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>


diff --git a/logs/20261124_1955.md b/logs/20261124_1955.md
index 9d978ba..a4c3316 100644
--- a/logs/20261124_1955.md
+++ b/logs/20261124_1955.md
@@ -19,3 +19,6 @@ so101a・deep1b・corr の lab_train ドライランの出力は前の版と時
 - 正規化の値 sha256 76effd23c1504b8935c19f03c1c259d8cd492f06b5adbbb050d197089115e331
 - 足りないコマ: 本の最後の actions をくり返して埋める・openpi は actions_is_pad を使わない・1450/25324 コマ
 - 途中経過: KIOXIA lab/so101_Log10/train/progress_289.md
+- 20:41 step 504 loss 0.0103（so101a の Step 500 は 0.0146）。20:51 step 590 loss 0.0101
+- 学習のあとは nohup で自動: after_train_289.sh（lab_start --serve-only → check_289_replay_demo.py → lab_stop → --check）→ report_289.py（lab/so101_Log10/289/report_289.md）
+- commit f755b08・a65fda0・e1683e4
```


## 作業ログ ― 使ったコード（全量）

ここまでの差分は依頼ごとに載せた。依頼287 を終えた時点（commit 0c0add8）のクライアントとサーバー側の変換を、ファイルの全文で載せる。

### so101/run_so101_policy.py（commit 0c0add8 の時点）

```python
"""SO-101 の π0.5 (so101a) を実機で動かす Mac 側のクライアント (依頼 283).

mechArm の pi05/run_policy_client.py は使わない (カメラ 2 台・関節 6 つ・LeRobot で動かすため別に作った).
サーバーは lab_start.sh --model so101a が Pod に立て, Mac の localhost:8000 へトンネルを張ったもの.

使い方 (conda の lerobot 環境の python で. lab_start.sh --model so101a が呼ぶ):
    python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/<Log>              ドライラン (フォロワーに送らない)
    python so101/run_so101_policy.py --log-dir /Volumes/KIOXIA/r2r2r-data/lab/<Log> --execute    フォロワーに送る
    python so101/run_so101_policy.py --warmup                                                  空打ち (lab_start.sh の 5b)
    --exec-steps N (1〜10): 答えの 10 コマのうち先頭 N コマ (0〜N-1 番目) までを使う (既定 10 = 全部. 0.33 秒)
    --no-prefetch: 答えを実行し終えてから次を問い合わせる (依頼 283 の形. 付けなければ先に問い合わせる. 依頼 285)
    --skip-first-confirm: 始めの確かめ (Enter) を待たない (lab_start.sh が 2 回目の試行から付ける. mechArm と同じ. 依頼 285)

1 回の流れ:
  1. ブロックの場所の番号 (1〜5) を聞く
  2. カメラ 2 台をお手本と同じ設定 (camera_lock_259_desk.json・camera_lock_259_wrist.json・640x480・30fps・MJPG) で開く.
     --execute ならフォロワー・リーダーに lerobot_safe_259.py の入口 (A: 力を入れる前に目標を今の位置に /
     B: 前に送った目標から 1 コマ 関節 10°・爪 20 まで / 力を抜く前に休みの姿勢) を通してつなぐ
  3. 1 回目の答えを出して見せ, Enter で確かめる (確かめはこの 1 回だけ. --skip-first-confirm なら待たない)
  4. 30fps で 1 コマずつ送る. 次の問い合わせは, 今の答えの残りが r コマになったコマの観測で先に出しておく (依頼 285).
       r は答えが返るまでの時間 (直近 5 回の中央値) をコマに直したもの. ただし使える N コマ (--exec-steps) の半分まで.
       次の答えは r 番目から使う (問い合わせを出したコマから r コマは今の答えで動いたので, 答えの 0〜r-1 番目は
       もう過ぎた時刻の目標. 先頭から使うと r コマ分戻る). 今の答えを使い切っても次が返っていなければ待つ (その間は送らない).
       飛びはこれまでどおり入口の B (1 コマ 関節 10°・爪 20) で抑える. 新しい停止の条件は足さない.
       --no-prefetch なら依頼 283 の形 (答えのコマを使い切ってから問い合わせ, 次の答えは 0 番目から)
       スペース: 一時停止 (その場で止める. 関節 5 つの目標を今の位置に. 爪は前の目標のまま (つかんだ物を落とさない))
       一時停止中に t: リーダーでの手直し (テレオペ) に切り替える. もう一度 t で推論に戻る
       一時停止中にスペース: 推論に戻る / q: 終わる
     このほかに止まる所・確かめる所は足さない (依頼 283)
  5. 結果 (y=成功 / n=失敗 / Enter=記録しない) を聞き, 記録を書いて閉じる (閉じるときは入口が休みの姿勢を確かめる)

送る形 (pi05/openpi_addon/so101_policy.py の keys):
  observation/desk_image・observation/wrist_image: 640x480 を 320x240 に BOX で縮め, JPEG 品質 95 で書いたバイト列
  (お手本 export_so101_raw_episodes.py と同じ作り方. 依頼 285 から読み直さずにバイト列のまま送り, サーバーの
  so101_policy.py が PIL で読み戻す = 学習のコマと同じ画像) / observation/state: 関節 6 つ (float32) / prompt: PROMPT
受ける形: actions (10, 6). サーバーの設定 (add_so101_config.py) は出口で AbsoluteActions (関節 5 つに state を足す) を
  通すので, 返ってくる値は絶対値 (依頼 283 の確かめ: お手本を流して比べた. check_283_replay_demo.py).
  SERVER_RETURNS_ABSOLUTE を False にすると関節 5 つに今の角度を足す (爪は絶対値のまま)
安全範囲: 学習の 50 本 (--raw-dir の episode.npz の state と actions) の関節ごとの最小〜最大 ±10. 爪はさらに 0〜100 で切る
  (依頼 285. 下の端が -10 にならないように). 外へ出る目標は端で切って送る (止めない)

記録 (1 回ごと):
  LeRobot v3.0 (お手本と同じ形・同じ道具で開ける): observation.state (実測)・action (送ろうとした目標. 安全範囲で切ったあと・
    B の前. お手本の action と同じ位置づけ)・observation.images.desk / wrist (640x480)・時刻 timestamp に加えて
    ptm.sent (B で切ったあと実際に送った値)・ptm.mode (0=model / 1=correct / 2=pause)・ptm.chunk_step (答えの何番目のコマか.
    0〜9. model 以外は -1)・ptm.chunk_id (何回目の問い合わせの答えか. model 以外は -1)・ptm.t_wall (UNIX 秒)
  LeRobot の入口は KIOXIA に記録を作らせないので, ~/so101_runs/<Log>/<試行>/ に書いてから
  <--log-dir>/so101/<試行>/ へ写す (Hugging Face には送らない)
  <--log-dir>/so101_trials.csv に 1 行: 試行・だれが動かしたか (AI / AI+人の手直し)・場所・モデル・step・--exec-steps・
  先に問い合わせたか・結果・答えの切り替えで腕が止まった時間 など
  n (失敗) のときは, どこで失敗したかの番号 (FAIL_REASONS. 1〜6) も聞いて fail_reason に残す (依頼 286)
電流 (依頼 286): --currents lift_grip / all で, 1 コマごとにフォロワーの Present_Current (STS3215 の番地 69・2 バイト.
  1 = 6.5 mA. rustypot の sts3215 の表も 69・2) を読み, 記録の ptm.current (生の値) に残す. 既定 off は読まない (今までどおり)
"""

import argparse
import csv
import io
import json
import os
import shutil
import math
import statistics
import sys
import time
from concurrent.futures import ThreadPoolExecutor
from datetime import datetime
from pathlib import Path

import numpy as np
from PIL import Image

HERE = Path(__file__).resolve().parent
sys.path.insert(0, str(HERE))
sys.path.insert(0, str(HERE.parent / "pi05"))

MOTORS = ["shoulder_pan", "shoulder_lift", "elbow_flex", "wrist_flex", "wrist_roll", "gripper"]
JOINTS = [f"{m}.pos" for m in MOTORS]
PROMPT = "Put the red block into the white box"       # so101_policy.py・お手本の課題の言葉と同じ
FPS = 30
HORIZON = 10
CAM_W, CAM_H = 640, 480
OUT_W, OUT_H = 320, 240
JPEG_Q = 95
RANGE_MARGIN = 10.0
GRIP_MIN, GRIP_MAX = 0.0, 100.0         # 爪の安全範囲の外枠 (依頼 285)
LEAD_WINDOW = 5                         # 先に問い合わせるコマ数を決める, 答えが返るまでの時間の直近の回数
SERVER_RETURNS_ABSOLUTE = True
DEFAULT_RAW = Path("/Volumes/KIOXIA/r2r2r-data/datasets/so101_redblock_box_teleop_even_v1/raw_episodes")
LOCAL_RUNS = Path.home() / "so101_runs"
TRIALS_CSV = "so101_trials.csv"
TRIAL_COLUMNS = ["trial", "started_at", "operator", "place", "model", "step", "exec_steps", "execute", "result",
                 "frames", "frames_model", "frames_correct", "frames_pause", "queries", "latency_median_s",
                 "latency_max_s", "clipped_frames", "record_dir", "prefetch", "payload_bytes", "stall_median_s",
                 "stall_max_s", "stall_total_s", "fail_reason", "currents"]
MODEL, CORRECT, PAUSE = 0, 1, 2
MODE_NAMES = {MODEL: "model", CORRECT: "correct", PAUSE: "pause"}
CAMERAS = ("desk", "wrist")
CURRENT_SETS = {"off": [], "lift_grip": ["shoulder_lift", "gripper"], "all": list(MOTORS)}    # --currents (依頼 286)
FAIL_REASONS = {"1": "ブロックまで行かない", "2": "つかめない", "3": "持ち上げで落とす", "4": "箱まで運べない",
                "5": "箱の外に落とす", "6": "その他"}


# ---- 画像・観測・答え (アームなしで確かめられる部分) ---------------------------------------------

def encode_jpeg(rgb):
    """カメラの RGB (480, 640, 3) をお手本と同じ作り方で 320x240 の JPEG のバイト列にする (BOX で縮め, 品質 95.
    export_so101_raw_episodes.py が学習のコマを書くのと同じ). 依頼 285 からこのバイト列のままサーバーへ送る."""
    img = Image.fromarray(np.asarray(rgb, dtype=np.uint8)).resize((OUT_W, OUT_H), Image.Resampling.BOX)
    buf = io.BytesIO()
    img.save(buf, format="JPEG", quality=JPEG_Q)
    return buf.getvalue()


def decode_jpeg(data):
    """JPEG のバイト列 → RGB の配列 (サーバーの so101_policy.decode_jpeg・convert_so101_to_lerobot.py と同じ読み方)."""
    with Image.open(io.BytesIO(bytes(data))) as im:
        return np.asarray(im.convert("RGB"))


def prep_image(rgb):
    """サーバーが受け取る画像 (320x240 の JPEG を読み戻した RGB). 確かめ用."""
    return decode_jpeg(encode_jpeg(rgb))


def make_obs(state, desk, wrist, prompt=PROMPT):
    """サーバーへ送る形 (so101_policy.py の keys). desk・wrist は 320x240 の JPEG のバイト列 (encode_jpeg.
    学習の jpg ファイルの中身でもよい). 配列 (320x240 の RGB) も受ける (サーバーはどちらも読める)."""
    state = np.asarray(state, dtype=np.float32)
    if state.shape != (6,):
        raise ValueError(f"state は関節 6 つ: {state.shape}")
    ims = {}
    for name, im in (("desk", desk), ("wrist", wrist)):
        if isinstance(im, (bytes, bytearray)):
            with Image.open(io.BytesIO(bytes(im))) as pim:
                if pim.format != "JPEG" or pim.size != (OUT_W, OUT_H):
                    raise ValueError(f"{name} の画像は {OUT_W}x{OUT_H} の JPEG: {pim.format} {pim.size}")
            ims[name] = bytes(im)
        else:
            if np.asarray(im).shape != (OUT_H, OUT_W, 3):
                raise ValueError(f"{name} の画像は ({OUT_H}, {OUT_W}, 3): {np.asarray(im).shape}")
            ims[name] = np.asarray(im, dtype=np.uint8)
    return {"observation/desk_image": ims["desk"], "observation/wrist_image": ims["wrist"],
            "observation/state": state, "prompt": prompt}


def to_absolute(actions, state, already_absolute=SERVER_RETURNS_ABSOLUTE):
    """答え (10, 6) を絶対値にする. already_absolute でなければ関節 5 つに今の角度を足す (爪はそのまま)."""
    a = np.asarray(actions, dtype=np.float64)
    if a.ndim != 2 or a.shape[1] != 6 or a.shape[0] < 1:
        raise ValueError(f"答えの形が (N, 6) ではない: {a.shape}")
    if not np.all(np.isfinite(a)):
        raise ValueError("答えに数でない値がある")
    if already_absolute:
        return a.copy()
    out = a.copy()
    out[:, :5] += np.asarray(state, dtype=np.float64)[:5]
    return out


def load_safe_range(raw_dir, margin=RANGE_MARGIN):
    """学習の本 (raw_dir/*/episode.npz の state と actions) の関節ごとの最小・最大に ±margin. 爪はさらに 0〜100 で切る
    (依頼 285). → (lo, hi, 本数)"""
    eps = sorted(p for p in Path(raw_dir).glob("[!.]*/episode.npz"))
    if not eps:
        raise FileNotFoundError(f"安全範囲を作る学習データがない: {raw_dir}")
    lo, hi = np.full(6, np.inf), np.full(6, -np.inf)
    for p in eps:
        z = np.load(p)
        for k in ("state", "actions"):
            v = np.asarray(z[k], dtype=np.float64)
            if v.ndim != 2 or v.shape[1] != 6:
                raise ValueError(f"{p} の {k} が (N, 6) ではない: {v.shape}")
            lo, hi = np.minimum(lo, v.min(0)), np.maximum(hi, v.max(0))
    lo, hi = lo - margin, hi + margin
    lo[5], hi[5] = max(lo[5], GRIP_MIN), min(hi[5], GRIP_MAX)
    return lo, hi, len(eps)


def clip_to_range(target, lo, hi):
    """安全範囲の端で切る (止めない). → (切った値, 切った関節の真偽)"""
    t = np.asarray(target, dtype=np.float64)
    c = np.clip(t, lo, hi)
    return c, np.abs(c - t) > 1e-9


def plan_chunk(actions_abs, exec_steps, lo, hi, skip=0):
    """答え (絶対値) の skip〜exec_steps-1 番目を安全範囲で切った [(答えの何番目, 目標, 切ったか)].
    skip: 先に問い合わせたとき, 問い合わせを出してから前の答えで動いたコマ数 (その分の目標はもう過ぎている. 依頼 285)"""
    if not 1 <= exec_steps <= HORIZON:
        raise ValueError(f"--exec-steps は 1〜{HORIZON}: {exec_steps}")
    if not 0 <= skip < exec_steps:
        raise ValueError(f"飛ばすコマ {skip} は 0〜{exec_steps - 1}")
    out = []
    for k in range(skip, min(exec_steps, len(actions_abs))):
        t, cut = clip_to_range(actions_abs[k], lo, hi)
        out.append((k, t, bool(cut.any())))
    return out


def prefetch_lead(latencies, exec_steps, fps=FPS, window=LEAD_WINDOW):
    """先に問い合わせるコマ数 r (依頼 285): 答えが返るまでの時間 (直近 window 回の中央値) をコマに直して切り上げたもの.
    ただし exec_steps の半分まで (次の答えは r 番目から使うので, 使えるのは exec_steps - r コマ. これが r より少ないと,
    次の問い合わせを答えの始めに出しても間に合わず, 毎回の待ちが長くなる). exec_steps 1 なら 0 (先に出せない)."""
    cap = exec_steps // 2
    if not latencies:
        return cap
    lead = math.ceil(statistics.median(latencies[-window:]) * fps)
    return max(1, min(lead, cap)) if cap else 0


def next_mode(mode, key):
    """キーで次の状態. → (次の状態, 終わるか). スペース: 推論 ⇄ 一時停止 (手直し中は一時停止へ) /
    t: 一時停止 → 手直し, 手直し → 推論 (推論中の t は何もしない) / q: 終わる"""
    if key == "q":
        return mode, True
    if key == " ":
        return (PAUSE if mode in (MODEL, CORRECT) else MODEL), False
    if key == "t":
        if mode == PAUSE:
            return CORRECT, False
        if mode == CORRECT:
            return MODEL, False
    return mode, False


def pause_target(present, last_goal):
    """一時停止の目標: 関節 5 つは今の位置 (その場で止める), 爪は前の目標のまま (つかんだ物を落とさない)."""
    t = np.asarray(present, dtype=np.float64).copy()
    t[5] = float(np.asarray(last_goal, dtype=np.float64)[5])
    return t


def operator_of(modes):
    return "AI+人の手直し" if CORRECT in set(modes) else "AI"


def latency_stats(lat):
    if not lat:
        return None, None
    return float(statistics.median(lat)), float(max(lat))


def stall_of(gaps, fps=FPS):
    """答えを切り替えたときの送りの間 (秒) → 腕が止まった時間 (いつものコマの間 1/fps を引いたもの. 0 より小さければ 0)"""
    return [max(0.0, g - 1.0 / fps) for g in gaps]


# ---- 記録 (LeRobot v3.0) ------------------------------------------------------------------------

def dataset_features(current_motors=()):
    f = {
        "observation.state": {"dtype": "float32", "shape": (6,), "names": JOINTS},
        "action": {"dtype": "float32", "shape": (6,), "names": JOINTS},
        "ptm.sent": {"dtype": "float32", "shape": (6,), "names": JOINTS},
        "ptm.mode": {"dtype": "int64", "shape": (1,), "names": None},
        "ptm.chunk_step": {"dtype": "int64", "shape": (1,), "names": None},
        "ptm.chunk_id": {"dtype": "int64", "shape": (1,), "names": None},
        "ptm.t_wall": {"dtype": "float64", "shape": (1,), "names": None},
    }
    if current_motors:              # --currents (依頼 286). off のときは列を作らない (今までどおり)
        f["ptm.current"] = {"dtype": "float32", "shape": (len(current_motors),), "names": list(current_motors)}
    for c in CAMERAS:
        f[f"observation.images.{c}"] = {"dtype": "video", "shape": (CAM_H, CAM_W, 3),
                                         "names": ["height", "width", "channels"]}
    return f


class Recorder:
    """1 回の試行を LeRobot v3.0 の 1 本として書く (お手本と同じ列 + ptm.*)."""

    def __init__(self, root, repo_id, use_videos=True, current_motors=()):
        from lerobot.datasets.lerobot_dataset import LeRobotDataset
        self.root = Path(root)
        self.current_motors = list(current_motors)
        self.ds = LeRobotDataset.create(repo_id=repo_id, fps=FPS, features=dataset_features(self.current_motors),
                                        root=self.root,
                                        robot_type="so_follower", use_videos=use_videos)
        self.modes, self.n = [], 0

    def add(self, state, desk, wrist, action, sent, mode, chunk_step=-1, chunk_id=-1, t_wall=None, current=None):
        frame = {
            "observation.state": np.asarray(state, dtype=np.float32),
            "action": np.asarray(action, dtype=np.float32),
            "ptm.sent": np.asarray(sent, dtype=np.float32),
            "ptm.mode": np.array([mode], dtype=np.int64),
            "ptm.chunk_step": np.array([chunk_step if mode == MODEL else -1], dtype=np.int64),
            "ptm.chunk_id": np.array([chunk_id if mode == MODEL else -1], dtype=np.int64),
            "ptm.t_wall": np.array([time.time() if t_wall is None else t_wall], dtype=np.float64),
            "observation.images.desk": np.asarray(desk, dtype=np.uint8),
            "observation.images.wrist": np.asarray(wrist, dtype=np.uint8),
            "task": PROMPT,
        }
        if self.current_motors:
            c = np.full(len(self.current_motors), np.nan) if current is None else current
            frame["ptm.current"] = np.asarray(c, dtype=np.float32)
        self.ds.add_frame(frame)
        self.modes.append(mode)
        self.n += 1

    def close(self):
        if self.n:
            self.ds.save_episode()
        self.ds.finalize()


def copy_record(src, dst):
    """ローカルの記録を KIOXIA へ写す (._ は写さない). 写したあと, ファイルの数とバイト数が同じかを確かめる."""
    src, dst = Path(src), Path(dst)
    if dst.exists():
        raise FileExistsError(f"もうある (上書きしない): {dst}")
    shutil.copytree(src, dst, ignore=shutil.ignore_patterns("._*", ".DS_Store"))
    a = sorted((p.relative_to(src), p.stat().st_size) for p in src.rglob("*") if p.is_file() and not p.name.startswith("._"))
    b = sorted((p.relative_to(dst), p.stat().st_size) for p in dst.rglob("*") if p.is_file() and not p.name.startswith("._"))
    if a != b:
        raise IOError(f"写した記録が元と違う: {src} → {dst}")
    return len(a)


def append_trial(csv_path, row):
    csv_path = Path(csv_path)
    new = not csv_path.exists()
    with open(csv_path, "a", newline="") as f:
        w = csv.DictWriter(f, fieldnames=TRIAL_COLUMNS)
        if new:
            w.writeheader()
        w.writerow({c: row.get(c, "") for c in TRIAL_COLUMNS})


# ---- サーバー -----------------------------------------------------------------------------------

class Policy:
    def __init__(self, port, client=None):
        if client is None:
            from policy_ws import PolicyClient
            client = PolicyClient(port=port, wait_sec=30.0)
        self.client = client
        self.latencies = []
        self.payloads = []          # 1 回に送ったバイト数 (msgpack にしたもの. 依頼 285)

    def infer(self, obs):
        try:
            from policy_ws import packb
            self.payloads.append(len(packb(obs)))
        except ImportError:         # テストの偽のサーバー
            pass
        t0 = time.perf_counter()
        out = self.client.infer(obs)
        self.latencies.append(time.perf_counter() - t0)
        a = np.asarray(out["actions"])
        if a.shape != (HORIZON, 6):
            raise ValueError(f"答えの形が ({HORIZON}, 6) ではない: {a.shape}")
        return a

    def close(self):
        self.client.close()


# ---- アーム・カメラ ----------------------------------------------------------------------------

class LiveArm:
    """--execute: lerobot_safe_259.py の入口 (A・B・休みの姿勢) を通したフォロワー・リーダー・カメラ 2 台."""

    def __init__(self, current_motors=()):
        import camera_lock_259 as cl
        import lerobot_safe_259 as safe
        from lerobot.cameras.opencv.configuration_opencv import OpenCVCameraConfig
        from lerobot.robots.so_follower.config_so_follower import SO101FollowerConfig
        from lerobot.robots.so_follower.so_follower import SOFollower
        from lerobot.teleoperators.so_leader.config_so_leader import SO101LeaderConfig
        from lerobot.teleoperators.so_leader.so_leader import SOLeader

        idx = safe.resolve_camera_indexes()
        cl.apply_and_verify()       # 始める前にも当てる (lerobot_safe_259.py の main と同じ)
        safe.install(camera_apply=safe.make_camera_apply(), camera_indexes=idx)
        cams = {k: OpenCVCameraConfig(index_or_path=idx[k], width=safe.CAM_WIDTH, height=safe.CAM_HEIGHT,
                                      fps=safe.CAM_FPS, fourcc=safe.CAM_FOURCC) for k in safe.CAMERAS}
        self.robot = SOFollower(SO101FollowerConfig(port=safe.FOLLOWER_PORT, id=safe.FOLLOWER_ID, cameras=cams,
                                                    use_degrees=True, max_relative_target=None))
        self.leader = SOLeader(SO101LeaderConfig(port=safe.LEADER_PORT, id=safe.LEADER_ID, use_degrees=True))
        self.leader.connect()
        try:
            self.robot.connect()    # A・カメラの固定は入口が行う
        except BaseException:
            self.leader.disconnect()
            raise
        self.last_sent = np.array([self.robot._ptm_last_goal[m] for m in MOTORS], dtype=np.float64)
        self.current_motors = list(current_motors)

    def read_currents(self):
        """フォロワーの Present_Current (生の値. 1 = 6.5 mA) を current_motors の順に. 読まない設定なら None (依頼 286)"""
        if not self.current_motors:
            return None
        c = self.robot.bus.sync_read("Present_Current", self.current_motors)
        return np.array([c[m] for m in self.current_motors], dtype=np.float64)

    def observe(self):
        o = self.robot.get_observation()
        return (np.array([o[j] for j in JOINTS], dtype=np.float64), np.asarray(o["desk"]), np.asarray(o["wrist"]))

    def send(self, target):
        sent = self.robot.send_action({j: float(v) for j, v in zip(JOINTS, target)})     # B が効く
        self.last_sent = np.array([sent[j] for j in JOINTS], dtype=np.float64)
        return self.last_sent

    def leader_target(self):
        a = self.leader.get_action()
        return np.array([a[j] for j in JOINTS], dtype=np.float64)

    def close(self):
        try:
            self.robot.disconnect()     # 入口が休みの姿勢を確かめてから力を抜く (リーダーで戻す)
        finally:
            self.leader.disconnect()


class DryArm:
    """ドライラン: フォロワー・リーダーにはつながない. カメラ 2 台はお手本と同じ設定で開く.
    state は送ったつもりの目標 (始めは休みの姿勢の中心). 送らずにそのまま返す."""

    def __init__(self, cameras=None):
        import lerobot_safe_259 as safe
        self.state = np.array([safe.load_rest_pose()[0][m] for m in MOTORS], dtype=np.float64)
        self.last_sent = self.state.copy()
        if cameras is None:
            import camera_lock_259 as cl
            from lerobot.cameras.opencv.camera_opencv import OpenCVCamera
            from lerobot.cameras.opencv.configuration_opencv import OpenCVCameraConfig
            idx = safe.resolve_camera_indexes()
            cl.apply_and_verify()
            cameras = {k: OpenCVCamera(OpenCVCameraConfig(index_or_path=idx[k], width=safe.CAM_WIDTH,
                                                          height=safe.CAM_HEIGHT, fps=safe.CAM_FPS,
                                                          fourcc=safe.CAM_FOURCC)) for k in safe.CAMERAS}
            for c in cameras.values():
                c.connect()
        self.cameras = cameras
        self.leader = None

    def observe(self):
        return self.state.copy(), np.asarray(self.cameras["desk"].read_latest()), np.asarray(self.cameras["wrist"].read_latest())

    def send(self, target):
        self.state = np.asarray(target, dtype=np.float64).copy()
        self.last_sent = self.state.copy()
        return self.last_sent

    def leader_target(self):
        return None             # ドライランではリーダーにつながない (手直しの間は止めたまま)

    def close(self):
        for c in self.cameras.values():
            try:
                c.disconnect()
            except Exception as e:      # 閉じられなくても記録は書く
                print(f"[CAM   ] 閉じられない: {e}")


class KeyReader:
    """端末からキーを 1 つずつ読む (Enter を待たない). start() から (始めの確かめの Enter のあと). 端末でなければ何も読まない."""

    def __init__(self, stream=None):
        self.stream = stream or sys.stdin
        self.old = None

    def __enter__(self):
        return self

    def start(self):
        if self.old is None and self.stream.isatty():
            import termios
            import tty
            self.old = termios.tcgetattr(self.stream.fileno())
            tty.setcbreak(self.stream.fileno())

    def __exit__(self, *exc):
        if self.old is not None:
            import termios
            termios.tcsetattr(self.stream.fileno(), termios.TCSADRAIN, self.old)
        return False

    def poll(self):
        if self.old is None:
            return None
        import select
        r, _, _ = select.select([self.stream], [], [], 0)
        return os.read(self.stream.fileno(), 1).decode(errors="ignore").lower() if r else None


# ---- 1 回の試行 -----------------------------------------------------------------------------------

def ask_place(inp=input):
    while True:
        raw = inp("ブロックの場所の番号 (1〜5) > ").strip()
        if raw in {"1", "2", "3", "4", "5"}:
            return int(raw)
        print(f"  1〜5 の数字で: {raw!r}")


def ask_result(inp=input):
    while True:
        raw = inp("結果: y=成功 / n=失敗 / Enter=記録しない > ")
        if raw == "":
            return ""
        r = raw.strip().lower()
        if r in ("y", "n"):
            return {"y": "success", "n": "failure"}[r]
        print(f"  分からない入力: {raw!r} (y=成功 / n=失敗 / Enter=記録しない)")


def ask_fail_reason(inp=input):
    """n (失敗) のとき, どこで失敗したかの番号 (1〜6. 依頼 286). Enter なら空"""
    menu = " / ".join(f"{k}={v}" for k, v in FAIL_REASONS.items())
    while True:
        raw = inp(f"どこで失敗した? {menu} > ").strip()
        if raw == "" or raw in FAIL_REASONS:
            return raw
        print(f"  1〜6 の数字で: {raw!r}")


def fmt(v):
    return " ".join(f"{x:+7.1f}" for x in v)


def ask_model(policy, state, desk, wrist):
    """観測 (カメラの 640x480 の RGB) を JPEG にして問い合わせ, 答えを絶対値にする (裏の糸でも呼ぶ)."""
    return to_absolute(policy.infer(make_obs(state, encode_jpeg(desk), encode_jpeg(wrist))), state)


def run_trial(arm, policy, recorder, lo, hi, exec_steps, keys, inp=input, clock=time.perf_counter, sleep=time.sleep,
              out=print, prefetch=True, skip_confirm=False):
    """試行 1 回. 終わったときの情報を返す (記録の close・結果を聞くのは呼ぶ側).
    prefetch: 今の答えの残りが r コマ (prefetch_lead) になったら, そのコマの観測で次を裏で問い合わせておく (依頼 285).
    skip_confirm: 始めの確かめ (Enter) を待たない (2 回目の試行から. 依頼 285)"""
    info = {"queries": 0, "clipped_frames": 0, "frames": 0, "gaps": [], "waits": [], "skips": []}
    state, desk, wrist = arm.observe()
    a = ask_model(policy, state, desk, wrist)
    info["queries"] += 1
    plan = plan_chunk(a, exec_steps, lo, hi)
    out(f"[FIRST ] 今の角度       {fmt(state)}")
    out(f"[FIRST ] 最初の目標     {fmt(plan[0][1])}  (1 コマ 関節 10°・爪 20 までで寄せる)")
    out(f"[FIRST ] 答えの最後の目標 {fmt(a[-1])}  (かかった {policy.latencies[-1]:.2f} 秒)")
    if skip_confirm:
        out("[FIRST ] 始めの確かめは飛ばします (2 回目の試行から)")
    else:
        inp("Enter で始める (Ctrl-C でやめる) > ")
    getattr(keys, "start", lambda: None)()        # ここからキーを 1 つずつ読む
    mode, chunk_id, queue = MODEL, 0, list(plan)
    pending = None              # 先に出した問い合わせ (future, 答えの何番目から使うか)
    last_model_t = None         # 推論のコマを最後に送った時刻 (答えの切り替えの間を測る. 推論が続いている間だけ)
    last_target = np.asarray(arm.last_sent, dtype=np.float64).copy()
    out(f"[RUN   ] 動かしています ({'先に問い合わせる' if prefetch else '--no-prefetch: 使い切ってから問い合わせる'}). "
        "スペース=一時停止 (一時停止中: t=手直し / スペース=推論に戻る / q=終わる)")
    pool = ThreadPoolExecutor(max_workers=1) if prefetch else None
    try:
        nxt = clock()
        while True:
            key = keys.poll()
            if key:
                new, quit_ = next_mode(mode, key)
                if quit_:
                    out("[RUN   ] q で終わります")
                    break
                if new != mode:
                    out(f"[MODE  ] {MODE_NAMES[mode]} → {MODE_NAMES[new]}")
                    if new == PAUSE:
                        p_state, _, _ = arm.observe()
                        last_target = pause_target(p_state, last_target)
                    queue = []           # 推論に戻るときは今の観測で問い合わせ直す
                    pending = None       # 先に出した問い合わせの答えは使わない (裏で終わるのを待つだけ)
                    last_model_t = None
                    mode = new
            state, desk, wrist = arm.observe()      # 1 回目の答えは上で取った (Enter を待つ前). 記録はこのコマの観測
            current = arm.read_currents() if hasattr(arm, "read_currents") else None     # --currents (依頼 286)
            chunk_step, new_chunk = -1, False
            if mode == MODEL:
                if not queue:
                    new_chunk = True
                    t0 = clock()
                    if pending is not None:
                        fut, skip = pending
                        pending = None
                        a = fut.result()             # まだ返っていなければ待つ (その間は送らない)
                    elif pool is not None:           # 始め・一時停止から戻ったとき (裏の糸で前の問い合わせが終わるのを待ってから)
                        skip = 0
                        a = pool.submit(ask_model, policy, state, desk, wrist).result()
                    else:
                        skip = 0
                        a = ask_model(policy, state, desk, wrist)
                    waited = clock() - t0
                    info["waits"].append(waited)
                    info["skips"].append(skip)
                    info["queries"] += 1
                    chunk_id += 1
                    queue = plan_chunk(a, exec_steps, lo, hi, skip=skip)
                    if waited > 0.5 / FPS:
                        nxt = clock()        # 待っていた間は送っていない. ここから 30fps を数え直す
                chunk_step, target, cut = queue.pop(0)
                info["clipped_frames"] += int(cut)
                last_target = target
                sent = arm.send(target)
                t_sent = clock()
                if new_chunk and last_model_t is not None:
                    info["gaps"].append(t_sent - last_model_t)
                last_model_t = t_sent
                if pool is not None and pending is None:
                    left = 1 + len(queue)            # このコマから今の答えで動くコマ数 (= 次の答えで飛ばす数)
                    if left <= prefetch_lead(policy.latencies, exec_steps):
                        pending = (pool.submit(ask_model, policy, state, desk, wrist), left)
            elif mode == CORRECT:
                lt = arm.leader_target()
                if lt is not None:
                    last_target = lt
                    sent = arm.send(lt)
                else:
                    sent = np.asarray(arm.last_sent, dtype=np.float64)
            else:
                sent = arm.send(last_target)
            if current is None:
                recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id)
            else:
                recorder.add(state, desk, wrist, last_target, sent, mode, chunk_step, chunk_id, current=current)
            info["frames"] += 1
            nxt += 1.0 / FPS
            dt = nxt - clock()
            if dt > 0:
                sleep(dt)
            else:
                nxt = clock()
    finally:
        if pool is not None:
            pool.shutdown(wait=False, cancel_futures=True)
    return info


def run(args):
    import lerobot_safe_259 as safe
    lo, hi, n_eps = load_safe_range(args.raw_dir)
    print(f"[RANGE ] 安全範囲 (学習の {n_eps} 本の幅 ±{RANGE_MARGIN:g}) " +
          "  ".join(f"{m} {a:.1f}〜{b:.1f}" for m, a, b in zip(MOTORS, lo, hi)))
    print(f"[MODE  ] {'--execute: フォロワーに送る' if args.execute else 'ドライラン: フォロワーに送らない (カメラだけ開く)'}"
          f"  1 回で実行するコマ {args.exec_steps} / {HORIZON}"
          f"  {'--no-prefetch: 使い切ってから問い合わせる' if args.no_prefetch else '先に問い合わせる'}")
    log_dir = Path(args.log_dir)
    if not log_dir.is_dir():
        sys.exit(f"[ERROR] 記録の置き場所がない: {log_dir}")
    place = args.place or ask_place()            # --place があれば聞かない (依頼 287: 案内した場所をそのまま記録に入れる)
    stamp = datetime.now().strftime("%Y%m%d_%H%M%S")
    trial = f"so101_{stamp}{'' if args.execute else '_dry'}"
    local = LOCAL_RUNS / log_dir.name / trial
    local.parent.mkdir(parents=True, exist_ok=True)
    safe.check_dataset_root(local)
    policy = Policy(args.port)
    current_motors = CURRENT_SETS[args.currents] if args.execute else []
    if args.currents != "off":
        print(f"[CURRENT] 1 コマごとに電流を読む: {', '.join(current_motors) or '(ドライランなので読まない)'}")
    recorder = Recorder(local, f"local/{trial}", current_motors=current_motors)
    arm, info, result, err, reason = None, {}, "", None, ""
    try:
        arm = LiveArm(current_motors) if args.execute else DryArm()
        with KeyReader() as keys:
            info = run_trial(arm, policy, recorder, lo, hi, args.exec_steps, keys, prefetch=not args.no_prefetch,
                             skip_confirm=args.skip_first_confirm)
    except KeyboardInterrupt:
        err = "Ctrl-C"
        print("\n[STOP  ] Ctrl-C で止めました")
    except Exception as e:          # サーバーの失敗など. 記録は残す (フォロワーは前の目標のまま. 閉じるときに休みの姿勢へ)
        err = f"{type(e).__name__}: {e}"
        print(f"\n[STOP  ] 失敗で止まりました: {err}")
    finally:
        try:
            result = ask_result() if recorder.n else ""
            reason = ask_fail_reason() if result == "failure" else ""
        except (KeyboardInterrupt, EOFError):
            result = result or ""
        try:
            recorder.close()
        finally:
            policy.close()
            if arm is not None:
                arm.close()
    dst = log_dir / "so101" / trial
    dst.parent.mkdir(parents=True, exist_ok=True)
    n_files = copy_record(local, dst)
    med, mx = latency_stats(policy.latencies)
    stalls = stall_of(info.get("gaps", []))
    s_med, s_mx = latency_stats(stalls)
    payload = int(statistics.median(policy.payloads)) if policy.payloads else ""
    modes = recorder.modes
    row = {"trial": trial, "started_at": stamp, "operator": operator_of(modes), "place": place, "model": args.model,
           "step": args.step, "exec_steps": args.exec_steps, "execute": int(args.execute), "result": result,
           "frames": len(modes), "frames_model": modes.count(MODEL), "frames_correct": modes.count(CORRECT),
           "frames_pause": modes.count(PAUSE), "queries": info.get("queries", 0),
           "latency_median_s": "" if med is None else round(med, 3), "latency_max_s": "" if mx is None else round(mx, 3),
           "clipped_frames": info.get("clipped_frames", 0), "record_dir": str(dst), "prefetch": int(not args.no_prefetch),
           "payload_bytes": payload, "stall_median_s": "" if s_med is None else round(s_med, 3),
           "stall_max_s": "" if s_mx is None else round(s_mx, 3), "stall_total_s": round(sum(stalls), 3),
           "fail_reason": reason, "currents": args.currents}
    append_trial(log_dir / TRIALS_CSV, row)
    (dst / "trial.json").write_text(json.dumps({**row, "latencies_s": [round(x, 4) for x in policy.latencies],
                                                 "payloads_bytes": policy.payloads,
                                                 "switch_gaps_s": [round(x, 4) for x in info.get("gaps", [])],
                                                 "waits_s": [round(x, 4) for x in info.get("waits", [])],
                                                 "skips": info.get("skips", []),
                                                 "safe_range": {"lo": lo.tolist(), "hi": hi.tolist()},
                                                 "stopped_by": err}, ensure_ascii=False, indent=2) + "\n")
    print(f"[RECORD] {dst} ({n_files} ファイル) / 1 行 → {log_dir / TRIALS_CSV}")
    if med is not None:
        print(f"[LATENCY] 答えが返るまで 中央値 {med:.3f} 秒・最長 {mx:.3f} 秒 ({len(policy.latencies)} 回. "
              f"1 回で実行する {args.exec_steps / FPS:.2f} 秒より{'長い' if med > args.exec_steps / FPS else '短い'}. "
              f"1 回の送り {payload} バイト)")
    if s_med is not None:
        print(f"[STALL ] 答えの切り替えで腕が止まった時間 中央値 {s_med:.3f} 秒・最長 {s_mx:.3f} 秒 ({len(stalls)} 回)")
    return 0


def warmup(args):
    """lab_start.sh の 5b: 学習の 1 本目の 1 コマ目で 1 回答えさせて捨てる (アーム・カメラには触らない)."""
    t0 = time.perf_counter()
    try:
        ep = sorted(p.parent for p in Path(args.raw_dir).glob("[!.]*/episode.npz"))[0]
        state = np.load(ep / "episode.npz")["state"][0]
        imgs = {c: (ep / f"frames_{c}" / "000000.jpg").read_bytes() for c in CAMERAS}   # 学習の jpg をそのまま (依頼 285)
        from policy_ws import PolicyClient
        c = PolicyClient(port=args.port, wait_sec=30.0)
        a = np.asarray(c.infer(make_obs(state, imgs["desk"], imgs["wrist"]))["actions"])
        c.close()
        if a.shape != (HORIZON, 6):
            raise ValueError(f"答えの形 {a.shape}")
    except Exception as e:
        print(f"[WARM  ] 空打ちに失敗: {type(e).__name__}: {e}. 止めずに続けます (1 回目の推論が長くなる)", flush=True)
        return 1
    print(f"[WARM  ] 空打ち {time.perf_counter() - t0:.1f} 秒 (答え {a.shape})", flush=True)
    return 0


def main(argv=None):
    ap = argparse.ArgumentParser(description=__doc__, formatter_class=argparse.RawDescriptionHelpFormatter)
    ap.add_argument("--port", type=int, default=8000)
    ap.add_argument("--raw-dir", default=str(DEFAULT_RAW), help="安全範囲を作る学習データ (raw_episodes)")
    ap.add_argument("--log-dir", help="記録の置き場所 (KIOXIA の lab/<Log>)")
    ap.add_argument("--model", default="so101a", help="記録に残すモデルの名前")
    ap.add_argument("--step", default="2999", help="記録に残す checkpoint の step")
    ap.add_argument("--exec-steps", type=int, default=HORIZON, help="答えの先頭 N コマ (0〜N-1 番目) までを使う (1〜10)")
    ap.add_argument("--no-prefetch", action="store_true", help="答えを実行し終えてから次を問い合わせる (依頼 283 の形)")
    ap.add_argument("--skip-first-confirm", action="store_true", help="始めの確かめ (Enter) を待たない (2 回目の試行から)")
    ap.add_argument("--execute", action="store_true", help="フォロワーに送る (付けなければドライラン)")
    ap.add_argument("--warmup", action="store_true", help="空打ちだけして終わる (lab_start.sh の 5b)")
    ap.add_argument("--place", type=int, choices=range(1, 6),
                    help="ブロックの場所の番号 (1〜5). 付ければ画面で聞かずにこの番号を記録に入れる (依頼 287)")
    ap.add_argument("--currents", choices=sorted(CURRENT_SETS), default="off",
                    help="1 コマごとにフォロワーの電流を読んで記録に残す (既定 off = 読まない. 依頼 286)")
    args = ap.parse_args(argv)
    if not 1 <= args.exec_steps <= HORIZON:
        ap.error(f"--exec-steps は 1〜{HORIZON}")
    if args.warmup:
        return warmup(args)
    if not args.log_dir:
        ap.error("--log-dir を付ける")
    return run(args)


if __name__ == "__main__":
    sys.exit(main())
```

### pi05/openpi_addon/so101_policy.py（commit 0c0add8 の時点）

```python
"""SO-101 用の入出力変換 (r2r2r / Pixels to Motors 2026-11-23 依頼 280 で書き始め, 依頼 282 で学習に使う).

mecharm_policy.py (上カメラ 1 台) と同じ作りで, カメラを 2 台にしたもの:
  - カメラ: 机側 (observation/desk_image) → base_0_rgb, 手首 (observation/wrist_image) → left_wrist_0_rgb.
            right_wrist_0_rgb はゼロ画像 + マスク False
  - state: 6 次元 = shoulder_pan.pos, shoulder_lift.pos, elbow_flex.pos, wrist_flex.pos, wrist_roll.pos, gripper.pos
           (SO-101 (LeRobot の so_follower) が出す値のまま)
  - actions: 6 次元 (同上・絶対値. リーダーの目標). 学習時は config 側で関節 5 つ (shoulder_pan〜wrist_roll) だけ
             差分にし, 爪は絶対値のまま

推論のとき Mac 側からサーバーへ送る形 (keys. make_so101_example と同じ):
  {
    "observation/desk_image":  uint8 (H, W, 3) RGB  机側のカメラ (学習は 320x240 に縮めたコマ. サーバー側で 224 に縮める)
    "observation/wrist_image": uint8 (H, W, 3) RGB  手首のカメラ (同じ)
    "observation/state":       float32 (6,)         今の関節 6 つ (上の順. so_follower の観測の値のまま)
    "prompt":                  "Put the red block into the white box"
  }
返ってくる "actions" は (action_horizon, 6) の絶対値 (関節 5 つは差分から戻したもの・爪は絶対値).

依頼 285: 推論のクライアント (so101/run_so101_policy.py) は画像を JPEG (品質 95) のバイト列のまま送る (1 回の送りを
小さくして, 答えが返るまでの待ちを縮める). 画像がバイト列なら, ここで PIL で読み戻して RGB の配列にしてから渡す
(学習のコマ (convert_so101_to_lerobot.py) も品質 95 の jpg を PIL で読み戻したもの). 配列ならこれまでどおり.
"""

import dataclasses
import io

import einops
import numpy as np

from openpi import transforms
from openpi.models import model as _model

ACTION_DIM = 6
STATE_NAMES = ("shoulder_pan.pos", "shoulder_lift.pos", "elbow_flex.pos", "wrist_flex.pos", "wrist_roll.pos", "gripper.pos")
PROMPT = "Put the red block into the white box"


def make_so101_example() -> dict:
    return {
        "observation/desk_image": np.random.randint(256, size=(240, 320, 3), dtype=np.uint8),
        "observation/wrist_image": np.random.randint(256, size=(240, 320, 3), dtype=np.uint8),
        "observation/state": np.zeros(ACTION_DIM, dtype=np.float32),
        "prompt": PROMPT,
    }


def decode_jpeg(data) -> np.ndarray:
    """JPEG のバイト列 → uint8 (H, W, 3) RGB (convert_so101_to_lerobot.py が学習のコマを読むのと同じ読み方)."""
    from PIL import Image

    with Image.open(io.BytesIO(bytes(data))) as im:
        return np.asarray(im.convert("RGB"))


def _parse_image(image) -> np.ndarray:
    if isinstance(image, (bytes, bytearray, memoryview)):     # 依頼 285: クライアントが JPEG のまま送ったもの
        return decode_jpeg(image)
    image = np.asarray(image)
    if np.issubdtype(image.dtype, np.floating):
        image = (255 * image).astype(np.uint8)
    if image.shape[0] == 3:
        image = einops.rearrange(image, "c h w -> h w c")
    return image


@dataclasses.dataclass(frozen=True)
class So101Inputs(transforms.DataTransformFn):
    model_type: _model.ModelType

    def __call__(self, data: dict) -> dict:
        desk_image = _parse_image(data["observation/desk_image"])
        wrist_image = _parse_image(data["observation/wrist_image"])
        is_fast = self.model_type == _model.ModelType.PI0_FAST
        inputs = {
            "state": np.asarray(data["observation/state"], dtype=np.float32),
            "image": {
                "base_0_rgb": desk_image,
                "left_wrist_0_rgb": wrist_image,
                "right_wrist_0_rgb": np.zeros_like(desk_image),
            },
            "image_mask": {
                "base_0_rgb": np.True_,
                "left_wrist_0_rgb": np.True_,
                "right_wrist_0_rgb": np.True_ if is_fast else np.False_,
            },
        }
        if "actions" in data:
            inputs["actions"] = data["actions"]
        if "prompt" in data:
            inputs["prompt"] = data["prompt"]
        return inputs


@dataclasses.dataclass(frozen=True)
class So101Outputs(transforms.DataTransformFn):
    def __call__(self, data: dict) -> dict:
        return {"actions": np.asarray(data["actions"][..., :ACTION_DIM])}
```
