Questions tagged [gpu]

Graphics Processing Units (GPUs) within the context of Machine Learning often refer to the hardware requirements, design considerations, or level of parallelization for implementing and running various machine learning algorithms.

Filter by
Sorted by
Tagged with
0
votes
0answers
9 views

Can the Apple M1's iGPU access the entire RAM as "video memory" when training with typical deep learning frameworks?

Can the Apple M1's iGPU access the entire RAM as "video memory" when training with typical deep learning frameworks (e.g., tensorflow_macos)? If not, what memory do they use as video memory?
0
votes
1answer
10 views

Cost Efficient Machine Learning Development Using Cloud GPUs

Let's say I have a Juypter Notebook I am working on where I am analyzing, visualizing, testing, etc. various Machine Learning Models with different hyperparameters on some arbitrary data set or I am ...
1
vote
0answers
9 views

Is there a reason not to wirk with AMP (automatic mixed precision)?

According to: Introducing native PyTorch automatic mixed precision for faster training on NVIDIA GPUs It's better to use AMP (with 16 Floating Point) due to: Shorter training time. Lower memory ...
0
votes
1answer
30 views

mBART training "CUDA out of memory"

I want to train a network with mBART model in google colab , but I got the message of ...
1
vote
0answers
28 views

Intel Core i7 CPU (10th gen) trains Tensorflow models faster than Intel Iris Plus Graphics GPU

Intro Recently I was able to get my GPU (Intel Iris Plus Graphics) to work with "accelerating" Tensorflow. It took many hours of research and following tutorials (most of which didn't help). ...
1
vote
1answer
2k views

How do I install CUDA GPU for Visual Studio 2022 for windows 10?

I cannot find the visual studio 2019 version and every time I try to install CUDA 11.2.2 on my laptop, It warns me about not that I haven't installed Visual Studio. I've tried installing the C++ add-...
0
votes
0answers
14 views

Improving the Actor Critic algorithm proposed by Keras

In this page of keras's website, a reinforcement learning algorithm based in an actor critic scheme has been described. It is a deep policy gradient algorithm (hence DPG). Of course keras functions ...
1
vote
0answers
15 views

Can a framework use both CPU and GPU in parallel for inference?

Can a framework use both CPU and GPU in parallel for inferencing a model? It seems possible but wondering if any of the frameworks like TensorFlow or PyTorch done this? To explain further, can we use ...
1
vote
1answer
39 views

Does GPU decreases training time for on-policy RL?

I was wondering whether using a GPU will be effective if I am using an on-policy (eg PPO) RL as the model? I.e, how can we use a GPU to decrease training time for an on-policy RL model? I recently ...
0
votes
0answers
20 views

Unable to connect to files folder in Google Colab after insalling Rapids?

I am following steps mentioned in below link for installing Rapids in Google Colab. However as soon as I run cell no 4, the folders I see in file section disappear and I see "Connecting to a ...
0
votes
1answer
87 views

OOM memory after kernel restart, was working before

Ran my CNN on a SageMaker notebook and it started training, but I had to restart the kernel due to AWS disconnecting. However when I tried to rerun my code, I received an OOM error, and it never ...
0
votes
0answers
556 views

ValueError: GPU is not accessible. Was the library installed correctly?

I installed spacy 3 in a venv and tried to execute: spacy.require_gpu() Then I got this as output: ...
0
votes
0answers
18 views

What is num_groups in GroupNorm and how to choose it

I found that batch_norm can cause problems with small batch sizes and that GroupNorm is a good alternative. Now, GroupNorm requires two parameters, the num_group and the num_channels. How can I choose ...
0
votes
0answers
45 views

Tensorflow Training Crashing

I have created a GCP VM with Tesla K80 GPU attached to it. I have installed Nvidia 465 drivers for Ubuntu 20.04 along with Cuda 11. I am trying to use tensorflow on the GCP machine and each time when ...
0
votes
0answers
59 views

GPU acceleration with Flask API (BERT Transformer)

I have learned two BERT Transformer models, which both solve the text classification problem. Both artificial networks work well and I don’t see any problem while using them on my GPU and CPU as well ...
0
votes
2answers
228 views

Model accuracy when training on GPU and then inferencing on CPU

When we are concerned about speed, GPU is way better than CPU. But if I train a model on a GPU and then deploy the same trained model (no quantization techniques used) on a CPU, will this affect the ...
0
votes
0answers
67 views

Which memory usage is more accurate in nvidia-smi?

My nvidia-smi shows the following: ...
1
vote
2answers
1k views

Alternatives with better GPU than Google Colab Pro

I am currently running/training MAchine learning models that are very GPU expensive, Google Colab Pro is not giving me enough GPU/RAM Is there any alternatives with better GPU and more RAM than ...
1
vote
0answers
29 views

Suitable CPU with RTX3070 GPU for deep learning [closed]

I am trying to get a GPU for my deep learning research. Due to stock limitation, I can only get a RTX3070. In my lab, there's some PC/workstation whereby I can install the RTX3070. However, I wonder ...
0
votes
1answer
17 views

GPU shows 0 utilization even when tensors and model are mounted on the gpu?

I am trying to run some PyTorch scripts on a remote GPU server. While calling the script in the ubuntu terminal i start as:...
1
vote
1answer
219 views

Why the my Tensorflow code just use one GPU when I assign more than one

I am trying to run my code on a supercomputer with 8 gpus. Though, I assign 8 gpus but one of them is just occupied. I read some notes in websites and it seems that Tensorflow automatically use gpu if ...
0
votes
0answers
84 views

ImportError: DLL load failed while importing _pywrap_tfe when running exe file created by Pyinstaller

I have created the exe file of my code which uses tensorflow on gpu. It seems that building process using Pyinstaller goes fine. However, when I run the exe file in a system without GPU, I get the ...
0
votes
0answers
90 views

Tensorflow not detecting GTX 1650TI GPU

I have got a GTX 1650TI GPU and am trying to run Tensorflow using the GPU, however Tensorflow does not detect the GPU. I am using Tensorflow version 2.3.0 with cuda 10.1 and cudnn 7.6. Trying to ...
1
vote
1answer
63 views

DIGITS Docker container not picking up GPU

I am running DIGITS Docker container but for some reason it fails to recognize host's GPU: it does not report any GPUs (where I expect 1 to be reported) so in the upper right corner of the DIGITS home ...
0
votes
0answers
20 views

What is done in practice to speed up batch computation for deep learning by standard software packages?

Something that confuses me with machine learning in practice is that when you send in a batch of examples, you are computing the value of each example independently. And then when you backprop, you ...
0
votes
1answer
46 views

How many video streams can single GPU handle for object detection

I need to detect objects from multiple video streams at realtime (or close to it, like 10 FPS). How many GPUs do I need to detect objects using YOLOv3 or MobileNet for, say, 10 video streams? Is it ...
0
votes
1answer
84 views

How to run unmodified Python program on GPU servers with scheduled GPUs?

Say I have one server with 10 GPUs. I have a python program which detects available GPU and use all of them. I have a couple of users who will run python (Machine learning or data mining) programs and ...
1
vote
1answer
51 views

Alternatives to GCP / AWS / Azure

Can anyone recommend an alternative to the big 3 cloud computing alternatives? I know they're the best but I found them overly complicated because they cater to massive enterprises. The amount of set ...
0
votes
1answer
91 views

Why does my GPU immediately run out of memory when I try to run this code?

I am trying to write a neural network that will train on plays by Shakespeare and then write its own passages. I am using pytorch. For some reason, my GPU ...
0
votes
1answer
192 views

Why does GPU speed up inference?

I understand that GPU can speed up training for each batch multiple data records can be fed to the network which can be parallelized for computation. However, for inference, typically, each time the ...
2
votes
1answer
94 views

Use a GPU to speed up neural net training in R

I'm currently training a neural net model in R and am wanting to use a GPU to speed up this process. I've looked into this but it appears that this is unavailable to Mac users as Apple no longer uses ...
-1
votes
1answer
29 views

How much GPUs are needed for Image ehancement? [closed]

I'm looking for a GPU to train my model. Most of the papers that I have followed used 2 or more gtx 1050ti card or higher. (MIRNet, EnlightenGAN) I need to that how much GPU power will it take to ...
2
votes
1answer
4k views

CUDA compatibility of GTX 1650ti versus 1650

I am confused about CUDA compatibility. I am studying deep learning and looking for a laptop to buy. One laptop has GTX 1650ti and another has GTX 1650. Will both be able to use GPU for model training,...
0
votes
0answers
22 views

Simultaneous inference on many gpu, question

I want to do boosting for instance segmentation. Lets say I have 5 different models for this and I have 5 GPUs. WHat I want to do is to do the inference on each model on each GPU, and combine the ...
1
vote
2answers
44 views

How can I create a VM instance with GPUs on Google Cloud Platform?

How can I create a VM instance with GPUs on Google Cloud Platform? When I go to https://console.cloud.google.com/compute -> CREATE INSTANCE, I only see CPUs and no GPUs, as shown in the video below....
1
vote
1answer
163 views

How to evenly distribute data to multiple GPUs using Keras

I am using Keras=2.3.1 with Tensorflow-gpu=2.0.0 backend. While I trained model on two RTX 2080 ti 11G GPUs, it allocates all data to '/gpu:0',and nothing changed with '/gpu:1'. Surely, the second GPU ...
4
votes
1answer
3k views

What GPU size do I need to fine tune BERT base cased?

I want to fine tune BERT Multilingual but I'm not aware about the GPU requirements to train BERT Multilingual. I have GTX 1050ti 4GB on my local machine. I want to know what size of GPU is needed and ...
2
votes
3answers
2k views

How to install tensorflow-gpu?

I installed cuda-11.0 and cuDNN-8.2 and Tensor-RT 7.1. And then installed tensorflow-gpu. But tf.is_gpu_available() is showing False. Actually, I installed ...
0
votes
0answers
102 views

How to run neural network in gpu instead of cpu?

I installed cuDNN and cuda toolkit 11 in my machine. Now I installed tensorflow-gpu in pip3 of version 2.2.0. But while running neural network, cpu is being used 90% with four cores and gpu is being ...
1
vote
1answer
99 views

GPU vs TPU for convolutional neural networks (NLP)

I am testing ideas on IMDB sentiment analysis task by using word embeddings + CNN approach. What could explain a significant difference in computation time in favor of GPU (~9 seconds per epoch) ...
3
votes
2answers
889 views

Keras OOM for data validation using GPU

I'm trying to run a deep model using GPU and seems Keras running the validation against the whole validation data set in one batch instead of validating in many batches and that's causing out of ...
1
vote
1answer
209 views

Is it true more CPU core is better for deep learning?

I just started to learn the deep learning in my free time. I was hoping to buy a laptop where I want to implement some small(alexnet) to medium(GoogleNet) networks maybe something bigger. I searched ...
2
votes
1answer
435 views

How to enable GPU on GradientBoostingClassifier?

Is there a way to enable GPU on GradientBoostingClassifier?
0
votes
0answers
250 views

Custom Object Detection on Azure Machine Learning or Databricks

I'm looking to train a custom object detection model using Tensorflow's API. Is it possible to do it in Azure ML Studio or in Databricks? Object Detection link - https://tensorflow-object-detection-...
1
vote
1answer
102 views

Deep learning : CPU vs. GPU quality

I searched for other similar questions on Google and here, but couldn't find any. I'm consistently getting results of less quality when making deep learning with GPU, compared to CPU. Of course, it is ...
0
votes
1answer
2k views

Is it possible to train stylegan2 with a custom dataset using a graphics card that only has 6GB of VRAM (GeForce GTX 1660)?

I'm attempting to train stylegan2 using a custom dataset, but no matter what settings I use I see the same error: ...
2
votes
0answers
27 views

Any free or affordable resources for network training?

I have a really large network that I need to train but I don't have enough computational power. I tried using Colab but colab doesn't allow multiple parallel runtimes. I'd like to use the caiver ...
0
votes
1answer
220 views

How to run list comprehensions on GPU?

Is there a way to run complex list comprehensions like the following on GPU? ...
2
votes
1answer
6k views

FP16, FP32 - what is it all about? or is it just Bitsize for Float-Values (Python)

What is it all about FP16, FP32 in Python? My potential Business Partner and I are building a Deep Learning Setup for working with time series. He came up with "FP16 and FP32" while finding a GPU. It ...
0
votes
1answer
64 views

How many neural networks can a GPU run simultaneously?

I am developing an application that would take feed from multiple IP cameras and run 3 different neural networks on it. I want to determine the number of such IP cameras that can I process parallelly ...