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

5 times slower then before #1321

Open
SidneyLann opened this issue Nov 22, 2024 · 4 comments
Open

5 times slower then before #1321

SidneyLann opened this issue Nov 22, 2024 · 4 comments

Comments

@SidneyLann
Copy link

I had installed unsloth from github and pytorch 2.1.2 from pip and had 4 seconds/iteration. now I install unsloth 2024.11.7 from PIP and pytorch 2.5.1 from pip and had 20 seconds/iteration. 5 times slower then before. Is the unsloth or pytorch version cause the issue? What's the different for installing unsloth from github and pip?

@shimmyshimmer
Copy link
Collaborator

For which fine-tuning and which model? Llama?

@SidneyLann
Copy link
Author

fine-tuning Llama 3.2 by gpu

@danielhanchen
Copy link
Contributor

Wait do you remember what was the previous version?

@SidneyLann
Copy link
Author

SidneyLann commented Nov 22, 2024

image

Now I run app for pytorch 2.1.0 + unsloth 2024.7 + python 3.10. it only start one python process. 4s/iter

image

But pytorch 2.5.1 +unsloth 2024.11.7 +python 3.12 start 17+1 python processes. 20s/iter

Is cudnn impact this? How to check if cudnn in using?

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

No branches or pull requests

3 participants