TypeError on Ray Cluster with Ray 1.2.0

Hi there,

I tried to run the code from the official documentation (Quick Start Cluster Autoscaling Demo — Ray v2.0.0.dev0) on one of my Ray worker nodes. However, I am running into the following type error when defining the remote function. Probably I’m doing something wrong but I thought it might be better to flag it up here as it might be related to Ray 1.2.0.

My Ray Cluster runs on EKS K8S with the Autoscaler Kubernetes Operator.

This happens only when using the django shell, not the vanilla python interactive shell.

hmm…Doesn’t look like a Ray-on-K8s issue per-se.
@barakmich or @ericl might have a better idea of what’s going on here.

I guess it might be some Django internal dependency managing or something along those lines. But good to know where I should start looking into! Thanks!