pinokiod 3.0.9 → 3.0.11
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/bin/cuda.js +3 -0
- package/kernel/shell.js +2 -1
- package/package.json +1 -1
package/kernel/bin/cuda.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
class Cuda {
|
|
2
2
|
async install(req, ondata) {
|
|
3
|
+
await this.kernel.bin.exec({
|
|
4
|
+
message: "conda config --add channels nvidia"
|
|
5
|
+
}, ondata)
|
|
3
6
|
if (this.kernel.platform === "win32") {
|
|
4
7
|
await this.kernel.bin.exec({
|
|
5
8
|
message: "conda install -y cudnn libzlib-wapi -c conda-forge",
|
package/kernel/shell.js
CHANGED
|
@@ -455,7 +455,8 @@ class Shell {
|
|
|
455
455
|
|
|
456
456
|
let delimiter
|
|
457
457
|
if (this.platform === "win32") {
|
|
458
|
-
delimiter = " && "; // must use &&. & doesn't necessariliy wait until the curruent command finishes
|
|
458
|
+
//delimiter = " && "; // must use &&. & doesn't necessariliy wait until the curruent command finishes
|
|
459
|
+
delimiter = " & "; // must use &&. & doesn't necessariliy wait until the curruent command finishes
|
|
459
460
|
} else {
|
|
460
461
|
delimiter = " ; ";
|
|
461
462
|
}
|