Rayleihaodong's picture
Add files using upload-large-folder tool
aaebaab verified
Raw
History Blame Contribute Delete
857 Bytes
cd /mnt/petrelfs/leihaodong/ICLR25/sjdtree
isp='random'
method='speculative_jacobi'
num_init_new_token=16
benchmark_way='order'
prompt="PartiPrompts"
num_images=1600
slice='0-1600'
tree_type=Grouped_Tree_4
output_path=/mnt/petrelfs/leihaodong/ICLR25/exp/ablation/group_num/sjd_test_${tree_type}
tokenizer_path=/mnt/petrelfs/leihaodong/local_model/chameleon/tokenizer
mkdir -p ${output_path}
srun \
-N 1 \
--ntasks-per-node 1 \
--gres=gpu:1 \
-p DataFrontier_Knowledge \
python /mnt/petrelfs/leihaodong/ICLR25/sjdtree/main.py \
--tokenizer_path=$tokenizer_path \
--output_path=$output_path \
--isp=$isp \
--method=$method \
--num_init_new_token=$num_init_new_token \
--benchmark_way=$benchmark_way \
--prompt=$prompt \
--num_images=$num_images \
--slice=$slice \
--static_tree \
--tree_choices=$tree_type > ${output_path}.log 2>&1