(1)启动SID生成任务
# scripts/tokenize.sh:28-37 行
python main.py tokenize \
--device cuda:${gpu} \
--dataset ${dataset} \
--data_path ${data_path} \
--output_dir ${output_dir} \
--alpha ${alpha} \
--beta ${beta} \
--epoch ${epoch} \
--checkpoint ${checkpoint} \
"${EXTRA_CLI_ARGS[@]}"
(2)加载RQ-VAE模型

(3)批量生产SID

(4)get_indices 调用 Embedding --> 量化索引
(5)get_indices 调用 多层参差量化
(6)每层码本编号

(7)碰撞处理 存json
