Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The sample demo have some bug. #401

Open
sosixyz opened this issue Apr 25, 2024 · 2 comments
Open

The sample demo have some bug. #401

sosixyz opened this issue Apr 25, 2024 · 2 comments
Assignees

Comments

@sosixyz
Copy link

sosixyz commented Apr 25, 2024

tensorflow: 2.8.0
tfra: 0.6.0

  • I download my demo, the path is demo/dynamic_embedding/movielens-1m-keras-ps/movielens-1m-keras-ps.py。
    Acoording to the file, I sh start.sh ,The bug is show 。
    image
@rhdong
Copy link
Member

rhdong commented Apr 25, 2024

Hi @MoFHeka could you please help with it?

@sosixyz
Copy link
Author

sosixyz commented Apr 28, 2024

It seems that user_embedding = de.keras.layers.SquashedEmbedding( user_embedding_size, initializer=embedding_initializer, devices=self.devices, name='user_embedding') has some bugs。The embedding could not cannot identify which port the variables are on.

  • If I change the embedding demo,user_embedding = de.keras.layers.SquashedEmbedding( user_embedding_size, initializer=embedding_initializer, distribute_strategy=self.strategy, # devices=self.devices, name='user_embedding').New problem arised. If anyone give me some advices。I think the embdding varibles updates are out of sync
    image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants