tmp_data / music /test /16splits /log /audio_tokenizer_higg.10.log
Dongchao's picture
Upload 231 files
b439acc verified
# python egs/pretraining/data_scripts/offline_tokenization_codec.py --rank 10 --input-file /turing_music_fs/music_data/ydc/code2/TokenPPL/data/music/test/16splits/wav.10.scp --output_file /turing_music_fs/music_data/ydc/code2/TokenPPL/data/music/test/16splits/hugg_tokens.10.pt --model_path /turing_music_fs/music_data/ydc/exp2/reason_ckpt/ReasoningCodec.checkpoint --train_config /turing_music_fs/music_data/ydc/exp2/reason_ckpt/infer_config.yaml --tokenizer hugg
# Started at Tue Nov 11 07:47:12 UTC 2025
#
2025-11-11 07:47:14,234 INFO [offline_tokenization_codec.py:44] max gpu 8
2025-11-11 07:47:14,234 INFO [offline_tokenization_codec.py:47] Using device: cuda:1
/root/miniconda3/envs/uniaudio2/lib/python3.10/site-packages/torch/nn/utils/weight_norm.py:134: FutureWarning: `torch.nn.utils.weight_norm` is deprecated in favor of `torch.nn.utils.parametrizations.weight_norm`.
WeightNorm.apply(module, name, dim)
2025-11-11 07:47:24,012 DEBUG [cmd.py:1253] Popen(['git', 'version'], cwd=/turing_music_fs/music_data/ydc/code2/TokenPPL/Token_LM_single, stdin=None, shell=False, universal_newlines=False)
2025-11-11 07:47:24,014 DEBUG [cmd.py:1253] Popen(['git', 'version'], cwd=/turing_music_fs/music_data/ydc/code2/TokenPPL/Token_LM_single, stdin=None, shell=False, universal_newlines=False)
2025-11-11 07:47:24,282 DEBUG [auth.py:50] Trying paths: ['/root/.docker/config.json', '/root/.dockercfg']
2025-11-11 07:47:24,282 DEBUG [auth.py:57] No config file found
2025-11-11 07:47:24,757 DEBUG [__init__.py:44] Skipping import of cpp extensions
[2025-11-11 07:47:25,240] [INFO] [real_accelerator.py:222:get_accelerator] Setting ds_accelerator to cuda (auto detect)
2025-11-11 07:47:25,317 INFO [spawn.py:60] gcc -pthread -B /root/miniconda3/envs/uniaudio2/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /root/miniconda3/envs/uniaudio2/include -fPIC -O2 -isystem /root/miniconda3/envs/uniaudio2/include -fPIC -c /tmp/tmp4pqc_7il/test.c -o /tmp/tmp4pqc_7il/test.o
2025-11-11 07:47:25,333 INFO [spawn.py:60] gcc -pthread -B /root/miniconda3/envs/uniaudio2/compiler_compat /tmp/tmp4pqc_7il/test.o -laio -o /tmp/tmp4pqc_7il/a.out
2025-11-11 07:47:25,865 INFO [spawn.py:60] gcc -pthread -B /root/miniconda3/envs/uniaudio2/compiler_compat -Wno-unused-result -Wsign-compare -DNDEBUG -fwrapv -O2 -Wall -fPIC -O2 -isystem /root/miniconda3/envs/uniaudio2/include -fPIC -O2 -isystem /root/miniconda3/envs/uniaudio2/include -fPIC -c /tmp/tmpbhul5ff_/test.c -o /tmp/tmpbhul5ff_/test.o
2025-11-11 07:47:25,880 INFO [spawn.py:60] gcc -pthread -B /root/miniconda3/envs/uniaudio2/compiler_compat /tmp/tmpbhul5ff_/test.o -L/usr/local/cuda -L/usr/local/cuda/lib64 -lcufile -o /tmp/tmpbhul5ff_/a.out
/turing_music_fs/music_data/ydc/code2/TokenPPL/Token_LM_single/tools/tokenizer/higgCodec/audio_processing/higgs_audio_tokenizer.py:325: FutureWarning: You are using `torch.load` with `weights_only=False` (the current default value), which uses the default pickle module implicitly. It is possible to construct malicious pickle data which will execute arbitrary code during unpickling (See https://github.com/pytorch/pytorch/blob/main/SECURITY.md#untrusted-models for more details). In a future release, the default value for `weights_only` will be flipped to `True`. This limits the functions that could be executed during unpickling. Arbitrary objects will no longer be allowed to be loaded via this mode unless they are explicitly allowlisted by the user via `torch.serialization.add_safe_globals`. We recommend you start setting `weights_only=True` for any use case where you don't have full control of the loaded file. Please open an issue on GitHub for any issues related to this experimental feature.
parameter_dict = torch.load(model_path, map_location=device)
2025-11-11 07:47:30,348 INFO [offline_tokenization_codec.py:73] tokenizer built
2025-11-11 07:47:30,348 INFO [offline_tokenization_codec.py:85] [Rank 1] Checkpoint path is: /turing_music_fs/music_data/ydc/code2/TokenPPL/data/music/test/16splits/hugg_tokens.10.pt.checkpoint_rec.pth
2025-11-11 07:47:30,349 INFO [offline_tokenization_codec.py:102] [Rank 1] No checkpoint found. Starting from scratch.
[Rank 1] Tokenizing: 0%| | 0/12 [00:00<?, ?file/s]/turing_music_fs/music_data/ydc/code2/TokenPPL/Token_LM_single/tools/tokenizer/higgCodec/audio_processing/higgs_audio_tokenizer.py:36: UserWarning: To copy construct from a tensor, it is recommended to use sourceTensor.clone().detach() or sourceTensor.clone().detach().requires_grad_(True), rather than torch.tensor(sourceTensor).
audio_signal = torch.tensor(raw_audio)
[Rank 1] Tokenizing: 8%|β–Š | 1/12 [00:03<00:41, 3.75s/file] [Rank 1] Tokenizing: 25%|β–ˆβ–ˆβ–Œ | 3/12 [00:03<00:09, 1.03s/file] [Rank 1] Tokenizing: 42%|β–ˆβ–ˆβ–ˆβ–ˆβ– | 5/12 [00:04<00:03, 1.87file/s] [Rank 1] Tokenizing: 58%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Š | 7/12 [00:04<00:01, 3.01file/s] [Rank 1] Tokenizing: 75%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œ | 9/12 [00:04<00:00, 4.35file/s] [Rank 1] Tokenizing: 92%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–| 11/12 [00:04<00:00, 5.88file/s] [Rank 1] Tokenizing: 100%|β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆ| 12/12 [00:04<00:00, 2.70file/s]
2025-11-11 07:47:34,799 INFO [offline_tokenization_codec.py:170] [Rank 1] Processing complete. Saving final data...
2025-11-11 07:47:34,804 INFO [offline_tokenization_codec.py:188] [Rank 1] Final GPU cache cleanup completed
2025-11-11 07:47:34,814 DEBUG [_api.py:331] Attempting to acquire lock 139863785198864 on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
2025-11-11 07:47:34,814 DEBUG [_api.py:334] Lock 139863785198864 acquired on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
2025-11-11 07:47:34,814 DEBUG [_api.py:364] Attempting to release lock 139863785198864 on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
2025-11-11 07:47:34,814 DEBUG [_api.py:367] Lock 139863785198864 released on /root/.triton/autotune/Fp16Matmul_2d_kernel.pickle.lock
2025-11-11 07:47:34,817 DEBUG [_api.py:331] Attempting to acquire lock 139863785206112 on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
2025-11-11 07:47:34,817 DEBUG [_api.py:334] Lock 139863785206112 acquired on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
2025-11-11 07:47:34,817 DEBUG [_api.py:364] Attempting to release lock 139863785206112 on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
2025-11-11 07:47:34,817 DEBUG [_api.py:367] Lock 139863785206112 released on /root/.triton/autotune/Fp16Matmul_4d_kernel.pickle.lock
# Accounting: time=25 threads=1
# Ended (code 0) at Tue Nov 11 07:47:37 UTC 2025, elapsed time 25 seconds