trainfabric 0.1.38 → 0.1.39

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.cjs +7 -4
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -9279,7 +9279,7 @@ function buildComputeSpec(options) {
9279
9279
 
9280
9280
  // src/index.ts
9281
9281
  var DEFAULT_TRAINFABRIC_API_URL2 = "https://api.trainfabric.com";
9282
- var CLI_VERSION = "0.1.38";
9282
+ var CLI_VERSION = "0.1.39";
9283
9283
  var CONFIG_DIR = import_node_path3.default.join(import_node_os2.default.homedir(), ".trainfabric");
9284
9284
  var CONFIG_PATH = import_node_path3.default.join(CONFIG_DIR, "config.json");
9285
9285
  var FALLBACK_SECRET_PATH = import_node_path3.default.join(CONFIG_DIR, "session.enc");
@@ -9579,9 +9579,12 @@ function printQuoteSummary(bundle) {
9579
9579
  console.log(` estimated infra cost: ${formatUsd(quote.expectedInfraCostUsd)}`);
9580
9580
  console.log(` infra GPU-hour equivalent: ${formatUsdPerGpuHour(quote.expectedInfraCostUsd, gpuCount, quote.estimatedRuntimeSeconds)}`);
9581
9581
  console.log(` estimated margin: ${formatUsd(quote.expectedMarginUsd)} (${formatPercent(quote.expectedMarginRatio)})`);
9582
- console.log(` profiled runtime estimate: ${Math.round(quote.estimatedRuntimeSeconds / 60)} min`);
9583
- if (quote.reservationWindowSeconds && quote.reservationWindowSeconds !== quote.estimatedRuntimeSeconds) {
9584
- console.log(` reservation window: ${Math.round(quote.reservationWindowSeconds / 60)} min`);
9582
+ if (quote.profiledRuntimeSeconds && quote.profiledRuntimeSeconds !== quote.estimatedRuntimeSeconds) {
9583
+ console.log(` profiled compute estimate: ${Math.round(quote.profiledRuntimeSeconds / 60)} min`);
9584
+ }
9585
+ console.log(` estimated runtime: ${Math.round(quote.estimatedRuntimeSeconds / 60)} min`);
9586
+ if (quote.estimatedCompletionSeconds && quote.estimatedCompletionSeconds !== quote.estimatedRuntimeSeconds) {
9587
+ console.log(` estimated completion window: ${Math.round(quote.estimatedCompletionSeconds / 60)} min`);
9585
9588
  }
9586
9589
  console.log(` reserved GPU time: ${formatGpuHours(gpuCount, quote.reservationWindowSeconds ?? quote.estimatedRuntimeSeconds)}`);
9587
9590
  console.log(` data path: ${quote.dataPath ?? "auto"}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trainfabric",
3
- "version": "0.1.38",
3
+ "version": "0.1.39",
4
4
  "description": "Trainfabric CLI for launching GPU training jobs on the hosted Trainfabric backend.",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",