Install ModelAngelo in a shared computational environment
mainFor cluster administrators wanting to provide ModelAngelo to multiple users:
- Setup Public Weights: Designate a directory (e.g.,
/public/model_angelo_weights) that is readable and executable by all users to store shared weights. - Install with Weights: Set the
TORCH_HOMEenvironment variable to your designated path and run the install script with the--download-weightsflag.export TORCH_HOME=/public/model_angelo_weights cd model-angelo source install_script.sh --download-weights - Create a User Wrapper: Provide a bash script for users to easily access the environment and the tool:
#!/bin/bash source `which activate` model_angelo model_angelo "$@"
export TORCH_HOME=/public/model_angelo_weights
cd model-angelo
source install_script.sh --download-weights