summaryrefslogtreecommitdiff
path: root/app/relay/interpreters.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2018-05-26 15:58:21 +0200
committerJules Laplace <julescarbon@gmail.com>2018-05-26 15:58:21 +0200
commit96e19464f98b868bd93b76ac842ec5b32a17cfb6 (patch)
treea232cfecd631d49fae8d1402371a284296aeec87 /app/relay/interpreters.js
parent28f4bd59314df8162548a1100b280bd256436eaa (diff)
means to run remote commands and get output
Diffstat (limited to 'app/relay/interpreters.js')
-rw-r--r--app/relay/interpreters.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/app/relay/interpreters.js b/app/relay/interpreters.js
index 1adb95e..c276f94 100644
--- a/app/relay/interpreters.js
+++ b/app/relay/interpreters.js
@@ -1,4 +1,16 @@
export default {
+ bash: {
+ cmd: process.env.BASH_BIN || '/bin/bash',
+ gpu: false,
+ },
+ perl: {
+ cmd: process.env.PERL_BIN || '/usr/bin/perl',
+ gpu: false,
+ },
+ python: {
+ cmd: process.env.PYTHON_BIN,
+ gpu: false,
+ },
pytorch: {
cmd: process.env.PYTORCH_BIN,
gpu: true,
@@ -7,16 +19,4 @@ export default {
cmd: process.env.TENSORFLOW_BIN,
gpu: true,
},
- python: {
- cmd: process.env.PYTHON_BIN,
- gpu: false,
- },
- bash: {
- cmd: process.env.BASH_BIN || '/bin/bash',
- gpu: false,
- }
- perl: {
- cmd: process.env.PERL_BIN || '/usr/bin/perl',
- gpu: false,
- }
} \ No newline at end of file