0

I have been attempting to implement GPU acceleration for deep learning with an AMD card. Attempted to use a Docker-based approach, only to find at the last stage that Docker interpreters in PyCharm require PyCharm Professional.

Now, I have followed this method: https://www.videogames.ai/Install-ROCM-Machine-Learning-AMD-GPU

And get this error.

FYI: I have run the command, sudo apt install rccl

How should I proceed?

user9712582
  • 1,215
  • 7
  • 16
mwmast
  • 1

1 Answers1

0

When apt-get install is unable to locate a package, the package you want to install couldn't be found within repositories that you have added (those in in /etc/apt/sources.list and under /etc/apt/sources.list.d/).

The following (general) procedure helps to solve this:

1. Make sure you have enabled Ubuntu repositories:

To enable all repositories (main, universe, restricted, multiverse), use the following commands:

sudo add-apt-repository main
sudo add-apt-repository universe
sudo add-apt-repository restricted
sudo add-apt-repository multiverse

2.Add PPA (by command-line):

Use this command:

sudo add-apt-repository ppa:<repository-name>

3.Don't forget to update (make apt aware of your changes):

It is essential to run this command after changing any repositories:

sudo apt-get update

4.Finally install the package:

sudo apt-get install <package>

Note: If package is not available on repository any how, than you have to wait until it is available (in the case of new/updated versions) or use other installation processes than apt-get e.g. compiling from source, downloading executable binary, etc.

hobin
  • 359
  • 2
  • 11
  • I'm afraid I don't understand which repository I should name when adding PPA. When I name any combination of rocm-libs, miopen-hip, and cxlactivitylogger in the command, I get: "Error: need a single repository as argument" – mwmast May 25 '20 at 20:18
  • To be clear, for ``, I also tried the `main`, `universe`, `multiverse`, and `restricted` repositories, each of which was also denied by the same error message. – mwmast May 27 '20 at 18:38