akhaliq HF staff commited on
Commit
6a8a555
1 Parent(s): 3f71586

Update scripts/inference_cogvideo_pipeline.sh

Browse files
scripts/inference_cogvideo_pipeline.sh CHANGED
@@ -15,7 +15,7 @@ script_path=$(realpath $0)
15
  script_dir=$(dirname $script_path)
16
 
17
  MASTER_PORT=${MASTER_PORT} SAT_HOME=/sharefs/cogview-new python cogvideo_pipeline.py \
18
- --input-source interactive \
19
  --output-path ./output \
20
  --parallel-size 1 \
21
  --both-stages \
@@ -33,6 +33,6 @@ MASTER_PORT=${MASTER_PORT} SAT_HOME=/sharefs/cogview-new python cogvideo_pipelin
33
  --sandwich-ln \
34
  --seed 1234 \
35
  --num-workers 0 \
36
- --batch-size 4 \
37
- --max-inference-batch-size 8 \
38
  $@
 
15
  script_dir=$(dirname $script_path)
16
 
17
  MASTER_PORT=${MASTER_PORT} SAT_HOME=/sharefs/cogview-new python cogvideo_pipeline.py \
18
+ --input-source /home/user/app/CogVideo/prompt.txt \
19
  --output-path ./output \
20
  --parallel-size 1 \
21
  --both-stages \
 
33
  --sandwich-ln \
34
  --seed 1234 \
35
  --num-workers 0 \
36
+ --batch-size 1 \
37
+ --max-inference-batch-size 1 \
38
  $@