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

Ways to speed up training using CPU? #1534

Open
lececefifi opened this issue Jun 22, 2023 · 0 comments
Open

Ways to speed up training using CPU? #1534

lececefifi opened this issue Jun 22, 2023 · 0 comments

Comments

@lececefifi
Copy link

lececefifi commented Jun 22, 2023

#question
Hi - I am using multi-label classification, and due to the current circumstances, I can only train with CPU. I am required to train on a virtual machine due to data sensitivity, and the CPUs are intel with avx-512 disabled, so trying the IPEX package is out of question (https://huggingface.co/docs/transformers/perf_train_cpu). I am using 1 epoch and default batch of 8. The data instances is 334,835, and it currently takes about 6 hours to complete 1%.

Anyone have other solutions to speed up the training?

Thank you!

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

1 participant