Skip to content

0.5.0

Compare
Choose a tag to compare
@randomir randomir released this 12 Apr 17:03

Summary

Add support for fast anneal protocol and improve performance.

New Features

  • Add support for fast anneal protocol. Display the new solver parameter fast_anneal and the new solver property fast_anneal_time_range in the visualizer. See #170
  • Replace builtin JSON encoder with orjson, achieving 2-5x speed-up of problem and solver API endpoints.
  • Replace WSGIAsyncServer with dwave.cloud.auth.server.BackgroundAppServer, a more robust and stable multi-threaded server. By using a multi-threaded server we improve the visualizer app load time, as browsers can download static files and make API requests in parallel now. See #165.

Upgrade Notes

  • dwave.inspector.utils.NumpyJSONProvider is removed and no longer available. Use orjson.dumps with option=orjson.OPT_SERIALIZE_NUMPY instead.
  • Minimal version of dwave-cloud-client required is now 0.11.0 to support #165 and fix #164.

Bug Fixes

  • Omit legacy solver parameters, like num_spin_reversal_transforms and postprocessing params (postprocess, beta, chains) from the visualizer. See #166 and #168.
  • Improve performance of the inspector server by postprocessing solver data inplace, saving one deep copy of solver metadata (~600kB for Advantage) on each API request of solver data.