Skip to content

Commit

Permalink
[misc] Fix triton-pascal installation
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha0552 authored Oct 17, 2024
1 parent deb08f1 commit 554e425
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions airootfs/home/tori/.local/share/tori/patches/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
> [!IMPORTANT]
> The DPSII patches have been superseded by the `nvidia-pstated` daemon, which can be found [here](https://github.com/sasha0552/nvidia-pstated). The daemon does not require application patching and switches performance states automatically.
> **Patches in this directory will be removed at the end of this year.**
# ToriLinux patches

This directory contains various patches for various projects. They can be applied to a local copy of a project without installing/using ToriLinux.
Expand All @@ -21,9 +25,6 @@ Don't forget to recompile the project if necessary!

### Drop PState In Idle (DPSII)

> [!IMPORTANT]
The DPSII patches have been superseded by the `nvidia-pstated` daemon, which can be found [here](https://github.com/sasha0552/nvidia-pstated). The daemon does not require application patching and switches performance states automatically.

These patches can be used to automatically manage the performance states of NVIDIA GPUs using the [nvidia-pstate](https://github.com/sasha0552/nvidia-pstate).

Remember that you need to install `nvidia-pstate` in the virtual environment (if applicable), and/or add the executable to the system PATH.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ replace_package() {
package=$1

# Iterate over all virtual environments with $package
for dir in $(find /home/tori -type d -wholename "*/site-packages/$package.dist-info"); do
for dir in $(find /home/tori -type d -wholename "*/site-packages/$package-*.dist-info"); do
# Get path to python interpreter
interpreter=$(realpath -s "$dir/../../../../bin/python")

Expand Down

0 comments on commit 554e425

Please sign in to comment.