Reputation
Badges 1
75 × Eureka!seems like it's using None and that doesn't provide the normal api/sessions
endpoint - or, it does, but returns an empty list
at least in 2018 it returned sessions! None
but maybe that doesn't matter, actually - it might be one session per host I guess
if I instead change the request url to f"http://{server_info['hostname']}:{server_info['port']}/api/sessions"
then it gets a 200 response... however , the response is an empty list
it does return kernels, just not sessions
yeah, even then it'll run but return 0 notebooks
right now I'm doing
# clear existing configs in case we're rerunning the notebook
if hydra.core.global_hydra.GlobalHydra().is_initialized():
hydra.core.global_hydra.GlobalHydra.instance().clear()
# initialize Hydra
hydra.initialize(
version_base=None,
config_path=".",
job_name="test_app",
)
# use the compose API since we're running in a notebook instead of __main__
cfg = hydra.compose(
config_name="config",
overrides=[],
)
# report in ClearML Config UI
clearm...
My use case is running forecasting models in production across multiple businesses
I think it just ends up in /home/sagemaker-user/{notebook}.ipynb
every time
so notebook path is empty
and cat /var/log/studio/kernel_gateway.log | grep ipynb
comes up empty
and is there any way to capture hydra from a notebook as a Configuration? you don't use the typical @hydra.main()
but rather call the compose API , and so far in my testing that doesn't capture the OmegaConf in ClearML
I'll give it a shot and see! Just setting up a test server now, so it's still a hypothetical question just from reading the docs so far
awesome, I'll test it out - thanks for the tips!