Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when training #7232

Open
1 task done
catn1pdeal3r opened this issue Mar 10, 2025 · 1 comment
Open
1 task done

Error when training #7232

catn1pdeal3r opened this issue Mar 10, 2025 · 1 comment
Labels
bug Something isn't working pending This problem is yet to be addressed

Comments

@catn1pdeal3r
Copy link

Reminder

  • I have read the above rules and searched the existing issues.

System Info

  • llamafactory version: 0.9.2.dev0
  • Platform: Windows-11-10.0.26100-SP0
  • Python version: 3.12.7
  • PyTorch version: 2.6.0+cu126 (GPU)
  • Transformers version: 4.49.0
  • Datasets version: 3.2.0
  • Accelerate version: 1.2.1
  • PEFT version: 0.12.0
  • TRL version: 0.9.6
  • GPU type: NVIDIA GeForce RTX 3060
  • GPU number: 1
  • GPU memory: 12.00GB
  • Bitsandbytes version: 0.45.3

Reproduction

llamafactory-cli train examples/train_lora/llama3_lora_reward.yaml

Others

AttributeError: Can't get local object 'AutoModelForCausalLMWithValueHead.post_init..set_device_hook'

@catn1pdeal3r catn1pdeal3r added bug Something isn't working pending This problem is yet to be addressed labels Mar 10, 2025
@hiyouga
Copy link
Owner

hiyouga commented Mar 10, 2025

Try reinstall trl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working pending This problem is yet to be addressed
Projects
None yet
Development

No branches or pull requests

2 participants