Skip to content

Commit

Permalink
chore: Exit early when no GPU detected
Browse files Browse the repository at this point in the history
Co-authored-by: logan <[email protected]>
  • Loading branch information
bgins and noryev committed Feb 4, 2025
1 parent f8c43ac commit 5ac7ee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/resourceprovider/preflight/preflight.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ func RunPreflightChecks() error {
gpuInfo, err := checker.getGPUInfo(ctx)
if err != nil {
log.Warn().Err(err).Msg("⚠️ No GPU detected - will operate in CPU-only mode")
return nil
} else {
log.Info().
Int("gpu_count", len(gpuInfo)).
Expand Down

0 comments on commit 5ac7ee5

Please sign in to comment.