cresset-template / cresset

Template repository to build PyTorch projects from source on any version of PyTorch/CUDA/cuDNN.
MIT License
715 stars 41 forks source link

Makefile can now read from .env file. #108

Closed veritas9872 closed 1 year ago

veritas9872 commented 1 year ago

Configure the Makefile to read values from the .env file if it exists while allowing manual overrides.

Solved the chicken and egg problem by making the inclusion optional.

Remove the HOSTNAME variable as it was not working anyway. The system value seems to have higher priority.