Skip to content

Commit

Permalink
Cluster inference should not run for unsupported platform (#941)
Browse files Browse the repository at this point in the history
Signed-off-by: Partho Sarthi <psarthi@nvidia.com>
  • Loading branch information
parthosa authored Apr 15, 2024
1 parent 3ff859f commit 1cb24c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ def __infer_cluster_and_update_savings(self, cluster_info_df: pd.DataFrame):
Update savings if CPU cluster can be inferred and corresponding GPU cluster can be defined.
:param cluster_info_df: Parsed cluster information.
"""
if self.ctxt.get_ctxt('cpuClusterProxy') is not None:
if self.ctxt.get_ctxt('cpuClusterProxy') is not None or not self.ctxt.platform.cluster_inference_supported:
return

# Infer the CPU cluster from the cluster information
Expand Down

0 comments on commit 1cb24c2

Please sign in to comment.