Ray does not work with most recent version of redis
See original GitHub issueSystem information
- OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Multiple
- Ray installed from (source or binary): source (current master)
- Ray version: -
- Python version: Multiple
- Exact command to reproduce:
ray.init()
Describe the problem
Multiple people have installed Modin and are receiving this error. https://github.com/modin-project/modin/issues/259
redis.exceptions.DataError: Invalid input of type: 'NoneType'. Convert to a byte, string or number first.
I was able to reproduce by running
pip install -U redis
And then
import ray
ray.init()
Redis recently released. I believe we need to pin Ray to a specific version of the library dependencies for compatibility purposes.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:6 (4 by maintainers)
Top Results From Across the Web
How can I connect to pre-created redis instance? - Ray Core
Here I have a pre-created Redis instance (well, it is Azure Redis Cache), and I give the azure redis address to address parameter....
Read more >Ray/Redis failure on ray.init. Any ideas? - Stack Overflow
1 Answer 1 ... Ray drivers are expected to run on a node in the cluster (usually the head node) and requires many...
Read more >Supported ElastiCache for Redis versions - AWS Documentation
We recommend against using these Redis versions. If you need to use one of them, work with the AWS CLI or ElastiCache API....
Read more >Redis in Ray: Past and future - Anyscale
The most significant change in Ray 1.11 is that Ray no longer launches Redis by default. For a Ray cluster not running Redis:...
Read more >Redis
Run the command: Copy. sysctl -p. Having Transparent Huge Pages (THP) support enabled in your kernel will create latency and memory usage issues...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can re-produce this. A temporary fix will be:
Closed via #3379