result.txt 6.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. (base) [root@localhost ~]# docker exec finetune-trainer tail -200 /tmp/train_4e49dfbd-4a47-4c39-842e-462410e055a4.log
  2. [remote_train] fla package found at: /opt/conda/lib/python3.10/site-packages/fla
  3. [remote_train] fla shared memory patch v2 already applied, skipping
  4. [remote_train] [rank 0] === Training job started: 4e49dfbd-4a47-4c39-842e-462410e055a4 ===
  5. [remote_train] model_id=Qwen/Qwen3.5-0.8B, model_type=text
  6. [remote_train] dataset_path=/root/Fine-tuning/backend/data/datasets/dpo_sample.jsonl
  7. [remote_train] config={"model_id": "Qwen/Qwen3.5-0.8B", "model_type": "text", "dataset_id": "41e0a8e2-ddc7-464b-bc44-b13261bbc221", "peft_method": "lora", "epochs": 3, "batch_size": 16, "gradient_accumulation": 4, "learnin
  8. [remote_train] Step 1: Preprocessing dataset...
  9. [remote_train] task_type=dpo, template=auto
  10. [remote_train] Engine loaded: TextEngine
  11. [remote_train] Running preprocess_dataset...
  12. [remote_train] Preprocessing done, output: /root/Fine-tuning/backend/data/processed/4e49dfbd-4a47-4c39-842e-462410e055a4_processed.jsonl
  13. [remote_train] Step 2: Loading model: Qwen/Qwen3.5-0.8B...
  14. Current Triton version 3.0.0 is below the recommended 3.2.0 version. Errors may occur and these issues will not be fixed. Please consider upgrading Triton.
  15. Current Python version 3.10 is below the recommended 3.11 version. It is recommended to upgrade to Python 3.11 or higher for the best experience.
  16. torch.compile is not available in Python 3.10, using identity decorator instead
  17. /opt/conda/lib/python3.10/site-packages/torchvision/datapoints/__init__.py:12: UserWarning: The torchvision.datapoints and torchvision.transforms.v2 namespaces are still Beta. While we do not expect major breaking changes, some APIs may still change according to user feedback. Please submit any feedback you may have in this issue: https://github.com/pytorch/vision/issues/6753, and you can also check out https://github.com/pytorch/vision/issues/7319 to learn more about the APIs that we suspect might involve future changes. You can silence this warning by calling torchvision.disable_beta_transforms_warning().
  18. warnings.warn(_BETA_TRANSFORMS_WARNING)
  19. /opt/conda/lib/python3.10/site-packages/torchvision/transforms/v2/__init__.py:54: UserWarning: The torchvision.datapoints and torchvision.transforms.v2 namespaces are still Beta. While we do not expect major breaking changes, some APIs may still change according to user feedback. Please submit any feedback you may have in this issue: https://github.com/pytorch/vision/issues/6753, and you can also check out https://github.com/pytorch/vision/issues/7319 to learn more about the APIs that we suspect might involve future changes. You can silence this warning by calling torchvision.disable_beta_transforms_warning().
  20. warnings.warn(_BETA_TRANSFORMS_WARNING)
  21. Loading weights: 100%|██████████| 320/320 [00:06<00:00, 46.85it/s]
  22. [remote_train] Model loaded successfully
  23. [remote_train] Step 3: Building PEFT config...
  24. [remote_train] Step 4: Starting training...
  25. [remote_train] NOTE: First step may take 2-5 minutes due to Triton kernel compilation (autotuning). This is normal.
  26. [remote_train] Total steps: 3 epochs, batch_size per GPU=16
  27. /opt/conda/lib/python3.10/site-packages/peft/tuners/tuners_utils.py:1348: UserWarning: Model has `tie_word_embeddings=True` and a tied layer is part of the adapter, but `ensure_weight_tying` is not set to True. This can lead to complications, for example when merging the adapter or converting your model to formats other than safetensors. Check the discussion here: https://github.com/huggingface/peft/issues/2777
  28. warnings.warn(msg)
  29. bitsandbytes library load error: Configured CUDA binary not found at /opt/conda/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda116.so
  30. Traceback (most recent call last):
  31. File "/opt/conda/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 320, in <module>
  32. lib = get_native_library()
  33. File "/opt/conda/lib/python3.10/site-packages/bitsandbytes/cextension.py", line 288, in get_native_library
  34. raise RuntimeError(f"Configured {BNB_BACKEND} binary not found at {cuda_binary_path}")
  35. RuntimeError: Configured CUDA binary not found at /opt/conda/lib/python3.10/site-packages/bitsandbytes/libbitsandbytes_cuda116.so
  36. [transformers] warmup_ratio is deprecated and will be removed in v5.2. Use `warmup_steps` instead.
  37. [transformers] warmup_ratio is deprecated and will be removed in v5.2. Use `warmup_steps` instead.
  38. trainable params: 5,070,848 || all params: 757,463,872 || trainable%: 0.6695
  39. Map: 100%|██████████| 5/5 [00:00<00:00, 158.56 examples/s]
  40. [remote_train] [rank 0] ERROR: 'DPOTrainer' object has no attribute '_data_collator'
  41. [remote_train] Traceback (most recent call last):
  42. File "/root/Fine-tuning/backend/app/engines/remote_train.py", line 236, in run_training
  43. adapter_path = await engine.train(
  44. File "/root/Fine-tuning/backend/app/engines/text_engine.py", line 404, in train
  45. _orig_collator = trainer._data_collator
  46. AttributeError: 'DPOTrainer' object has no attribute '_data_collator'. Did you mean: 'data_collator'?
  47. [remote_train] === Training job failed: 4e49dfbd-4a47-4c39-842e-462410e055a4 ===
  48. Traceback (most recent call last):
  49. File "/opt/conda/lib/python3.10/runpy.py", line 196, in _run_module_as_main
  50. return _run_code(code, main_globals, None,
  51. File "/opt/conda/lib/python3.10/runpy.py", line 86, in _run_code
  52. exec(code, run_globals)
  53. File "/root/Fine-tuning/backend/app/engines/remote_train.py", line 466, in <module>
  54. main()
  55. File "/root/Fine-tuning/backend/app/engines/remote_train.py", line 461, in main
  56. asyncio.run(run_training(job_id, model_id, model_type, dataset_id, config,
  57. File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run
  58. return loop.run_until_complete(main)
  59. File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
  60. return future.result()
  61. File "/root/Fine-tuning/backend/app/engines/remote_train.py", line 236, in run_training
  62. adapter_path = await engine.train(
  63. File "/root/Fine-tuning/backend/app/engines/text_engine.py", line 404, in train
  64. _orig_collator = trainer._data_collator
  65. AttributeError: 'DPOTrainer' object has no attribute '_data_collator'. Did you mean: 'data_collator'?
  66. (base) [root@localhost ~]# docker exec finetune-trainer bash -c '/opt/conda/bin/python -c "import trl; print(trl.__version__)"'
  67. 0.9.6