trainfabric 0.1.47 → 0.1.48

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 +3 -3
  2. package/package.json +1 -1
package/dist/index.cjs CHANGED
@@ -8630,7 +8630,7 @@ function isTransientQuoteError(error) {
8630
8630
  }
8631
8631
  var RunsClient = class extends ResourceClient {
8632
8632
  async retryQuoteOperation(operation) {
8633
- const attempts = Math.max(1, Number(process.env.TRAINFABRIC_QUOTE_RETRY_ATTEMPTS ?? 5));
8633
+ const attempts = Math.max(1, Number(process.env.TRAINFABRIC_QUOTE_RETRY_ATTEMPTS ?? 8));
8634
8634
  let lastError;
8635
8635
  for (let attempt = 1; attempt <= attempts; attempt += 1) {
8636
8636
  try {
@@ -8640,7 +8640,7 @@ var RunsClient = class extends ResourceClient {
8640
8640
  if (!isTransientQuoteError(error) || attempt === attempts) {
8641
8641
  throw error;
8642
8642
  }
8643
- await wait(Math.min(5e3, 400 * 2 ** (attempt - 1)));
8643
+ await wait(Math.min(8e3, 500 * 2 ** (attempt - 1)));
8644
8644
  }
8645
8645
  }
8646
8646
  throw lastError instanceof Error ? lastError : new Error("Quote request failed.");
@@ -9362,7 +9362,7 @@ function buildComputeSpec(options) {
9362
9362
 
9363
9363
  // src/index.ts
9364
9364
  var DEFAULT_TRAINFABRIC_API_URL2 = "https://api.trainfabric.com";
9365
- var CLI_VERSION = "0.1.47";
9365
+ var CLI_VERSION = "0.1.48";
9366
9366
  var CONFIG_DIR = import_node_path3.default.join(import_node_os2.default.homedir(), ".trainfabric");
9367
9367
  var CONFIG_PATH = import_node_path3.default.join(CONFIG_DIR, "config.json");
9368
9368
  var FALLBACK_SECRET_PATH = import_node_path3.default.join(CONFIG_DIR, "session.enc");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trainfabric",
3
- "version": "0.1.47",
3
+ "version": "0.1.48",
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",