Comments (8)
Thanks for opening this issue! This is a bug on our side and we will fix this ASAP.
I think the fix right now is just to do n_jobs=None.
from tune-sklearn.
BTW @MislavSag is this possible to reproduce on colab?
from tune-sklearn.
Don't have time right now, I am going to vacation tomorrow. Maybe in 2 weeks if that's not too late.
from tune-sklearn.
No problem @MislavSag; enjoy your vacation and stay safe!
from tune-sklearn.
@richardliaw I get this error with tune.run. I have a machine with 4 cpus and 1 gpu. I initiate ray with cpu=3 and gpu=1 and from within tune.run, resources_per_trial={"cpu": 1, "gpu": 0.5}.
At first, no error. 2 trails run parallel and around 20 trails get completes, however, after a while, I get this error:
"ray.tune.error.TuneError: Insufficient cluster resources to launch trial: trial requested 1 CPUs, 0.5 GPUs but the cluster has only 0 CPUs, 0 GPUs, 0.0 GiB heap, 0.0 GiB objects. Pass queue_trials=True
in ray.tune.run() or on the command line to queue trials until the cluster scales up or resources become available."
Is this because of the bug you have pointed out earlier in the thread?
from tune-sklearn.
@nasrin136 thanks for reaching out!
No, that sounds like another problem (actually more concerning). Could you post this issue on ray-project/ray and ping me when you do?
from tune-sklearn.
Thanks @richardliaw for the prompt response. Done. and here is the link:
ray-project/ray#10756
from tune-sklearn.
closing because stale/addressed
from tune-sklearn.
Related Issues (20)
- TuneSearchCV not correctly handling error_score parameter HOT 5
- Save TuneSearchCV object with tensorflow and keras models HOT 7
- Can't suppress warning messages through standard python methods HOT 4
- n_jobs doesn't seem to be taken into account by TuneSearchCV HOT 3
- Resuming from checkpoint?
- Fail to run the conda installed tune_sklearn package HOT 2
- sk_n_jobs bug
- "training_iteration" from TuneSearchCV is always 1, and accuracy does not improve over time
- For TuneGridSearchCV: Where should I put reuse_actors=True?
- AttributeError: 'str' object has no attribute 'setup'
- TuneSearchCV doesn't seem to search for modules in alternative locations included in the PATH environment variable HOT 2
- during pickling there is an error HOT 1
- False Error log complains failed to read the result of trails
- How to tune Skorch model using GPU
- Since Ray-2.7.0, fetch_trial_dataframes is deprecated and raise an DeprecationWarning exception HOT 2
- No experiment checkpoint file of form 'experiment_state-*.json' was found HOT 1
- context is not passed with `set_config`
- Label management problem for Multilable classification
- Is it possible to save all models when doing TuneSearchCV or equivalent?
- Installation fails on Python 3.11/Windows
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tune-sklearn.