mirror of
https://github.com/vale981/master-thesis
synced 2025-03-05 10:01:43 -05:00
try a lighter load
This commit is contained in:
parent
da3db8d295
commit
9351d86c64
2 changed files with 80 additions and 8 deletions
|
@ -114,7 +114,7 @@
|
|||
return params
|
||||
|
||||
|
||||
model_keys = [dict(bcf_scale=0.2, wc=ω_c, γ=.5, T=.6, k_max=5, bcf_terms=5, max_HO_level=9) for ω_c in [2]]
|
||||
model_keys = [dict(bcf_scale=0.2, wc=ω_c, γ=.5, T=.6, k_max=4, bcf_terms=5, max_HO_level=5) for ω_c in [2]]
|
||||
multi_params = [ho_duo(**keys) for keys in model_keys]
|
||||
multi_params = multi_params
|
||||
#+end_src
|
||||
|
@ -154,8 +154,79 @@
|
|||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
: ho_data/two_baths/_6/two_baths_6be504a1a85fd41f80e35d1f604cbfd6_1.h5
|
||||
: 0it [00:00, ?it/s]
|
||||
:RESULTS:
|
||||
#+begin_example
|
||||
ho_data_local/two_baths/_f/two_baths_fbeb4100da4ff052f0c2153129535231_1.h5
|
||||
0% 4/10000 [00:20<14:14:45, 5.13s/it]
|
||||
2022-08-03 17:49:20,428 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,430 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,434 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,435 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,437 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,439 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,452 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,460 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,462 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,479 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,496 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,504 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,516 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
[2m[1m[36m(scheduler +8m40s, ip=141.30.17.16)[0m Tip: use `ray status` to view detailed cluster status. To disable these messages, set RAY_SCHEDULER_EVENTS=0.
|
||||
[2m[1m[33m(scheduler +8m40s, ip=141.30.17.16)[0m Warning: The following resource request cannot be scheduled right now: {'CPU': 1.0}. This is likely due to all cluster resources being claimed by actors. Consider creating fewer actors or adding more nodes to this Ray cluster.
|
||||
2022-08-03 17:49:20,544 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,547 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
#+end_example
|
||||
# [goto error]
|
||||
#+begin_example
|
||||
[0;31m---------------------------------------------------------------------------[0m
|
||||
[0;31mKeyboardInterrupt[0m Traceback (most recent call last)
|
||||
Input [0;32mIn [14][0m, in [0;36m<cell line: 2>[0;34m()[0m
|
||||
[1;32m 3[0m supervisor [38;5;241m=[39m HOPSSupervisor(
|
||||
[1;32m 4[0m params,
|
||||
[1;32m 5[0m [38;5;241m10_000[39m,
|
||||
[1;32m 6[0m data_path[38;5;241m=[39m[38;5;124m"[39m[38;5;124mho_data_local[39m[38;5;124m"[39m,
|
||||
[1;32m 7[0m data_name[38;5;241m=[39m[38;5;124m"[39m[38;5;124mtwo_baths[39m[38;5;124m"[39m,
|
||||
[1;32m 8[0m )
|
||||
[1;32m 9[0m [38;5;28mprint[39m(supervisor[38;5;241m.[39mget_data([38;5;28;01mTrue[39;00m)[38;5;241m.[39mhdf5_name)
|
||||
[0;32m---> 10[0m [43msupervisor[49m[38;5;241;43m.[39;49m[43mintegrate[49m[43m([49m[43m)[49m
|
||||
[1;32m 11[0m supervisors[38;5;241m.[39mappend(supervisor)
|
||||
|
||||
File [0;32m~/src/hops/hops/core/integration.py:1288[0m, in [0;36mHOPSSupervisor.integrate[0;34m(self, clear_pd)[0m
|
||||
[1;32m 1285[0m [38;5;28;01mbreak[39;00m
|
||||
[1;32m 1287[0m integration[38;5;241m.[39mupdate()
|
||||
[0;32m-> 1288[0m data[38;5;241m.[39mnew_samples(
|
||||
[1;32m 1289[0m idx[38;5;241m=[39mindex,
|
||||
[1;32m 1290[0m incomplete[38;5;241m=[39mincomplete,
|
||||
[1;32m 1291[0m psi0[38;5;241m=[39mpsi0,
|
||||
[1;32m 1292[0m aux_states[38;5;241m=[39maux_states,
|
||||
[1;32m 1293[0m stoc_proc[38;5;241m=[39mstoc_proc,
|
||||
[1;32m 1294[0m result_type[38;5;241m=[39m[38;5;28mself[39m[38;5;241m.[39mparams[38;5;241m.[39mHiP[38;5;241m.[39mresult_type,
|
||||
[1;32m 1295[0m normed[38;5;241m=[39m[38;5;28mself[39m[38;5;241m.[39m_normed_average,
|
||||
[1;32m 1296[0m rng_seed[38;5;241m=[39mseed,
|
||||
[1;32m 1297[0m )
|
||||
|
||||
File [0;32m~/src/hops/hops/core/signal_delay.py:87[0m, in [0;36msig_delay.__exit__[0;34m(self, exc_type, exc_val, exc_tb)[0m
|
||||
[1;32m 84[0m [38;5;28;01mif[39;00m [38;5;28mlen[39m([38;5;28mself[39m[38;5;241m.[39msigh[38;5;241m.[39msigs_caught) [38;5;241m>[39m [38;5;241m0[39m [38;5;129;01mand[39;00m [38;5;28mself[39m[38;5;241m.[39mhandler [38;5;129;01mis[39;00m [38;5;129;01mnot[39;00m [38;5;28;01mNone[39;00m:
|
||||
[1;32m 85[0m [38;5;28mself[39m[38;5;241m.[39mhandler([38;5;28mself[39m[38;5;241m.[39msigh[38;5;241m.[39msigs_caught)
|
||||
[0;32m---> 87[0m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43m_restore[49m[43m([49m[43m)[49m
|
||||
|
||||
File [0;32m~/src/hops/hops/core/signal_delay.py:68[0m, in [0;36msig_delay._restore[0;34m(self)[0m
|
||||
[1;32m 66[0m [38;5;28;01mfor[39;00m i, s [38;5;129;01min[39;00m [38;5;28menumerate[39m([38;5;28mself[39m[38;5;241m.[39msigs):
|
||||
[1;32m 67[0m signal[38;5;241m.[39msignal(s, [38;5;28mself[39m[38;5;241m.[39mold_handlers[i])
|
||||
[0;32m---> 68[0m [38;5;28;43mself[39;49m[38;5;241;43m.[39;49m[43msigh[49m[38;5;241;43m.[39;49m[43memit[49m[43m([49m[43m)[49m
|
||||
|
||||
File [0;32m~/src/hops/hops/core/signal_delay.py:42[0m, in [0;36mSigHandler.emit[0;34m(self)[0m
|
||||
[1;32m 40[0m [38;5;28;01mfor[39;00m s [38;5;129;01min[39;00m [38;5;28mself[39m[38;5;241m.[39msigs_caught:
|
||||
[1;32m 41[0m log[38;5;241m.[39minfo([38;5;124m"[39m[38;5;124memit signal [39m[38;5;124m'[39m[38;5;132;01m{}[39;00m[38;5;124m'[39m[38;5;124m"[39m[38;5;241m.[39mformat(SIG_MAP[s]))
|
||||
[0;32m---> 42[0m [43mos[49m[38;5;241;43m.[39;49m[43mkill[49m[43m([49m[43mos[49m[38;5;241;43m.[39;49m[43mgetpid[49m[43m([49m[43m)[49m[43m,[49m[43m [49m[43ms[49m[43m)[49m
|
||||
|
||||
[0;31mKeyboardInterrupt[0m:
|
||||
2022-08-03 17:49:20,548 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,556 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,557 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
2022-08-03 17:49:20,559 ERROR worker.py:94 -- Unhandled error (suppress with 'RAY_IGNORE_UNHANDLED_ERRORS=1'): The worker died unexpectedly while executing this task. Check python-core-worker-*.log files for more information.
|
||||
#+end_example
|
||||
:END:
|
||||
|
||||
* Flow
|
||||
#+begin_src jupyter-python :results none
|
||||
|
@ -182,6 +253,7 @@
|
|||
#+end_src
|
||||
|
||||
#+RESULTS:
|
||||
: Loading: 100% 22/22 [00:01<00:00, 19.90it/s]
|
||||
|
||||
#+begin_src jupyter-python
|
||||
fig, ax = plt.subplots()
|
||||
|
@ -202,8 +274,8 @@
|
|||
#+RESULTS:
|
||||
:RESULTS:
|
||||
: WARNING:matplotlib.legend:No artists with labels found to put in legend. Note that artists whose label start with an underscore are ignored when legend() is called with no argument.
|
||||
: <matplotlib.legend.Legend at 0x7ff07f657220>
|
||||
[[file:./.ob-jupyter/7dc9909701b9a96b2e00e19325c23b2ec0a8aa2b.svg]]
|
||||
: <matplotlib.legend.Legend at 0x7f798aa613a0>
|
||||
[[file:./.ob-jupyter/dce75d8f71fa6a6821c97451232c4b6fd4d36e34.svg]]
|
||||
:END:
|
||||
|
||||
* Analytic
|
||||
|
@ -283,8 +355,8 @@
|
|||
|
||||
#+RESULTS:
|
||||
:RESULTS:
|
||||
: <matplotlib.legend.Legend at 0x7ff06e7e79a0>
|
||||
[[file:./.ob-jupyter/993434ccfc11251484909bde5f5f8eae60b822cf.svg]]
|
||||
: <matplotlib.legend.Legend at 0x7f798a734d90>
|
||||
[[file:./.ob-jupyter/af95fb6991d65ebe0fe47fdb1302b948214ddb0b.svg]]
|
||||
:END:
|
||||
|
||||
#+begin_src jupyter-python
|
||||
|
|
|
@ -109,7 +109,7 @@ def ho_duo(
|
|||
return params
|
||||
|
||||
|
||||
model_keys = [dict(bcf_scale=0.2, wc=ω_c, γ=.5, T=.6, k_max=5, bcf_terms=5, max_HO_level=9) for ω_c in [2]]
|
||||
model_keys = [dict(bcf_scale=0.2, wc=ω_c, γ=.5, T=.6, k_max=4, bcf_terms=5, max_HO_level=5) for ω_c in [2]]
|
||||
multi_params = [ho_duo(**keys) for keys in model_keys]
|
||||
multi_params = multi_params
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue