2024-12-14 20:33:12 +00:00
2024-12-12 14:04:02 -08:00
2024-12-14 20:25:10 +00:00
2024-12-14 20:25:10 +00:00
2024-12-05 21:02:10 -08:00
2024-12-05 21:02:10 -08:00
2024-12-13 11:52:57 -08:00
2024-12-14 20:33:12 +00:00
2024-12-12 14:14:09 -08:00

prepare the src data

python scripts/download_hf.py --repo_id=FastVideo/Distill-30K-Data-Src --local_dir=data/Distill-30K-Data-Src --repo_type=dataset
cd data/Distill-30K-Data-Src
cat archive_name.tar.gz.* > Distill-30K-Data-Src.tar.gz
rm archive_name.tar.gz.*
tar --use-compress-program="pigz --processes 64" -xvf Distill-30K-Data-Src.tar.gz
mv ephemeral/hao.zhang/codefolder/FastVideo-OSP/data/Distill-30K-Data-Src/* .
rm -r ephemeral
rm Distill-30K-Data-Src.tar.gz
cd ../..

Now the src data is stored in folder data/Distill-30K-Data-Src, adjust the path in data/Distill-30K-Src/merge.txt correspondingly

Adjust the SHARD_NUM (total shards num) and SHARD_IDX (idx of the shard to preprocess) correspoindingly in ./scripts/preprocess_hunyuan_data.sh for each GPU node to preprocess different shards

bash ./scripts/preprocess_hunyuan_data.sh

The preprocessed data will be stored in data/HD-Hunyuan-30K-Distill-Data_Shard*

S
Description
No description provided
Readme
437 MiB
Languages
Python 89.4%
TypeScript 5.7%
Cuda 2%
C++ 1.1%
Shell 0.7%
Other 1%