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 the HardwareService::Restart function and the file_manager_utils utilities to improve the handling of executable paths. The most important changes include updating the method for obtaining the executable path, adding debug logging, and modifying the Restart function to use the new utility methods.

Improvements to executable path handling:

  • engine/utils/file_manager_utils.cc: Replaced GetExecutableFolderContainerPath with GetExecutablePath and added a new method GetExecutableFolderContainerPath that calls GetExecutablePath().parent_path(). [1] [2] [3]

Updates to HardwareService::Restart function:

Header file updates:

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 vansangpfiev marked this pull request as ready for review February 11, 2025 05:34
@vansangpfiev vansangpfiev merged commit 8b9f6f4 into main Feb 11, 2025
12 checks passed
@vansangpfiev vansangpfiev deleted the fix/server-name branch February 11, 2025 05:45
vansangpfiev added a commit that referenced this pull request Feb 18, 2025
* feat: AMD hardware API (#1797)

* feat: add amd gpu windows

* chore: remove unused code

* feat: get amd gpus

* fix: clean

* chore: cleanup

* fix: set activate

* fix: build windows

* feat: linux

* fix: add patches

* fix: map cuda gpus

* fix: build

* chore: docs

* fix: build

* chore: clean up

* fix: build

* fix: build

* chore: pack vulkan windows

* chore: vulkan linux

---------

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: add cpu usage (#1868)

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: PATCH method for Thread and Messages management (#1923)

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: ignore compute_cap if not present (#1866)

* fix: ignore compute_cap if not present

* fix: correct gpu info

* fix: remove check for toolkit version

---------

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: models.cc: symlinked model deletion shouldn't remove original file (#1918)

Co-authored-by: vansangpfiev <vansangpfiev@gmail.com>

* fix: correct gpu info list (#1944)

* fix: correct gpu info list

* chore: cleanup

---------

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: gpu: filter out llvmpipe

* fix: add vendor in gpu info (#1952)

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: correct get server name method (#1953)

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: map nvidia and vulkan uuid (#1954)

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: permission issue for default drogon uploads folder (#1870)

Co-authored-by: vansangpfiev <sang@jan.ai>

* chore: change timeout

* fix: make get hardware info function thread-safe (#1956)

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: cache data for gpu information (#1959)

* fix: wrap vulkan gpu function

* fix: init

* fix: cpu usage

* fix: build windows

* fix: buld macos

---------

Co-authored-by: vansangpfiev <sang@jan.ai>

* fix: handle path with space (#1963)

* fix: unload engine before updating (#1970)

Co-authored-by: sangjanai <sang@jan.ai>

* fix: auto-reload model for remote engine (#1971)

Co-authored-by: sangjanai <sang@jan.ai>

* fix: use updated configuration for remote model when reload (#1972)

Co-authored-by: sangjanai <sang@jan.ai>

* fix: correct engine interface order (#1974)

Co-authored-by: sangjanai <sang@jan.ai>

* fix: improve error handling for remote engine (#1975)

Co-authored-by: sangjanai <sang@jan.ai>

* fix: temporarily remove model setting recommendation (#1977)

Co-authored-by: sangjanai <sang@jan.ai>

---------

Co-authored-by: vansangpfiev <sang@jan.ai>
Co-authored-by: OHaiiBuzzle <23693150+ohaiibuzzle@users.noreply.github.com>
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