-
Notifications
You must be signed in to change notification settings - Fork 0
Development
Farley Lai edited this page Apr 30, 2021
·
1 revision
General practices follow the 12 Factor App.
- AWS credentials from admin
- For development machines, store credentials in
~/.awsthat no others can access - For EC2/IoT/DeepLens, assign roles to access KMS and S3 to begin with
- Create Customer Master Key
- Populate secrets as
.env- login credentials
- git/https: user/passwd
- git/ssh: .pem key
- API keys
- Tokens
- login credentials
- Encrypt with CMK and upload to S3
- Grant users and EC2/IoT instances access to S3
- Users and EC2/IoT instances acquires key to decrypt secretes from S3 and export to the runtime environment
- The program acquires secrets from the environment variables
- Handling Environment Secrets in Docker on the AWS Container Service
- Secrets: write-up best practices, do's and don'ts, roadmap
- PyTorch source code and documentation
- Black code formatter for Python
- modular
- PyTorch package organization
- multi-GPU and checkpointing
- workflow
- progress visualization
- mixed precision
- GitLab and Git
- Git LFS for binaries if not shared
-
/zdatafor shared data
Use conda as the default package dependency manager whenever possible to avoid unexpected complexities with pip.
The convention is maintain at least the two distributions for ease of development and testing:
-
make conda-build: build the distribution for end users to install in the system pathpip install --no-deps --ignore-installed --no-use-wheel -vv .
-
make dev-setup: localpipinstallation for modifications in placepip install --no-deps --ignore-installed --no-use-wheel -vv -e .