-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Sunspot Configurations and Tests (#133)
* Switch to using torch and lightning 2 * Update lightning code to 2.0 compliant * Install lammps with apt * Ensure all tensors are on same device Reverses a 2x performance loss * Update cuda runtime environment to 11.8 * Ensure model gets to XPU Automatic placement on an accelerator only works for CUDA, maybe AMD, and MPS * Add CPU affinity appropriate for SR chips * Flake8 fixes * Switch to using @coreyjadams's branch * Update build instructions for Aurora * Fix lammps test
- Loading branch information
Showing
11 changed files
with
64 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,23 @@ | ||
#! /bin/bash | ||
|
||
# Active the modules needed to build libraries later | ||
module reset | ||
module use /soft/modulefiles/ | ||
module use /home/ftartagl/graphics-compute-runtime/modulefiles | ||
module load oneapi/release/2023.12.15.001 | ||
module load intel_compute_runtime/release/775.20 | ||
module load gcc/12.2.0 | ||
|
||
# Build then activate the environment | ||
conda env create --file envs/environment-aurora.yml --force -p ./env | ||
conda activate ./env | ||
|
||
# Build torch_ccl locally | ||
# Clone from: https://github.com/intel/torch-ccl | ||
cd libs/torch_ccl | ||
COMPUTE_BACKEND=dpcpp pip install -e . | ||
|
||
# Now install Corey's stuff | ||
# Clone from: https://github.com/coreyjadams/lightning | ||
cd ../lightning | ||
PACKAGE_NAME=pytorch pip install -e . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters