will not run on GPU on COLAB
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- python, tensorflow
- Domain
- machine-learning
Research direction
Reproduce the report in Google Colab using the tensorflow-compression demo script and the provided installation command. Check the reported TensorFlow 2.14.1 environment on a T4 GPU and compare GPU visibility with and without tensorflow-compression. Done means the demo environment recognizes the available GPU or the incompatibility is clearly identified.
Written by the indexing model from the issue text.
Description
HI,
I'm having trouble running tensorflow-compression on the COLAB GPUs (which are the only GPUs I have access to). I have the same problem when I run the tensorflow-compression demo script https://www.tensorflow.org/tutorials/generative/data_compression
For example, when I run the provided shell script line to install
read MAJOR MINOR <<< "$(pip show tensorflow | perl -p -0777 -e 's/.Version: (\d+).(\d+)./\1 \2/sg')"
pip install "tensorflow-compression<$MAJOR.$(($MINOR+1))"
and then on the T4 GPU
import tensorflow as tf
import tensorflow_compression as tfc
print(tf.version.VERSION)
print("Num GPUs Available: ", len(tf.config.list_physical_devices('GPU')))
It prints
2.14.1
Num GPUs Available: 0
I don't have this issue in other contexts where I'm not using tensorflow-compression.
Thank you so much,
Matt
- Dominant language
- Python
- Stars
- 923
- Forks
- 258
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tensorflow/compression
-
IGDN Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tensorflow/compression#192 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tensorflow/compression#187 ·
-
安卓 Open
Difficulty 5/5 Over a week Newbie friendliness 10/100
tensorflow/compression#185 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
tensorflow/compression#179 · 4 reactions ·
-
Unable to save model Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tensorflow/compression#174 · 1 reaction ·
All issues in tensorflow/compression
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
syfoud/Simulated_Scepter#172 ·
-
A cancelled tests run makes the coverage comment workflow fail and reports it as a red check on main Openarea: ci bug perceived difficulty: 3
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Nitjsefnie-Harness-Commons/daedalus#921 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
EleutherAI/lm-evaluation-harness#4207 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
ClickHouse/clickhouse-connect#1057 ·