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

Warn users not to run scripts off /opt? #475

Open
yhtang opened this issue Jan 16, 2024 · 0 comments
Open

Warn users not to run scripts off /opt? #475

yhtang opened this issue Jan 16, 2024 · 0 comments

Comments

@yhtang
Copy link
Collaborator

yhtang commented Jan 16, 2024

We install jax/flax/paxml/etc. as source installations in the containers. The git working copy that we check out in /opt has the same top-level folder name as the package themselves. This would cause Python to incorrectly import the package at the git repo level, if the Python script is run out of /opt.

Possible solutions:

  1. Rename git working copies to something like: /opt/jax -> /opt/jax-source.
  2. Document and ask users to always use /root or /workspace as the work area.
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

1 participant