Skip to content
Discussion options

You must be logged in to vote
warnings.warn('User provided device_type of \'cuda\', but CUDA is not available. Disabling')

It looks like your GPU isn't configured correctly. It's technically possible to train a Transformer on CPU, but it will take an extremely long time, and is not recommended. Are you training on CPU intentionally? I wouldn't expect it to train without error but produce meaningless results like this, but I wanted to check.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@egumasa
Comment options

@polm
Comment options

@egumasa
Comment options

@polm
Comment options

@egumasa
Comment options

Answer selected by svlandeg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat / ner Feature: Named Entity Recognizer feat / transformer Feature: Transformer
2 participants