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

[0.5.0] from trl.trainer import ORPOTrainer ModuleNotFoundError: No module named 'trl' #458

Closed
Fazziekey opened this issue Dec 10, 2024 · 2 comments · Fixed by #459
Closed

Comments

@Fazziekey
Copy link

🐛 Describe the bug

image

0.5.0 liger_kernal must rely on trl, however it only install when with dev version

dev = [
"transformers>=4.44.2",
"trl>=0.11.0",
"matplotlib>=3.7.2",
"flake8>=4.0.1.1",
"black>=24.4.2",
"isort>=5.13.2",
"pytest>=7.1.2",
"pytest-xdist",
"pytest-rerunfailures",
"datasets>=2.19.2",
"torchvision>=0.16.2",
"seaborn",
]

Reproduce

pip3 install liger_kernel==0.5.0
from liger_kernel.transformers.rms_norm import LigerRMSNorm

Versions

0.5.0

@ByronHsu
Copy link
Collaborator

Apologize. The issue should have been fixed in v0.5.1: https://github.com/linkedin/Liger-Kernel/releases/tag/v0.5.1

@ByronHsu ByronHsu reopened this Dec 10, 2024
@Fazziekey
Copy link
Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants