pinokiod 3.220.0 → 3.223.0

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.
@@ -84,6 +84,7 @@ envs_dirs:
84
84
  - ${this.kernel.bin.path("miniconda/envs")}
85
85
  plugins:
86
86
  anaconda_telemetry: false
87
+ auto_accept_tos: true
87
88
  pkgs_dirs:
88
89
  - ${this.kernel.bin.path("miniconda/pkgs")}
89
90
  remote_connect_timeout_secs: 20.0
@@ -11,7 +11,7 @@ class Cuda {
11
11
  await this.kernel.bin.exec({
12
12
  message: [
13
13
  "conda clean -y --all",
14
- "conda install -y cuda -c nvidia/label/cuda-12.8.1",
14
+ "conda install -y nvidia/label/cuda-12.8.1::cuda"
15
15
  ]
16
16
  }, ondata)
17
17
  } else {
@@ -24,7 +24,7 @@ class Cuda {
24
24
  await this.kernel.bin.exec({
25
25
  message: [
26
26
  "conda clean -y --all",
27
- "conda install -y cuda -c nvidia/label/cuda-12.8.1",
27
+ "conda install -y nvidia/label/cuda-12.8.1::cuda"
28
28
  ]
29
29
  }, ondata)
30
30
  if (this.kernel.platform === "linux") {
@@ -815,6 +815,7 @@ class Bin {
815
815
  // await this.init()
816
816
  }
817
817
  async check_installed(r, dependencies) {
818
+ console.log("check installed", r)
818
819
  if (Array.isArray(r.name)) {
819
820
  for(let name of r.name) {
820
821
  let d = Date.now()
@@ -847,6 +848,7 @@ class Bin {
847
848
  let filepath = path.resolve(__dirname, "..", "kernel", "bin", name + ".js")
848
849
  let mod = this.mod[name]
849
850
  let installed = false
851
+ /*
850
852
  if (!this.cached_mod_installed) {
851
853
  this.cached_mod_installed = {}
852
854
  }
@@ -861,6 +863,13 @@ class Bin {
861
863
  }
862
864
  return installed
863
865
  }
866
+ */
867
+
868
+ if (mod.installed) {
869
+ installed = await mod.installed()
870
+ }
871
+ console.log("_installed", { name, type, dependencies, installed })
872
+ return installed
864
873
  }
865
874
  }
866
875
  preset(mode) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.220.0",
3
+ "version": "3.223.0",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {