From 5b0304e5d3722346fc87116614dec087efcda7bb Mon Sep 17 00:00:00 2001 From: Nevermoi Date: Mon, 20 Apr 2026 10:21:45 +0800 Subject: [PATCH] [feat] add webpage for easy calculation 1. convert exactly from python script to webpage 2. single webpage app --- scripts/megatrain-resource-calculator.html | 904 +++++++++++++++++++++ 1 file changed, 904 insertions(+) create mode 100644 scripts/megatrain-resource-calculator.html diff --git a/scripts/megatrain-resource-calculator.html b/scripts/megatrain-resource-calculator.html new file mode 100644 index 0000000..fc0f6f3 --- /dev/null +++ b/scripts/megatrain-resource-calculator.html @@ -0,0 +1,904 @@ + + + + + +MegaTrain Resource Calculator + + + + + +
+ +

Resource Calculator — Estimate CPU/GPU requirements & optimal batch size

+
+ +
+ + +
+ + +
+ + + + +
+
+
CPU Memory Configuration
+
+
+ + +
Total system RAM available for training
+
+
+ +
+
+
+ + + + +
+
+
GPU & Model Configuration
+
+
+ + +
e.g. 24 (3090), 40 (A100-40G), 80 (H100)
+
+
+ + +
Sequence length per sample
+
+
+
+
+ + +
+
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+
+ + +
+
+
+ +
+ + + + + +