Repository navigation
feat(ftorch): finish CTSM FTorch integration: add system test calling FTorch inference - #4265
Open
johnpaulalex wants to merge 7 commits into
Open
johnpaulalex wants to merge 7 commits into
johnpaulalex wants to merge 7 commits into
Task list completed / task-list-completed
succeeded
Oct 22, 2026 in 0s
11 / 11 tasks completed
All tasks have been completed
Details
Required Tasks
| Task | Status |
|---|---|
Verified Python unit tests in python/ctsm/test/test_unit_export_torchscript.py pass cleanly both without PyTorch (3/3 on local Mac) and with pytorch-cpu in ctsm_pylib (3/3 on Derecho). |
Completed |
Verified standard CTSM Fortran pFUnit suite (python3 cime/scripts/fortran_unit_testing/run_tests.py --test-spec-dir src) builds and passes cleanly (59/59 PASS). |
Completed |
Verified negative control on NCAR Derecho (USE_FTORCH=FALSE, default): SMS_D_Ld5.f10_f10_mg37.IHistClm60BgcCrop.derecho_intel.interim_restart builds and runs uninterrupted without FTorch (PASS). |
Completed |
Validated system test with latest PR 1 (fab11fa) and PR 2 (212bda8d0) on NCAR Derecho (Task T15, output root /glade/derecho/scratch/jpalex/tests_ftorch_t15): SMS_D_Ld1.f10_f10_mg37.I2000Clm60Sp.derecho_intel.clm-default--clm-nofireemis--clm-ftorch_demo (PASS; confirmed FTORCH INFERENCE SUCCESSFUL: output = 1.00000000000000). |
Completed |
Verified full parallel test campaign on NCAR Derecho (scratch root /glade/derecho/scratch/jpalex/tests_ftorch_rerun): all standalone CTSM tests (SMS_D_Ld1...clm-ftorch_demo and generic SMS_D_Ld1...clm-ftorch) and coupled CESM checkout tests (SMS_D_Ld1...clm-ftorch_demo Intel MPI, Intel MPI USE_FTORCH=FALSE, and GNU mpi-serial USE_FTORCH=FALSE) passed. |
Completed |
| I have followed the CTSM contribution guidelines. | Completed |
| The code in this PR branch builds with no errors. | Completed |
The code in this PR branch runs with no errors. Briefly describe tested configuration(s): Derecho Intel/GNU aux_clm system tests and full (USE_FTORCH, use_ftorch_demo) permutation matrix. |
Completed |
| This either (a) does not change answers, (b) it only changes answers at roundoff level, or (c) I have performed a scientific evaluation of the answer changes. Which?: (a) | Completed |
I have reviewed relevant parts of the CLM documentation Tech Note or User's Guide to determine if anything needs to be changed or added. If it does, describe: Added Running-with-FTorch.rst to the User's Guide under running-special-cases. |
Completed |
| This PR either (a) does not create a need to update the documentation or (b) includes required documentation updates (see guidelines for contributing documentation). Which?: (b) | Completed |
Loading