spacy training NER with GPU issue #13578
Unanswered
bobbywilson0
asked this question in
Help: Coding & Implementations
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am attempting to train a new NER model on some of my data. I have followed the spacy guide on training.
My local setup is as follows:
I have a small test repo that I have been able to recreate the issue with here: https://github.com/bobbywilson0/hn-jobs-spacy
Included is a test.py file to prove some base packages are working:
This all seems to be correct. I have generated a config based both on the CPU and GPU settings. The CPU configuration "works," and I have even modified it to run with
--gpu-id 0
on the CLI and it uses the GPU. However, I cannot get the gpu generated configuration to work as intended, it just hangs indefinitely like it is training but never updates the output or finishes. I've let it run for over an hour and no results.I know that passing the
--gpu-id 0
will use the gpu but it doesn't use the transformers library or any of the intended settings in the gpu generated file and I'm wondering why that is. As I have shown above, it seems like all of the packages are working at a base level, it's just that the training doesn't actually work with the gpu specific config.Thanks for the help!
Bobby
Beta Was this translation helpful? Give feedback.
All reactions