diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -56,3 +56,17 @@ uv run python script\smoke_generate_image.py ` --config data\config.generate-image.toml ` --output data\outputs\generate-image-mcp-512.png ``` + +同じ2つのseedでMCP生成を行い、処理時間、PyTorch allocatorのpeak VRAM、白背景率、 +prompt token数をJSONへ記録する比較用benchmarkは次のように実行できます。 + +```powershell +uv run python script\benchmark_generate_image.py ` + --config data\config.toml ` + --label anime-quality ` + --output-dir data\outputs\benchmark ` + --result data\outputs\benchmark\results\anime-quality.json +``` + +benchmarkはMCP schemaを変更せず、計測処理内だけでseedを固定します。1枚目にはCUDAの初回 +warm-upが含まれるため、定常速度の比較には2枚目の`elapsed_seconds`を使用してください。 |
