souging commited on
Commit
10449dc
·
verified ·
1 Parent(s): e8bd386

Create 1.js

Browse files
Files changed (1) hide show
  1. 1.js +11 -0
1.js ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module.exports = {
2
+ apps: Array.from({ length: 14 }, (_, i) => ({
3
+ name: `model${i}`,
4
+ script: 'app.py',
5
+ //interpreter: '/root/miniconda3/envs/three-gen-validation/bin/python',
6
+ env: {
7
+ CUDA_VISIBLE_DEVICES: `${i}`,
8
+ },
9
+ args: `--port ${10000 + i}`,
10
+ }))
11
+ };