eric-valente

Results 12 comments of eric-valente

Would love some additional color here. Minute backtests are very, very slow. I do not need all the summary statistics - would love a way to filter which calculations I...

@Thomas214 Thanks for this - it did not seem to speed things up for me. Are you still using context.asset all in the backtest?

The only way I got things to work currently was to add security=False to the EC2Cluster instantiation, this removes the massive TLS strings for security and brings the size to...

Hi @jacobtomlinson Tried it with packages and no luck. The workers will turn on in EC2 and won't connect to the scheduler and then proceed to die. When I remove...

@jacobtomlinson This error then worker dies: ![image](https://user-images.githubusercontent.com/35536427/117164677-b25cb400-ad79-11eb-841b-bc082f1d1a47.png) Here are my settings: ![image](https://user-images.githubusercontent.com/35536427/117164601-9eb14d80-ad79-11eb-8c90-7104c007f068.png) Note, this works if i simply remove nprocs from the worker_options. Thanks for your help!

Thanks again for your help here @jacobtomlinson Tried setting the worker class to Nanny but still same issue: ![image](https://user-images.githubusercontent.com/35536427/117344131-edceaf80-ae59-11eb-81b4-6a05435c61bd.png) ![image](https://user-images.githubusercontent.com/35536427/117344091-e3141a80-ae59-11eb-9547-ab14577fcc21.png)

https://github.com/dask/distributed/issues/4640 seems maybe related

Seems dask.distributed.Nanny does not accept nprocs either https://distributed.dask.org/en/latest/_modules/distributed/nanny.html#Nanny Fails with above init error: --spec '{"cls": "dask.distributed.Nanny", "opts": {"nprocs": 4, "name": "dask-4ffc56fd-worker-dd6509e3"}}' Works: --spec '{"cls": "dask.distributed.Nanny", "opts": {"ncores": 4, "name": "dask-4ffc56fd-worker-dd6509e3"}}'

Seems like the cloud-init to add a worker uses this style of starting a worker: python -m distributed.cli.dask_spec tcp://x.x.x.x:8786 --spec {"cls": "distributed.nanny.Nanny", "opts": {"nprocs": 4, "name": "dask-4ffc56fd-worker-dd6509e3"}} vs. this style:...