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

Group env variables #618

Merged
merged 9 commits into from
Jan 18, 2023
Merged

Group env variables #618

merged 9 commits into from
Jan 18, 2023

Conversation

Louis-Dupont
Copy link
Contributor

@Louis-Dupont Louis-Dupont commented Jan 12, 2023

Motivation

We are working with env variables but without any documentation/way to know which one, and where it is used.
I believe it is bad practice which makes the code harder to maintain (risk of duplicating existing env variables), but also to use (if I work on a new environment and want to setup everything, what env variable do I need to set ?).

@dagshub
Copy link

dagshub bot commented Jan 12, 2023

@Louis-Dupont Louis-Dupont marked this pull request as ready for review January 15, 2023 08:44
Signed-off-by: Louis Dupont <louis-dupont@live.fr>
@Louis-Dupont Louis-Dupont force-pushed the feature/SG-586-group_env_variables branch from 3c81e1f to 2e7cc70 Compare January 15, 2023 08:47
Copy link
Collaborator

@shaydeci shaydeci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

1 small change we discussed then LGTM.

src/super_gradients/common/env_variables.py Outdated Show resolved Hide resolved
Copy link
Collaborator

@shaydeci shaydeci left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@shaydeci shaydeci merged commit 1ea8145 into master Jan 18, 2023
@shaydeci shaydeci deleted the feature/SG-586-group_env_variables branch January 18, 2023 09:12
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

Successfully merging this pull request may close these issues.

None yet

2 participants