Install conda or miniconda, then run the following command. This might take some minutes due to installing pytorch.
conda env create -f environment.yml
conda activate inference-time-scaling
Do this everytime when somebody else has updated the environment.yml file.
conda env update
If the package is available on conda.
conda install <package_name>
If not use pip:
pip install <package_name>
Then always export your enviroment to make it reproducible!
./conda-export-complete
Conda has an issue that pip installs are not exported when you run conda env export --from-history
. This provided script fixes it and automatically updates the environment.yaml
.