open-agents-ai 0.138.62 → 0.138.63
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.
- package/dist/index.js +18 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -40441,29 +40441,30 @@ Error: ${err2 instanceof Error ? err2.message : String(err2)}`);
|
|
|
40441
40441
|
const pipCmd = JSON.stringify(venvPy);
|
|
40442
40442
|
const isArm = process.arch === "arm64" || process.arch === "arm";
|
|
40443
40443
|
if (isArm) {
|
|
40444
|
-
renderInfo(" ARM device detected \u2014 installing
|
|
40444
|
+
renderInfo(" ARM device detected \u2014 installing build prerequisites then deps individually.");
|
|
40445
|
+
try {
|
|
40446
|
+
await this.asyncShell(`sudo apt-get install -y --no-install-recommends llvm-dev libllvm14 llvm-14-dev gcc g++ gfortran libopenblas-dev libsndfile1-dev 2>/dev/null || true`, 12e4);
|
|
40447
|
+
} catch {
|
|
40448
|
+
renderWarning(" Could not install system build deps (sudo may require password). librosa/lhotse may fail to compile.");
|
|
40449
|
+
}
|
|
40445
40450
|
}
|
|
40446
40451
|
const installSteps = isArm ? [
|
|
40447
|
-
// ARM: install
|
|
40448
|
-
//
|
|
40449
|
-
// Everything else is non-fatal — missing deps degrade features, not crash.
|
|
40450
|
-
//
|
|
40451
|
-
// Critical for inference (fatal):
|
|
40452
|
+
// ARM: install individually so we get clear error messages per package.
|
|
40453
|
+
// ALL are fatal because LuxTTS hard-imports them (no lazy/optional imports).
|
|
40452
40454
|
{ cmd: `${pipCmd} -m pip install --quiet "setuptools<81" wheel`, fatal: true, label: "setuptools" },
|
|
40453
40455
|
{ cmd: `${pipCmd} -m pip install --quiet numpy`, fatal: true, label: "numpy" },
|
|
40454
40456
|
{ cmd: `${pipCmd} -m pip install --quiet huggingface_hub safetensors`, fatal: true, label: "huggingface_hub + safetensors" },
|
|
40455
40457
|
{ cmd: `${pipCmd} -m pip install --quiet "transformers<=4.57.6"`, fatal: true, label: "transformers" },
|
|
40456
|
-
{ cmd: `${pipCmd} -m pip install --quiet pydub`, fatal: true, label: "pydub" },
|
|
40457
|
-
//
|
|
40458
|
-
{ cmd: `${pipCmd} -m pip install --quiet
|
|
40459
|
-
{ cmd: `${pipCmd} -m pip install --quiet lhotse`, fatal:
|
|
40460
|
-
{ cmd: `${pipCmd} -m pip install --quiet
|
|
40461
|
-
{ cmd: `${pipCmd} -m pip install --quiet
|
|
40462
|
-
|
|
40463
|
-
|
|
40464
|
-
{ cmd: `${pipCmd} -m pip install --quiet jieba pypinyin cn2an`, fatal:
|
|
40465
|
-
|
|
40466
|
-
// LuxTTS itself (fatal — this is what we're installing):
|
|
40458
|
+
{ cmd: `${pipCmd} -m pip install --quiet pydub inflect`, fatal: true, label: "pydub + inflect" },
|
|
40459
|
+
// librosa needs numba→llvmlite which compiles against LLVM on ARM
|
|
40460
|
+
{ cmd: `${pipCmd} -m pip install --quiet librosa`, fatal: true, label: "librosa (compiling numba/llvmlite \u2014 this may take several minutes on ARM)" },
|
|
40461
|
+
{ cmd: `${pipCmd} -m pip install --quiet lhotse`, fatal: true, label: "lhotse" },
|
|
40462
|
+
{ cmd: `${pipCmd} -m pip install --quiet vocos`, fatal: true, label: "vocos" },
|
|
40463
|
+
{ cmd: `${pipCmd} -m pip install --quiet "git+https://github.com/ysharma3501/LinaCodec.git"`, fatal: true, label: "LinaCodec" },
|
|
40464
|
+
// Non-fatal (not hard-imported by LuxTTS):
|
|
40465
|
+
{ cmd: `${pipCmd} -m pip install --quiet piper-phonemize --find-links https://k2-fsa.github.io/icefall/piper_phonemize.html`, fatal: false, label: "piper-phonemize (optional)" },
|
|
40466
|
+
{ cmd: `${pipCmd} -m pip install --quiet jieba pypinyin cn2an`, fatal: true, label: "Chinese text processing" },
|
|
40467
|
+
// LuxTTS itself:
|
|
40467
40468
|
{ cmd: `${pipCmd} -m pip install --quiet -e ${JSON.stringify(repoDir)}`, fatal: true, label: "LuxTTS (editable install)" }
|
|
40468
40469
|
] : [
|
|
40469
40470
|
// x86_64: all-in-one (fast, all wheels available)
|
package/package.json
CHANGED