CTSM icon indicating copy to clipboard operation
CTSM copied to clipboard

Bring in FTorch

Open samsrabin opened this issue 8 months ago • 5 comments

Tried to do this in ctsm5.3.051, but it didn't include the right CMEPS version; see #3214.

@adrifoster reports a lot of additional work is required to actually use FTorch with CTSM.

Definition of done:

  • FTorch added as a submodule
  • Any scripts/etc. needed for an FTorch workflow are added to CTSM
  • Any required Python packages are added, if needed, to ctsm_pylib
  • Workflow documentation added to User's Guide
  • At least one FTorch-using test is added to aux_clm

samsrabin avatar Jun 05 '25 15:06 samsrabin

Unless this is needed sooner, I suggest we give this a CESM3.1 milestone and will mark as low priority (for now).

wwieder avatar Jun 05 '25 19:06 wwieder

For this, I think the important thing is that the @linniahawkins and LEAP / M2LINES groups have something to work with. Based on my conversations with Linnia, it seems like they do, but that should be confirmed

dlawrenncar avatar Jun 05 '25 19:06 dlawrenncar

Adrianna got us set up so this is low priority for now, Thank you.

linniahawkins avatar Jun 06 '25 03:06 linniahawkins

@adrifoster and @linniahawkins: In the spirit of this article (document and share as much as possible), would it be possible to get that workflow posted somewhere? Maybe on the GitHub wiki?

samsrabin avatar Jun 06 '25 15:06 samsrabin

I just ran across this when looking for another issue - this should be straight forward to do if you start from the work I have done for cam in: https://github.com/jedwards4b/CAM/tree/cam6_4_093_ftorch. please don't hesitate to ask if you have any questions or concerns - I am really trying to coordinate so that everyone can use the same interface to ftorch.

jedwards4b avatar Jun 06 '25 20:06 jedwards4b

Pinging this; @linniahawkins only ran into #3552 because we don't have FTorch in CTSM (thus she did a full CESM checkout). I think we should try to bring this in by the release, since FTorch is actively being used already, and Jim suggests it shouldn't be too much work.

samsrabin avatar Oct 15 '25 21:10 samsrabin