Unable to run LM DenseLm128B8x8
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 28/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python, tensorflow
Línea de trabajo
Start by tracing the checkpoint save path shown in the traceback, from lingvo/executor.py through lingvo/core/checkpointer.py, and compare it with the TensorFlow session failure in the log. Reproduce the run with the reported model and TPU settings if the setup is available; done means identifying why saving loses the session and confirming a reliable run or a documented workaround.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hi,
I'm interested in seeing the timing relationship between layers and operations of the lm denselm128b8x8 model.
I was using a v3-8 node and changed the hparams (num_device_per_split, mesh_shape) in Task() and also changed the num of training steps to save time.
However, after initializing the vars, I got this error (here is the log):
I0810 20:39:44.510699 140688498882304 checkpointer.py:236] Initialized all vars.
I0810 20:39:44.513259 140688498882304 executor.py:400] Compiling 1 programs in parallel.
I0810 20:39:44.513607 140688056727296 base_runner.py:120] Init inputs TrainProgram
I0810 20:39:44.513836 140688056727296 base_runner.py:120] Init inputs TrainProgram done.
I0810 20:39:44.513968 140688056727296 base_runner.py:120] Compiling TrainProgram
I0810 20:41:20.058200 140688498882304 executor.py:422] Retrieve params.
I0810 20:41:20.058756 140688498882304 executor.py:424] Retrieve params done.
I0810 20:41:20.058939 140688498882304 checkpointer.py:181] Save checkpoint
2021-08-10 20:51:18.167557: W tensorflow/core/distributed_runtime/rpc/grpc_remote_master.cc:159] RPC failed with status = "Unavai
lable: Socket closed" and grpc_error_string = "{"created":"@1628628678.167318634","description":"Error received from peer ipv4:10
.70.9.74:8470","file":"external/com_github_grpc_grpc/src/core/lib/surface/call.cc","file_line":1056,"grpc_message":"Socket closed
","grpc_status":14}", maybe retrying the RPC
Exception in thread SessionCloseThread:
Traceback (most recent call last):
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/client/session.py", line 765, in close
tf_session.TF_CloseSession(self._session)
tensorflow.python.framework.errors_impl.AbortedError: Session 0c4ba843fb27c733 is not found. Possibly, this master has restarted.
I0810 20:51:41.948596 140688498882304 base_runner.py:120] Job : Retrying as expected
executor_tpu exception: Session 0c4ba843fb27c733 is not found.
I0810 20:51:42.952887 140688498882304 retry.py:62] Retry: caught exception: _RunLoop while running tensorflow.python.framework.er
rors_impl.AbortedError: Session 0c4ba843fb27c733 is not found.
. Call failed at (most recent call last):
File "/usr/lib/python3.9/threading.py", line 930, in _bootstrap
self._bootstrap_inner()
File "/usr/lib/python3.9/threading.py", line 973, in _bootstrap_inner
self.run()
File "/usr/lib/python3.9/threading.py", line 910, in run
self._target(*self._args, **self._kwargs)
Traceback for above exception (most recent call last):
File "/root/.cache/bazel/_bazel_root/17eb95f0bc03547f4f1319e61997e114/execroot/main/bazel-out/k8-opt/bin/lingvo/trainer.run
files/main/lingvo/core/retry.py", line 49, in Wrapper
return func(*args, **kwargs)
File "/root/.cache/bazel/_bazel_root/17eb95f0bc03547f4f1319e61997e114/execroot/main/bazel-out/k8-opt/bin/lingvo/trainer.run
files/main/lingvo/base_runner.py", line 228, in _RunLoop
loop_func(*loop_args)
File "/root/.cache/bazel/_bazel_root/17eb95f0bc03547f4f1319e61997e114/execroot/main/bazel-out/k8-opt/bin/lingvo/trainer.run
files/main/lingvo/executor.py", line 441, in _Loop
RunSave(sess, global_step)
File "/root/.cache/bazel/_bazel_root/17eb95f0bc03547f4f1319e61997e114/execroot/main/bazel-out/k8-opt/bin/lingvo/trainer.run
files/main/lingvo/executor.py", line 430, in RunSave
self.save_only_checkpointer.Save(sess, global_step)
File "/root/.cache/bazel/_bazel_root/17eb95f0bc03547f4f1319e61997e114/execroot/main/bazel-out/k8-opt/bin/lingvo/trainer.run
files/main/lingvo/core/checkpointer.py", line 182, in Save
path = self._saver.save(sess, self._save_path, gsteps)
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/training/saver.py", line 1188, in save
model_checkpoint_path = sess.run(
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/client/session.py", line 967, in run
result = self._run(None, fetches, feed_dict, options_ptr,
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/client/session.py", line 1190, in _run
results = self._do_run(handle, final_targets, final_fetches,
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/client/session.py", line 1368, in _do_run
return self._do_call(_run_fn, feeds, fetches, targets, options,
File "/usr/local/lib/python3.9/dist-packages/tensorflow/python/client/session.py", line 1394, in _do_call
raise type(e)(node_def, op, message)
Waiting for 1.53 seconds before retrying.
I0810 20:51:42.953114 140688498882304 base_runner.py:227] executor_tpu started.
- Lenguaje dominante
- Python
- Estrellas
- 2.9k
- Forks
- 452
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de tensorflow/lingvo
-
About inverseAugAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
tensorflow/lingvo#370 · 1 comentario ·
-
Dificultad 4/5 1-2 días Aptitud para principiantes 35/100
tensorflow/lingvo#359 · 1 comentario ·
-
how to intall lingvo on mac m1Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 15/100
tensorflow/lingvo#356 · 5 reacciones ·
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
tensorflow/lingvo#333 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
tensorflow/lingvo#332 · 1 comentario ·
Todos los issues de tensorflow/lingvo
Issues similares
-
area: providers/aws priority: p2 size: S type: bug type: testing
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
finos/open-resource-broker#851 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
sandialabs/atlas-ui-3#1196 ·
Los mantenedores suelen responder en 1 día
-
enhancement triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ShaftHQ/SHAFT_ENGINE#7902 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: GraphML export writes invalid XML when a value contains a control character (e.g. form feed)Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
topoteretes/cognee#6646 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
DOI-USGS/pywatershed#428 ·