Skip to content

Commit

Permalink
Update remote multi-analysis notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
romain-ragonnet committed Sep 11, 2023
1 parent 69d75c2 commit b872508
Showing 1 changed file with 15 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,9 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"c:\\Users\\rrag0004\\.conda\\envs\\summer2\\lib\\site-packages\\summer\\runner\\vectorized_runner.py:363: NumbaDeprecationWarning: \u001b[1mThe 'nopython' keyword argument was not supplied to the 'numba.jit' decorator. The implicit default value for this argument is currently False, but it will be changed to True in Numba 0.59.0. See https://numba.readthedocs.io/en/stable/reference/deprecation.html#deprecation-of-object-mode-fall-back-behaviour-when-using-jit for details.\u001b[0m\n",
" def get_strain_infection_values(\n",
"WARNING (pytensor.tensor.blas): Using NumPy C-API based implementation for BLAS functions.\n"
]
}
],
"outputs": [],
"source": [
"from autumn.infrastructure.remote import springboard\n",
"from autumn.projects.sm_covid2.common_school.runner_tools import (\n",
Expand All @@ -40,7 +30,7 @@
"metadata": {},
"outputs": [],
"source": [
"ISO3_LIST = [\"AUS\", \"BOL\", \"FRA\", \"MAR\", \"PHL\"]\n",
"ISO3_LIST = [\"AUS\", \"BOL\", \"FRA\"]\n",
"ANALYSIS = \"main\"\n",
"\n",
"N_CHAINS = DEFAULT_RUN_CONFIG['N_CHAINS']\n",
Expand Down Expand Up @@ -106,7 +96,7 @@
"metadata": {},
"outputs": [],
"source": [
"analysis_title = \"test_run\"\n",
"analysis_title = \"test_multirun\"\n",
"config_str = f\"_{ANALYSIS}_LHS{N_OPTI_SEARCHES}_opt{OPTI_BUDGET}_mc{METROPOLIS_TUNE}n{METROPOLIS_DRAWS}\"\n",
"run_paths = [springboard.launch.get_autumn_project_run_path(\"school_project\", iso3, analysis_title + config_str) for iso3 in ISO3_LIST]\n",
"run_paths"
Expand Down Expand Up @@ -134,7 +124,16 @@
"metadata": {},
"outputs": [],
"source": [
"runners = springboard.launch.launch_synced_multiple_autumn_task(task_dict, mspec)"
"springboard.launch.launch_synced_multiple_autumn_task?"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"runners = springboard.launch.launch_synced_multiple_autumn_task(task_dict, mspec, run_group=\"2023-09-11T1023-test_multirun_main_LHS16_opt10000_mc5000n30000\")\n"
]
},
{
Expand All @@ -143,7 +142,7 @@
"metadata": {},
"outputs": [],
"source": [
"for run_path, runner in runners:\n",
"for run_path, runner in runners.items():\n",
" print(runner.s3.get_status())\n",
" # print(runner.top(\"%MEM\"))"
]
Expand Down

0 comments on commit b872508

Please sign in to comment.