pinokiod 3.2.90 → 3.2.92
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/kernel/shell.js +4 -1
- package/package.json +1 -1
package/kernel/shell.js
CHANGED
|
@@ -110,6 +110,7 @@ class Shell {
|
|
|
110
110
|
delete this.env.CUDA_PATH
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
+
this.env.PINOKIO_SHELL_START = Date.now()
|
|
113
114
|
this.env.CMAKE_OBJECT_PATH_MAX = 1024
|
|
114
115
|
this.env.PYTORCH_ENABLE_MPS_FALLBACK = 1
|
|
115
116
|
// this.env.NPM_CONFIG_USERCONFIG = this.kernel.path("user_npmrc")
|
|
@@ -847,7 +848,9 @@ ${cleaned}
|
|
|
847
848
|
let termination_prompt_re = new RegExp(".*--- pinokio shell.run finished: [0-9]+ ---.*", "g")
|
|
848
849
|
let line = cleaned.replaceAll(/[\r\n]/g, "")
|
|
849
850
|
let test = line.match(termination_prompt_re)
|
|
850
|
-
console.log(
|
|
851
|
+
console.log(">> LINE, TEST")
|
|
852
|
+
console.log("line", line)
|
|
853
|
+
console.log("test", test)
|
|
851
854
|
if (test) {
|
|
852
855
|
let cache = cleaned
|
|
853
856
|
let cached_msg = msg
|