Skip to content

Commit

Permalink
CI: PyTorch Surrogate Example
Browse files Browse the repository at this point in the history
Cover our PyTorch surrogate example in CI.
  • Loading branch information
ax3l committed May 23, 2024
1 parent 5d6e9ea commit 926bedf
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -918,7 +918,7 @@ add_impactx_test(initialize_from_array.py
examples/initialize_from_array/visualize_from_array.py
)

# Achromatic Spectrometer ########################################################
# Achromatic Spectrometer ####################################################
#
# w/o space charge
add_impactx_test(spectrometer
Expand All @@ -935,3 +935,15 @@ add_impactx_test(spectrometer.py
examples/achromatic_spectrometer/analysis_spectrometer.py
OFF # no plot script yet
)

# PyTorch Surrogate: Staged LPA ##############################################
#
add_impactx_test(pytorch_surrogate_model
examples/pytorch_surrogate_model/run_ml_surrogate_15_stage.py
OFF # ImpactX MPI-parallel
ON # ImpactX Python interface
examples/pytorch_surrogate_model/analyze_ml_surrogate_15_stage.py
examples/pytorch_surrogate_model/visualize_ml_surrogate_15_stage.py
)
label_impactx_test(pytorch_surrogate_model slow)
label_impactx_test(pytorch_surrogate_model.MPI slow)

0 comments on commit 926bedf

Please sign in to comment.