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

make tensorboard fails #263

Closed
AmitMY opened this issue Nov 16, 2023 · 4 comments
Closed

make tensorboard fails #263

AmitMY opened this issue Nov 16, 2023 · 4 comments
Labels
bug Something is broken or not correct help wanted We are not immediately planning to work on this, and will accept pull requests

Comments

@AmitMY
Copy link
Contributor

AmitMY commented Nov 16, 2023

https://github.com/mozilla/firefox-translations-training/blob/main/Makefile#L177

I imagine tgere needs to be a previous step -

mamba create -c conda-forge -n tensorboard --yes
$(CONDA_ACTIVATE) tensorboard

Otherwise, I get:

/bin/bash: line 1: poetry: command not found
/bin/bash: line 2: marian-tensorboard: command not found
@gregtatum gregtatum added bug Something is broken or not correct help wanted We are not immediately planning to work on this, and will accept pull requests labels Nov 16, 2023
@gregtatum
Copy link
Member

It looks like poetry install needs to be part of the Makefile. A workaround would be to install it manually on the machine.

Here is a random example how to do it: https://blog.mathieu-leplatre.info/tips-for-your-makefile-with-python.html

@eu9ene
Copy link
Collaborator

eu9ene commented Nov 17, 2023

Currently, poetry installation is a prerequisite to work with Makefile. We can either leave it as is and make it more explicit in the development readme or add installation to every rule which we btw do anyway in CI steps. I'd prefer to have a separate makefile rule to install poetry and then assume that it's installed.

@AmitMY
Copy link
Contributor Author

AmitMY commented Nov 17, 2023

I think a separate step is great, it will make it consistent between what I will run and what you run in CI (make poetry or something)

I still think that the conda environment might need to be activated, since otherwise how would it know what is marian-tensorboard?

@eu9ene
Copy link
Collaborator

eu9ene commented May 8, 2024

We're switching to W&B, so Tensorboard is not needed anymore.

@eu9ene eu9ene closed this as completed May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken or not correct help wanted We are not immediately planning to work on this, and will accept pull requests
Projects
None yet
Development

No branches or pull requests

3 participants