Install conda or miniconda, then run the following command. This might take some minutes due to installing pytorch.
conda env create -f environment.ymlconda activate inference-time-scaling Do this everytime when somebody else has updated the environment.yml file.
conda env updateIf 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-completeConda 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.