Ricks-Lab / gpu-utils

A set of utilities for monitoring and customizing GPU performance
GNU General Public License v3.0
136 stars 23 forks source link

Debian Installer - Testing/Verification Requested #99

Closed Ricks-Lab closed 3 years ago

Ricks-Lab commented 3 years ago

I have posted a Debian installer for gpu-utils. Execute the following commands to install:

wget -q -O - https://debian.rickslab.com/PUBLIC.KEY | sudo apt-key add -

echo 'deb [arch=amd64] https://debian.rickslab.com/gpu-utils/ eddore main' | sudo tee /etc/apt/sources.list.d/rickslab-gpu-utils.list

sudo apt update

sudo apt install rickslab-gpu-utils

If you have already installed from PyPI, then first uninstall and close that terminal first:

pip uninstall rickslab-gpu-utils

exit

Let me know of any issues or feedback on package construction. This (and ups-utils) are my first attempt at distributing a Debian package.

Ricks-Lab commented 3 years ago

I have tested this on an 18.04 and 20.04 system on my network and a 20.04 system off my network. My original instructions had an error in the key download, as it was not updated since I switched to a subdomain. @csecht - Can you give it a try? Thanks!

natalyalangford commented 3 years ago

Tested and it looked good on my system!

csecht commented 3 years ago

I gave it a go, but no go on my Ubuntu 20.04 First ran pip3 uninstall rickslab-gpu-utils (pip was not recognized as installed); success, closed the window. Then ran the instructions, but got an error:

:~$ wget -q -O - https://debian.rickslab.com/PUBLIC.KEY | sudo apt-key add -
[sudo] password for craig: 
OK
:~$ echo 'deb [arch=amd64] https://debian.rickslab.com/gpu-utils/ eddore main' | sudo tee /etc/apt/sources.list.d/rickslab-gpu-utils.list
deb [arch=amd64] https://debian.rickslab.com/gpu-utils/ eddore main
:~$ sudo apt install rickslab-gpu-utils
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package rickslab-gpu-utils
Ricks-Lab commented 3 years ago

Maybe you need to do a sudo apt update first.

csecht commented 3 years ago

Yes, of course, I didn't actually follow the instructions! It now installed fine. Raised this msg, though:

Setting up python3-pandas (0.25.3+dfsg-7) ...
/usr/lib/python3/dist-packages/pandas/tests/frame/test_alter_axes.py:241: SyntaxWarning: "is" with a literal. Did you mean "=="?
  False if (keys[0] is "A" and keys[1] is "A") else drop  # noqa: F632
/usr/lib/python3/dist-packages/pandas/tests/frame/test_alter_axes.py:241: SyntaxWarning: "is" with a literal. Did you mean "=="?
  False if (keys[0] is "A" and keys[1] is "A") else drop  # noqa: F632

Edit/update: Everything works! Very nice.

Ricks-Lab commented 3 years ago

@csecht That seems like an issue with the pandas installer. I have simplified the dependencies on the latest package released, but I think the warning is still there. Doesn't seem to impact functionality.

Also, you didn't misread the instructions. I updated after you reported the error.

Ricks-Lab commented 3 years ago

I am working to optimize HAproxy, so you may see occasional outages/errors. I attempted a shared frontend, but it had issues. I will continue to work for an optimal solution. Let me know of any recommendations if you are familiar with pfsense/haproxy. Thanks!

csecht commented 3 years ago

It's been a while since I've done an apt update, but when I did today, I got this

All packages are up to date.
W: Failed to fetch https://debian.rickslab.com/gpu-utils/dists/eddore/InRelease  Could not connect to debian.rickslab.com:443 (122.116.220.161), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
Ricks-Lab commented 3 years ago

It's been a while since I've done an apt update, but when I did today, I got this

All packages are up to date.
W: Failed to fetch https://debian.rickslab.com/gpu-utils/dists/eddore/InRelease  Could not connect to debian.rickslab.com:443 (122.116.220.161), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.

I just had my daughter try from US and no issues and I tried from a separate WAN connection here. Can you try accessing the website at rickslab.com? Perhaps there are networking disruptions related to the solarwinds issue or perhaps my snort instance triggered a block.

csecht commented 3 years ago

It’s working now. I don’t know what the issue was. The connection issue had been around for a while, but seemed to have cleared up once I rebooted the system. It might have had something to do with me sitting on a couple of apt upgrades that had been installed without restarts. So, a problem on my end, not yours.

On Dec 18, 2020, at 7:55 PM, Rick notifications@github.com wrote:

It's been a while since I've done an apt update, but when I did today, I got this

All packages are up to date. W: Failed to fetch https://debian.rickslab.com/gpu-utils/dists/eddore/InRelease Could not connect to debian.rickslab.com:443 (122.116.220.161), connection timed out W: Some index files failed to download. They have been ignored, or old ones used instead. I just had my daughter try from US and no issues and I tried from a separate WAN connection here. Can you try accessing the website at rickslab.com? Perhaps there are networking disruptions related to the solarwinds issue or perhaps my snort instance triggered a block.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Ricks-Lab/gpu-utils/issues/99#issuecomment-748401379, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALMVCQUCZ6MIHBWXRCRN7QTSVQBXJANCNFSM4S4P66TQ.