Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Conversation

@vansangpfiev
Copy link
Contributor

Describe Your Changes

This pull request includes several changes to improve GPU information handling and code readability in the engine module. The most important changes include adding a condition to append GPU information only if total_vram is greater than zero, renaming variables for better readability, and enhancing the logic to handle GPU information from different sources.

Improvements to GPU Information Handling:

Code Readability Enhancements:

Enhancements to GPU Information Logic:

  • engine/utils/hardware/gpu_info.h: Modified the logic to determine whether to use Vulkan information by introducing the use_vulkan_info flag and returning appropriate GPU information based on its value. [1] [2]

Fixes Issues

  • Closes #
  • Closes #

Self Checklist

  • Added relevant comments, esp in complex areas
  • Updated docs (for bug fixes / features)
  • Created issues for follow-up changes or refactoring needed

vansangpfiev and others added 2 commits February 10, 2025 20:22
* fix: correct gpu info list

* chore: cleanup

---------

Co-authored-by: vansangpfiev <sang@jan.ai>
@vansangpfiev vansangpfiev marked this pull request as ready for review February 10, 2025 13:31
@vansangpfiev vansangpfiev merged commit 4be3a74 into main Feb 10, 2025
12 checks passed
@vansangpfiev vansangpfiev deleted the fix/filter-out-llvmpipe branch February 10, 2025 13:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants