Skip to content

Commit

Permalink
Merge branch 'develop' into mli-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
ankona committed Oct 17, 2024
2 parents fd63209 + 9f40322 commit 6f0beb7
Show file tree
Hide file tree
Showing 7 changed files with 82 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,25 @@ To be released at some point in the future

Description

- Implement workaround for Tensorflow that allows RedisAI to build with GCC-14
- Add instructions for installing SmartSim on PML's Scylla

Detailed Notes

- In libtensorflow, the input argument to TF_SessionRun seems to be mistyped to
TF_Output instead of TF_Input. These two types differ only in name. GCC-14
catches this and throws an error, even though earlier versions allow this. To
solve this problem, patches are applied to the Tensorflow backend in RedisAI.
Future versions of Tensorflow may fix this problem, but for now this seems to be
the best workaround.
([SmartSim-PR738](https://github.com/CrayLabs/SmartSim/pull/738))
- PML's Scylla is still under development. The usual SmartSim
build instructions do not apply because the GPU dependencies
have yet to be installed at a system-wide level. Scylla has
its own entry in the documentation.
([SmartSim-PR733](https://github.com/CrayLabs/SmartSim/pull/733))


### 0.8.0

Released on 27 September, 2024
Expand Down
12 changes: 12 additions & 0 deletions smartsim/_core/_install/configs/mlpackages/DarwinARM64CPU.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
"source_file": "src/backends/libtorch_c/CMakeLists.txt",
"regex": "set_property\\(TARGET\\storch_c\\sPROPERTY\\sCXX_STANDARD\\s(98|11|14)\\)",
"replacement": "set_property(TARGET torch_c PROPERTY CXX_STANDARD 17)"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input inputs",
"replacement": "TF_Output inputs"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input port",
"replacement": "TF_Output port"
}
]
},
Expand Down
12 changes: 12 additions & 0 deletions smartsim/_core/_install/configs/mlpackages/DarwinX64CPU.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
"source_file": "src/backends/libtorch_c/CMakeLists.txt",
"regex": "set_property\\(TARGET\\storch_c\\sPROPERTY\\sCXX_STANDARD\\s(98|11|14)\\)",
"replacement": "set_property(TARGET torch_c PROPERTY CXX_STANDARD 17)"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input inputs",
"replacement": "TF_Output inputs"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input port",
"replacement": "TF_Output port"
}
]
},
Expand Down
12 changes: 12 additions & 0 deletions smartsim/_core/_install/configs/mlpackages/LinuxX64CPU.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
"source_file": "src/backends/libtorch_c/CMakeLists.txt",
"regex": "set_property\\(TARGET\\storch_c\\sPROPERTY\\sCXX_STANDARD\\s(98|11|14)\\)",
"replacement": "set_property(TARGET torch_c PROPERTY CXX_STANDARD 17)"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input inputs",
"replacement": "TF_Output inputs"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input port",
"replacement": "TF_Output port"
}
]
},
Expand Down
12 changes: 12 additions & 0 deletions smartsim/_core/_install/configs/mlpackages/LinuxX64CUDA11.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
"source_file": "src/backends/libtorch_c/CMakeLists.txt",
"regex": "set_property\\(TARGET\\storch_c\\sPROPERTY\\sCXX_STANDARD\\s(98|11|14)\\)",
"replacement": "set_property(TARGET torch_c PROPERTY CXX_STANDARD 17)"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input inputs",
"replacement": "TF_Output inputs"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input port",
"replacement": "TF_Output port"
}
]
},
Expand Down
12 changes: 12 additions & 0 deletions smartsim/_core/_install/configs/mlpackages/LinuxX64CUDA12.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,18 @@
"source_file": "src/backends/libtorch_c/CMakeLists.txt",
"regex": "set_property\\(TARGET\\storch_c\\sPROPERTY\\sCXX_STANDARD\\s(98|11|14)\\)",
"replacement": "set_property(TARGET torch_c PROPERTY CXX_STANDARD 17)"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input inputs",
"replacement": "TF_Output inputs"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input port",
"replacement": "TF_Output port"
}
]
},
Expand Down
12 changes: 12 additions & 0 deletions smartsim/_core/_install/configs/mlpackages/LinuxX64ROCM6.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@
"source_file": "../package/libtorch/share/cmake/Caffe2/Caffe2Targets.cmake",
"regex": "/opt/rocm",
"replacement": "$ENV{ROCM_PATH}"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input inputs",
"replacement": "TF_Output inputs"
},
{
"description": "Fix the type in a Tensorflow function signature",
"source_file": "src/backends/tensorflow.c",
"regex": "TF_Input port",
"replacement": "TF_Output port"
}
]
}
Expand Down

0 comments on commit 6f0beb7

Please sign in to comment.