returnn 1.20250418.115249__py3-none-any.whl → 1.20250419.437__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 returnn might be problematic. Click here for more details.
- returnn/PKG-INFO +1 -1
- returnn/_setup_info_generated.py +2 -2
- returnn/util/basic.py +7 -3
- {returnn-1.20250418.115249.dist-info → returnn-1.20250419.437.dist-info}/METADATA +1 -1
- {returnn-1.20250418.115249.dist-info → returnn-1.20250419.437.dist-info}/RECORD +8 -8
- {returnn-1.20250418.115249.dist-info → returnn-1.20250419.437.dist-info}/LICENSE +0 -0
- {returnn-1.20250418.115249.dist-info → returnn-1.20250419.437.dist-info}/WHEEL +0 -0
- {returnn-1.20250418.115249.dist-info → returnn-1.20250419.437.dist-info}/top_level.txt +0 -0
returnn/PKG-INFO
CHANGED
returnn/_setup_info_generated.py
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
version = '1.
|
|
2
|
-
long_version = '1.
|
|
1
|
+
version = '1.20250419.000437'
|
|
2
|
+
long_version = '1.20250419.000437+git.9b2d229'
|
returnn/util/basic.py
CHANGED
|
@@ -3673,10 +3673,14 @@ def get_hostname():
|
|
|
3673
3673
|
|
|
3674
3674
|
def is_running_on_cluster():
|
|
3675
3675
|
"""
|
|
3676
|
-
:return: i6 specific. Whether we run on some of the cluster nodes.
|
|
3676
|
+
:return: i6 / Slurm specific. Whether we run on some of the cluster nodes.
|
|
3677
3677
|
:rtype: bool
|
|
3678
3678
|
"""
|
|
3679
|
-
return
|
|
3679
|
+
return (
|
|
3680
|
+
get_hostname().startswith("cluster-cn-")
|
|
3681
|
+
or get_hostname().startswith("cn-")
|
|
3682
|
+
or os.environ.get("SLURM_JOB_ID", None)
|
|
3683
|
+
)
|
|
3680
3684
|
|
|
3681
3685
|
|
|
3682
3686
|
start_time = time.time()
|
|
@@ -4285,7 +4289,7 @@ def cf(filename):
|
|
|
4285
4289
|
return filename # for debugging
|
|
4286
4290
|
try:
|
|
4287
4291
|
cached_fn = check_output(["cf", filename]).strip().decode("utf8")
|
|
4288
|
-
except CalledProcessError:
|
|
4292
|
+
except (CalledProcessError, OSError):
|
|
4289
4293
|
if not _cf_msg_printed:
|
|
4290
4294
|
print("Cache manager: Error occurred, using local file")
|
|
4291
4295
|
_cf_msg_printed = True
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
returnn/PKG-INFO,sha256=
|
|
1
|
+
returnn/PKG-INFO,sha256=q_DOvayNx8gWCJJpWT86Cwo2mEzBZqb3JBY11XUYfdM,5212
|
|
2
2
|
returnn/__init__.py,sha256=biBtRsM0WZ406vShaeH-9WFoqJ8XwTbn6g0EeFJ7l8E,1012
|
|
3
3
|
returnn/__main__.py,sha256=qBFbuB1yN3adgVM5pXt2-Yq9vorjRNchNPL8kDKx44M,31752
|
|
4
4
|
returnn/__old_mod_loader__.py,sha256=nvsNY-xELdS_IPNkv66Q9Rmvg4dbGW0-EBRDcCmctos,7654
|
|
5
5
|
returnn/__setup__.py,sha256=22kQn2fh11iPM0hLb2Fy5sLmoU1JGvmDxXRYuRgQkwU,4659
|
|
6
|
-
returnn/_setup_info_generated.py,sha256=
|
|
6
|
+
returnn/_setup_info_generated.py,sha256=OrNz_FVD9HOeg66IVS8yNSvzOafmJfvFuKAPZY2nINs,77
|
|
7
7
|
returnn/config.py,sha256=3tmKhB6FnQZaNdtcYsiB61JnEY--iZ2qmJ4yq0b6tE0,29140
|
|
8
8
|
returnn/forward_iface.py,sha256=A_OJiaXsX4MlXQRzST86ylyxSUZbC402PQL1REcqHjM,911
|
|
9
9
|
returnn/learning_rate_control.py,sha256=ZvWryAn_tv9DhV8sh1LV3eE34Yltl3On3mYZAG4hR9s,34684
|
|
@@ -233,7 +233,7 @@ returnn/torch/util/gradient_checkpoint.py,sha256=iLy-FB65DC8O6LxzmMvFjnSdpIVpko8
|
|
|
233
233
|
returnn/torch/util/module.py,sha256=MXHIrF9Isu575DDJIa81212ULKwdqu1oOLxDVZecVSk,1693
|
|
234
234
|
returnn/torch/util/scaled_gradient.py,sha256=3585VuNypBty-pW6r3BKK047H3MqZQSdMjXeYAb4cmU,3192
|
|
235
235
|
returnn/util/__init__.py,sha256=UIG1qw4idqhW71BV60ha7h9PktxvEVcBIu0lYRossK8,336
|
|
236
|
-
returnn/util/basic.py,sha256=
|
|
236
|
+
returnn/util/basic.py,sha256=F5UZws8FR7-ger8T-pkXV83C_9IlYsUk7H85TujK0Xk,142477
|
|
237
237
|
returnn/util/better_exchook.py,sha256=TAtb_ZyM-357UnOg_HMoBZUSxzt0WPgumlvprmlCprA,63921
|
|
238
238
|
returnn/util/bpe.py,sha256=LWFhICZsEOnMwNws0lybPNzKRX6rSr8yKCvP65vjl9Y,19656
|
|
239
239
|
returnn/util/debug.py,sha256=wuRzdg9zB84WWCGyTjmRR_zYypu8gXxlc0nZ6si9OC8,28224
|
|
@@ -253,8 +253,8 @@ returnn/util/sig_proc.py,sha256=Tjz0VOAVyqu2qDCF5HZ1JjALjcFsHcNkcd96WgZeKfE,7265
|
|
|
253
253
|
returnn/util/task_system.py,sha256=y4sMVXQ25Qd2z0rx03uOlXlkE-jbCYC1Sjfn-XlraVU,26003
|
|
254
254
|
returnn/util/train_proc_manager.py,sha256=Pjht28k6uz6BNQ47uW6Gf880iyq5q4wx7P_K2tmoAM8,3266
|
|
255
255
|
returnn/util/watch_memory.py,sha256=BR5P2kvBN6UI81cE0_1WAA6Hd1SByLbBaiDxvLhPOew,4213
|
|
256
|
-
returnn-1.
|
|
257
|
-
returnn-1.
|
|
258
|
-
returnn-1.
|
|
259
|
-
returnn-1.
|
|
260
|
-
returnn-1.
|
|
256
|
+
returnn-1.20250419.437.dist-info/LICENSE,sha256=ywBD_U2aD4vpuoIgNAsjIGBYydl0tVKll3De0Z8s77c,11041
|
|
257
|
+
returnn-1.20250419.437.dist-info/METADATA,sha256=q_DOvayNx8gWCJJpWT86Cwo2mEzBZqb3JBY11XUYfdM,5212
|
|
258
|
+
returnn-1.20250419.437.dist-info/WHEEL,sha256=iAkIy5fosb7FzIOwONchHf19Qu7_1wCWyFNR5gu9nU0,91
|
|
259
|
+
returnn-1.20250419.437.dist-info/top_level.txt,sha256=Lsn4WZc5Pbfk0-xDQOgnFCxOoqxL4CyeM3N1TFbJncw,8
|
|
260
|
+
returnn-1.20250419.437.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|