All Questions
Tagged with google-colaboratory gpu
173
questions
0
votes
1
answer
26
views
How to clear GPU memory in Google Collab after training a model
I am currently trying to do cross-validation with Llama-3 LLM in Google Collab, and I am facing with the issue that the GPU memory runs out way before I am able to finish my experiments. My code is ...
0
votes
0
answers
31
views
MemoryError: cudaErrorIllegalAddress an illegal memory access was encountered when transfering data from CPU to GPU on google colab
I have tried to use my code, which works perfectly fine offline, on Google Colab. In an attempt to convert data from CPU to GPU for ML training using cuML i get an Error.
Here is the part of my code:
...
0
votes
0
answers
30
views
How to install dependencies in conda environment in Google colab
I am new to Python. For analyzing the single-cell multiomics datasets, I have purchased Google Colab Pro. Because the dataset is large, the model requires GPU and conda environment for the analysis. I ...
-1
votes
0
answers
13
views
How can I train my computationally intensive deep learning model?
I'm trying to train a convolutional neural network on the FER 2013 dataset on Google Colaboratory. I did 50 epochs but the first epoch is taking about 2 hours to finish and then the runtime stops ...
0
votes
0
answers
57
views
How do I use gpu for my xgboost model in google colab?
This is the code I am using on my google colab file:
def objective(trial, cv= cv, cv_fold_func=np.average,cost_func = accuracy_score):
#paramètres suggérés par optuna pour xgboost
params = {
...
-3
votes
2
answers
415
views
ModuleNotFoundError: No module named 'nvcc_plugin'
i m trying to work on cuda c on colab ive followed the whole process setting up cuda c the only problem im getting is loading the extension
ModuleNotFoundError: No module named 'nvcc_plugin'
i try ...
2
votes
0
answers
55
views
Google Colab: GPU not accessible when using different python version
For one third-party library, I need python 3.8. So installed it using these commands,
!sudo apt-get update
!sudo apt install python3.8
!sudo apt install python3-pip
!sudo apt install python3.8-...
0
votes
0
answers
89
views
Attempting to run PyOpenCL on google colab GPU environment returns that no devices were found
I was trying to start my program that I had running before on Google Colab once again, but this time, the moment I invoke
!sudo apt update
!sudo apt purge *nvidia* -y
!sudo apt install nvidia-driver-...
0
votes
1
answer
343
views
Can't install PyTorch 1.7.0
I need to install these four packages (to run this code):
!pip install allennlp==1.3
!pip install transformers==4.0.0
!pip install torch==1.7.0
!pip install networkx
These commands work in a Jupyter ...
0
votes
0
answers
116
views
Remote access to Google Colab hardware
Is it possible to use Google Colab GPU, from my local storage and local system? As far as I know, programs such as Juice-Labs or Nvidia vGPU provide detailed capabilities, but is it possible to use ...
0
votes
0
answers
237
views
How to force train a model on GPU on Google Colab?
I'm trying to train a GAN model on Google Colab using Tensorflow. However, it takes a very very long time per epoch. I'm using Google Colab Pro Even though I chose T4 GPU as my runtime type T4 GPU ...
0
votes
0
answers
50
views
I have been using colab for a DL framework for NeRF. but it keeps telling that the GPU memory is exceeded
This the code that I used. Here, the device is cuda. I tried to move up and down the GPU. When I push it to the GPU, memory keeps increasing, but when I get it off GPU, the memory is not freed. I use ...
0
votes
0
answers
499
views
Cannot install python3.6 on google colab
I am unable to install Python 3.6 on Google Colab. I saw a few previous posts where others were able to install the same version. I am, however, able to install Python 3.7. I ran the following ...
0
votes
0
answers
792
views
Making lightgbm work with gpu on Google colab
I am trying to work with gpus on Google colab with lightgbm. However, I am not able to make it using the gpu as the colab runtime says. I know that there are other similar questions, but none of them ...
0
votes
0
answers
314
views
while using Pretrained LLM - RuntimeError: Expected all tensors to be on the same device, but found at least two devices, cuda:0 and cpu
I am new to LLM and colab notebook, I'm trying to use opensource large language model for my task, but while processing on google colab, Its getting crashed, may be because of limited RAM.
So I'm ...