-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for jupyter-server-proxy
#144
Comments
This was referenced Dec 9, 2022
To test, assuming DWAVE_INSPECTOR_JUPYTER_SERVER_PROXY_EXTERNAL_URL='http://127.0.0.1:8888/' jupyter notebook --NotebookApp.token='' Note: currently, jupyter-based auth is not supported (hence the token is unset above) (root cause: #150). Open Jupyter notebook and run: import dimod
import dwave.inspector
from dwave.system import DWaveSampler, EmbeddingComposite
# define problem
bqm = dimod.BQM.from_ising({}, {'ab': 1, 'bc': 1, 'ca': 1})
# get sampler
sampler = EmbeddingComposite(DWaveSampler(solver='Advantage_system4.1'))
# sample
sampleset = sampler.sample(bqm, num_reads=100) then open the Inspector with: dwave.inspector.show(sampleset) Now notice that no request goes to |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using proxy support implemented in #143, it should be easy to support
jupyter-server-proxy
for users that run Jupyter through reverse proxy.The text was updated successfully, but these errors were encountered: