Hi,
I’m trying to run the script on a VPS, but it gets an error:
torch._C._cuda_init()
RuntimeError: Found no NVIDIA driver on your system. Please check that you have an NVIDIA GPU and installed a driver from http://www.nvidia.com/Download/index.aspx.
Adding the parameter doesn’t help:
model = torch.load('roberta-large',map_location ='cpu')
Is it possible to run the model on the CPU?
Issue Analytics
- State:
- Created 2 years ago
- Comments:7
Top Results From Across the Web
Central processing unit - Wikipedia
A central processing unit (CPU), also called a central processor, main processor or just processor, is the electronic circuitry that executes instructions ...
Read more >CPU Processors | Newegg.com
Enjoy a speedy and efficient computer performance with CPU processors. They have different characteristics to fit a wide variety of devices and functions....
Read more >CPU: Central Processing Unit | AP CSP (article)
The CPU is the brain of a computer, containing all the circuitry needed to process input, store data, and output results. The CPU...
Read more >What is a CPU (Central Processing Unit)? | Malwarebytes
A Central Processing Unit or CPU is electronic machinery that carries out instructions from programs that allows a computer or other device to...
Read more >What Is a CPU? Here's Everything You Need to Know
The CPU is the core component that defines a computing device, and while it is of critical importance, the CPU can only function...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Everything works! You have no idea how much you’ve helped me.
Probably should have been saved like this:
model.fit(train_objectives=[(train_dataloader, train_loss)], epochs=2, warmup_steps=221, output_path='/content/drive/MyDrive/c/roberta')