Skip to content

v0.0.23

Compare
Choose a tag to compare
@dongreenberg dongreenberg released this 11 Apr 21:51
· 208 commits to main since this release
94b2772

Richer async support, performance improvements, and bugfixes

Improvements

  • Client-side Async support (#690, #696, #696, #689) - We've improved the way we handle async calls to remove modules. Now, you can properly unblock the event loop and await any remote call by passing run_async as an argument into the method call. If your method is already defined as async, this will be applied automatically without specifying run_async so your code can await the remote method just as it did the original. You can still explicitly set run_async=False in that case to make the local call sync.
  • Improve Mapper ergonomics and docs (#700, #709) - Now you can simply pass a function to the mapper and it will send over the module and create replicas on its own. We'll publish new mapper tutorials shortly.
  • Cache rich signature for Module to improve method call performance (#699)
  • Don't serialize tracebacks in OutputType.EXCEPTION (#721) - Sometimes exceptions can't be deserialized locally because they depend on remote libraries. In those cases, we now still print the traceback for better visibility.
  • Unset OMP_NUM_THREADS when Ray automatically set it because it may break user parallelism expectations (#719)

Bugfixes

  • Fix stdout and logs streaming in various scenarios (#716, #717)
  • Remove unused requests.Session created in HTTPClient (#694)
  • Change Caddy installation to download from Github (#702) (Sorry Caddy!)
  • Inherit Cluster READ access for resources on the cluster (#706)
  • Set the cluster name in the HTTPClient upon rename (#704)
  • Fix some runhouse login bugs (#717)
  • Make errors from Den include status code and be more verbose (#707)
  • Fix SkySSHRunner tunnels and processes to be correctly cleaned up (#718)

Full Changelog: v0.0.22...v0.0.23