question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

No GPU detected/allowed, using most conservative search space.

See original GitHub issue

Greetings. I am using windows 10, cuda version 10.1, python 3.8.5. GTX 1060 MaxQ. I installed autogluon as follow

pip install torch==1.7.1+cu101 torchvision==0.8.2+cu101 torchaudio==0.7.2 -f https://download.pytorch.org/whl/torch_stable.html
python -m pip install -U pip
python -m pip install -U setuptools wheel
python -m pip install -U "mxnet_cu101<2.0.0"
python -m pip install autogluon

I checked GPU presence as follow

import mxnet as mx
mx.context.num_gpus()

It output as 1

package info mxnet-cu101==1.5.0 autogluon==0.2.0 autogluon-contrib-nlp==0.0.1b20210201 autogluon.core==0.2.0 autogluon.extra==0.2.0 autogluon.features==0.2.0 autogluon.mxnet==0.2.0 autogluon.tabular==0.2.0 autogluon.text==0.2.0 autogluon.vision==0.2.0

But when I run predictor.fit it say INFO:gluoncv.auto.tasks.image_classification:No GPU detected/allowed, using most conservative search space.

Any idea about it?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22

github_iconTop GitHub Comments

1reaction
xxx2009-labcommented, May 28, 2021

I also got the same issue @Innixma import mxnet as mx mx.context.num_gpus() 1

ag.get_gpu_count() 0

0reactions
Innixmacommented, Aug 15, 2021

@talhaanwarch latest pre-release should already be migrated to PyTorch via #1249

You should be able to run ImagePredictor without MXNet installed.

An example torch model to specify:

hyperparameters={'model': 'gluon_resnet101_v1d'}

You can see an example colab notebook that trains on Image without MXNet installed: https://colab.research.google.com/drive/1bQiruKftkwN43jTov09R8sjoXGdLdbuj?usp=sharing

Note: I’d generally recommend using TabularPredictor for Images, it has fewer bugs and better performance + benefits of ensembling.

Read more comments on GitHub >

github_iconTop Results From Across the Web

No GPU detected/allowed, using most conservative ... - GitHub
Greetings. I am using windows 10, cuda version 10.1, python 3.8.5. GTX 1060 MaxQ. I installed autogluon as follow pip install ...
Read more >
Chapter 42. Conservative Rasterization - NVIDIA Developer
With conservative rasterization, the overlap is always properly detected, no matter what resolution is used. This property can enable load balancing between ...
Read more >
The Progressive GPU Lightmapper (preview) - Unity - Manual
The Progressive CPU Lightmapper uses an approach called branched path tracing, which launches more light rays at each bounce. The branched path tracing...
Read more >
Free-Speech, Uncensored Browser Launched for Conservatives
Until it's online, the browser is using Yahoo's search engine, although the software's default search engine can be changed by a user. “No ......
Read more >
A Guide on XGBoost hyperparameters tuning - Kaggle
Explore and run machine learning code with Kaggle Notebooks | Using data from ... The larger gamma is, the more conservative the algorithm...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found