Comments (2)
what is the output of nvidia-smi
? if there is no output then you need to install the nvidia driver appropriate to your system and whatever version of cuda
you're running. check https://docs.nvidia.com/deeplearning/cudnn/support-matrix/index.html for more info on the appropriate toolkit version etc. keep in mind that enabling the backend doesn't actually mean that cuda
is available, and the error message suggests it may not be installed properly (if at all).
it can also be tricky to get the right combination to work with your particular PyTorch version, but there are some good blog posts out there on this. a google search based on your particular setup should point you in the right direction.
from fast-bert.
Thanks - this issue is almost certainly something unusual about my environment rather than this package, so I'll go ahead and close this out. I'll try and research that I've got the correct PyTorch version.
from fast-bert.
Related Issues (20)
- how to manage output values of prediction (predictor.predict_batch) HOT 2
- Target Batch Size Doubling: ValueError: Target size (torch.Size([16, 5])) must be the same as input size (torch.Size([8, 5])) HOT 1
- Missing token-level classification task
- Issue with BertNERPredictor.predict_batch(array)
- PicklingError: Can't pickle <class 'fast_bert.data_cls.InputFeatures'>: import of module 'fast_bert.data_cls' failed
- Support for Semantic Search/Semantic similarity
- Any way to save the model artifacts during training?
- lr_find() taking so much time when running readme.md example
- Converting a Pytorch Dataloader to BertDataBunch
- Error in `predict` for BertClassificationPredictor - logger is None
- can the version pins for tokenizers and transformers be removed, in requirements.txt? HOT 2
- [Suggestion] Pin requirement versions (specifically python-box) HOT 1
- [BUG] AttributeError: 'RobertaTokenizer' object has no attribute 'max_len'
- TypeError: forward() got an unexpected keyword argument 'masked_lm_labels'
- DtypeWarning: Columns (0,1) have mixed types. Specify dtype option on import or set low_memory=False HOT 2
- accuracy function only gives zero-output and breaks for new numpy version
- Creation of BertClassificationPredictor breaks
- How to load model.safetensors using fast_bert using python3.*
- Exception has occurred: TypeError object of type 'NoneType' has no len() in learner_cls.py when do Model inference
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fast-bert.