pinokiod 3.0.10 → 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/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",
|