result.txt 2.8 KB

123456789101112131415161718
  1. (base) [root@localhost ~]# docker exec finetune-trainer /opt/conda/bin/python -c "from transformers import AutoModelForCausalLM, AutoConfig; cfg = AutoConfig.from_pretrained('/root/Fine-tuning/backend/data/models/Qwen_Qwen3.5-0.8B'); print('model_type:', cfg.model_type); print('architectures:', cfg.architectures)"
  2. model_type: qwen3_5
  3. architectures: ['Qwen3_5ForConditionalGeneration']
  4. (base) [root@localhost ~]# docker exec finetune-trainer /opt/conda/bin/python -c "import torch; print('torch:', torch.__version__); print('cuda:', torch.cuda.is_available()); print('devices:', torch.cuda.device_count())"
  5. torch: 2.8.0+metax3.5.3.9
  6. cuda: True
  7. devices: 4
  8. (base) [root@localhost ~]# docker exec finetune-trainer /opt/conda/bin/python -c "import torch; from transformers import AutoModelForCausalLM; m = AutoModelForCausalLM.from_pretrained('/root/Fine-tuning/backend/data/models/Qwen_Qwen3.5-0.8B', torch_dtype=torch.float16, device_map='auto'); print('Loaded OK')"
  9. [transformers] `torch_dtype` is deprecated! Use `dtype` instead!
  10. 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.
  11. 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.
  12. torch.compile is not available in Python 3.10, using identity decorator instead
  13. /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().
  14. warnings.warn(_BETA_TRANSFORMS_WARNING)
  15. /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().
  16. warnings.warn(_BETA_TRANSFORMS_WARNING)
  17. Loading weights: 100%|██████████| 320/320 [00:06<00:00, 48.32it/s]
  18. Loaded OK