Skip to content

Commit

Permalink
Add comments for default GPU types.
Browse files Browse the repository at this point in the history
Signed-off-by: Partho Sarthi <[email protected]>
  • Loading branch information
parthosa committed Nov 16, 2023
1 parent 14edad4 commit a7f3c74
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,14 @@ object PlatformFactory extends Logging {
private lazy val platformInstancesMap: Map[String, Platform] = Map(
PlatformTypes.DATABRICKS_AWS -> new DatabricksPlatform(PlatformTypes.DATABRICKS_AWS),
PlatformTypes.DATABRICKS_AZURE -> new DatabricksPlatform(PlatformTypes.DATABRICKS_AZURE),
// if no GPU specified, then default to dataproc-t4 for backward compatibility
PlatformTypes.DATAPROC -> new DataprocPlatform(PlatformTypes.DATAPROC_T4),
PlatformTypes.DATAPROC_T4 -> new DataprocPlatform(PlatformTypes.DATAPROC_T4),
PlatformTypes.DATAPROC_L4 -> new DataprocPlatform(PlatformTypes.DATAPROC_L4),
PlatformTypes.DATAPROC_SL_L4 -> new DataprocPlatform(PlatformTypes.DATAPROC_SL_L4),
PlatformTypes.DATAPROC_GKE_L4 -> new DataprocPlatform(PlatformTypes.DATAPROC_GKE_L4),
PlatformTypes.DATAPROC_GKE_T4 -> new DataprocPlatform(PlatformTypes.DATAPROC_GKE_T4),
// if no GPU specified, then default to emr-t4 for backward compatibility
PlatformTypes.EMR -> new EmrPlatform(PlatformTypes.EMR_T4),
PlatformTypes.EMR_T4 -> new EmrPlatform(PlatformTypes.EMR_T4),
PlatformTypes.EMR_A10 -> new EmrPlatform(PlatformTypes.EMR_A10),
Expand Down

0 comments on commit a7f3c74

Please sign in to comment.