tyzhu commited on
Commit
705bef4
·
1 Parent(s): f0605fb

Upload rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243

Browse files
Files changed (31) hide show
  1. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/inference.stdout +250 -0
  2. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/orchestrator.stdout +43 -0
  3. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer.stdout +69 -0
  4. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer/rank_0.log +12 -0
  5. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer/rank_1.log +12 -0
  6. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer/rank_2.log +12 -0
  7. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer/rank_3.log +12 -0
  8. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/configs/orch.toml +84 -0
  9. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/logs/orchestrator.log +19 -0
  10. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/debug-internal.log +12 -0
  11. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/debug.log +23 -0
  12. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/files/output.log +0 -0
  13. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/files/requirements.txt +280 -0
  14. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs/debug-internal.log +12 -0
  15. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs/debug.log +23 -0
  16. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/run-axbofn1b.wandb +0 -0
  17. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/0/stderr.log +14 -0
  18. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/0/stdout.log +13 -0
  19. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/1/stderr.log +192 -0
  20. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/1/stdout.log +13 -0
  21. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/2/stderr.log +192 -0
  22. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/2/stdout.log +13 -0
  23. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/3/stderr.log +192 -0
  24. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/3/stdout.log +13 -0
  25. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/debug-internal.log +8 -0
  26. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/debug.log +21 -0
  27. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/files/output.log +0 -0
  28. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/files/requirements.txt +280 -0
  29. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/logs/debug-internal.log +8 -0
  30. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/logs/debug.log +21 -0
  31. rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/run-7yfvx9jl.wandb +0 -0
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/inference.stdout ADDED
@@ -0,0 +1,250 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ warning: The `extra-build-dependencies` option is experimental and may change without warning. Pass `--preview-features extra-build-dependencies` to disable this warning.
2
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'repr' attribute with value False was provided to the `Field()` function, which has no effect in the context it was used. 'repr' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
3
+ warnings.warn(
4
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'frozen' attribute with value True was provided to the `Field()` function, which has no effect in the context it was used. 'frozen' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
5
+ warnings.warn(
6
+ (APIServer pid=343401) INFO 05-20 12:44:55 [api_server.py:1772] vLLM API server version 0.12.0
7
+ (APIServer pid=343401) INFO 05-20 12:44:55 [utils.py:253] non-default args: {'port': 18914, 'tool_call_parser': 'hermes', 'model': 'Qwen/Qwen3-8B', 'trust_remote_code': True, 'max_model_len': 4096, 'logprobs_mode': 'processed_logprobs', 'tensor_parallel_size': 4, 'worker_extension_cls': 'prime_rl.inference.vllm.worker.filesystem.FileSystemWeightUpdateWorker', 'gpu_memory_utilization': 0.72, 'enable_lora': False, 'max_loras': 8, 'max_lora_rank': None, 'max_cpu_loras': 100}
8
+ (APIServer pid=343401) The argument `trust_remote_code` is to be used with Auto classes. It has no effect here and is ignored.
9
+ (APIServer pid=343401) INFO 05-20 12:44:57 [model.py:637] Resolved architecture: Qwen3ForCausalLM
10
+ (APIServer pid=343401) INFO 05-20 12:44:57 [model.py:1750] Using max model len 4096
11
+ (APIServer pid=343401) INFO 05-20 12:44:57 [scheduler.py:228] Chunked prefill is enabled with max_num_batched_tokens=2048.
12
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:44:59 [core.py:93] Initializing a V1 LLM engine (v0.12.0) with config: model='Qwen/Qwen3-8B', speculative_config=None, tokenizer='Qwen/Qwen3-8B', skip_tokenizer_init=False, tokenizer_mode=auto, revision=None, tokenizer_revision=None, trust_remote_code=True, dtype=torch.bfloat16, max_seq_len=4096, download_dir=None, load_format=auto, tensor_parallel_size=4, pipeline_parallel_size=1, data_parallel_size=1, disable_custom_all_reduce=False, quantization=None, enforce_eager=False, kv_cache_dtype=auto, device_config=cuda, structured_outputs_config=StructuredOutputsConfig(backend='auto', disable_fallback=False, disable_any_whitespace=False, disable_additional_properties=False, reasoning_parser='', reasoning_parser_plugin='', enable_in_reasoning=False), observability_config=ObservabilityConfig(show_hidden_metrics_for_version=None, otlp_traces_endpoint=None, collect_detailed_traces=None, kv_cache_metrics=False, kv_cache_metrics_sample=0.01), seed=0, served_model_name=Qwen/Qwen3-8B, enable_prefix_caching=True, enable_chunked_prefill=True, pooler_config=None, compilation_config={'level': None, 'mode': <CompilationMode.VLLM_COMPILE: 3>, 'debug_dump_path': None, 'cache_dir': '', 'compile_cache_save_format': 'binary', 'backend': 'inductor', 'custom_ops': ['none'], 'splitting_ops': ['vllm::unified_attention', 'vllm::unified_attention_with_output', 'vllm::unified_mla_attention', 'vllm::unified_mla_attention_with_output', 'vllm::mamba_mixer2', 'vllm::mamba_mixer', 'vllm::short_conv', 'vllm::linear_attention', 'vllm::plamo2_mamba_mixer', 'vllm::gdn_attention_core', 'vllm::kda_attention', 'vllm::sparse_attn_indexer'], 'compile_mm_encoder': False, 'compile_sizes': [], 'inductor_compile_config': {'enable_auto_functionalized_v2': False, 'combo_kernels': True, 'benchmark_combo_kernel': True}, 'inductor_passes': {}, 'cudagraph_mode': <CUDAGraphMode.FULL_AND_PIECEWISE: (2, 1)>, 'cudagraph_num_of_warmups': 1, 'cudagraph_capture_sizes': [1, 2, 4, 8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128, 136, 144, 152, 160, 168, 176, 184, 192, 200, 208, 216, 224, 232, 240, 248, 256, 272, 288, 304, 320, 336, 352, 368, 384, 400, 416, 432, 448, 464, 480, 496, 512], 'cudagraph_copy_inputs': False, 'cudagraph_specialize_lora': True, 'use_inductor_graph_partition': False, 'pass_config': {'fuse_norm_quant': False, 'fuse_act_quant': False, 'fuse_attn_quant': False, 'eliminate_noops': True, 'enable_sp': False, 'fuse_gemm_comms': False, 'fuse_allreduce_rms': False}, 'max_cudagraph_capture_size': 512, 'dynamic_shapes_config': {'type': <DynamicShapesType.BACKED: 'backed'>}, 'local_cache_dir': None}
13
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) WARNING 05-20 12:44:59 [multiproc_executor.py:880] Reducing Torch parallelism from 96 threads to 1 to avoid unnecessary CPU contention. Set OMP_NUM_THREADS in the external environment to tune this value as needed.
14
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:05 [worker_base.py:283] Injected <class 'prime_rl.inference.vllm.worker.filesystem.FileSystemWeightUpdateWorker'> into <class 'vllm.v1.worker.gpu_worker.Worker'> for extended collective_rpc calls ['init_broadcaster', 'update_weights']
15
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:05 [worker_base.py:283] Injected <class 'prime_rl.inference.vllm.worker.filesystem.FileSystemWeightUpdateWorker'> into <class 'vllm.v1.worker.gpu_worker.Worker'> for extended collective_rpc calls ['init_broadcaster', 'update_weights']
16
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:05 [worker_base.py:283] Injected <class 'prime_rl.inference.vllm.worker.filesystem.FileSystemWeightUpdateWorker'> into <class 'vllm.v1.worker.gpu_worker.Worker'> for extended collective_rpc calls ['init_broadcaster', 'update_weights']
17
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:05 [worker_base.py:283] Injected <class 'prime_rl.inference.vllm.worker.filesystem.FileSystemWeightUpdateWorker'> into <class 'vllm.v1.worker.gpu_worker.Worker'> for extended collective_rpc calls ['init_broadcaster', 'update_weights']
18
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:06 [parallel_state.py:1200] world_size=4 rank=2 local_rank=2 distributed_init_method=tcp://127.0.0.1:15771 backend=nccl
19
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:06 [parallel_state.py:1200] world_size=4 rank=3 local_rank=3 distributed_init_method=tcp://127.0.0.1:15771 backend=nccl
20
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:06 [parallel_state.py:1200] world_size=4 rank=1 local_rank=1 distributed_init_method=tcp://127.0.0.1:15771 backend=nccl
21
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:06 [parallel_state.py:1200] world_size=4 rank=0 local_rank=0 distributed_init_method=tcp://127.0.0.1:15771 backend=nccl
22
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:06 [pynccl.py:111] vLLM is using nccl==2.27.5
23
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) WARNING 05-20 12:45:08 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
24
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) WARNING 05-20 12:45:08 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
25
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) WARNING 05-20 12:45:08 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
26
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) WARNING 05-20 12:45:08 [symm_mem.py:67] SymmMemCommunicator: Device capability 8.0 not supported, communicator is not available.
27
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:10 [parallel_state.py:1408] rank 2 in world size 4 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 2, EP rank 2
28
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:10 [parallel_state.py:1408] rank 3 in world size 4 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 3, EP rank 3
29
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:10 [parallel_state.py:1408] rank 0 in world size 4 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 0, EP rank 0
30
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:10 [parallel_state.py:1408] rank 1 in world size 4 is assigned as DP rank 0, PP rank 0, PCP rank 0, TP rank 1, EP rank 1
31
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:10 [gpu_model_runner.py:3467] Starting to load model Qwen/Qwen3-8B...
32
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:11 [cuda.py:411] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']
33
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP2 pid=362633) INFO 05-20 12:45:11 [cuda.py:411] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']
34
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP1 pid=362631) INFO 05-20 12:45:11 [cuda.py:411] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']
35
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP3 pid=362635) INFO 05-20 12:45:12 [cuda.py:411] Using FLASH_ATTN attention backend out of potential backends: ['FLASH_ATTN', 'FLASHINFER', 'TRITON_ATTN', 'FLEX_ATTENTION']
36
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:14 [weight_utils.py:487] Time spent downloading weights for Qwen/Qwen3-8B: 0.581080 seconds
37
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
38
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
39
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
40
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP3 pid=362635) INFO 05-20 12:45:14 [weight_utils.py:487] Time spent downloading weights for Qwen/Qwen3-8B: 0.571688 seconds
41
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
42
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
43
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
44
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
45
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:15 [default_loader.py:308] Loading weights took 0.79 seconds
46
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:15 [gpu_model_runner.py:3549] Model loading took 3.8244 GiB memory and 3.756007 seconds
47
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP2 pid=362633) INFO 05-20 12:45:15 [weight_utils.py:487] Time spent downloading weights for Qwen/Qwen3-8B: 0.607306 seconds
48
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP1 pid=362631) INFO 05-20 12:45:16 [weight_utils.py:487] Time spent downloading weights for Qwen/Qwen3-8B: 0.581690 seconds
49
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:29 [backends.py:655] Using cache directory: /tmp/zhuty-r3lg-cache/vllm/torch_compile_cache/b2e66fb6ea/rank_0_0/backbone for vLLM's torch.compile
50
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:29 [backends.py:715] Dynamo bytecode transform time: 10.14 s
51
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP3 pid=362635) INFO 05-20 12:45:32 [backends.py:216] Directly load the compiled graph(s) for dynamic shape from the cache, took 2.481 s
52
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:32 [backends.py:216] Directly load the compiled graph(s) for dynamic shape from the cache, took 2.509 s
53
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP1 pid=362631) INFO 05-20 12:45:32 [backends.py:216] Directly load the compiled graph(s) for dynamic shape from the cache, took 2.539 s
54
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP2 pid=362633) INFO 05-20 12:45:32 [backends.py:216] Directly load the compiled graph(s) for dynamic shape from the cache, took 2.501 s
55
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:33 [monitor.py:34] torch.compile takes 12.65 s in total
56
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:35 [gpu_worker.py:359] Available KV cache memory: 22.62 GiB
57
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:36 [kv_cache_utils.py:1286] GPU KV cache size: 658,864 tokens
58
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:36 [kv_cache_utils.py:1291] Maximum concurrency for 4,096 tokens per request: 160.86x
59
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
60
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
61
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP3 pid=362635) INFO 05-20 12:45:40 [custom_all_reduce.py:216] Registering 6278 cuda graph addresses
62
+
63
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:40 [custom_all_reduce.py:216] Registering 6278 cuda graph addresses
64
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP1 pid=362631) INFO 05-20 12:45:40 [custom_all_reduce.py:216] Registering 6278 cuda graph addresses
65
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:41 [gpu_model_runner.py:4466] Graph capturing finished in 5 secs, took 2.94 GiB
66
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) INFO 05-20 12:45:41 [core.py:254] init engine (profile, create kv cache, warmup model) took 22.63 seconds
67
+ (APIServer pid=343401) INFO 05-20 12:45:47 [api_server.py:1520] Supported tasks: ['generate']
68
+ (APIServer pid=343401) WARNING 05-20 12:45:48 [model.py:1576] Default sampling parameters have been overridden by the model's Hugging Face generation config recommended from the model creator. If this is not intended, please relaunch vLLM instance with `--generation-config vllm`.
69
+ (APIServer pid=343401) INFO 05-20 12:45:48 [serving_responses.py:194] Using default chat sampling params from model: {'temperature': 0.6, 'top_k': 20, 'top_p': 0.95}
70
+ (APIServer pid=343401) INFO 05-20 12:45:48 [serving_chat.py:133] Using default chat sampling params from model: {'temperature': 0.6, 'top_k': 20, 'top_p': 0.95}
71
+ (APIServer pid=343401) INFO 05-20 12:45:48 [serving_completion.py:73] Using default completion sampling params from model: {'temperature': 0.6, 'top_k': 20, 'top_p': 0.95}
72
+ (APIServer pid=343401) INFO 05-20 12:45:49 [serving_chat.py:133] Using default chat sampling params from model: {'temperature': 0.6, 'top_k': 20, 'top_p': 0.95}
73
+ (APIServer pid=343401) INFO 05-20 12:45:49 [serving_chat.py:133] Using default chat sampling params from model: {'temperature': 0.6, 'top_k': 20, 'top_p': 0.95}
74
+ (APIServer pid=343401) INFO 05-20 12:45:49 [api_server.py:1847] Starting vLLM API server 0 on http://0.0.0.0:18914
75
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:38] Available routes are:
76
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /openapi.json, Methods: GET, HEAD
77
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /docs, Methods: GET, HEAD
78
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /docs/oauth2-redirect, Methods: GET, HEAD
79
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /redoc, Methods: GET, HEAD
80
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /health, Methods: GET
81
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /load, Methods: GET
82
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /pause, Methods: POST
83
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /resume, Methods: POST
84
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /is_paused, Methods: GET
85
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /tokenize, Methods: POST
86
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /detokenize, Methods: POST
87
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/models, Methods: GET
88
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /version, Methods: GET
89
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/responses, Methods: POST
90
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/responses/{response_id}, Methods: GET
91
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/responses/{response_id}/cancel, Methods: POST
92
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/messages, Methods: POST
93
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/chat/completions, Methods: POST
94
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/completions, Methods: POST
95
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/audio/transcriptions, Methods: POST
96
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/audio/translations, Methods: POST
97
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /scale_elastic_ep, Methods: POST
98
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /is_scaling_elastic_ep, Methods: POST
99
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /inference/v1/generate, Methods: POST
100
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /update_weights, Methods: POST
101
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /reload_weights, Methods: POST
102
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /init_broadcaster, Methods: POST
103
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/chat/completions/tokens, Methods: POST
104
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /ping, Methods: GET
105
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /ping, Methods: POST
106
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /invocations, Methods: POST
107
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /metrics, Methods: GET
108
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /classify, Methods: POST
109
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/embeddings, Methods: POST
110
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /score, Methods: POST
111
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/score, Methods: POST
112
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /rerank, Methods: POST
113
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v1/rerank, Methods: POST
114
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /v2/rerank, Methods: POST
115
+ (APIServer pid=343401) INFO 05-20 12:45:49 [launcher.py:46] Route: /pooling, Methods: POST
116
+ (APIServer pid=343401) INFO: Started server process [343401]
117
+ (APIServer pid=343401) INFO: Waiting for application startup.
118
+ (APIServer pid=343401) INFO: Application startup complete.
119
+ (APIServer pid=343401) INFO: 127.0.0.1:12620 - "GET /health HTTP/1.1" 200 OK
120
+ (APIServer pid=343401) INFO: 127.0.0.1:12622 - "GET /v1/models HTTP/1.1" 200 OK
121
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP1 pid=362631) INFO 05-20 12:45:50 [gpu_model_runner.py:3646] Reloading weights inplace...
122
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP2 pid=362633) INFO 05-20 12:45:50 [gpu_model_runner.py:3646] Reloading weights inplace...
123
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:50 [gpu_model_runner.py:3646] Reloading weights inplace...
124
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP3 pid=362635) INFO 05-20 12:45:50 [gpu_model_runner.py:3646] Reloading weights inplace...
125
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP3 pid=362635) INFO 05-20 12:45:52 [weight_utils.py:487] Time spent downloading weights for Qwen/Qwen3-8B: 0.992657 seconds
126
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP1 pid=362631) INFO 05-20 12:45:53 [weight_utils.py:487] Time spent downloading weights for Qwen/Qwen3-8B: 0.561299 seconds
127
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP2 pid=362633) INFO 05-20 12:45:54 [weight_utils.py:487] Time spent downloading weights for Qwen/Qwen3-8B: 0.569038 seconds
128
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:55 [weight_utils.py:487] Time spent downloading weights for Qwen/Qwen3-8B: 0.985347 seconds
129
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
130
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
131
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
132
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
133
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
134
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
135
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628)
136
+ (APIServer pid=343401) (EngineCore_DP0 pid=362609) (Worker_TP0 pid=362628) INFO 05-20 12:45:56 [default_loader.py:308] Loading weights took 0.77 seconds
137
+ (APIServer pid=343401) INFO: 127.0.0.1:12624 - "POST /reload_weights HTTP/1.1" 200 OK
138
+ (APIServer pid=343401) INFO 05-20 12:45:59 [chat_utils.py:574] Detected the chat template content format to be 'string'. You can set `--chat-template-content-format` to override this.
139
+ (APIServer pid=343401) INFO: 127.0.0.1:12818 - "POST /v1/chat/completions HTTP/1.1" 200 OK
140
+ (APIServer pid=343401) INFO: 127.0.0.1:12824 - "POST /v1/chat/completions HTTP/1.1" 200 OK
141
+ (APIServer pid=343401) INFO: 127.0.0.1:12812 - "POST /v1/chat/completions HTTP/1.1" 200 OK
142
+ (APIServer pid=343401) INFO: 127.0.0.1:12814 - "POST /v1/chat/completions HTTP/1.1" 200 OK
143
+ (APIServer pid=343401) INFO: 127.0.0.1:12822 - "POST /v1/chat/completions HTTP/1.1" 200 OK
144
+ (APIServer pid=343401) INFO: 127.0.0.1:12828 - "POST /v1/chat/completions HTTP/1.1" 200 OK
145
+ (APIServer pid=343401) INFO: 127.0.0.1:12816 - "POST /v1/chat/completions HTTP/1.1" 200 OK
146
+ (APIServer pid=343401) INFO: 127.0.0.1:12826 - "POST /v1/chat/completions HTTP/1.1" 200 OK
147
+ (APIServer pid=343401) INFO: 127.0.0.1:12712 - "POST /v1/chat/completions HTTP/1.1" 200 OK
148
+ (APIServer pid=343401) INFO 05-20 12:46:19 [loggers.py:236] Engine 000: Avg prompt throughput: 16673.9 tokens/s, Avg generation throughput: 780.9 tokens/s, Running: 175 reqs, Waiting: 72 reqs, GPU KV cache usage: 26.3%, Prefix cache hit rate: 0.0%
149
+ (APIServer pid=343401) INFO: 127.0.0.1:12722 - "POST /v1/chat/completions HTTP/1.1" 200 OK
150
+ (APIServer pid=343401) INFO: 127.0.0.1:12724 - "POST /v1/chat/completions HTTP/1.1" 200 OK
151
+ (APIServer pid=343401) INFO: 127.0.0.1:12710 - "POST /v1/chat/completions HTTP/1.1" 200 OK
152
+ (APIServer pid=343401) INFO: 127.0.0.1:12716 - "POST /v1/chat/completions HTTP/1.1" 200 OK
153
+ (APIServer pid=343401) INFO: 127.0.0.1:12714 - "POST /v1/chat/completions HTTP/1.1" 200 OK
154
+ (APIServer pid=343401) INFO: 127.0.0.1:13046 - "POST /v1/chat/completions HTTP/1.1" 200 OK
155
+ (APIServer pid=343401) INFO: 127.0.0.1:12710 - "POST /v1/chat/completions HTTP/1.1" 200 OK
156
+ (APIServer pid=343401) INFO: 127.0.0.1:12714 - "POST /v1/chat/completions HTTP/1.1" 200 OK
157
+ (APIServer pid=343401) INFO: 127.0.0.1:12712 - "POST /v1/chat/completions HTTP/1.1" 200 OK
158
+ (APIServer pid=343401) INFO: 127.0.0.1:12716 - "POST /v1/chat/completions HTTP/1.1" 200 OK
159
+ (APIServer pid=343401) INFO: 127.0.0.1:12722 - "POST /v1/chat/completions HTTP/1.1" 200 OK
160
+ (APIServer pid=343401) INFO: 127.0.0.1:12724 - "POST /v1/chat/completions HTTP/1.1" 200 OK
161
+ (APIServer pid=343401) INFO: 127.0.0.1:12812 - "POST /v1/chat/completions HTTP/1.1" 200 OK
162
+ (APIServer pid=343401) INFO: 127.0.0.1:12816 - "POST /v1/chat/completions HTTP/1.1" 200 OK
163
+ (APIServer pid=343401) INFO: 127.0.0.1:12970 - "POST /v1/chat/completions HTTP/1.1" 200 OK
164
+ (APIServer pid=343401) INFO: 127.0.0.1:12972 - "POST /v1/chat/completions HTTP/1.1" 200 OK
165
+ (APIServer pid=343401) INFO: 127.0.0.1:12974 - "POST /v1/chat/completions HTTP/1.1" 200 OK
166
+ (APIServer pid=343401) INFO: 127.0.0.1:12976 - "POST /v1/chat/completions HTTP/1.1" 200 OK
167
+ (APIServer pid=343401) INFO: 127.0.0.1:12978 - "POST /v1/chat/completions HTTP/1.1" 200 OK
168
+ (APIServer pid=343401) INFO: 127.0.0.1:13048 - "POST /v1/chat/completions HTTP/1.1" 200 OK
169
+ (APIServer pid=343401) INFO: 127.0.0.1:12980 - "POST /v1/chat/completions HTTP/1.1" 200 OK
170
+ (APIServer pid=343401) INFO: 127.0.0.1:12982 - "POST /v1/chat/completions HTTP/1.1" 200 OK
171
+ (APIServer pid=343401) INFO: 127.0.0.1:13034 - "POST /v1/chat/completions HTTP/1.1" 200 OK
172
+ (APIServer pid=343401) INFO: 127.0.0.1:13044 - "POST /v1/chat/completions HTTP/1.1" 200 OK
173
+ (APIServer pid=343401) INFO: 127.0.0.1:13036 - "POST /v1/chat/completions HTTP/1.1" 200 OK
174
+ (APIServer pid=343401) INFO: 127.0.0.1:13038 - "POST /v1/chat/completions HTTP/1.1" 200 OK
175
+ (APIServer pid=343401) INFO: 127.0.0.1:13040 - "POST /v1/chat/completions HTTP/1.1" 200 OK
176
+ (APIServer pid=343401) INFO: 127.0.0.1:13042 - "POST /v1/chat/completions HTTP/1.1" 200 OK
177
+ (APIServer pid=343401) INFO: 127.0.0.1:12720 - "POST /v1/chat/completions HTTP/1.1" 200 OK
178
+ (APIServer pid=343401) INFO: 127.0.0.1:13094 - "POST /v1/chat/completions HTTP/1.1" 200 OK
179
+ (APIServer pid=343401) INFO: 127.0.0.1:13016 - "POST /v1/chat/completions HTTP/1.1" 200 OK
180
+ (APIServer pid=343401) INFO: 127.0.0.1:12718 - "POST /v1/chat/completions HTTP/1.1" 200 OK
181
+ (APIServer pid=343401) INFO: 127.0.0.1:13026 - "POST /v1/chat/completions HTTP/1.1" 200 OK
182
+ (APIServer pid=343401) INFO: 127.0.0.1:13032 - "POST /v1/chat/completions HTTP/1.1" 200 OK
183
+ (APIServer pid=343401) INFO: 127.0.0.1:12628 - "POST /v1/chat/completions HTTP/1.1" 200 OK
184
+ (APIServer pid=343401) INFO: 127.0.0.1:12630 - "POST /v1/chat/completions HTTP/1.1" 200 OK
185
+ (APIServer pid=343401) INFO: 127.0.0.1:12640 - "POST /v1/chat/completions HTTP/1.1" 200 OK
186
+ (APIServer pid=343401) INFO: 127.0.0.1:13050 - "POST /v1/chat/completions HTTP/1.1" 200 OK
187
+ (APIServer pid=343401) INFO: 127.0.0.1:13018 - "POST /v1/chat/completions HTTP/1.1" 200 OK
188
+ (APIServer pid=343401) INFO: 127.0.0.1:13084 - "POST /v1/chat/completions HTTP/1.1" 200 OK
189
+ (APIServer pid=343401) INFO: 127.0.0.1:12954 - "POST /v1/chat/completions HTTP/1.1" 200 OK
190
+ (APIServer pid=343401) INFO: 127.0.0.1:13086 - "POST /v1/chat/completions HTTP/1.1" 200 OK
191
+ (APIServer pid=343401) INFO: 127.0.0.1:13090 - "POST /v1/chat/completions HTTP/1.1" 200 OK
192
+ (APIServer pid=343401) INFO: 127.0.0.1:13028 - "POST /v1/chat/completions HTTP/1.1" 200 OK
193
+ (APIServer pid=343401) INFO: 127.0.0.1:13092 - "POST /v1/chat/completions HTTP/1.1" 200 OK
194
+ (APIServer pid=343401) INFO: 127.0.0.1:12956 - "POST /v1/chat/completions HTTP/1.1" 200 OK
195
+ (APIServer pid=343401) INFO: 127.0.0.1:12958 - "POST /v1/chat/completions HTTP/1.1" 200 OK
196
+ (APIServer pid=343401) INFO: 127.0.0.1:13020 - "POST /v1/chat/completions HTTP/1.1" 200 OK
197
+ (APIServer pid=343401) INFO: 127.0.0.1:12962 - "POST /v1/chat/completions HTTP/1.1" 200 OK
198
+ (APIServer pid=343401) INFO: 127.0.0.1:12688 - "POST /v1/chat/completions HTTP/1.1" 200 OK
199
+ (APIServer pid=343401) INFO: 127.0.0.1:13098 - "POST /v1/chat/completions HTTP/1.1" 200 OK
200
+ (APIServer pid=343401) INFO: 127.0.0.1:12674 - "POST /v1/chat/completions HTTP/1.1" 200 OK
201
+ (APIServer pid=343401) INFO: 127.0.0.1:13024 - "POST /v1/chat/completions HTTP/1.1" 200 OK
202
+ (APIServer pid=343401) INFO: 127.0.0.1:12768 - "POST /v1/chat/completions HTTP/1.1" 200 OK
203
+ (APIServer pid=343401) INFO: 127.0.0.1:13060 - "POST /v1/chat/completions HTTP/1.1" 200 OK
204
+ (APIServer pid=343401) INFO: 127.0.0.1:12952 - "POST /v1/chat/completions HTTP/1.1" 200 OK
205
+ (APIServer pid=343401) INFO: 127.0.0.1:13066 - "POST /v1/chat/completions HTTP/1.1" 200 OK
206
+ (APIServer pid=343401) INFO: 127.0.0.1:12990 - "POST /v1/chat/completions HTTP/1.1" 200 OK
207
+ (APIServer pid=343401) INFO: 127.0.0.1:12996 - "POST /v1/chat/completions HTTP/1.1" 200 OK
208
+ (APIServer pid=343401) INFO: 127.0.0.1:12626 - "POST /v1/chat/completions HTTP/1.1" 200 OK
209
+ (APIServer pid=343401) INFO: 127.0.0.1:13030 - "POST /v1/chat/completions HTTP/1.1" 200 OK
210
+ (APIServer pid=343401) INFO: 127.0.0.1:12964 - "POST /v1/chat/completions HTTP/1.1" 200 OK
211
+ (APIServer pid=343401) INFO: 127.0.0.1:12690 - "POST /v1/chat/completions HTTP/1.1" 200 OK
212
+ (APIServer pid=343401) INFO: 127.0.0.1:12750 - "POST /v1/chat/completions HTTP/1.1" 200 OK
213
+ (APIServer pid=343401) INFO: 127.0.0.1:12950 - "POST /v1/chat/completions HTTP/1.1" 200 OK
214
+ (APIServer pid=343401) INFO 05-20 12:46:29 [loggers.py:236] Engine 000: Avg prompt throughput: 10294.0 tokens/s, Avg generation throughput: 5270.4 tokens/s, Running: 214 reqs, Waiting: 0 reqs, GPU KV cache usage: 42.4%, Prefix cache hit rate: 0.0%
215
+ (APIServer pid=343401) INFO: 127.0.0.1:12884 - "POST /v1/chat/completions HTTP/1.1" 200 OK
216
+ (APIServer pid=343401) INFO: 127.0.0.1:12886 - "POST /v1/chat/completions HTTP/1.1" 200 OK
217
+ (APIServer pid=343401) INFO: 127.0.0.1:12890 - "POST /v1/chat/completions HTTP/1.1" 200 OK
218
+ (APIServer pid=343401) INFO: 127.0.0.1:12892 - "POST /v1/chat/completions HTTP/1.1" 200 OK
219
+ (APIServer pid=343401) INFO: 127.0.0.1:12880 - "POST /v1/chat/completions HTTP/1.1" 200 OK
220
+ (APIServer pid=343401) INFO: 127.0.0.1:12894 - "POST /v1/chat/completions HTTP/1.1" 200 OK
221
+ (APIServer pid=343401) INFO: 127.0.0.1:13054 - "POST /v1/chat/completions HTTP/1.1" 200 OK
222
+ (APIServer pid=343401) INFO: 127.0.0.1:12988 - "POST /v1/chat/completions HTTP/1.1" 200 OK
223
+ (APIServer pid=343401) INFO: 127.0.0.1:12788 - "POST /v1/chat/completions HTTP/1.1" 200 OK
224
+ (APIServer pid=343401) INFO: 127.0.0.1:12794 - "POST /v1/chat/completions HTTP/1.1" 200 OK
225
+ (APIServer pid=343401) INFO: 127.0.0.1:12722 - "POST /v1/chat/completions HTTP/1.1" 200 OK
226
+ (APIServer pid=343401) INFO: 127.0.0.1:12782 - "POST /v1/chat/completions HTTP/1.1" 200 OK
227
+ (APIServer pid=343401) INFO: 127.0.0.1:12778 - "POST /v1/chat/completions HTTP/1.1" 200 OK
228
+ (APIServer pid=343401) INFO: 127.0.0.1:12830 - "POST /v1/chat/completions HTTP/1.1" 200 OK
229
+ (APIServer pid=343401) INFO: 127.0.0.1:12968 - "POST /v1/chat/completions HTTP/1.1" 200 OK
230
+ (APIServer pid=343401) INFO: 127.0.0.1:12714 - "POST /v1/chat/completions HTTP/1.1" 200 OK
231
+ (APIServer pid=343401) INFO: 127.0.0.1:12888 - "POST /v1/chat/completions HTTP/1.1" 200 OK
232
+ (APIServer pid=343401) INFO: 127.0.0.1:12994 - "POST /v1/chat/completions HTTP/1.1" 200 OK
233
+ (APIServer pid=343401) INFO: 127.0.0.1:12710 - "POST /v1/chat/completions HTTP/1.1" 200 OK
234
+ (APIServer pid=343401) INFO: 127.0.0.1:12992 - "POST /v1/chat/completions HTTP/1.1" 200 OK
235
+ (APIServer pid=343401) INFO: 127.0.0.1:12832 - "POST /v1/chat/completions HTTP/1.1" 200 OK
236
+ (APIServer pid=343401) INFO: 127.0.0.1:12792 - "POST /v1/chat/completions HTTP/1.1" 200 OK
237
+ (APIServer pid=343401) INFO: 127.0.0.1:12686 - "POST /v1/chat/completions HTTP/1.1" 200 OK
238
+ (APIServer pid=343401) INFO: 127.0.0.1:12916 - "POST /v1/chat/completions HTTP/1.1" 200 OK
239
+ (APIServer pid=343401) INFO: 127.0.0.1:13064 - "POST /v1/chat/completions HTTP/1.1" 200 OK
240
+ (APIServer pid=343401) INFO: 127.0.0.1:12998 - "POST /v1/chat/completions HTTP/1.1" 200 OK
241
+ (APIServer pid=343401) INFO: 127.0.0.1:12834 - "POST /v1/chat/completions HTTP/1.1" 200 OK
242
+ (APIServer pid=343401) INFO: 127.0.0.1:12676 - "POST /v1/chat/completions HTTP/1.1" 200 OK
243
+ (APIServer pid=343401) INFO 05-20 12:46:39 [loggers.py:236] Engine 000: Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 1354.0 tokens/s, Running: 0 reqs, Waiting: 0 reqs, GPU KV cache usage: 0.0%, Prefix cache hit rate: 0.0%
244
+ (APIServer pid=343401) INFO 05-20 12:46:49 [loggers.py:236] Engine 000: Avg prompt throughput: 0.0 tokens/s, Avg generation throughput: 0.0 tokens/s, Running: 0 reqs, Waiting: 0 reqs, GPU KV cache usage: 0.0%, Prefix cache hit rate: 0.0%
245
+ (APIServer pid=343401) WARNING 05-20 13:36:49 [launcher.py:104] port 18914 is used by process psutil.Process(pid=362635, name='VLLM::Worker_TP3', status='sleeping', started='12:44:59') launched with command:
246
+ (APIServer pid=343401) WARNING 05-20 13:36:49 [launcher.py:104] VLLM::Worker_TP3
247
+ (APIServer pid=343401) INFO 05-20 13:36:49 [launcher.py:110] Shutting down FastAPI HTTP server.
248
+ (APIServer pid=343401) INFO: Shutting down
249
+ (APIServer pid=343401) INFO: Waiting for application shutdown.
250
+ (APIServer pid=343401) INFO: Application shutdown complete.
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/orchestrator.stdout ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ warning: The `extra-build-dependencies` option is experimental and may change without warning. Pass `--preview-features extra-build-dependencies` to disable this warning.
2
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'repr' attribute with value False was provided to the `Field()` function, which has no effect in the context it was used. 'repr' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
3
+ warnings.warn(
4
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'frozen' attribute with value True was provided to the `Field()` function, which has no effect in the context it was used. 'frozen' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
5
+ warnings.warn(
6
+ 12:44:49  INFO Starting orchestrator
7
+ 12:44:49  INFO Initializing OpenAI client (base_url=http://localhost:18914/v1, api_key_var=OPENAI_API_KEY, headers={})
8
+ 12:44:49  INFO Initializing tokenizer for Qwen/Qwen3-8B
9
+ 12:44:50  INFO Initializing monitor (wandb=project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-orchestrator' offline=True id=None log_extras=LogExtrasConfig(samples=True, distributions=True, interval=10), prime_monitor=None)
10
+ 12:44:50  INFO Initializing WandbMonitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-orchestrator' offline=True id=None log_extras=LogExtrasConfig(samples=True, distributions=True, interval=10))
11
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id axbofn1b.
12
+ wandb: Tracking run with wandb version 0.21.4
13
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
14
+ wandb: Run data is saved locally in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b
15
+ wandb: Detected [mcp, openai, agents, verifiers] in use.
16
+ wandb: Use W&B Weave for improved LLM call tracing. Install Weave with `pip install weave` then add `import weave` to the top of your script.
17
+ wandb: For more information, check out the docs at: https://weave-docs.wandb.ai/
18
+ 12:44:52  INFO Loading 1 training environment(s) (deepcoder-minimal-edit)
19
+ 2026-05-20 12:44:58 - verifiers.envs.environment.DeepCoderEnv - WARNING - The parser and rubric parser are different. This may cause unexpected behavior.
20
+ Env_type: ood, Similarity_metric: levenshtein, Similarity_weight: 1.0, Execution_weight: 0.1
21
+
22
+
23
+ 2026-05-20 12:45:08 - verifiers.envs.environment.DeepCoderEnv - WARNING - eval_dataset is not set, falling back to train dataset
24
+
25
+ 12:45:14  INFO Using token prompts in environment to avoid retokenization discrepancies in multi-turn rollouts
26
+ 2026-05-20 12:45:14 - verifiers.envs.environment.DeepCoderEnv - WARNING - DeepCoderEnv is configured to use interleaved rollouts. All model responses after the first turn will be pre-tokenized before being sent to the model. Currently, this is a hand-crafted feature for PRIME-RL's vLLM server extension.
27
+ 12:45:14  INFO Setting up buffer (seed=None env_ratios=None easy_threshold=None hard_threshold=None easy_fraction=0.0 hard_fraction=0.0 online_difficulty_filtering=False hash_keys=['task', 'prompt'])
28
+ 12:45:17  INFO Waiting for inference pool to be ready
29
+ 12:45:27 WARNING Inference server was not reached after 10 seconds (Error: All connection attempts failed) on http://localhost:18914
30
+ 12:45:37 WARNING Inference server was not reached after 20 seconds (Error: All connection attempts failed) on http://localhost:18914
31
+ 12:45:47 WARNING Inference server was not reached after 30 seconds (Error: All connection attempts failed) on http://localhost:18914
32
+ 12:45:50 SUCCESS Inference pool ready
33
+ 12:45:50  INFO Initializing weight broadcast (type='filesystem')
34
+ 12:45:50  INFO Initializing checkpoint manager (interval=50 resume_step=None keep=None skip_progress=False skip_buffer=False)
35
+ 12:45:50  INFO Initializing training batch sender (type='filesystem')
36
+ 12:45:50  INFO Training from scratch. Resetting weights to base model
37
+ 12:45:56  INFO Starting orchestrator loop (max_steps=50)
38
+ 12:45:56  INFO Starting orchestrator step 0
39
+
40
+ wandb: You can sync this run to the cloud by running:
41
+ wandb: wandb sync /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b
42
+ wandb: Find logs at: ../fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs
43
+
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer.stdout ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ warning: The `extra-build-dependencies` option is experimental and may change without warning. Pass `--preview-features extra-build-dependencies` to disable this warning.
2
+ W0520 12:44:32.030000 343919 torch/distributed/run.py:803]
3
+ W0520 12:44:32.030000 343919 torch/distributed/run.py:803] *****************************************
4
+ W0520 12:44:32.030000 343919 torch/distributed/run.py:803] Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
5
+ W0520 12:44:32.030000 343919 torch/distributed/run.py:803] *****************************************
6
+ [default0]:/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'repr' attribute with value False was provided to the `Field()` function, which has no effect in the context it was used. 'repr' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
7
+ [default0]: warnings.warn(
8
+ [default0]:/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'frozen' attribute with value True was provided to the `Field()` function, which has no effect in the context it was used. 'frozen' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
9
+ [default0]: warnings.warn(
10
+ [default0]:12:45:02  INFO Starting RL trainer in World(world_size=4, rank=0, local_rank=0, local_world_size=4, num_nodes=1)
11
+ [default0]:12:45:02  INFO Starting RL trainer in World(world_size=4, rank=0, local_rank=0, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
12
+ [default0]:12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
13
+ [default0]:12:45:02  INFO Initializing WandbMonitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
14
+ [default0]:wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id 7yfvx9jl.
15
+ [default0]:wandb: Tracking run with wandb version 0.21.4
16
+ [default0]:wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
17
+ [default0]:wandb: Run data is saved locally in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl
18
+ [default0]:wandb: Detected [mcp, openai, agents, verifiers] in use.
19
+ [default0]:wandb: Use W&B Weave for improved LLM call tracing. Install Weave with `pip install weave` then add `import weave` to the top of your script.
20
+ [default0]:wandb: For more information, check out the docs at: https://weave-docs.wandb.ai/
21
+ [default0]:12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
22
+ [default0]:[Gloo] Rank 0 is connected to 3 peer ranks. Expected number of connected peer ranks is : 3
23
+ [default0]:12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
24
+ [default0]:12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
25
+ [default0]:12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
26
+ [default0]:/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/__init__.py:1617: UserWarning: Please use the new API settings to control TF32 behavior, such as torch.backends.cudnn.conv.fp32_precision = 'tf32' or torch.backends.cuda.matmul.fp32_precision = 'ieee'. Old settings, e.g, torch.backends.cuda.matmul.allow_tf32 = True, torch.backends.cudnn.allow_tf32 = True, allowTF32CuDNN() and allowTF32CuBLAS() will be deprecated after Pytorch 2.9. Please see https://pytorch.org/docs/main/notes/cuda.html#tensorfloat-32-tf32-on-ampere-and-later-devices (Triggered internally at /pytorch/aten/src/ATen/Context.cpp:80.)
27
+ [default0]: _C._set_float32_matmul_precision(precision)
28
+ [default0]:12:45:04  INFO Auto-selected implementation: hf (custom implementation not supported)
29
+ [default0]:12:45:04  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
30
+ [default0]:12:45:05  INFO Applied activation checkpointing (freq=1)
31
+ [default0]:12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
32
+ [default0]:
33
+ [default0]:Fetching 15 files: 0%| | 0/15 [00:00<?, ?it/s][default0]:
34
+ [default0]:Fetching 15 files: 7%|▋ | 1/15 [00:03<00:44, 3.20s/it]W0520 12:45:18.018000 343919 torch/distributed/elastic/multiprocessing/api.py:908] Sending process 346416 closing signal SIGTERM
35
+ W0520 12:45:18.021000 343919 torch/distributed/elastic/multiprocessing/api.py:908] Sending process 346425 closing signal SIGTERM
36
+ W0520 12:45:18.023000 343919 torch/distributed/elastic/multiprocessing/api.py:908] Sending process 346490 closing signal SIGTERM
37
+ E0520 12:45:20.715000 343919 torch/distributed/elastic/multiprocessing/api.py:882] failed (exitcode: 1) local_rank: 3 (pid: 346491) of binary: /home/aiops/zhuty/prime-rl/.venv/bin/python
38
+ Traceback (most recent call last):
39
+ File "/home/aiops/zhuty/prime-rl/.venv/bin/torchrun", line 10, in <module>
40
+ sys.exit(main())
41
+ ^^^^^^
42
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 357, in wrapper
43
+ return f(*args, **kwargs)
44
+ ^^^^^^^^^^^^^^^^^^
45
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/run.py", line 936, in main
46
+ run(args)
47
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/run.py", line 927, in run
48
+ elastic_launch(
49
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/launcher/api.py", line 156, in __call__
50
+ return launch_agent(self._config, self._entrypoint, list(args))
51
+ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
52
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/launcher/api.py", line 293, in launch_agent
53
+ raise ChildFailedError(
54
+ torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
55
+ ============================================================
56
+ prime_rl.trainer.rl.train FAILED
57
+ ------------------------------------------------------------
58
+ Failures:
59
+ <NO_OTHER_FAILURES>
60
+ ------------------------------------------------------------
61
+ Root Cause (first observed failure):
62
+ [0]:
63
+ time : 2026-05-20_12:45:18
64
+ host : localhost
65
+ rank : 3 (local_rank: 3)
66
+ exitcode : 1 (pid: 346491)
67
+ error_file: <N/A>
68
+ traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
69
+ ============================================================
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer/rank_0.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=0, local_rank=0, local_world_size=4, num_nodes=1)
2
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=0, local_rank=0, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
3
+ 12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
4
+ 12:45:02  INFO Initializing WandbMonitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
5
+ 12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
6
+ 12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
7
+ 12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
8
+ 12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
9
+ 12:45:04  INFO Auto-selected implementation: hf (custom implementation not supported)
10
+ 12:45:04  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
11
+ 12:45:05  INFO Applied activation checkpointing (freq=1)
12
+ 12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer/rank_1.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=1, local_rank=1, local_world_size=4, num_nodes=1)
2
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=1, local_rank=1, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
3
+ 12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
4
+ 12:45:02 WARNING Skipping WandbMonitor initialization from non-master rank (1)
5
+ 12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
6
+ 12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
7
+ 12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
8
+ 12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
9
+ 12:45:05  INFO Auto-selected implementation: hf (custom implementation not supported)
10
+ 12:45:05  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
11
+ 12:45:05  INFO Applied activation checkpointing (freq=1)
12
+ 12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer/rank_2.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=2, local_rank=2, local_world_size=4, num_nodes=1)
2
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=2, local_rank=2, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
3
+ 12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
4
+ 12:45:02 WARNING Skipping WandbMonitor initialization from non-master rank (2)
5
+ 12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
6
+ 12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
7
+ 12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
8
+ 12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
9
+ 12:45:05  INFO Auto-selected implementation: hf (custom implementation not supported)
10
+ 12:45:05  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
11
+ 12:45:05  INFO Applied activation checkpointing (freq=1)
12
+ 12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/logs/trainer/rank_3.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=3, local_rank=3, local_world_size=4, num_nodes=1)
2
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=3, local_rank=3, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
3
+ 12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
4
+ 12:45:02 WARNING Skipping WandbMonitor initialization from non-master rank (3)
5
+ 12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
6
+ 12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
7
+ 12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
8
+ 12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
9
+ 12:45:05  INFO Auto-selected implementation: hf (custom implementation not supported)
10
+ 12:45:05  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
11
+ 12:45:05  INFO Applied activation checkpointing (freq=1)
12
+ 12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/configs/orch.toml ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ trajectory_strategy = "interleaved"
2
+ output_dir = "/home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default"
3
+ batch_size = 256
4
+ oversampling_factor = 1.0
5
+ rollouts_per_example = 8
6
+ seq_len = 4096
7
+ mask_env_responses = true
8
+ num_train_workers = 4
9
+ max_steps = 50
10
+ max_off_policy_steps = 8
11
+ max_async_level = 1
12
+ strict_async_level = false
13
+ bench = false
14
+ seed = 42
15
+
16
+ [client]
17
+ timeout = 1200
18
+ base_url = [
19
+ "http://localhost:18914/v1",
20
+ ]
21
+ api_key_var = "OPENAI_API_KEY"
22
+
23
+ [client.headers]
24
+
25
+ [model]
26
+ name = "Qwen/Qwen3-8B"
27
+ trust_remote_code = false
28
+
29
+ [sampling]
30
+ temperature = 1.0
31
+ repetition_penalty = 1.0
32
+ max_tokens = 2048
33
+ min_tokens = 0
34
+
35
+ [sampling.extra_body.chat_template_kwargs]
36
+ enable_thinking = false
37
+
38
+ [[env]]
39
+ id = "deepcoder-minimal-edit"
40
+
41
+ [env.args]
42
+ env_type = "ood"
43
+ execution_weight = 0.1
44
+ similarity_weight = 1.0
45
+ similarity_metric = "levenshtein"
46
+
47
+ [buffer]
48
+ easy_fraction = 0.0
49
+ hard_fraction = 0.0
50
+ online_difficulty_filtering = false
51
+ hash_keys = [
52
+ "task",
53
+ "prompt",
54
+ ]
55
+
56
+ [advantage]
57
+ length_weighted_mean = false
58
+
59
+ [log]
60
+ level = "info"
61
+ vf_level = "warn"
62
+ file = true
63
+ log_data = false
64
+
65
+ [wandb]
66
+ project = "prime-rl"
67
+ name = "rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-orchestrator"
68
+ offline = true
69
+
70
+ [wandb.log_extras]
71
+ samples = true
72
+ distributions = true
73
+ interval = 10
74
+
75
+ [ckpt]
76
+ interval = 50
77
+ skip_progress = false
78
+ skip_buffer = false
79
+
80
+ [weight_broadcast]
81
+ type = "filesystem"
82
+
83
+ [rollout_transport]
84
+ type = "filesystem"
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/logs/orchestrator.log ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:44:49  INFO Starting orchestrator
2
+ 12:44:49  INFO Initializing OpenAI client (base_url=http://localhost:18914/v1, api_key_var=OPENAI_API_KEY, headers={})
3
+ 12:44:49  INFO Initializing tokenizer for Qwen/Qwen3-8B
4
+ 12:44:50  INFO Initializing monitor (wandb=project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-orchestrator' offline=True id=None log_extras=LogExtrasConfig(samples=True, distributions=True, interval=10), prime_monitor=None)
5
+ 12:44:50  INFO Initializing WandbMonitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-orchestrator' offline=True id=None log_extras=LogExtrasConfig(samples=True, distributions=True, interval=10))
6
+ 12:44:52  INFO Loading 1 training environment(s) (deepcoder-minimal-edit)
7
+ 12:45:14  INFO Using token prompts in environment to avoid retokenization discrepancies in multi-turn rollouts
8
+ 12:45:14  INFO Setting up buffer (seed=None env_ratios=None easy_threshold=None hard_threshold=None easy_fraction=0.0 hard_fraction=0.0 online_difficulty_filtering=False hash_keys=['task', 'prompt'])
9
+ 12:45:17  INFO Waiting for inference pool to be ready
10
+ 12:45:27 WARNING Inference server was not reached after 10 seconds (Error: All connection attempts failed) on http://localhost:18914
11
+ 12:45:37 WARNING Inference server was not reached after 20 seconds (Error: All connection attempts failed) on http://localhost:18914
12
+ 12:45:47 WARNING Inference server was not reached after 30 seconds (Error: All connection attempts failed) on http://localhost:18914
13
+ 12:45:50 SUCCESS Inference pool ready
14
+ 12:45:50  INFO Initializing weight broadcast (type='filesystem')
15
+ 12:45:50  INFO Initializing checkpoint manager (interval=50 resume_step=None keep=None skip_progress=False skip_buffer=False)
16
+ 12:45:50  INFO Initializing training batch sender (type='filesystem')
17
+ 12:45:50  INFO Training from scratch. Resetting weights to base model
18
+ 12:45:56  INFO Starting orchestrator loop (max_steps=50)
19
+ 12:45:56  INFO Starting orchestrator step 0
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/debug-internal.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"time":"2026-05-20T12:44:51.461299586Z","level":"INFO","msg":"stream: starting","core version":"0.21.4"}
2
+ {"time":"2026-05-20T12:44:51.610528151Z","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
3
+ {"time":"2026-05-20T12:44:51.615382842Z","level":"INFO","msg":"stream: created new stream","id":"axbofn1b"}
4
+ {"time":"2026-05-20T12:44:51.615406346Z","level":"INFO","msg":"stream: started","id":"axbofn1b"}
5
+ {"time":"2026-05-20T12:44:51.615436181Z","level":"INFO","msg":"writer: started","stream_id":"axbofn1b"}
6
+ {"time":"2026-05-20T12:44:51.615450137Z","level":"INFO","msg":"handler: started","stream_id":"axbofn1b"}
7
+ {"time":"2026-05-20T12:44:51.615468662Z","level":"INFO","msg":"sender: started","stream_id":"axbofn1b"}
8
+ {"time":"2026-05-20T12:44:51.620940908Z","level":"WARN","msg":"runupserter: server does not expand metric globs but the x_server_side_expand_glob_metrics setting is set; ignoring"}
9
+ {"time":"2026-05-20T12:46:33.988461048Z","level":"INFO","msg":"stream: closing","id":"axbofn1b"}
10
+ {"time":"2026-05-20T12:46:33.989032577Z","level":"INFO","msg":"handler: closed","stream_id":"axbofn1b"}
11
+ {"time":"2026-05-20T12:46:33.993121499Z","level":"INFO","msg":"sender: closed","stream_id":"axbofn1b"}
12
+ {"time":"2026-05-20T12:46:33.993136156Z","level":"INFO","msg":"stream: closed","id":"axbofn1b"}
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/debug.log ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Current SDK version is 0.21.4
2
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Configure stats pid to 344530
3
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Loading settings from /root/.config/wandb/settings
4
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Loading settings from /home/aiops/zhuty/prime-rl/wandb/settings
5
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Loading settings from environment variables
6
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:setup_run_log_directory():686] Logging user logs to /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs/debug.log
7
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:setup_run_log_directory():687] Logging internal logs to /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs/debug-internal.log
8
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:init():813] calling init triggers
9
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:init():818] wandb.init called with sweep_config: {}
10
+ config: {'client': {'timeout': 1200, 'base_url': ['http://localhost:18914/v1'], 'api_key_var': 'OPENAI_API_KEY', 'headers': {}}, 'model': {'name': 'Qwen/Qwen3-8B', 'trust_remote_code': False}, 'sampling': {'temperature': 1.0, 'repetition_penalty': 1.0, 'max_tokens': 2048, 'min_tokens': 0, 'seed': None, 'extra_body': {'chat_template_kwargs': {'enable_thinking': False}}}, 'env': [{'id': 'deepcoder-minimal-edit', 'args': {'env_type': 'ood', 'execution_weight': 0.1, 'similarity_weight': 1.0, 'similarity_metric': 'levenshtein'}, 'name': None}], 'eval': None, 'buffer': {'seed': None, 'env_ratios': None, 'easy_threshold': None, 'hard_threshold': None, 'easy_fraction': 0.0, 'hard_fraction': 0.0, 'online_difficulty_filtering': False, 'hash_keys': ['task', 'prompt']}, 'advantage': {'length_weighted_mean': False}, 'log': {'level': 'info', 'vf_level': 'warn', 'file': True, 'log_data': False}, 'wandb': {'project': 'prime-rl', 'name': 'rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-orchestrator', 'offline': True, 'id': None, 'log_extras': {'samples': True, 'distributions': True, 'interval': 10}}, 'prime_monitor': None, 'ckpt': {'interval': 50, 'resume_step': None, 'keep': None, 'skip_progress': False, 'skip_buffer': False}, 'val': None, 'weight_broadcast': {'type': 'filesystem'}, 'rollout_transport': {'type': 'filesystem'}, 'trajectory_strategy': 'interleaved', 'output_dir': PosixPath('/home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default'), 'max_concurrent': None, 'batch_size': 256, 'oversampling_factor': 1.0, 'rollouts_per_example': 8, 'seq_len': 4096, 'mask_env_responses': True, 'num_train_workers': 4, 'max_steps': 50, 'max_off_policy_steps': 8, 'max_async_level': 1, 'strict_async_level': False, 'bench': False, 'seed': 42, 'lora_name': None, 'heartbeat': None, '_wandb': {}}
11
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:init():854] starting backend
12
+ 2026-05-20 12:44:51,188 INFO MainThread:344530 [wandb_init.py:init():857] sending inform_init request
13
+ 2026-05-20 12:44:51,195 INFO MainThread:344530 [wandb_init.py:init():865] backend started and connected
14
+ 2026-05-20 12:44:51,197 INFO MainThread:344530 [wandb_init.py:init():936] updated telemetry
15
+ 2026-05-20 12:44:51,240 INFO MainThread:344530 [wandb_init.py:init():960] communicating run to backend with 90.0 second timeout
16
+ 2026-05-20 12:44:51,622 INFO MainThread:344530 [wandb_init.py:init():1011] starting run threads in backend
17
+ 2026-05-20 12:44:52,776 INFO MainThread:344530 [wandb_run.py:_console_start():2506] atexit reg
18
+ 2026-05-20 12:44:52,776 INFO MainThread:344530 [wandb_run.py:_redirect():2354] redirect: wrap_raw
19
+ 2026-05-20 12:44:52,776 INFO MainThread:344530 [wandb_run.py:_redirect():2423] Wrapping output streams.
20
+ 2026-05-20 12:44:52,776 INFO MainThread:344530 [wandb_run.py:_redirect():2446] Redirects installed.
21
+ 2026-05-20 12:44:52,784 INFO MainThread:344530 [wandb_init.py:init():1049] run started, returning control to user process
22
+ 2026-05-20 12:46:33,988 INFO wandb-AsyncioManager-main:344530 [service_client.py:_forward_responses():84] Reached EOF.
23
+ 2026-05-20 12:46:33,989 INFO wandb-AsyncioManager-main:344530 [mailbox.py:close():137] Closing mailbox, abandoning 0 handles.
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/files/output.log ADDED
File without changes
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/files/requirements.txt ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ einops==0.8.1
2
+ sentencepiece==0.2.1
3
+ rich-toolkit==0.15.1
4
+ dion==0.1.0
5
+ uvicorn==0.35.0
6
+ ring-flash-attn==0.1.8
7
+ anthropic==0.71.0
8
+ reverse-text==0.1.4
9
+ accelerate==1.10.1
10
+ fsspec==2025.3.0
11
+ frozenlist==1.7.0
12
+ pydantic-extra-types==2.10.5
13
+ pre_commit==4.3.0
14
+ pydantic==2.12.5
15
+ pyparsing==3.2.3
16
+ torchdata==0.11.0
17
+ pluggy==1.6.0
18
+ contourpy==1.3.3
19
+ lark==1.2.2
20
+ tyro==0.9.31
21
+ nodeenv==1.9.1
22
+ toml==0.10.2
23
+ nvidia-nccl-cu12==2.27.5
24
+ python-dateutil==2.9.0.post0
25
+ nvidia-cusolver-cu12==11.7.3.90
26
+ rich==14.1.0
27
+ nvidia-cusparse-cu12==12.5.8.93
28
+ pyproject_hooks==1.2.0
29
+ partial-json-parser==0.2.1.1.post6
30
+ cbor2==5.7.0
31
+ virtualenv==20.34.0
32
+ nvidia-cuda-nvrtc-cu12==12.8.93
33
+ httpcore==1.0.9
34
+ nvidia-cudnn-cu12==9.10.2.21
35
+ aiohttp==3.12.15
36
+ lxml==6.0.1
37
+ pillow==11.3.0
38
+ debugpy==1.8.16
39
+ jiter==0.10.0
40
+ hf-xet==1.1.9
41
+ torchtitan==0.1.0
42
+ torchaudio==2.9.0
43
+ dill==0.3.8
44
+ interegular==0.3.3
45
+ opencv-python-headless==4.12.0.88
46
+ fastcore==1.8.8
47
+ pytz==2025.2
48
+ watchfiles==1.1.0
49
+ fonttools==4.59.2
50
+ cuda-bindings==13.1.1
51
+ urllib3==2.5.0
52
+ wcwidth==0.2.13
53
+ distlib==0.4.0
54
+ kiwisolver==1.4.10rc0
55
+ pybase64==1.4.2
56
+ annotated-types==0.7.0
57
+ py-cpuinfo==9.0.0
58
+ chess==1.11.2
59
+ multidict==6.6.4
60
+ openai-harmony==0.0.4
61
+ traitlets==5.14.3
62
+ h11==0.16.0
63
+ tenacity==9.1.2
64
+ llvmlite==0.44.0
65
+ GitPython==3.1.45
66
+ websockets==15.0.1
67
+ prime-evals==0.1.5
68
+ prime-sandboxes==0.2.7
69
+ cachetools==5.5.2
70
+ pandas==2.3.2
71
+ vllm==0.12.0
72
+ cycler==0.12.1
73
+ distro==1.9.0
74
+ scipy==1.16.1
75
+ typeguard==4.4.4
76
+ nvidia-cublas-cu12==12.8.4.1
77
+ huggingface-hub==0.35.0rc0
78
+ triton==3.5.0
79
+ numba==0.61.2
80
+ certifi==2025.8.3
81
+ Pygments==2.19.2
82
+ grpcio==1.75.0
83
+ mistral_common==1.8.6
84
+ cryptography==46.0.3
85
+ openai==2.3.0
86
+ datasets==4.0.0
87
+ opentelemetry-sdk==1.36.0
88
+ blake3==1.0.5
89
+ opentelemetry-semantic-conventions==0.57b0
90
+ nltk==3.9.1
91
+ lovely-tensors==0.1.18
92
+ pydantic-settings==2.10.1
93
+ fastrlock==0.8.3
94
+ wandb==0.21.4
95
+ asttokens==3.0.0
96
+ latex2sympy2_extended==1.10.2
97
+ psutil==7.0.0
98
+ iniconfig==2.1.0
99
+ python-dotenv==1.1.1
100
+ referencing==0.36.2
101
+ multiprocess==0.70.16
102
+ comm==0.2.3
103
+ smmap==5.0.2
104
+ sse-starlette==3.0.2
105
+ numpy==2.2.6
106
+ shellingham==1.5.4
107
+ annotated-doc==0.0.4
108
+ mdit-py-plugins==0.5.0
109
+ jupyter_core==5.8.1
110
+ typing-inspection==0.4.2
111
+ cuda-pathfinder==1.3.3
112
+ lm-format-enforcer==0.11.3
113
+ tomli==2.2.1
114
+ nest-asyncio==1.6.0
115
+ sentry-sdk==3.0.0a6
116
+ ipython==9.5.0
117
+ ray==2.49.1
118
+ flash_attn==2.8.3+cu128torch2.9
119
+ tree-sitter==0.22.3
120
+ flashinfer-python==0.5.3
121
+ nvidia-nvtx-cu12==12.8.90
122
+ model-hosting-container-standards==0.1.11
123
+ outlines_core==0.2.11
124
+ nvidia-ml-py==13.590.44
125
+ propcache==0.3.2
126
+ PyYAML==6.0.2
127
+ Jinja2==3.1.6
128
+ absl-py==2.3.1
129
+ aiohappyeyeballs==2.6.1
130
+ colorama==0.4.6
131
+ importlib_metadata==8.7.0
132
+ attrs==25.3.0
133
+ loguru==0.7.3
134
+ python-multipart==0.0.20
135
+ email-validator==2.3.0
136
+ verifiers==0.1.8.post2
137
+ aiosignal==1.4.0
138
+ ipython_pygments_lexers==1.1.1
139
+ nvidia-cusparselt-cu12==0.7.1
140
+ types-requests==2.32.4.20250809
141
+ apache-tvm-ffi==0.1.5
142
+ jsonschema-specifications==2025.9.1
143
+ joblib==1.5.2
144
+ networkx==3.5
145
+ matplotlib==3.10.6
146
+ python-Levenshtein==0.27.3
147
+ codebleu==0.7.0
148
+ rpds-py==0.27.1
149
+ httptools==0.6.4
150
+ docstring_parser==0.17.0
151
+ pycryptodomex==3.23.0
152
+ pycountry==24.6.1
153
+ setuptools==79.0.1
154
+ dnspython==2.8.0
155
+ jedi==0.19.2
156
+ textual==6.1.0
157
+ tensorboard-data-server==0.7.2
158
+ jsonschema==4.25.1
159
+ stack-data==0.6.3
160
+ tabulate==0.9.0
161
+ blobfile==3.1.0
162
+ widgetsnbextension==4.0.14
163
+ starlette==0.50.0
164
+ wadler_lindig==0.1.7
165
+ tqdm==4.67.1
166
+ pylatexenc==3.0a33
167
+ shtab==1.7.2
168
+ matplotlib-inline==0.1.7
169
+ cupy-cuda12x==13.6.0
170
+ wget==3.2
171
+ antlr4-python3-runtime==4.9.3
172
+ deepcoder-minimal-edit==0.1.0
173
+ tiktoken==0.11.0
174
+ torchvision==0.24.0
175
+ protobuf==6.32.0
176
+ compressed-tensors==0.12.2
177
+ astor==0.8.1
178
+ pyzmq==27.1.0
179
+ tzdata==2025.2
180
+ setproctitle==1.3.7
181
+ executing==2.2.1
182
+ safetensors==0.6.2
183
+ nvidia-cufile-cu12==1.13.1.3
184
+ fastapi-cloud-cli==0.1.5
185
+ idna==3.10
186
+ click==8.2.1
187
+ pycparser==2.23
188
+ nvidia-cudnn-frontend==1.16.0
189
+ ipywidgets==8.1.7
190
+ prometheus_client==0.22.1
191
+ anyio==4.10.0
192
+ filelock==3.19.1
193
+ prometheus-fastapi-instrumentator==7.1.0
194
+ nvidia-nvjitlink-cu12==12.8.93
195
+ pytest==8.4.2
196
+ openai-agents==0.1.0
197
+ aiofiles==25.1.0
198
+ nvidia-cufft-cu12==11.3.3.83
199
+ griffe==1.14.0
200
+ gguf==0.17.1
201
+ cydifflib==1.2.0
202
+ prime-rl==0.1.0
203
+ ninja==1.13.0
204
+ xxhash==3.5.0
205
+ regex==2025.9.1
206
+ httpx==0.28.1
207
+ msgpack==1.1.1
208
+ requests==2.32.5
209
+ pure_eval==0.2.3
210
+ math-verify==0.8.0
211
+ llguidance==1.3.0
212
+ fastapi==0.124.4
213
+ beartype==0.21.0
214
+ sympy==1.14.0
215
+ liger_kernel==0.6.2
216
+ charset-normalizer==3.4.3
217
+ typer==0.17.4
218
+ depyf==0.20.0
219
+ msgspec==0.19.0
220
+ parso==0.8.5
221
+ jupyterlab_widgets==3.0.15
222
+ uvloop==0.21.0
223
+ Werkzeug==3.1.3
224
+ opentelemetry-api==1.36.0
225
+ cuda-python==13.1.1
226
+ httpx-sse==0.4.1
227
+ mcp==1.13.1
228
+ platformdirs==4.4.0
229
+ fastapi-cli==0.0.11
230
+ python-json-logger==4.0.0rc1
231
+ jaxtyping==0.3.2
232
+ uc-micro-py==1.0.3
233
+ nvidia-cutlass-dsl==4.3.3
234
+ torch==2.9.0+cu128
235
+ cfgv==3.4.0
236
+ six==1.17.0
237
+ nvidia-nvshmem-cu12==3.3.20
238
+ tensorboard==2.20.0
239
+ lovely-numpy==0.2.13
240
+ nvidia-cuda-runtime-cu12==12.8.90
241
+ diskcache==5.6.3
242
+ packaging==25.0
243
+ TextArena==0.7.3
244
+ mdurl==0.1.2
245
+ tornado==6.5.2
246
+ supervisor==4.3.0
247
+ zipp==3.23.0
248
+ mpmath==1.3.0
249
+ linkify-it-py==2.0.3
250
+ gitdb==4.0.12
251
+ MarkupSafe==3.0.2
252
+ pexpect==4.9.0
253
+ Markdown==3.9
254
+ ipykernel==7.0.0a2
255
+ cffi==2.0.0
256
+ pydantic_core==2.41.5
257
+ rignore==0.6.4
258
+ yarl==1.20.1
259
+ identify==2.6.14
260
+ tokenizers==0.22.0
261
+ xgrammar==0.1.27
262
+ cloudpickle==3.1.1
263
+ jupyter_client==8.6.3
264
+ build==1.3.0
265
+ typing_extensions==4.15.0
266
+ transformers==4.56.1
267
+ sniffio==1.3.1
268
+ tomli_w==1.2.0
269
+ ptyprocess==0.7.0
270
+ markdown-it-py==4.0.0
271
+ ruff==0.13.0
272
+ jmespath==1.0.1
273
+ prime==0.5.0
274
+ decorator==5.2.1
275
+ nvidia-curand-cu12==10.3.9.90
276
+ prompt_toolkit==3.0.52
277
+ nvidia-cuda-cupti-cu12==12.8.90
278
+ pyarrow==21.0.0
279
+ RapidFuzz==3.14.5
280
+ Levenshtein==0.27.3
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs/debug-internal.log ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"time":"2026-05-20T12:44:51.461299586Z","level":"INFO","msg":"stream: starting","core version":"0.21.4"}
2
+ {"time":"2026-05-20T12:44:51.610528151Z","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
3
+ {"time":"2026-05-20T12:44:51.615382842Z","level":"INFO","msg":"stream: created new stream","id":"axbofn1b"}
4
+ {"time":"2026-05-20T12:44:51.615406346Z","level":"INFO","msg":"stream: started","id":"axbofn1b"}
5
+ {"time":"2026-05-20T12:44:51.615436181Z","level":"INFO","msg":"writer: started","stream_id":"axbofn1b"}
6
+ {"time":"2026-05-20T12:44:51.615450137Z","level":"INFO","msg":"handler: started","stream_id":"axbofn1b"}
7
+ {"time":"2026-05-20T12:44:51.615468662Z","level":"INFO","msg":"sender: started","stream_id":"axbofn1b"}
8
+ {"time":"2026-05-20T12:44:51.620940908Z","level":"WARN","msg":"runupserter: server does not expand metric globs but the x_server_side_expand_glob_metrics setting is set; ignoring"}
9
+ {"time":"2026-05-20T12:46:33.988461048Z","level":"INFO","msg":"stream: closing","id":"axbofn1b"}
10
+ {"time":"2026-05-20T12:46:33.989032577Z","level":"INFO","msg":"handler: closed","stream_id":"axbofn1b"}
11
+ {"time":"2026-05-20T12:46:33.993121499Z","level":"INFO","msg":"sender: closed","stream_id":"axbofn1b"}
12
+ {"time":"2026-05-20T12:46:33.993136156Z","level":"INFO","msg":"stream: closed","id":"axbofn1b"}
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs/debug.log ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Current SDK version is 0.21.4
2
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Configure stats pid to 344530
3
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Loading settings from /root/.config/wandb/settings
4
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Loading settings from /home/aiops/zhuty/prime-rl/wandb/settings
5
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_setup.py:_flush():81] Loading settings from environment variables
6
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:setup_run_log_directory():686] Logging user logs to /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs/debug.log
7
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:setup_run_log_directory():687] Logging internal logs to /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/logs/debug-internal.log
8
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:init():813] calling init triggers
9
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:init():818] wandb.init called with sweep_config: {}
10
+ config: {'client': {'timeout': 1200, 'base_url': ['http://localhost:18914/v1'], 'api_key_var': 'OPENAI_API_KEY', 'headers': {}}, 'model': {'name': 'Qwen/Qwen3-8B', 'trust_remote_code': False}, 'sampling': {'temperature': 1.0, 'repetition_penalty': 1.0, 'max_tokens': 2048, 'min_tokens': 0, 'seed': None, 'extra_body': {'chat_template_kwargs': {'enable_thinking': False}}}, 'env': [{'id': 'deepcoder-minimal-edit', 'args': {'env_type': 'ood', 'execution_weight': 0.1, 'similarity_weight': 1.0, 'similarity_metric': 'levenshtein'}, 'name': None}], 'eval': None, 'buffer': {'seed': None, 'env_ratios': None, 'easy_threshold': None, 'hard_threshold': None, 'easy_fraction': 0.0, 'hard_fraction': 0.0, 'online_difficulty_filtering': False, 'hash_keys': ['task', 'prompt']}, 'advantage': {'length_weighted_mean': False}, 'log': {'level': 'info', 'vf_level': 'warn', 'file': True, 'log_data': False}, 'wandb': {'project': 'prime-rl', 'name': 'rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-orchestrator', 'offline': True, 'id': None, 'log_extras': {'samples': True, 'distributions': True, 'interval': 10}}, 'prime_monitor': None, 'ckpt': {'interval': 50, 'resume_step': None, 'keep': None, 'skip_progress': False, 'skip_buffer': False}, 'val': None, 'weight_broadcast': {'type': 'filesystem'}, 'rollout_transport': {'type': 'filesystem'}, 'trajectory_strategy': 'interleaved', 'output_dir': PosixPath('/home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default'), 'max_concurrent': None, 'batch_size': 256, 'oversampling_factor': 1.0, 'rollouts_per_example': 8, 'seq_len': 4096, 'mask_env_responses': True, 'num_train_workers': 4, 'max_steps': 50, 'max_off_policy_steps': 8, 'max_async_level': 1, 'strict_async_level': False, 'bench': False, 'seed': 42, 'lora_name': None, 'heartbeat': None, '_wandb': {}}
11
+ 2026-05-20 12:44:50,962 INFO MainThread:344530 [wandb_init.py:init():854] starting backend
12
+ 2026-05-20 12:44:51,188 INFO MainThread:344530 [wandb_init.py:init():857] sending inform_init request
13
+ 2026-05-20 12:44:51,195 INFO MainThread:344530 [wandb_init.py:init():865] backend started and connected
14
+ 2026-05-20 12:44:51,197 INFO MainThread:344530 [wandb_init.py:init():936] updated telemetry
15
+ 2026-05-20 12:44:51,240 INFO MainThread:344530 [wandb_init.py:init():960] communicating run to backend with 90.0 second timeout
16
+ 2026-05-20 12:44:51,622 INFO MainThread:344530 [wandb_init.py:init():1011] starting run threads in backend
17
+ 2026-05-20 12:44:52,776 INFO MainThread:344530 [wandb_run.py:_console_start():2506] atexit reg
18
+ 2026-05-20 12:44:52,776 INFO MainThread:344530 [wandb_run.py:_redirect():2354] redirect: wrap_raw
19
+ 2026-05-20 12:44:52,776 INFO MainThread:344530 [wandb_run.py:_redirect():2423] Wrapping output streams.
20
+ 2026-05-20 12:44:52,776 INFO MainThread:344530 [wandb_run.py:_redirect():2446] Redirects installed.
21
+ 2026-05-20 12:44:52,784 INFO MainThread:344530 [wandb_init.py:init():1049] run started, returning control to user process
22
+ 2026-05-20 12:46:33,988 INFO wandb-AsyncioManager-main:344530 [service_client.py:_forward_responses():84] Reached EOF.
23
+ 2026-05-20 12:46:33,989 INFO wandb-AsyncioManager-main:344530 [mailbox.py:close():137] Closing mailbox, abandoning 0 handles.
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/run_default/wandb/offline-run-20260520_124450-axbofn1b/run-axbofn1b.wandb ADDED
Binary file (37.9 kB). View file
 
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/0/stderr.log ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'repr' attribute with value False was provided to the `Field()` function, which has no effect in the context it was used. 'repr' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
2
+ warnings.warn(
3
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'frozen' attribute with value True was provided to the `Field()` function, which has no effect in the context it was used. 'frozen' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
4
+ warnings.warn(
5
+ wandb: WARNING `resume` will be ignored since W&B syncing is set to `offline`. Starting a new run with run id 7yfvx9jl.
6
+ wandb: Tracking run with wandb version 0.21.4
7
+ wandb: W&B syncing is set to `offline` in this directory. Run `wandb online` or set WANDB_MODE=online to enable cloud syncing.
8
+ wandb: Run data is saved locally in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl
9
+ wandb: Detected [mcp, openai, agents, verifiers] in use.
10
+ wandb: Use W&B Weave for improved LLM call tracing. Install Weave with `pip install weave` then add `import weave` to the top of your script.
11
+ wandb: For more information, check out the docs at: https://weave-docs.wandb.ai/
12
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/__init__.py:1617: UserWarning: Please use the new API settings to control TF32 behavior, such as torch.backends.cudnn.conv.fp32_precision = 'tf32' or torch.backends.cuda.matmul.fp32_precision = 'ieee'. Old settings, e.g, torch.backends.cuda.matmul.allow_tf32 = True, torch.backends.cudnn.allow_tf32 = True, allowTF32CuDNN() and allowTF32CuBLAS() will be deprecated after Pytorch 2.9. Please see https://pytorch.org/docs/main/notes/cuda.html#tensorfloat-32-tf32-on-ampere-and-later-devices (Triggered internally at /pytorch/aten/src/ATen/Context.cpp:80.)
13
+ _C._set_float32_matmul_precision(precision)
14
+
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/0/stdout.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=0, local_rank=0, local_world_size=4, num_nodes=1)
2
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=0, local_rank=0, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
3
+ 12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
4
+ 12:45:02  INFO Initializing WandbMonitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
5
+ 12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
6
+ [Gloo] Rank 0 is connected to 3 peer ranks. Expected number of connected peer ranks is : 3
7
+ 12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
8
+ 12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
9
+ 12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
10
+ 12:45:04  INFO Auto-selected implementation: hf (custom implementation not supported)
11
+ 12:45:04  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
12
+ 12:45:05  INFO Applied activation checkpointing (freq=1)
13
+ 12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/1/stderr.log ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'repr' attribute with value False was provided to the `Field()` function, which has no effect in the context it was used. 'repr' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
2
+ warnings.warn(
3
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'frozen' attribute with value True was provided to the `Field()` function, which has no effect in the context it was used. 'frozen' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
4
+ warnings.warn(
5
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/__init__.py:1617: UserWarning: Please use the new API settings to control TF32 behavior, such as torch.backends.cudnn.conv.fp32_precision = 'tf32' or torch.backends.cuda.matmul.fp32_precision = 'ieee'. Old settings, e.g, torch.backends.cuda.matmul.allow_tf32 = True, torch.backends.cudnn.allow_tf32 = True, allowTF32CuDNN() and allowTF32CuBLAS() will be deprecated after Pytorch 2.9. Please see https://pytorch.org/docs/main/notes/cuda.html#tensorfloat-32-tf32-on-ampere-and-later-devices (Triggered internally at /pytorch/aten/src/ATen/Context.cpp:80.)
6
+ _C._set_float32_matmul_precision(precision)
7
+
8
+ 2026-05-20 12:45:16.307 | ERROR | prime_rl.utils.utils:sync_wrapper:135 - An error has been caught in function 'sync_wrapper', process 'MainProcess' (346425), thread 'MainThread' (140365694756672):
9
+ Traceback (most recent call last):
10
+
11
+ File "<frozen runpy>", line 198, in _run_module_as_main
12
+ File "<frozen runpy>", line 88, in _run_code
13
+
14
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 462, in <module>
15
+ main()
16
+ └ <function main at 0x7fa7bdfd3420>
17
+
18
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 458, in main
19
+ train(parse_argv(RLTrainerConfig))
20
+ │ │ └ <class 'prime_rl.trainer.rl.config.RLTrainerConfig'>
21
+ │ └ <function parse_argv at 0x7fa7df40b560>
22
+ └ <function train at 0x7fa7bdfd3380>
23
+
24
+ > File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 135, in sync_wrapper
25
+ ret = func(*args, **kwargs)
26
+ │ │ └ {}
27
+ │ └ (RLTrainerConfig(toml_files=None, model=ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=Non...
28
+ └ <function train at 0x7fa7bdfd32e0>
29
+
30
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 111, in train
31
+ model = setup_model(config.model, parallel_dims, loading_from_ckpt_later)
32
+ │ │ │ │ └ False
33
+ │ │ │ └ ParallelDims(dp_replicate=1, dp_shard=4, cp=1, tp=1, pp=1, ep=1, world_size=4, _world_mesh=DeviceMesh((dp_shard=4), device: '...
34
+ │ │ └ ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None, ac=ActivationCheckpointConfig(freq=1)...
35
+ │ └ RLTrainerConfig(toml_files=None, model=ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None...
36
+ └ <function setup_model at 0x7fa7bf11c720>
37
+
38
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 383, in setup_model
39
+ load_dcp_from_hf(model, config, parallel_dims)
40
+ │ │ │ └ ParallelDims(dp_replicate=1, dp_shard=4, cp=1, tp=1, pp=1, ep=1, world_size=4, _world_mesh=DeviceMesh((dp_shard=4), device: '...
41
+ │ │ └ ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None, ac=ActivationCheckpointConfig(freq=1)...
42
+ │ └ FSDPQwen3ForCausalLM(
43
+ │ (model): Qwen3Model(
44
+ │ (embed_tokens): FSDPEmbedding(151936, 4096)
45
+ │ (layers): ModuleList(
46
+ │ ...
47
+ └ <function load_dcp_from_hf at 0x7fa7bf11c360>
48
+
49
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 210, in load_dcp_from_hf
50
+ model_state_dict = model.state_dict()
51
+ │ └ <function Module.state_dict at 0x7fa85f8365c0>
52
+ └ FSDPQwen3ForCausalLM(
53
+ (model): Qwen3Model(
54
+ (embed_tokens): FSDPEmbedding(151936, 4096)
55
+ (layers): ModuleList(
56
+ ...
57
+
58
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
59
+ module.state_dict(
60
+ │ └ <function Module.state_dict at 0x7fa85f8365c0>
61
+ └ Qwen3Model(
62
+ (embed_tokens): FSDPEmbedding(151936, 4096)
63
+ (layers): ModuleList(
64
+ (0-35): 36 x FSDPCheckpointWrapper(
65
+ ...
66
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
67
+ module.state_dict(
68
+ │ └ <function Module.state_dict at 0x7fa85f8365c0>
69
+ └ FSDPEmbedding(151936, 4096)
70
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2262, in state_dict
71
+ self._save_to_state_dict(destination, prefix, keep_vars)
72
+ │ │ │ │ └ False
73
+ │ │ │ └ 'model.embed_tokens.'
74
+ │ │ └ OrderedDict()
75
+ │ └ <function Module._save_to_state_dict at 0x7fa85f836340>
76
+ └ FSDPEmbedding(151936, 4096)
77
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2157, in _save_to_state_dict
78
+ destination[prefix + name] = param if keep_vars else param.detach()
79
+ │ │ │ │ │ │ └ <method 'detach' of 'torch._C.TensorBase' objects>
80
+ │ │ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
81
+ │ │ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
82
+ │ │ │ │ │ [0., 0., 0., .....
83
+ │ │ │ │ └ False
84
+ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
85
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
86
+ │ │ │ [0., 0., 0., .....
87
+ │ │ └ 'weight'
88
+ │ └ 'model.embed_tokens.'
89
+ └ OrderedDict()
90
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_compile.py", line 53, in inner
91
+ return disable_fn(*args, **kwargs)
92
+ │ │ └ {}
93
+ │ └ (<class 'torch.distributed.tensor.DTensor'>, <OpOverload(op='aten.detach', overload='default')>, (<class 'torch.distributed.t...
94
+ └ <function DisableContext.__call__.<locals>._fn at 0x7fa7bc476de0>
95
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 1044, in _fn
96
+ return fn(*args, **kwargs)
97
+ │ │ └ {}
98
+ │ └ (<class 'torch.distributed.tensor.DTensor'>, <OpOverload(op='aten.detach', overload='default')>, (<class 'torch.distributed.t...
99
+ └ <function DTensor.__torch_dispatch__ at 0x7fa85db1d580>
100
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_api.py", line 349, in __torch_dispatch__
101
+ return DTensor._op_dispatcher.dispatch(
102
+ │ │ └ <function OpDispatcher.dispatch at 0x7fa85db1c7c0>
103
+ │ └ <torch.distributed.tensor._dispatch.OpDispatcher object at 0x7fa85daef6e0>
104
+ └ <class 'torch.distributed.tensor.DTensor'>
105
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_dispatch.py", line 329, in dispatch
106
+ return return_and_correct_aliasing(op_call, args, kwargs, ret)
107
+ │ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
108
+ │ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
109
+ │ │ │ │ [0., 0., 0., .....
110
+ │ │ │ └ {}
111
+ │ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
112
+ │ │ [0., 0., 0., ..., 0., 0., 0.],
113
+ │ │ [0., 0., 0., ....
114
+ │ └ <OpOverload(op='aten.detach', overload='default')>
115
+ └ <function return_and_correct_aliasing at 0x7fa85f827600>
116
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 729, in return_and_correct_aliasing
117
+ _correct_storage_aliasing(
118
+ └ <function _correct_storage_aliasing at 0x7fa85f826fc0>
119
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 579, in _correct_storage_aliasing
120
+ alias_non_inplace_storage(args[arg_idx], outs[return_idx])
121
+ │ │ │ │ └ 0
122
+ │ │ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
123
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
124
+ │ │ │ [0., 0., 0., ....
125
+ │ │ └ 0
126
+ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
127
+ │ [0., 0., 0., ..., 0., 0., 0.],
128
+ │ [0., 0., 0., ....
129
+ └ <function _correct_storage_aliasing.<locals>.alias_non_inplace_storage at 0x7fa7bc24ff60>
130
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 571, in alias_non_inplace_storage
131
+ torch._functionalize_unsafe_set(ret, arg)
132
+ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
133
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
134
+ │ │ │ [0., 0., 0., .....
135
+ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
136
+ │ │ [0., 0., 0., ..., 0., 0., 0.],
137
+ │ │ [0., 0., 0., .....
138
+ │ └ <built-in method _functionalize_unsafe_set of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1...
139
+ └ <module 'torch' from '/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/__init__.py'>
140
+
141
+ RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:1". This is no longer allowed; the devices must match.
142
+ [rank1]: Traceback (most recent call last):
143
+ [rank1]: File "<frozen runpy>", line 198, in _run_module_as_main
144
+ [rank1]: File "<frozen runpy>", line 88, in _run_code
145
+ [rank1]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 462, in <module>
146
+ [rank1]: main()
147
+ [rank1]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 458, in main
148
+ [rank1]: train(parse_argv(RLTrainerConfig))
149
+ [rank1]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 140, in sync_wrapper
150
+ [rank1]: raise e
151
+ [rank1]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 135, in sync_wrapper
152
+ [rank1]: ret = func(*args, **kwargs)
153
+ [rank1]: ^^^^^^^^^^^^^^^^^^^^^
154
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/loguru/_logger.py", line 1297, in catch_wrapper
155
+ [rank1]: return function(*args, **kwargs)
156
+ [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^
157
+ [rank1]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 111, in train
158
+ [rank1]: model = setup_model(config.model, parallel_dims, loading_from_ckpt_later)
159
+ [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
160
+ [rank1]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 383, in setup_model
161
+ [rank1]: load_dcp_from_hf(model, config, parallel_dims)
162
+ [rank1]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 210, in load_dcp_from_hf
163
+ [rank1]: model_state_dict = model.state_dict()
164
+ [rank1]: ^^^^^^^^^^^^^^^^^^
165
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
166
+ [rank1]: module.state_dict(
167
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
168
+ [rank1]: module.state_dict(
169
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2262, in state_dict
170
+ [rank1]: self._save_to_state_dict(destination, prefix, keep_vars)
171
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2157, in _save_to_state_dict
172
+ [rank1]: destination[prefix + name] = param if keep_vars else param.detach()
173
+ [rank1]: ^^^^^^^^^^^^^^
174
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_compile.py", line 53, in inner
175
+ [rank1]: return disable_fn(*args, **kwargs)
176
+ [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
177
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 1044, in _fn
178
+ [rank1]: return fn(*args, **kwargs)
179
+ [rank1]: ^^^^^^^^^^^^^^^^^^^
180
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_api.py", line 349, in __torch_dispatch__
181
+ [rank1]: return DTensor._op_dispatcher.dispatch(
182
+ [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
183
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_dispatch.py", line 329, in dispatch
184
+ [rank1]: return return_and_correct_aliasing(op_call, args, kwargs, ret)
185
+ [rank1]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
186
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 729, in return_and_correct_aliasing
187
+ [rank1]: _correct_storage_aliasing(
188
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 579, in _correct_storage_aliasing
189
+ [rank1]: alias_non_inplace_storage(args[arg_idx], outs[return_idx])
190
+ [rank1]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 571, in alias_non_inplace_storage
191
+ [rank1]: torch._functionalize_unsafe_set(ret, arg)
192
+ [rank1]: RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:1". This is no longer allowed; the devices must match.
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/1/stdout.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=1, local_rank=1, local_world_size=4, num_nodes=1)
2
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=1, local_rank=1, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
3
+ 12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
4
+ 12:45:02 WARNING Skipping WandbMonitor initialization from non-master rank (1)
5
+ 12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
6
+ [Gloo] Rank 1 is connected to 3 peer ranks. Expected number of connected peer ranks is : 3
7
+ 12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
8
+ 12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
9
+ 12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
10
+ 12:45:05  INFO Auto-selected implementation: hf (custom implementation not supported)
11
+ 12:45:05  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
12
+ 12:45:05  INFO Applied activation checkpointing (freq=1)
13
+ 12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/2/stderr.log ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'repr' attribute with value False was provided to the `Field()` function, which has no effect in the context it was used. 'repr' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
2
+ warnings.warn(
3
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'frozen' attribute with value True was provided to the `Field()` function, which has no effect in the context it was used. 'frozen' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
4
+ warnings.warn(
5
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/__init__.py:1617: UserWarning: Please use the new API settings to control TF32 behavior, such as torch.backends.cudnn.conv.fp32_precision = 'tf32' or torch.backends.cuda.matmul.fp32_precision = 'ieee'. Old settings, e.g, torch.backends.cuda.matmul.allow_tf32 = True, torch.backends.cudnn.allow_tf32 = True, allowTF32CuDNN() and allowTF32CuBLAS() will be deprecated after Pytorch 2.9. Please see https://pytorch.org/docs/main/notes/cuda.html#tensorfloat-32-tf32-on-ampere-and-later-devices (Triggered internally at /pytorch/aten/src/ATen/Context.cpp:80.)
6
+ _C._set_float32_matmul_precision(precision)
7
+
8
+ 2026-05-20 12:45:17.812 | ERROR | prime_rl.utils.utils:sync_wrapper:135 - An error has been caught in function 'sync_wrapper', process 'MainProcess' (346490), thread 'MainThread' (140063760299840):
9
+ Traceback (most recent call last):
10
+
11
+ File "<frozen runpy>", line 198, in _run_module_as_main
12
+ File "<frozen runpy>", line 88, in _run_code
13
+
14
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 462, in <module>
15
+ main()
16
+ └ <function main at 0x7f6171653420>
17
+
18
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 458, in main
19
+ train(parse_argv(RLTrainerConfig))
20
+ │ │ └ <class 'prime_rl.trainer.rl.config.RLTrainerConfig'>
21
+ │ └ <function parse_argv at 0x7f6192a4b560>
22
+ └ <function train at 0x7f6171653380>
23
+
24
+ > File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 135, in sync_wrapper
25
+ ret = func(*args, **kwargs)
26
+ │ │ └ {}
27
+ │ └ (RLTrainerConfig(toml_files=None, model=ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=Non...
28
+ └ <function train at 0x7f61716532e0>
29
+
30
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 111, in train
31
+ model = setup_model(config.model, parallel_dims, loading_from_ckpt_later)
32
+ │ │ │ │ └ False
33
+ │ │ │ └ ParallelDims(dp_replicate=1, dp_shard=4, cp=1, tp=1, pp=1, ep=1, world_size=4, _world_mesh=DeviceMesh((dp_shard=4), device: '...
34
+ │ │ └ ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None, ac=ActivationCheckpointConfig(freq=1)...
35
+ │ └ RLTrainerConfig(toml_files=None, model=ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None...
36
+ └ <function setup_model at 0x7f61905b4720>
37
+
38
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 383, in setup_model
39
+ load_dcp_from_hf(model, config, parallel_dims)
40
+ │ │ │ └ ParallelDims(dp_replicate=1, dp_shard=4, cp=1, tp=1, pp=1, ep=1, world_size=4, _world_mesh=DeviceMesh((dp_shard=4), device: '...
41
+ │ │ └ ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None, ac=ActivationCheckpointConfig(freq=1)...
42
+ │ └ FSDPQwen3ForCausalLM(
43
+ │ (model): Qwen3Model(
44
+ │ (embed_tokens): FSDPEmbedding(151936, 4096)
45
+ │ (layers): ModuleList(
46
+ │ ...
47
+ └ <function load_dcp_from_hf at 0x7f61905b4360>
48
+
49
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 210, in load_dcp_from_hf
50
+ model_state_dict = model.state_dict()
51
+ │ └ <function Module.state_dict at 0x7f6212d2a5c0>
52
+ └ FSDPQwen3ForCausalLM(
53
+ (model): Qwen3Model(
54
+ (embed_tokens): FSDPEmbedding(151936, 4096)
55
+ (layers): ModuleList(
56
+ ...
57
+
58
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
59
+ module.state_dict(
60
+ │ └ <function Module.state_dict at 0x7f6212d2a5c0>
61
+ └ Qwen3Model(
62
+ (embed_tokens): FSDPEmbedding(151936, 4096)
63
+ (layers): ModuleList(
64
+ (0-35): 36 x FSDPCheckpointWrapper(
65
+ ...
66
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
67
+ module.state_dict(
68
+ │ └ <function Module.state_dict at 0x7f6212d2a5c0>
69
+ └ FSDPEmbedding(151936, 4096)
70
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2262, in state_dict
71
+ self._save_to_state_dict(destination, prefix, keep_vars)
72
+ │ │ │ │ └ False
73
+ │ │ │ └ 'model.embed_tokens.'
74
+ │ │ └ OrderedDict()
75
+ │ └ <function Module._save_to_state_dict at 0x7f6212d2a340>
76
+ └ FSDPEmbedding(151936, 4096)
77
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2157, in _save_to_state_dict
78
+ destination[prefix + name] = param if keep_vars else param.detach()
79
+ │ │ │ │ │ │ └ <method 'detach' of 'torch._C.TensorBase' objects>
80
+ │ │ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
81
+ │ │ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
82
+ │ │ │ │ │ [0., 0., 0., .....
83
+ │ │ │ │ └ False
84
+ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
85
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
86
+ │ │ │ [0., 0., 0., .....
87
+ │ │ └ 'weight'
88
+ │ └ 'model.embed_tokens.'
89
+ └ OrderedDict()
90
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_compile.py", line 53, in inner
91
+ return disable_fn(*args, **kwargs)
92
+ │ │ └ {}
93
+ │ └ (<class 'torch.distributed.tensor.DTensor'>, <OpOverload(op='aten.detach', overload='default')>, (<class 'torch.distributed.t...
94
+ └ <function DisableContext.__call__.<locals>._fn at 0x7f6171516de0>
95
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 1044, in _fn
96
+ return fn(*args, **kwargs)
97
+ │ │ └ {}
98
+ │ └ (<class 'torch.distributed.tensor.DTensor'>, <OpOverload(op='aten.detach', overload='default')>, (<class 'torch.distributed.t...
99
+ └ <function DTensor.__torch_dispatch__ at 0x7f6211011580>
100
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_api.py", line 349, in __torch_dispatch__
101
+ return DTensor._op_dispatcher.dispatch(
102
+ │ │ └ <function OpDispatcher.dispatch at 0x7f62110107c0>
103
+ │ └ <torch.distributed.tensor._dispatch.OpDispatcher object at 0x7f6210fe36e0>
104
+ └ <class 'torch.distributed.tensor.DTensor'>
105
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_dispatch.py", line 329, in dispatch
106
+ return return_and_correct_aliasing(op_call, args, kwargs, ret)
107
+ │ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
108
+ │ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
109
+ │ │ │ │ [0., 0., 0., .....
110
+ │ │ │ └ {}
111
+ │ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
112
+ │ │ [0., 0., 0., ..., 0., 0., 0.],
113
+ │ │ [0., 0., 0., ....
114
+ │ └ <OpOverload(op='aten.detach', overload='default')>
115
+ └ <function return_and_correct_aliasing at 0x7f6212d1b600>
116
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 729, in return_and_correct_aliasing
117
+ _correct_storage_aliasing(
118
+ └ <function _correct_storage_aliasing at 0x7f6212d1afc0>
119
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 579, in _correct_storage_aliasing
120
+ alias_non_inplace_storage(args[arg_idx], outs[return_idx])
121
+ │ │ │ │ └ 0
122
+ │ │ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
123
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
124
+ │ │ │ [0., 0., 0., ....
125
+ │ │ └ 0
126
+ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
127
+ │ [0., 0., 0., ..., 0., 0., 0.],
128
+ │ [0., 0., 0., ....
129
+ └ <function _correct_storage_aliasing.<locals>.alias_non_inplace_storage at 0x7f615167bf60>
130
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 571, in alias_non_inplace_storage
131
+ torch._functionalize_unsafe_set(ret, arg)
132
+ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
133
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
134
+ │ │ │ [0., 0., 0., .....
135
+ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
136
+ │ │ [0., 0., 0., ..., 0., 0., 0.],
137
+ │ │ [0., 0., 0., .....
138
+ │ └ <built-in method _functionalize_unsafe_set of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1...
139
+ └ <module 'torch' from '/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/__init__.py'>
140
+
141
+ RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:2". This is no longer allowed; the devices must match.
142
+ [rank2]: Traceback (most recent call last):
143
+ [rank2]: File "<frozen runpy>", line 198, in _run_module_as_main
144
+ [rank2]: File "<frozen runpy>", line 88, in _run_code
145
+ [rank2]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 462, in <module>
146
+ [rank2]: main()
147
+ [rank2]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 458, in main
148
+ [rank2]: train(parse_argv(RLTrainerConfig))
149
+ [rank2]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 140, in sync_wrapper
150
+ [rank2]: raise e
151
+ [rank2]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 135, in sync_wrapper
152
+ [rank2]: ret = func(*args, **kwargs)
153
+ [rank2]: ^^^^^^^^^^^^^^^^^^^^^
154
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/loguru/_logger.py", line 1297, in catch_wrapper
155
+ [rank2]: return function(*args, **kwargs)
156
+ [rank2]: ^^^^^^^^^^^^^^^^^^^^^^^^^
157
+ [rank2]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 111, in train
158
+ [rank2]: model = setup_model(config.model, parallel_dims, loading_from_ckpt_later)
159
+ [rank2]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
160
+ [rank2]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 383, in setup_model
161
+ [rank2]: load_dcp_from_hf(model, config, parallel_dims)
162
+ [rank2]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 210, in load_dcp_from_hf
163
+ [rank2]: model_state_dict = model.state_dict()
164
+ [rank2]: ^^^^^^^^^^^^^^^^^^
165
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
166
+ [rank2]: module.state_dict(
167
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
168
+ [rank2]: module.state_dict(
169
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2262, in state_dict
170
+ [rank2]: self._save_to_state_dict(destination, prefix, keep_vars)
171
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2157, in _save_to_state_dict
172
+ [rank2]: destination[prefix + name] = param if keep_vars else param.detach()
173
+ [rank2]: ^^^^^^^^^^^^^^
174
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_compile.py", line 53, in inner
175
+ [rank2]: return disable_fn(*args, **kwargs)
176
+ [rank2]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
177
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 1044, in _fn
178
+ [rank2]: return fn(*args, **kwargs)
179
+ [rank2]: ^^^^^^^^^^^^^^^^^^^
180
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_api.py", line 349, in __torch_dispatch__
181
+ [rank2]: return DTensor._op_dispatcher.dispatch(
182
+ [rank2]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
183
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_dispatch.py", line 329, in dispatch
184
+ [rank2]: return return_and_correct_aliasing(op_call, args, kwargs, ret)
185
+ [rank2]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
186
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 729, in return_and_correct_aliasing
187
+ [rank2]: _correct_storage_aliasing(
188
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 579, in _correct_storage_aliasing
189
+ [rank2]: alias_non_inplace_storage(args[arg_idx], outs[return_idx])
190
+ [rank2]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 571, in alias_non_inplace_storage
191
+ [rank2]: torch._functionalize_unsafe_set(ret, arg)
192
+ [rank2]: RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:2". This is no longer allowed; the devices must match.
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/2/stdout.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=2, local_rank=2, local_world_size=4, num_nodes=1)
2
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=2, local_rank=2, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
3
+ 12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
4
+ 12:45:02 WARNING Skipping WandbMonitor initialization from non-master rank (2)
5
+ 12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
6
+ [Gloo] Rank 2 is connected to 3 peer ranks. Expected number of connected peer ranks is : 3
7
+ 12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
8
+ 12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
9
+ 12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
10
+ 12:45:05  INFO Auto-selected implementation: hf (custom implementation not supported)
11
+ 12:45:05  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
12
+ 12:45:05  INFO Applied activation checkpointing (freq=1)
13
+ 12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/3/stderr.log ADDED
@@ -0,0 +1,192 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'repr' attribute with value False was provided to the `Field()` function, which has no effect in the context it was used. 'repr' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
2
+ warnings.warn(
3
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2249: UnsupportedFieldAttributeWarning: The 'frozen' attribute with value True was provided to the `Field()` function, which has no effect in the context it was used. 'frozen' is field-specific metadata, and can only be attached to a model field using `Annotated` metadata or by assignment. This may have happened because an `Annotated` type alias using the `type` statement was used, or if the `Field()` function was attached to a single member of a union type.
4
+ warnings.warn(
5
+ /home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/__init__.py:1617: UserWarning: Please use the new API settings to control TF32 behavior, such as torch.backends.cudnn.conv.fp32_precision = 'tf32' or torch.backends.cuda.matmul.fp32_precision = 'ieee'. Old settings, e.g, torch.backends.cuda.matmul.allow_tf32 = True, torch.backends.cudnn.allow_tf32 = True, allowTF32CuDNN() and allowTF32CuBLAS() will be deprecated after Pytorch 2.9. Please see https://pytorch.org/docs/main/notes/cuda.html#tensorfloat-32-tf32-on-ampere-and-later-devices (Triggered internally at /pytorch/aten/src/ATen/Context.cpp:80.)
6
+ _C._set_float32_matmul_precision(precision)
7
+
8
+ 2026-05-20 12:45:15.303 | ERROR | prime_rl.utils.utils:sync_wrapper:135 - An error has been caught in function 'sync_wrapper', process 'MainProcess' (346491), thread 'MainThread' (139860520675136):
9
+ Traceback (most recent call last):
10
+
11
+ File "<frozen runpy>", line 198, in _run_module_as_main
12
+ File "<frozen runpy>", line 88, in _run_code
13
+
14
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 462, in <module>
15
+ main()
16
+ └ <function main at 0x7f323c267420>
17
+
18
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 458, in main
19
+ train(parse_argv(RLTrainerConfig))
20
+ │ │ └ <class 'prime_rl.trainer.rl.config.RLTrainerConfig'>
21
+ │ └ <function parse_argv at 0x7f324086f560>
22
+ └ <function train at 0x7f323c267380>
23
+
24
+ > File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 135, in sync_wrapper
25
+ ret = func(*args, **kwargs)
26
+ │ │ └ {}
27
+ │ └ (RLTrainerConfig(toml_files=None, model=ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=Non...
28
+ └ <function train at 0x7f323c2672e0>
29
+
30
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 111, in train
31
+ model = setup_model(config.model, parallel_dims, loading_from_ckpt_later)
32
+ │ │ │ │ └ False
33
+ │ │ │ └ ParallelDims(dp_replicate=1, dp_shard=4, cp=1, tp=1, pp=1, ep=1, world_size=4, _world_mesh=DeviceMesh((dp_shard=4), device: '...
34
+ │ │ └ ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None, ac=ActivationCheckpointConfig(freq=1)...
35
+ │ └ RLTrainerConfig(toml_files=None, model=ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None...
36
+ └ <function setup_model at 0x7f323d320720>
37
+
38
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 383, in setup_model
39
+ load_dcp_from_hf(model, config, parallel_dims)
40
+ │ │ │ └ ParallelDims(dp_replicate=1, dp_shard=4, cp=1, tp=1, pp=1, ep=1, world_size=4, _world_mesh=DeviceMesh((dp_shard=4), device: '...
41
+ │ │ └ ModelConfig(name='Qwen/Qwen3-8B', seq_len=4096, attn='flash_attention_2', compile=None, ac=ActivationCheckpointConfig(freq=1)...
42
+ │ └ FSDPQwen3ForCausalLM(
43
+ │ (model): Qwen3Model(
44
+ │ (embed_tokens): FSDPEmbedding(151936, 4096)
45
+ │ (layers): ModuleList(
46
+ │ ...
47
+ └ <function load_dcp_from_hf at 0x7f323d320360>
48
+
49
+ File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 210, in load_dcp_from_hf
50
+ model_state_dict = model.state_dict()
51
+ │ └ <function Module.state_dict at 0x7f32c0c3a5c0>
52
+ └ FSDPQwen3ForCausalLM(
53
+ (model): Qwen3Model(
54
+ (embed_tokens): FSDPEmbedding(151936, 4096)
55
+ (layers): ModuleList(
56
+ ...
57
+
58
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
59
+ module.state_dict(
60
+ │ └ <function Module.state_dict at 0x7f32c0c3a5c0>
61
+ └ Qwen3Model(
62
+ (embed_tokens): FSDPEmbedding(151936, 4096)
63
+ (layers): ModuleList(
64
+ (0-35): 36 x FSDPCheckpointWrapper(
65
+ ...
66
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
67
+ module.state_dict(
68
+ │ └ <function Module.state_dict at 0x7f32c0c3a5c0>
69
+ └ FSDPEmbedding(151936, 4096)
70
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2262, in state_dict
71
+ self._save_to_state_dict(destination, prefix, keep_vars)
72
+ │ │ │ │ └ False
73
+ │ │ │ └ 'model.embed_tokens.'
74
+ │ │ └ OrderedDict()
75
+ │ └ <function Module._save_to_state_dict at 0x7f32c0c3a340>
76
+ └ FSDPEmbedding(151936, 4096)
77
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2157, in _save_to_state_dict
78
+ destination[prefix + name] = param if keep_vars else param.detach()
79
+ │ │ │ │ │ │ └ <method 'detach' of 'torch._C.TensorBase' objects>
80
+ │ │ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
81
+ │ │ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
82
+ │ │ │ │ │ [0., 0., 0., .....
83
+ │ │ │ │ └ False
84
+ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
85
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
86
+ │ │ │ [0., 0., 0., .....
87
+ │ │ └ 'weight'
88
+ │ └ 'model.embed_tokens.'
89
+ └ OrderedDict()
90
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_compile.py", line 53, in inner
91
+ return disable_fn(*args, **kwargs)
92
+ │ │ └ {}
93
+ │ └ (<class 'torch.distributed.tensor.DTensor'>, <OpOverload(op='aten.detach', overload='default')>, (<class 'torch.distributed.t...
94
+ └ <function DisableContext.__call__.<locals>._fn at 0x7f323c32ade0>
95
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 1044, in _fn
96
+ return fn(*args, **kwargs)
97
+ │ │ └ {}
98
+ │ └ (<class 'torch.distributed.tensor.DTensor'>, <OpOverload(op='aten.detach', overload='default')>, (<class 'torch.distributed.t...
99
+ └ <function DTensor.__torch_dispatch__ at 0x7f32bef25580>
100
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_api.py", line 349, in __torch_dispatch__
101
+ return DTensor._op_dispatcher.dispatch(
102
+ │ │ └ <function OpDispatcher.dispatch at 0x7f32bef247c0>
103
+ │ └ <torch.distributed.tensor._dispatch.OpDispatcher object at 0x7f32beef7770>
104
+ └ <class 'torch.distributed.tensor.DTensor'>
105
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_dispatch.py", line 329, in dispatch
106
+ return return_and_correct_aliasing(op_call, args, kwargs, ret)
107
+ │ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
108
+ │ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
109
+ │ │ │ │ [0., 0., 0., .....
110
+ │ │ │ └ {}
111
+ │ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
112
+ │ │ [0., 0., 0., ..., 0., 0., 0.],
113
+ │ │ [0., 0., 0., ....
114
+ │ └ <OpOverload(op='aten.detach', overload='default')>
115
+ └ <function return_and_correct_aliasing at 0x7f32c0c2b600>
116
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 729, in return_and_correct_aliasing
117
+ _correct_storage_aliasing(
118
+ └ <function _correct_storage_aliasing at 0x7f32c0c2afc0>
119
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 579, in _correct_storage_aliasing
120
+ alias_non_inplace_storage(args[arg_idx], outs[return_idx])
121
+ │ │ │ │ └ 0
122
+ │ │ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
123
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
124
+ │ │ │ [0., 0., 0., ....
125
+ │ │ └ 0
126
+ │ └ (DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
127
+ │ [0., 0., 0., ..., 0., 0., 0.],
128
+ │ [0., 0., 0., ....
129
+ └ <function _correct_storage_aliasing.<locals>.alias_non_inplace_storage at 0x7f32005dff60>
130
+ File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 571, in alias_non_inplace_storage
131
+ torch._functionalize_unsafe_set(ret, arg)
132
+ │ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
133
+ │ │ │ [0., 0., 0., ..., 0., 0., 0.],
134
+ │ │ │ [0., 0., 0., .....
135
+ │ │ └ DTensor(local_tensor=tensor([[0., 0., 0., ..., 0., 0., 0.],
136
+ │ │ [0., 0., 0., ..., 0., 0., 0.],
137
+ │ │ [0., 0., 0., .....
138
+ │ └ <built-in method _functionalize_unsafe_set of pybind11_builtins.pybind11_detail_function_record_v1_system_libstdcpp_gxx_abi_1...
139
+ └ <module 'torch' from '/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/__init__.py'>
140
+
141
+ RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:3". This is no longer allowed; the devices must match.
142
+ [rank3]: Traceback (most recent call last):
143
+ [rank3]: File "<frozen runpy>", line 198, in _run_module_as_main
144
+ [rank3]: File "<frozen runpy>", line 88, in _run_code
145
+ [rank3]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 462, in <module>
146
+ [rank3]: main()
147
+ [rank3]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 458, in main
148
+ [rank3]: train(parse_argv(RLTrainerConfig))
149
+ [rank3]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 140, in sync_wrapper
150
+ [rank3]: raise e
151
+ [rank3]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/utils/utils.py", line 135, in sync_wrapper
152
+ [rank3]: ret = func(*args, **kwargs)
153
+ [rank3]: ^^^^^^^^^^^^^^^^^^^^^
154
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/loguru/_logger.py", line 1297, in catch_wrapper
155
+ [rank3]: return function(*args, **kwargs)
156
+ [rank3]: ^^^^^^^^^^^^^^^^^^^^^^^^^
157
+ [rank3]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/rl/train.py", line 111, in train
158
+ [rank3]: model = setup_model(config.model, parallel_dims, loading_from_ckpt_later)
159
+ [rank3]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
160
+ [rank3]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 383, in setup_model
161
+ [rank3]: load_dcp_from_hf(model, config, parallel_dims)
162
+ [rank3]: File "/home/aiops/zhuty/prime-rl/src/prime_rl/trainer/model.py", line 210, in load_dcp_from_hf
163
+ [rank3]: model_state_dict = model.state_dict()
164
+ [rank3]: ^^^^^^^^^^^^^^^^^^
165
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
166
+ [rank3]: module.state_dict(
167
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2265, in state_dict
168
+ [rank3]: module.state_dict(
169
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2262, in state_dict
170
+ [rank3]: self._save_to_state_dict(destination, prefix, keep_vars)
171
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/nn/modules/module.py", line 2157, in _save_to_state_dict
172
+ [rank3]: destination[prefix + name] = param if keep_vars else param.detach()
173
+ [rank3]: ^^^^^^^^^^^^^^
174
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_compile.py", line 53, in inner
175
+ [rank3]: return disable_fn(*args, **kwargs)
176
+ [rank3]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^
177
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/_dynamo/eval_frame.py", line 1044, in _fn
178
+ [rank3]: return fn(*args, **kwargs)
179
+ [rank3]: ^^^^^^^^^^^^^^^^^^^
180
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_api.py", line 349, in __torch_dispatch__
181
+ [rank3]: return DTensor._op_dispatcher.dispatch(
182
+ [rank3]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
183
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/distributed/tensor/_dispatch.py", line 329, in dispatch
184
+ [rank3]: return return_and_correct_aliasing(op_call, args, kwargs, ret)
185
+ [rank3]: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
186
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 729, in return_and_correct_aliasing
187
+ [rank3]: _correct_storage_aliasing(
188
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 579, in _correct_storage_aliasing
189
+ [rank3]: alias_non_inplace_storage(args[arg_idx], outs[return_idx])
190
+ [rank3]: File "/home/aiops/zhuty/prime-rl/.venv/lib/python3.12/site-packages/torch/utils/_python_dispatch.py", line 571, in alias_non_inplace_storage
191
+ [rank3]: torch._functionalize_unsafe_set(ret, arg)
192
+ [rank3]: RuntimeError: Attempted to set the storage of a tensor on device "cpu" to a storage on different device "cuda:3". This is no longer allowed; the devices must match.
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/torchrun/ce065d06f67242b794c9c2256783e2da_hky2orn4/attempt_0/3/stdout.log ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=3, local_rank=3, local_world_size=4, num_nodes=1)
2
+ 12:45:02  INFO Starting RL trainer in World(world_size=4, rank=3, local_rank=3, local_world_size=4, num_nodes=1) in /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243
3
+ 12:45:02  INFO Initializing monitor (project='prime-rl' name='rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer' offline=True id=None)
4
+ 12:45:02 WARNING Skipping WandbMonitor initialization from non-master rank (3)
5
+ 12:45:04  INFO Using Gloo backend for CPU and NCCL backend for GPU
6
+ [Gloo] Rank 3 is connected to 3 peer ranks. Expected number of connected peer ranks is : 3
7
+ 12:45:04  INFO Initializing checkpoint managers (interval=50 weights=WeightCheckpointConfig(save_sharded=True, save_format='safetensors', save_adapter_separately=False) resume_step=None keep=1 skip_progress=False skip_scheduler=False skip_dataloader=False)
8
+ 12:45:04  INFO Initializing model (name='Qwen/Qwen3-8B' seq_len=4096 attn='flash_attention_2' compile=None ac=ActivationCheckpointConfig(freq=1) ac_offloading=ActivationOffloadingConfig(pin_memory=True, max_inflight_activations=5) fsdp_cpu_offload=True reshard_after_forward=True trust_remote_code=False dp_replicate=1 ep=1 tp=1 cp=1 impl='auto' optimization_dtype='float32' reduce_dtype='float32' moe_use_grouped_mm=True lora=None debug=DebugModelConfig(num_layers=None, random_init=False))
9
+ 12:45:04  INFO Loading model config (name=Qwen/Qwen3-8B, attn=flash_attention_2, trust_remote_code=False)
10
+ 12:45:05  INFO Auto-selected implementation: hf (custom implementation not supported)
11
+ 12:45:05  INFO Loading model Qwen/Qwen3-8B using AutoModelForCausalLM to meta device
12
+ 12:45:05  INFO Applied activation checkpointing (freq=1)
13
+ 12:45:05  INFO Building 1-D device mesh with ['dp_shard'], [4]
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/debug-internal.log ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {"time":"2026-05-20T12:45:02.53556831Z","level":"INFO","msg":"stream: starting","core version":"0.21.4"}
2
+ {"time":"2026-05-20T12:45:03.093491695Z","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
3
+ {"time":"2026-05-20T12:45:03.103118535Z","level":"INFO","msg":"stream: created new stream","id":"7yfvx9jl"}
4
+ {"time":"2026-05-20T12:45:03.103145855Z","level":"INFO","msg":"stream: started","id":"7yfvx9jl"}
5
+ {"time":"2026-05-20T12:45:03.10316488Z","level":"INFO","msg":"writer: started","stream_id":"7yfvx9jl"}
6
+ {"time":"2026-05-20T12:45:03.103249037Z","level":"INFO","msg":"handler: started","stream_id":"7yfvx9jl"}
7
+ {"time":"2026-05-20T12:45:03.103289131Z","level":"INFO","msg":"sender: started","stream_id":"7yfvx9jl"}
8
+ {"time":"2026-05-20T12:45:03.108286437Z","level":"WARN","msg":"runupserter: server does not expand metric globs but the x_server_side_expand_glob_metrics setting is set; ignoring"}
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/debug.log ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Current SDK version is 0.21.4
2
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Configure stats pid to 346416
3
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Loading settings from /root/.config/wandb/settings
4
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Loading settings from /home/aiops/zhuty/prime-rl/wandb/settings
5
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Loading settings from environment variables
6
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_init.py:setup_run_log_directory():686] Logging user logs to /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/logs/debug.log
7
+ 2026-05-20 12:45:02,235 INFO MainThread:346416 [wandb_init.py:setup_run_log_directory():687] Logging internal logs to /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/logs/debug-internal.log
8
+ 2026-05-20 12:45:02,235 INFO MainThread:346416 [wandb_init.py:init():813] calling init triggers
9
+ 2026-05-20 12:45:02,235 INFO MainThread:346416 [wandb_init.py:init():818] wandb.init called with sweep_config: {}
10
+ config: {'model': {'name': 'Qwen/Qwen3-8B', 'seq_len': 4096, 'attn': 'flash_attention_2', 'compile': None, 'ac': {'freq': 1}, 'ac_offloading': {'pin_memory': True, 'max_inflight_activations': 5}, 'fsdp_cpu_offload': True, 'reshard_after_forward': True, 'trust_remote_code': False, 'dp_replicate': 1, 'ep': 1, 'tp': 1, 'cp': 1, 'impl': 'auto', 'optimization_dtype': 'float32', 'reduce_dtype': 'float32', 'moe_use_grouped_mm': True, 'lora': None, 'debug': {'num_layers': None, 'random_init': False}}, 'tokenizer': {'name': 'Qwen/Qwen3-8B', 'trust_remote_code': False, 'chat_template': None}, 'data': {'fake': None}, 'loss': {'ratio_type': 'token', 'token_mask_high': 8.0, 'token_mask_low': 0.125, 'sequence_clip_high': 10.0, 'geo_mask_high': 10.0, 'geo_mask_low': 0.1, 'kl_tau': 0.0, 'sequence_mask_low': 0.0, 'sequence_mask_high': 100.0}, 'optim': {'lr': 1e-06, 'weight_decay': 0.01, 'max_norm': 1.0, 'type': 'adamw', 'betas1': 0.9, 'betas2': 0.999}, 'scheduler': {'type': 'constant'}, 'ckpt': {'interval': 50, 'weights': {'save_sharded': True, 'save_format': 'safetensors', 'save_adapter_separately': False}, 'resume_step': None, 'keep': 1, 'skip_progress': False, 'skip_scheduler': False, 'skip_dataloader': False}, 'weight_broadcast': {'type': 'filesystem', 'save_sharded': True, 'save_format': 'safetensors'}, 'rollout_transport': {'type': 'filesystem'}, 'log': {'level': 'info', 'vf_level': 'warn', 'file': True, 'log_data': False}, 'wandb': {'project': 'prime-rl', 'name': 'rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer', 'offline': True, 'id': None}, 'output_dir': PosixPath('/home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243'), 'max_steps': 50, 'max_async_level': 1, 'memory_profiler_path': None, 'bench': False, 'trace_path': None, 'dist_timeout_seconds': 600, 'heartbeat': None, 'max_concurrent_runs': 4, '_wandb': {}}
11
+ 2026-05-20 12:45:02,235 INFO MainThread:346416 [wandb_init.py:init():854] starting backend
12
+ 2026-05-20 12:45:02,458 INFO MainThread:346416 [wandb_init.py:init():857] sending inform_init request
13
+ 2026-05-20 12:45:02,466 INFO MainThread:346416 [wandb_init.py:init():865] backend started and connected
14
+ 2026-05-20 12:45:02,468 INFO MainThread:346416 [wandb_init.py:init():936] updated telemetry
15
+ 2026-05-20 12:45:02,723 INFO MainThread:346416 [wandb_init.py:init():960] communicating run to backend with 90.0 second timeout
16
+ 2026-05-20 12:45:03,109 INFO MainThread:346416 [wandb_init.py:init():1011] starting run threads in backend
17
+ 2026-05-20 12:45:04,344 INFO MainThread:346416 [wandb_run.py:_console_start():2506] atexit reg
18
+ 2026-05-20 12:45:04,344 INFO MainThread:346416 [wandb_run.py:_redirect():2354] redirect: wrap_raw
19
+ 2026-05-20 12:45:04,345 INFO MainThread:346416 [wandb_run.py:_redirect():2423] Wrapping output streams.
20
+ 2026-05-20 12:45:04,345 INFO MainThread:346416 [wandb_run.py:_redirect():2446] Redirects installed.
21
+ 2026-05-20 12:45:04,351 INFO MainThread:346416 [wandb_init.py:init():1049] run started, returning control to user process
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/files/output.log ADDED
File without changes
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/files/requirements.txt ADDED
@@ -0,0 +1,280 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ einops==0.8.1
2
+ sentencepiece==0.2.1
3
+ rich-toolkit==0.15.1
4
+ dion==0.1.0
5
+ uvicorn==0.35.0
6
+ ring-flash-attn==0.1.8
7
+ anthropic==0.71.0
8
+ reverse-text==0.1.4
9
+ accelerate==1.10.1
10
+ fsspec==2025.3.0
11
+ frozenlist==1.7.0
12
+ pydantic-extra-types==2.10.5
13
+ pre_commit==4.3.0
14
+ pydantic==2.12.5
15
+ pyparsing==3.2.3
16
+ torchdata==0.11.0
17
+ pluggy==1.6.0
18
+ contourpy==1.3.3
19
+ lark==1.2.2
20
+ tyro==0.9.31
21
+ nodeenv==1.9.1
22
+ toml==0.10.2
23
+ nvidia-nccl-cu12==2.27.5
24
+ python-dateutil==2.9.0.post0
25
+ nvidia-cusolver-cu12==11.7.3.90
26
+ rich==14.1.0
27
+ nvidia-cusparse-cu12==12.5.8.93
28
+ pyproject_hooks==1.2.0
29
+ partial-json-parser==0.2.1.1.post6
30
+ cbor2==5.7.0
31
+ virtualenv==20.34.0
32
+ nvidia-cuda-nvrtc-cu12==12.8.93
33
+ httpcore==1.0.9
34
+ nvidia-cudnn-cu12==9.10.2.21
35
+ aiohttp==3.12.15
36
+ lxml==6.0.1
37
+ pillow==11.3.0
38
+ debugpy==1.8.16
39
+ jiter==0.10.0
40
+ hf-xet==1.1.9
41
+ torchtitan==0.1.0
42
+ torchaudio==2.9.0
43
+ dill==0.3.8
44
+ interegular==0.3.3
45
+ opencv-python-headless==4.12.0.88
46
+ fastcore==1.8.8
47
+ pytz==2025.2
48
+ watchfiles==1.1.0
49
+ fonttools==4.59.2
50
+ cuda-bindings==13.1.1
51
+ urllib3==2.5.0
52
+ wcwidth==0.2.13
53
+ distlib==0.4.0
54
+ kiwisolver==1.4.10rc0
55
+ pybase64==1.4.2
56
+ annotated-types==0.7.0
57
+ py-cpuinfo==9.0.0
58
+ chess==1.11.2
59
+ multidict==6.6.4
60
+ openai-harmony==0.0.4
61
+ traitlets==5.14.3
62
+ h11==0.16.0
63
+ tenacity==9.1.2
64
+ llvmlite==0.44.0
65
+ GitPython==3.1.45
66
+ websockets==15.0.1
67
+ prime-evals==0.1.5
68
+ prime-sandboxes==0.2.7
69
+ cachetools==5.5.2
70
+ pandas==2.3.2
71
+ vllm==0.12.0
72
+ cycler==0.12.1
73
+ distro==1.9.0
74
+ scipy==1.16.1
75
+ typeguard==4.4.4
76
+ nvidia-cublas-cu12==12.8.4.1
77
+ huggingface-hub==0.35.0rc0
78
+ triton==3.5.0
79
+ numba==0.61.2
80
+ certifi==2025.8.3
81
+ Pygments==2.19.2
82
+ grpcio==1.75.0
83
+ mistral_common==1.8.6
84
+ cryptography==46.0.3
85
+ openai==2.3.0
86
+ datasets==4.0.0
87
+ opentelemetry-sdk==1.36.0
88
+ blake3==1.0.5
89
+ opentelemetry-semantic-conventions==0.57b0
90
+ nltk==3.9.1
91
+ lovely-tensors==0.1.18
92
+ pydantic-settings==2.10.1
93
+ fastrlock==0.8.3
94
+ wandb==0.21.4
95
+ asttokens==3.0.0
96
+ latex2sympy2_extended==1.10.2
97
+ psutil==7.0.0
98
+ iniconfig==2.1.0
99
+ python-dotenv==1.1.1
100
+ referencing==0.36.2
101
+ multiprocess==0.70.16
102
+ comm==0.2.3
103
+ smmap==5.0.2
104
+ sse-starlette==3.0.2
105
+ numpy==2.2.6
106
+ shellingham==1.5.4
107
+ annotated-doc==0.0.4
108
+ mdit-py-plugins==0.5.0
109
+ jupyter_core==5.8.1
110
+ typing-inspection==0.4.2
111
+ cuda-pathfinder==1.3.3
112
+ lm-format-enforcer==0.11.3
113
+ tomli==2.2.1
114
+ nest-asyncio==1.6.0
115
+ sentry-sdk==3.0.0a6
116
+ ipython==9.5.0
117
+ ray==2.49.1
118
+ flash_attn==2.8.3+cu128torch2.9
119
+ tree-sitter==0.22.3
120
+ flashinfer-python==0.5.3
121
+ nvidia-nvtx-cu12==12.8.90
122
+ model-hosting-container-standards==0.1.11
123
+ outlines_core==0.2.11
124
+ nvidia-ml-py==13.590.44
125
+ propcache==0.3.2
126
+ PyYAML==6.0.2
127
+ Jinja2==3.1.6
128
+ absl-py==2.3.1
129
+ aiohappyeyeballs==2.6.1
130
+ colorama==0.4.6
131
+ importlib_metadata==8.7.0
132
+ attrs==25.3.0
133
+ loguru==0.7.3
134
+ python-multipart==0.0.20
135
+ email-validator==2.3.0
136
+ verifiers==0.1.8.post2
137
+ aiosignal==1.4.0
138
+ ipython_pygments_lexers==1.1.1
139
+ nvidia-cusparselt-cu12==0.7.1
140
+ types-requests==2.32.4.20250809
141
+ apache-tvm-ffi==0.1.5
142
+ jsonschema-specifications==2025.9.1
143
+ joblib==1.5.2
144
+ networkx==3.5
145
+ matplotlib==3.10.6
146
+ python-Levenshtein==0.27.3
147
+ codebleu==0.7.0
148
+ rpds-py==0.27.1
149
+ httptools==0.6.4
150
+ docstring_parser==0.17.0
151
+ pycryptodomex==3.23.0
152
+ pycountry==24.6.1
153
+ setuptools==79.0.1
154
+ dnspython==2.8.0
155
+ jedi==0.19.2
156
+ textual==6.1.0
157
+ tensorboard-data-server==0.7.2
158
+ jsonschema==4.25.1
159
+ stack-data==0.6.3
160
+ tabulate==0.9.0
161
+ blobfile==3.1.0
162
+ widgetsnbextension==4.0.14
163
+ starlette==0.50.0
164
+ wadler_lindig==0.1.7
165
+ tqdm==4.67.1
166
+ pylatexenc==3.0a33
167
+ shtab==1.7.2
168
+ matplotlib-inline==0.1.7
169
+ cupy-cuda12x==13.6.0
170
+ wget==3.2
171
+ antlr4-python3-runtime==4.9.3
172
+ deepcoder-minimal-edit==0.1.0
173
+ tiktoken==0.11.0
174
+ torchvision==0.24.0
175
+ protobuf==6.32.0
176
+ compressed-tensors==0.12.2
177
+ astor==0.8.1
178
+ pyzmq==27.1.0
179
+ tzdata==2025.2
180
+ setproctitle==1.3.7
181
+ executing==2.2.1
182
+ safetensors==0.6.2
183
+ nvidia-cufile-cu12==1.13.1.3
184
+ fastapi-cloud-cli==0.1.5
185
+ idna==3.10
186
+ click==8.2.1
187
+ pycparser==2.23
188
+ nvidia-cudnn-frontend==1.16.0
189
+ ipywidgets==8.1.7
190
+ prometheus_client==0.22.1
191
+ anyio==4.10.0
192
+ filelock==3.19.1
193
+ prometheus-fastapi-instrumentator==7.1.0
194
+ nvidia-nvjitlink-cu12==12.8.93
195
+ pytest==8.4.2
196
+ openai-agents==0.1.0
197
+ aiofiles==25.1.0
198
+ nvidia-cufft-cu12==11.3.3.83
199
+ griffe==1.14.0
200
+ gguf==0.17.1
201
+ cydifflib==1.2.0
202
+ prime-rl==0.1.0
203
+ ninja==1.13.0
204
+ xxhash==3.5.0
205
+ regex==2025.9.1
206
+ httpx==0.28.1
207
+ msgpack==1.1.1
208
+ requests==2.32.5
209
+ pure_eval==0.2.3
210
+ math-verify==0.8.0
211
+ llguidance==1.3.0
212
+ fastapi==0.124.4
213
+ beartype==0.21.0
214
+ sympy==1.14.0
215
+ liger_kernel==0.6.2
216
+ charset-normalizer==3.4.3
217
+ typer==0.17.4
218
+ depyf==0.20.0
219
+ msgspec==0.19.0
220
+ parso==0.8.5
221
+ jupyterlab_widgets==3.0.15
222
+ uvloop==0.21.0
223
+ Werkzeug==3.1.3
224
+ opentelemetry-api==1.36.0
225
+ cuda-python==13.1.1
226
+ httpx-sse==0.4.1
227
+ mcp==1.13.1
228
+ platformdirs==4.4.0
229
+ fastapi-cli==0.0.11
230
+ python-json-logger==4.0.0rc1
231
+ jaxtyping==0.3.2
232
+ uc-micro-py==1.0.3
233
+ nvidia-cutlass-dsl==4.3.3
234
+ torch==2.9.0+cu128
235
+ cfgv==3.4.0
236
+ six==1.17.0
237
+ nvidia-nvshmem-cu12==3.3.20
238
+ tensorboard==2.20.0
239
+ lovely-numpy==0.2.13
240
+ nvidia-cuda-runtime-cu12==12.8.90
241
+ diskcache==5.6.3
242
+ packaging==25.0
243
+ TextArena==0.7.3
244
+ mdurl==0.1.2
245
+ tornado==6.5.2
246
+ supervisor==4.3.0
247
+ zipp==3.23.0
248
+ mpmath==1.3.0
249
+ linkify-it-py==2.0.3
250
+ gitdb==4.0.12
251
+ MarkupSafe==3.0.2
252
+ pexpect==4.9.0
253
+ Markdown==3.9
254
+ ipykernel==7.0.0a2
255
+ cffi==2.0.0
256
+ pydantic_core==2.41.5
257
+ rignore==0.6.4
258
+ yarl==1.20.1
259
+ identify==2.6.14
260
+ tokenizers==0.22.0
261
+ xgrammar==0.1.27
262
+ cloudpickle==3.1.1
263
+ jupyter_client==8.6.3
264
+ build==1.3.0
265
+ typing_extensions==4.15.0
266
+ transformers==4.56.1
267
+ sniffio==1.3.1
268
+ tomli_w==1.2.0
269
+ ptyprocess==0.7.0
270
+ markdown-it-py==4.0.0
271
+ ruff==0.13.0
272
+ jmespath==1.0.1
273
+ prime==0.5.0
274
+ decorator==5.2.1
275
+ nvidia-curand-cu12==10.3.9.90
276
+ prompt_toolkit==3.0.52
277
+ nvidia-cuda-cupti-cu12==12.8.90
278
+ pyarrow==21.0.0
279
+ RapidFuzz==3.14.5
280
+ Levenshtein==0.27.3
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/logs/debug-internal.log ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {"time":"2026-05-20T12:45:02.53556831Z","level":"INFO","msg":"stream: starting","core version":"0.21.4"}
2
+ {"time":"2026-05-20T12:45:03.093491695Z","level":"WARN","msg":"featurechecker: GraphQL client is nil, skipping feature loading"}
3
+ {"time":"2026-05-20T12:45:03.103118535Z","level":"INFO","msg":"stream: created new stream","id":"7yfvx9jl"}
4
+ {"time":"2026-05-20T12:45:03.103145855Z","level":"INFO","msg":"stream: started","id":"7yfvx9jl"}
5
+ {"time":"2026-05-20T12:45:03.10316488Z","level":"INFO","msg":"writer: started","stream_id":"7yfvx9jl"}
6
+ {"time":"2026-05-20T12:45:03.103249037Z","level":"INFO","msg":"handler: started","stream_id":"7yfvx9jl"}
7
+ {"time":"2026-05-20T12:45:03.103289131Z","level":"INFO","msg":"sender: started","stream_id":"7yfvx9jl"}
8
+ {"time":"2026-05-20T12:45:03.108286437Z","level":"WARN","msg":"runupserter: server does not expand metric globs but the x_server_side_expand_glob_metrics setting is set; ignoring"}
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/logs/debug.log ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Current SDK version is 0.21.4
2
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Configure stats pid to 346416
3
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Loading settings from /root/.config/wandb/settings
4
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Loading settings from /home/aiops/zhuty/prime-rl/wandb/settings
5
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_setup.py:_flush():81] Loading settings from environment variables
6
+ 2026-05-20 12:45:02,234 INFO MainThread:346416 [wandb_init.py:setup_run_log_directory():686] Logging user logs to /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/logs/debug.log
7
+ 2026-05-20 12:45:02,235 INFO MainThread:346416 [wandb_init.py:setup_run_log_directory():687] Logging internal logs to /home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/logs/debug-internal.log
8
+ 2026-05-20 12:45:02,235 INFO MainThread:346416 [wandb_init.py:init():813] calling init triggers
9
+ 2026-05-20 12:45:02,235 INFO MainThread:346416 [wandb_init.py:init():818] wandb.init called with sweep_config: {}
10
+ config: {'model': {'name': 'Qwen/Qwen3-8B', 'seq_len': 4096, 'attn': 'flash_attention_2', 'compile': None, 'ac': {'freq': 1}, 'ac_offloading': {'pin_memory': True, 'max_inflight_activations': 5}, 'fsdp_cpu_offload': True, 'reshard_after_forward': True, 'trust_remote_code': False, 'dp_replicate': 1, 'ep': 1, 'tp': 1, 'cp': 1, 'impl': 'auto', 'optimization_dtype': 'float32', 'reduce_dtype': 'float32', 'moe_use_grouped_mm': True, 'lora': None, 'debug': {'num_layers': None, 'random_init': False}}, 'tokenizer': {'name': 'Qwen/Qwen3-8B', 'trust_remote_code': False, 'chat_template': None}, 'data': {'fake': None}, 'loss': {'ratio_type': 'token', 'token_mask_high': 8.0, 'token_mask_low': 0.125, 'sequence_clip_high': 10.0, 'geo_mask_high': 10.0, 'geo_mask_low': 0.1, 'kl_tau': 0.0, 'sequence_mask_low': 0.0, 'sequence_mask_high': 100.0}, 'optim': {'lr': 1e-06, 'weight_decay': 0.01, 'max_norm': 1.0, 'type': 'adamw', 'betas1': 0.9, 'betas2': 0.999}, 'scheduler': {'type': 'constant'}, 'ckpt': {'interval': 50, 'weights': {'save_sharded': True, 'save_format': 'safetensors', 'save_adapter_separately': False}, 'resume_step': None, 'keep': 1, 'skip_progress': False, 'skip_scheduler': False, 'skip_dataloader': False}, 'weight_broadcast': {'type': 'filesystem', 'save_sharded': True, 'save_format': 'safetensors'}, 'rollout_transport': {'type': 'filesystem'}, 'log': {'level': 'info', 'vf_level': 'warn', 'file': True, 'log_data': False}, 'wandb': {'project': 'prime-rl', 'name': 'rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243-trainer', 'offline': True, 'id': None}, 'output_dir': PosixPath('/home/aiops/zhuty/fyp/artifacts/rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243'), 'max_steps': 50, 'max_async_level': 1, 'memory_profiler_path': None, 'bench': False, 'trace_path': None, 'dist_timeout_seconds': 600, 'heartbeat': None, 'max_concurrent_runs': 4, '_wandb': {}}
11
+ 2026-05-20 12:45:02,235 INFO MainThread:346416 [wandb_init.py:init():854] starting backend
12
+ 2026-05-20 12:45:02,458 INFO MainThread:346416 [wandb_init.py:init():857] sending inform_init request
13
+ 2026-05-20 12:45:02,466 INFO MainThread:346416 [wandb_init.py:init():865] backend started and connected
14
+ 2026-05-20 12:45:02,468 INFO MainThread:346416 [wandb_init.py:init():936] updated telemetry
15
+ 2026-05-20 12:45:02,723 INFO MainThread:346416 [wandb_init.py:init():960] communicating run to backend with 90.0 second timeout
16
+ 2026-05-20 12:45:03,109 INFO MainThread:346416 [wandb_init.py:init():1011] starting run threads in backend
17
+ 2026-05-20 12:45:04,344 INFO MainThread:346416 [wandb_run.py:_console_start():2506] atexit reg
18
+ 2026-05-20 12:45:04,344 INFO MainThread:346416 [wandb_run.py:_redirect():2354] redirect: wrap_raw
19
+ 2026-05-20 12:45:04,345 INFO MainThread:346416 [wandb_run.py:_redirect():2423] Wrapping output streams.
20
+ 2026-05-20 12:45:04,345 INFO MainThread:346416 [wandb_run.py:_redirect():2446] Redirects installed.
21
+ 2026-05-20 12:45:04,351 INFO MainThread:346416 [wandb_init.py:init():1049] run started, returning control to user process
rl_runs/rl_scaling_qwen3_8b_dense_ood_lev_step50_retry4_memsave_20260520_1243/wandb/offline-run-20260520_124502-7yfvx9jl/run-7yfvx9jl.wandb ADDED
File without changes