Skip to content

Environment configuration files for the Ibex machine-learning modules.

License

Notifications You must be signed in to change notification settings

kaust-rccl/ibex-machine-learning-modules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ibex-machine-learning-modules

Environment configuration files for the Ibex machine-learning modules.

Creating the Conda environment

The most efficient way to build Conda environments on Ibex is to launch the environment creation script as a job on the debug partition via Slurm. For your convenience a Slurm job script ./bin/create-conda-env.sbatch is included. The script should be run from the project root directory as follows.

sbatch ./bin/create-conda-env.sbatch

Listing the contents of the Conda environment

The list of explicit dependencies can be found in the environment.yml and the requirements.txt files. To see the full list of packages installed into the environment run the following command.

conda list --prefix $ENV_PREFIX

Exporting the Conda environment file

It is sometimes useful to generate a Conda environment file from the already created environment that explicitly includes the version and build numbers for every package included in the environment. You can do this with the following command.

conda env export --prefix $ENV_PREFIX | head -n -1 > exported-environment.yml

Be sure to confirm that the channel priority in the exported-environment.yml file matches the channel priority in the environment.yml file. If the channel priorities are not the same, then manually edit the channel priorities of the exported-environment.yml file to match those of the environment.yml file.

Note that the exported-environment.yml file provided above was created after building the machine_learning module on Ibex in order to accurately reflect the packages, version, and builds installed in the production module.

About

Environment configuration files for the Ibex machine-learning modules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published