TpuEmbeddingEngine_WriteParameters not available in this library.
See original GitHub issueI followed all of the instructions in the training guide but when I run the device_train script, I get this error:
2022-02-23 07:56:56.271731: F external/org_tensorflow/tensorflow/core/tpu/tpu_library_init_fns.inc:104] TpuEmbeddingEngine_WriteParameters not available in this library.
This is my exact command for the training process:
python3 device_train.py --config=configs/6B.json --tune-model-path=gs://nnrap/step_383500
Issue Analytics
- State:
- Created 2 years ago
- Comments:11
Top Results From Across the Web
tf.tpu.experimental.embedding.TPUEmbedding - TensorFlow
The TPUEmbedding mid level API. ... is used and set to False when embedding.apply_gradients is not present in the function.
Read more >TPUEmbedding, ValueError: Function does not have **kwargs ...
Hi I'm trying to figure out how to get an Embedding Layer working on the TPU. I'm experimenting in a colab notebook and...
Read more >Building Large Scale Recommenders using Cloud TPUs
The TPUEmbedding API allows users to efficiently handle very large tables by automatically sharding or partitioning them across all available ...
Read more >Pipelines - Hugging Face
The pipelines are a great and easy way to use models for inference. These pipelines are objects that abstract most of the complex...
Read more >PyTorch / XLA is now Generally Available on Google Cloud ...
Fast forward to September 2020, and the PyTorch / XLA library has ... such as distributing large embedding tables over multiple TPU cores; ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, I fixed the issue this way:
python3 -m venv venv
andsource venv/bin/activate
)pip install "jax[tpu]>=0.2.16" -f https://storage.googleapis.com/jax-releases/libtpu_releases.html
)pip install -U tensorflow
)This seemed to fix a LOT of my issues I was having, and its now working 😃
@mrseeker Your solution fixed my problem too. Thank you for sharing it!