Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gpu detection libloading error should not stop OfferTemplate #83

Merged
merged 4 commits into from
Mar 29, 2024

Conversation

staszek-krotki
Copy link
Contributor

No description provided.

let gpu = gpu_detection.detect(config.gpu_uuid())?;
Ok(Some(gpu))
}
Err(GpuDetectionError::LibloadingError(_)) => Ok(None),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This Ok(None) will make ya-runtime-ai test pass

offer_template::gpu_detection(&runtime_config)?;

Copy link
Contributor

@pwalski pwalski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It breaks test command, but it is not crucial to have it, so we can fix it later

@staszek-krotki staszek-krotki merged commit 8c71c0c into main Mar 29, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants