tpu Questions

4

I'm trying to import aitexten package to work on a GPT-2 solution. But I'm encountering an error:ImportError: cannot import name '_TPU_AVAILABLE' from 'pytorch_lightning.utilities' (/usr/local/lib/...
Intercommunion asked 4/11, 2022 at 16:6

1

Solved

I am coding on a single-device laptop and I am using jax.pmap because my code will run on multiple TPUs. I would like to "fake" having multiple devices to test my code and try different t...
Venezuela asked 16/11, 2022 at 19:48

2

I am trying to use TPU using pytorch_xla, but it shows import error in _XLAC. !curl https://raw.githubusercontent.com/pytorch/xla/master/contrib/scripts/env-setup.py -o pytorch-xla-env-setup.py !py...
Gambia asked 17/5, 2020 at 5:36

1

Solved

I am trying to run a model on TPU as given in colab notebook. The model was working fine, but today I could not run the model. I used the following code to install pytorch-xla. VERSION = "nigh...

2

Just curious, on how long will it take to train the VGG16 model on IMAGENET using GOOGLE COLAB TPU? If someone can explain me the calcuations they did to get to the answer, that would be great!

1

Solved

In the code here: https://www.kaggle.com/ryanholbrook/detecting-the-higgs-boson-with-tpus Before the model is compiled, the model is made using this code: with strategy.scope(): # Wide Network wi...
Cozart asked 18/12, 2020 at 14:21

2

I want to use USB Coral accelerator in Android Device to use CNN in my Android applications. Is it available to use? If you guys to know it. Please Let me know. Thanks.
Tabitha asked 17/6, 2019 at 1:45

2

Solved

I am trying to run GCP TPU with Pytorch/XLA, I am using a VM with debian-9-torch-xla-v20200818 image, I initiate the TPU and check it is running using ctpu status which shows that both the CPU and ...
Warnock asked 19/8, 2020 at 11:51

1

Solved

colab offers free TPUs. It's easy to see how many cores are given, but I was wondering if its possible to see how much memory per core?
Outfox asked 21/7, 2020 at 7:11

2

Solved

I am using TPU runtime in Google Colab, but having problems in reading files (not sure). I initialized TPU using: import tensorflow as tf import os import tensorflow_datasets as tfds resolver = tf...

3

I'm trying to do some basic character classification on google colab with a TPU. I'm getting the following error: InvalidArgumentError: Unsupported data type for TPU: double, caused by output cond...

3

Solved

I am trying to use Google Cloud's TPU from Colab. I was able to do it following the tutorial by using Tensorflow. Does anybody know if it is possible to make use of the TPUs using PyTorch? If so h...

1

Solved

I have a custom neural network written in Tensorflow.Keras and apply the hard-swish function as activation (as used in the MobileNetV3 paper): Implementation: def swish(x): return x * tf.nn.r...
Ventage asked 21/2, 2020 at 10:21

2

Solved

one of the limitations is that we can get only 12 continuous hours per session. Is there any limitations for the usage for GPU and TPU?
Dropping asked 17/1, 2020 at 8:52

2

Solved

Hello!I have encountered some problems when compiling the model using TPU.Some part of codes as follows: resolver = tf.contrib.cluster_resolver.TPUClusterResolver(TF_MASTER) tf.contrib.distribute...
Kinship asked 28/9, 2019 at 7:34

1

Solved

I'd like to connect Colab to a PAID TPU (upgrading from the free TPU). I created a JSON key using this guide: https://cloud.google.com/docs/authentication/production#auth-cloud-explicit-python, the...

2

I am training a few deep learning models on Google Colab with runtime type set to TPU. The RAM and disk status shows that I have used most of my disk storage on Colab. Is there a way to reset it? O...
Agree asked 28/11, 2019 at 10:7

2

While following the instructions on Get Started with Edge TPU Dev Board, I can't get past Step 2: $ screen /dev/ttyUSB0 115200 The issue is that screen immediately returns [screen is terminatin...
Mraz asked 15/3, 2019 at 17:49

1

I am working with a pretrained keras model and I want to run it on TPU by Google Colaboratory, but I get the following error: ValueError: Layer has a variable shape in a non-batch dimension. T...
Ulrikaumeko asked 29/10, 2019 at 21:17

4

Solved

I'm trying to get a Mobilenetv2 model (retrained last layers to my data) to run on the Google edge TPU Coral. I've followed this tuturial https://www.tensorflow.org/lite/performance/post_training_...
Caskey asked 27/7, 2019 at 17:2

0

I notice that this code cannot work since June 14 as it says: 'Model' object has no attribute 'target_tensors'. I change another way to use the TPU distribution strategy following https://colab.r...
Aruspex asked 15/6, 2019 at 7:1

2

I wrote a NN model that analyze an image and extract 8 floating numbers at the end. The model is working fine (but slowly) on my computer so I try it on the TPU cloud and there BAM! I have an error...
Klansman asked 8/10, 2018 at 13:7
1

© 2022 - 2024 — McMap. All rights reserved.