Created
March 12, 2024 11:43
-
-
Save dataslayermedia/8676e010a9121adaaab8e6dc98bca383 to your computer and use it in GitHub Desktop.
Install-Coral-PCIe-Accelerator-TPU-Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install curl | |
sudo apt-get install -y curl | |
# Add the Coral Edge TPU repository | |
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list | |
# Add the Google Cloud package signing key | |
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
# Update the package list | |
sudo apt-get update | |
# Install the Gasket driver and Edge TPU runtime library | |
sudo apt-get install -y gasket-dkms libedgetpu1-std | |
# Create udev rule for the Apex device | |
sudo sh -c "echo 'SUBSYSTEM==\"apex\", MODE=\"0660\", GROUP=\"apex\"' >> /etc/udev/rules.d/65-apex.rules" | |
# Create the 'apex' group if it doesn't already exist | |
if ! getent group apex > /dev/null; then | |
sudo groupadd apex | |
fi | |
# Add the current user to the 'apex' group | |
sudo adduser $USER apex |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I got this error message. Can anyone help me out on this?
Errors were encountered while processing:
gasket-dkms