experimaestro 1.5.7__py3-none-any.whl → 1.5.9__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of experimaestro might be problematic. Click here for more details.
- experimaestro/cli/jobs.py +8 -2
- experimaestro/connectors/ssh.py +2 -2
- experimaestro/core/types.py +8 -3
- experimaestro/experiments/cli.py +17 -20
- experimaestro/launcherfinder/__init__.py +1 -1
- experimaestro/launcherfinder/base.py +2 -18
- experimaestro/launcherfinder/registry.py +22 -129
- experimaestro/launchers/direct.py +0 -47
- experimaestro/scheduler/base.py +1 -1
- experimaestro/tests/launchers/config_slurm/launchers.py +25 -0
- experimaestro/tests/test_findlauncher.py +1 -1
- experimaestro/tokens.py +8 -8
- experimaestro/utils/resources.py +5 -1
- {experimaestro-1.5.7.dist-info → experimaestro-1.5.9.dist-info}/METADATA +1 -1
- {experimaestro-1.5.7.dist-info → experimaestro-1.5.9.dist-info}/RECORD +18 -21
- {experimaestro-1.5.7.dist-info → experimaestro-1.5.9.dist-info}/entry_points.txt +0 -4
- experimaestro/launchers/slurm/cli.py +0 -29
- experimaestro/launchers/slurm/configuration.py +0 -597
- experimaestro/tests/launchers/config_slurm/launchers.yaml +0 -134
- experimaestro/utils/yaml.py +0 -202
- {experimaestro-1.5.7.dist-info → experimaestro-1.5.9.dist-info}/LICENSE +0 -0
- {experimaestro-1.5.7.dist-info → experimaestro-1.5.9.dist-info}/WHEEL +0 -0
|
@@ -4,13 +4,13 @@ experimaestro/annotations.py,sha256=dcpFmo01T12S_y5nIBIQjiXsGsq5S80ZB-58o8tW9wA,
|
|
|
4
4
|
experimaestro/checkers.py,sha256=ZCMbnE_GFC5compWjt-fuHhPImi9fCPjImF8Ow9NqK8,696
|
|
5
5
|
experimaestro/cli/__init__.py,sha256=mzc-qqTFtZnFwCQl7IiwlYXEx08kLGwdntWayCerZ6E,9610
|
|
6
6
|
experimaestro/cli/filter.py,sha256=0jJrD_2cWydovjLO32vTFTK-TxXSs9P8Zxp5WaBF5AE,5790
|
|
7
|
-
experimaestro/cli/jobs.py,sha256=
|
|
7
|
+
experimaestro/cli/jobs.py,sha256=eWDZ2ObdySshDujFQdkmChxD9TS53270ckTXggGFXQc,7630
|
|
8
8
|
experimaestro/click.py,sha256=6BkeQHEgcxaxzq3xEvEEzwzuBj5-dkfrpOGikuA8L00,1377
|
|
9
9
|
experimaestro/commandline.py,sha256=NS1ubme8DTJtDS2uWwdHLQiZsl6TSK1LkNxu39c3-cw,9463
|
|
10
10
|
experimaestro/compat.py,sha256=dQqE2ZNHLM2wtdfp7fBRYMfC33qNehVf9J6FGRBUQhs,171
|
|
11
11
|
experimaestro/connectors/__init__.py,sha256=hxcBSeVLk_7oyiIlS3l-9dGg1NGtShwvRD1tS7f8D2M,5461
|
|
12
12
|
experimaestro/connectors/local.py,sha256=6tlaZb0tvNS2mjsapiVbfY7kIfLICJad137VXBMz-xo,5816
|
|
13
|
-
experimaestro/connectors/ssh.py,sha256=
|
|
13
|
+
experimaestro/connectors/ssh.py,sha256=88z0MYJl_K2jJTX5NBx4w5DJ_UGEbN40SPs2x9dfB-Q,8260
|
|
14
14
|
experimaestro/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
15
15
|
experimaestro/core/arguments.py,sha256=dW32opqNEsULYr6nR7Zk8PqHsSCbLPclfXofw27GTpI,5620
|
|
16
16
|
experimaestro/core/context.py,sha256=Q8_ngiHRBZ0laavXRJNiDvdCprrnROVTWaHfrwMdlG4,2638
|
|
@@ -18,27 +18,25 @@ experimaestro/core/objects.py,sha256=vTp_zjBJlYEhe0u55erJ5X-Lc8UuTb45NIFwfVZCPes
|
|
|
18
18
|
experimaestro/core/objects.pyi,sha256=Adi2OKCW0-B9GROlEUgxxBDK6SHUqccTBHTofRRJE9M,7131
|
|
19
19
|
experimaestro/core/serialization.py,sha256=9tg5ebLF3YeZ_zG9DiTHPLthppvo7io710ohD_dcLTo,3836
|
|
20
20
|
experimaestro/core/serializers.py,sha256=R_CAMyjjfU1oi-eHU6VlEUixJpFayGqEPaYu7VsD9xA,1197
|
|
21
|
-
experimaestro/core/types.py,sha256=
|
|
21
|
+
experimaestro/core/types.py,sha256=8alVqTA7aeIZ3FAaDux8IwoRPDbwVxzONVqnAL1A6QI,20308
|
|
22
22
|
experimaestro/core/utils.py,sha256=JfC3qGUS9b6FUHc2VxIYUI9ysNpXSQ1LjOBkjfZ8n7o,495
|
|
23
23
|
experimaestro/exceptions.py,sha256=cUy83WHM3GeynxmMk6QRr5xsnpqUAdAoc-m3KQVrE2o,44
|
|
24
24
|
experimaestro/experiments/__init__.py,sha256=GcpDUIbCvhnv6rxFdAp4wTffCVNTv-InY6fbQAlTy-o,159
|
|
25
|
-
experimaestro/experiments/cli.py,sha256=
|
|
25
|
+
experimaestro/experiments/cli.py,sha256=tMMtfAkewj8jAPseXD1RBePBt10XWRItQ9TkKhV18yY,7228
|
|
26
26
|
experimaestro/experiments/configuration.py,sha256=8GRqyLG1leF_NbvbFzqpm0yM24O0WjSNmQzvnuLnxxw,1150
|
|
27
27
|
experimaestro/generators.py,sha256=9NQ_TfDfASkArLnO4PF7s5Yoo9KWjlna2DCPzk5gJOI,1230
|
|
28
28
|
experimaestro/huggingface.py,sha256=gnVlr6SZnbutYz4PLH0Q77n1TRF-uk-dR-3UFzFqAY0,2956
|
|
29
29
|
experimaestro/ipc.py,sha256=ltYqybPm_XfcQC3yiskMfhfI_1dREs-XRu0F83YsNws,1490
|
|
30
|
-
experimaestro/launcherfinder/__init__.py,sha256=
|
|
31
|
-
experimaestro/launcherfinder/base.py,sha256=
|
|
30
|
+
experimaestro/launcherfinder/__init__.py,sha256=qRUDyv3B9UsAM8Q31mRrZrTZox0AptwdmOY4f2K-TUo,279
|
|
31
|
+
experimaestro/launcherfinder/base.py,sha256=q47SsF_cXdo5O6ZhFKn5385WVFcx8Wd-BcEpd6tRpbs,515
|
|
32
32
|
experimaestro/launcherfinder/parser.py,sha256=pYbfEJw7osnqZWm7fkVhQawhpNU8dLU_6vEjtXdc8E8,2279
|
|
33
|
-
experimaestro/launcherfinder/registry.py,sha256=
|
|
33
|
+
experimaestro/launcherfinder/registry.py,sha256=ZpN0fm7MbweSH4cqpgW0jZpsLTQCKTkK6feqENrkvd8,5756
|
|
34
34
|
experimaestro/launcherfinder/specs.py,sha256=G8za6mEmkVxuZY_ab3OhWJIpONpcBMO_iXeB30sUbhI,6448
|
|
35
35
|
experimaestro/launchers/__init__.py,sha256=lXn544sgJExr6uirILWzAXu_IfmfyqFZOt4OzRnjHXg,2525
|
|
36
|
-
experimaestro/launchers/direct.py,sha256=
|
|
36
|
+
experimaestro/launchers/direct.py,sha256=JZh6WOPnO6ED_xlOs8pL4MRFmnRhmXzpVxTl-ByaD2A,258
|
|
37
37
|
experimaestro/launchers/oar.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
38
38
|
experimaestro/launchers/slurm/__init__.py,sha256=R1Zwd4phZaXV8FwCYhzfB44n0V4cf-hBQzOc6NkFQ0s,41
|
|
39
39
|
experimaestro/launchers/slurm/base.py,sha256=syIC8Frfz-kWhpYkmPTfMjrskx7_bzvmRMQJ40lkF50,14185
|
|
40
|
-
experimaestro/launchers/slurm/cli.py,sha256=c-S0TImvhZ-ZxFs5-5T2GRDm5manRYRiYudpQLHwsrQ,818
|
|
41
|
-
experimaestro/launchers/slurm/configuration.py,sha256=mtozeuvIZmEfHlvEylwCgBrlVRFHT_jWNAKVxR4Tz1E,19357
|
|
42
40
|
experimaestro/locking.py,sha256=hPT-LuDGZTijpbme8O0kEoB9a3WjdVzI2h31OT44UxE,1477
|
|
43
41
|
experimaestro/mkdocs/__init__.py,sha256=u3AT-uBu3PqyZZXBr6U_ffioEoSZngDdw85005DbyDA,34
|
|
44
42
|
experimaestro/mkdocs/annotations.py,sha256=qpDw8lzrxpsOShXcpcP_LAeR3UhiIXAybG8UvS64-OU,263
|
|
@@ -51,7 +49,7 @@ experimaestro/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
51
49
|
experimaestro/rpyc.py,sha256=ZRKol-3tVoeoUITLNFenLF4dhWBLW_FvSV_GvsypmeI,3605
|
|
52
50
|
experimaestro/run.py,sha256=NTFORDb_RlEK6tWKa7K-_2_bGCdHzzjBJVH5C1ReYtw,5222
|
|
53
51
|
experimaestro/scheduler/__init__.py,sha256=ERmmOxz_9mUkIuccNbzUa5Y6gVLLVDdyc4cCxbCCUbY,20
|
|
54
|
-
experimaestro/scheduler/base.py,sha256=
|
|
52
|
+
experimaestro/scheduler/base.py,sha256=XGq8kokNycba5D-KYKrNZ3WcXWKDUxusTkgR-X9S0E0,31941
|
|
55
53
|
experimaestro/scheduler/dependencies.py,sha256=n9XegwrmjayOIxt3xhuTEBVEBGSq4oeVdzz-FviDGXo,1994
|
|
56
54
|
experimaestro/scheduler/services.py,sha256=aCKkNZMULlceabqf-kOs_-C7KPINnjU3Q-I00o5x6iY,2189
|
|
57
55
|
experimaestro/scheduler/workspace.py,sha256=vyVbYZML28zvmgxfWc2PsKKHGlrAejY43UYlttbm9AU,2280
|
|
@@ -97,7 +95,7 @@ experimaestro/tests/launchers/bin/sbatch,sha256=gQvJEzCz4OCPeLCElaD6tmbPeoLuGLlk
|
|
|
97
95
|
experimaestro/tests/launchers/bin/test.py,sha256=MbxdAd2Sf7T-Hj3ldmrtngbQuBdNOkXjMcICJTf39wI,477
|
|
98
96
|
experimaestro/tests/launchers/common.py,sha256=TAFDodyp36T8OaiUwxCv06gzbGYacKiD3sA6UekCfpk,2468
|
|
99
97
|
experimaestro/tests/launchers/config_slurm/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
100
|
-
experimaestro/tests/launchers/config_slurm/launchers.
|
|
98
|
+
experimaestro/tests/launchers/config_slurm/launchers.py,sha256=DohwQVv1eXWfDpAYFg7KJekEm7q7G-lMou2lPg-PKOk,838
|
|
101
99
|
experimaestro/tests/launchers/test_local.py,sha256=4oGgWH2YgkEm-Muu6s4cwlgriXtYr5xAd72DVoIw_Yk,717
|
|
102
100
|
experimaestro/tests/launchers/test_slurm.py,sha256=5s-mMtqvE62xJ_GijLd4Hmsu3vWCRCbFy7cPce8YKsM,2534
|
|
103
101
|
experimaestro/tests/restart.py,sha256=pYX5Tp6KaIYmSK8iqv-j98pbmExo-f9U3jdbW35PfW4,4016
|
|
@@ -110,7 +108,7 @@ experimaestro/tests/tasks/all.py,sha256=hrI2CDyeaYrp2IPzXWif-Uu1Uirkndmuih3Jj09C
|
|
|
110
108
|
experimaestro/tests/tasks/foreign.py,sha256=7IAF525mmMORxSPKQmU1z1B84XPmwsO8PGdxBvYknwU,153
|
|
111
109
|
experimaestro/tests/test_checkers.py,sha256=Kg5frDNRE3pvWVmmYzyk0tJFNO885KOrK48lSu-NlYA,403
|
|
112
110
|
experimaestro/tests/test_dependencies.py,sha256=xfWrSkvjT45G4FSCL535m1huLT2ghmyW7kvP_XvvCJQ,2005
|
|
113
|
-
experimaestro/tests/test_findlauncher.py,sha256=
|
|
111
|
+
experimaestro/tests/test_findlauncher.py,sha256=8tjpR8bLMi6Gjs7KpY2t64izZso6bmY7vIivMflm-Bc,2965
|
|
114
112
|
experimaestro/tests/test_forward.py,sha256=XkZ2iOPETVj-kbTyniOQU9gyHXdfvn89GTwpMq9J6qc,780
|
|
115
113
|
experimaestro/tests/test_identifier.py,sha256=fnl7jCUAg86npRrS3yeXtb9JysSKhs5czgFzW9yJ9Q8,13397
|
|
116
114
|
experimaestro/tests/test_instance.py,sha256=awIIMnhiec_qDO6jZBqWDR13ReTzh3arK_60QDY6TLQ,1540
|
|
@@ -128,7 +126,7 @@ experimaestro/tests/test_types.py,sha256=2BbdB4o_2HvFkyhiQ2X3oHM49xcck-phT873NF-
|
|
|
128
126
|
experimaestro/tests/test_validation.py,sha256=ziETaISLnpnAgNz8LRnxOOJzbNUT6PjW5G5IxYOhSnU,4339
|
|
129
127
|
experimaestro/tests/token_reschedule.py,sha256=V8lAbjTWTatBrBjxde_KN-fDEI4sQ3HNr4scCXBU6fI,1701
|
|
130
128
|
experimaestro/tests/utils.py,sha256=41krZFgUaCxCYBQPmo5dNFDd9W6RU8ZzzyzY3FyutUI,3805
|
|
131
|
-
experimaestro/tokens.py,sha256=
|
|
129
|
+
experimaestro/tokens.py,sha256=AvFDPy42rFhv3wSmcrI-MNhIQqgaPtvjM7SjbVorC04,14671
|
|
132
130
|
experimaestro/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
133
131
|
experimaestro/tools/diff.py,sha256=FBCwupPrSwkEOcqYu0NWe7LTkuOW6r-_btoCel2_k_I,3436
|
|
134
132
|
experimaestro/tools/documentation.py,sha256=O2UzjzodPqGot3YSe6NYlK7S42XpplakUdqxFpvjqHQ,9184
|
|
@@ -138,12 +136,11 @@ experimaestro/utils/__init__.py,sha256=BdYguxAbR1jOQPV36OgGA31itaMvBJ6WVPV6b4Jn4
|
|
|
138
136
|
experimaestro/utils/asyncio.py,sha256=zEQQqZW6uHGnFknp_udt9WjjtqLNNMWun9TPL6FOF64,601
|
|
139
137
|
experimaestro/utils/jobs.py,sha256=42FAdKcn_v_-M6hcQZPUBr9kbDt1eVsk3a4E8Gc4eu8,2394
|
|
140
138
|
experimaestro/utils/jupyter.py,sha256=JcEo2yQK7x3Cr1tNl5FqGMZOICxCv9DwMvL5xsWdQPk,2183
|
|
141
|
-
experimaestro/utils/resources.py,sha256=
|
|
139
|
+
experimaestro/utils/resources.py,sha256=MaCQL9dLfze3lwyuBVeWF7Ki5fFSE1F0BGWrfaaHi1I,1135
|
|
142
140
|
experimaestro/utils/settings.py,sha256=jpFMqF0DLL4_P1xGal0zVR5cOrdD8O0Y2IOYvnRgN3k,793
|
|
143
|
-
experimaestro/utils/yaml.py,sha256=jEjqXqUtJ333wNUdIc0o3LGvdsTQ9AKW9a9CCd-bmGU,6766
|
|
144
141
|
experimaestro/xpmutils.py,sha256=S21eMbDYsHfvmZ1HmKpq5Pz5O-1HnCLYxKbyTBbASyQ,638
|
|
145
|
-
experimaestro-1.5.
|
|
146
|
-
experimaestro-1.5.
|
|
147
|
-
experimaestro-1.5.
|
|
148
|
-
experimaestro-1.5.
|
|
149
|
-
experimaestro-1.5.
|
|
142
|
+
experimaestro-1.5.9.dist-info/LICENSE,sha256=OXLcl0T2SZ8Pmy2_dmlvKuetivmyPd5m1q-Gyd-zaYY,35149
|
|
143
|
+
experimaestro-1.5.9.dist-info/METADATA,sha256=qMD6N5IVxH1XZxDVAxFDd3eWBjfnYi22xW7I9RF90hQ,6265
|
|
144
|
+
experimaestro-1.5.9.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
|
145
|
+
experimaestro-1.5.9.dist-info/entry_points.txt,sha256=TppTNiz5qm5xm1fhAcdLKdCLMrlL-eQggtCrCI00D9c,446
|
|
146
|
+
experimaestro-1.5.9.dist-info/RECORD,,
|
|
@@ -5,10 +5,6 @@ experimaestro=experimaestro.__main__:main
|
|
|
5
5
|
local=experimaestro.connectors.local:LocalConnector
|
|
6
6
|
ssh=experimaestro.connectors.ssh:SshConnector
|
|
7
7
|
|
|
8
|
-
[experimaestro.launchers]
|
|
9
|
-
slurm=experimaestro.launchers.slurm:SlurmLauncher
|
|
10
|
-
unix=experimaestro.launchers.direct:DirectLauncher
|
|
11
|
-
|
|
12
8
|
[experimaestro.process]
|
|
13
9
|
local=experimaestro.connectors.local:LocalProcess
|
|
14
10
|
slurm=experimaestro.launchers.slurm:BatchSlurmProcess
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import sys
|
|
2
|
-
import click
|
|
3
|
-
|
|
4
|
-
from .configuration import SlurmConfiguration, fill_nodes_configuration
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
@click.group()
|
|
8
|
-
def cli():
|
|
9
|
-
pass
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
@click.option("--no-hosts", is_flag=True, help="Disable hosts")
|
|
13
|
-
@cli.command()
|
|
14
|
-
def convert(no_hosts):
|
|
15
|
-
"""Convert the ouptut of 'scontrol show node' into a YAML form compatible
|
|
16
|
-
with launchers.yaml"""
|
|
17
|
-
import yaml
|
|
18
|
-
from experimaestro.launcherfinder import LauncherRegistry
|
|
19
|
-
|
|
20
|
-
configuration = SlurmConfiguration(id="", partitions={})
|
|
21
|
-
fill_nodes_configuration(sys.stdin, configuration)
|
|
22
|
-
|
|
23
|
-
if no_hosts:
|
|
24
|
-
for pid, partition in configuration.partitions.items():
|
|
25
|
-
for node in partition.nodes:
|
|
26
|
-
node.hosts = []
|
|
27
|
-
configuration.use_hosts = False
|
|
28
|
-
|
|
29
|
-
yaml.dump(configuration, sys.stdout, Dumper=LauncherRegistry.instance().Dumper)
|