pinokiod 5.1.25 → 5.1.28

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/kernel/shell.js +3 -5
  2. package/package.json +1 -1
package/kernel/shell.js CHANGED
@@ -972,7 +972,6 @@ class Shell {
972
972
  console.log(`Unsupported arch: os.arch()=${architecture}, process.arch=${armArchitecture}`)
973
973
  }
974
974
 
975
- const compiler_log = '"%TEMP%\\pinokio-vs.log"'
976
975
  const activate_root = this.kernel.bin.path("miniconda/etc/conda/activate.d")
977
976
  const compiler_candidates = [
978
977
  path.resolve(activate_root, "pinokio", "vs2019_compiler_vars.bat"),
@@ -988,9 +987,9 @@ class Shell {
988
987
  }
989
988
  }
990
989
  if (compiler_script) {
991
- conda_activation.push(`CALL "${compiler_script}" > ${compiler_log} 2>&1`)
990
+ conda_activation.push(`CALL "${compiler_script}" > nul 2>&1`)
992
991
  } else if (vcvars_path && arg) {
993
- conda_activation.push(`CALL "${vcvars_path}" ${arg} > ${compiler_log} 2>&1`)
992
+ conda_activation.push(`CALL "${vcvars_path}" ${arg} > nul 2>&1`)
994
993
  }
995
994
  const cuda_candidates = [
996
995
  path.resolve(activate_root, "pinokio", "~cuda-nvcc_activate.bat"),
@@ -1004,9 +1003,8 @@ class Shell {
1004
1003
  }
1005
1004
  }
1006
1005
  if (cuda_script) {
1007
- conda_activation.push(`CALL "${cuda_script}" > ${compiler_log} 2>&1`)
1006
+ conda_activation.push(`CALL "${cuda_script}" > nul 2>&1`)
1008
1007
  }
1009
- conda_activation.push("@echo off")
1010
1008
  conda_activation.push("set TORCH_CUDA_ARCH_LIST=")
1011
1009
  conda_activation.push("set CUDAARCHS=")
1012
1010
  } catch (e) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "5.1.25",
3
+ "version": "5.1.28",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {