From 5 to 30 Times Faster

AI Deep Learning

Install and run Anaconda, TensorFlow, PyTorch, and an AI benchmark with a single command. Enjoy NVIDIA RTX, CUDA, and CuDNN-powered performance 5 to 30 times greater than popular Unix® laptops. Develop with the industry-standard PyCharm IDE using the expertly packaged JetBrains Toolbox and desktop integration. This solution only applies to Focus models with NVIDIA GPUs.

Install tools for machine learning and AI with the Anaconda GPU AI Suite Installer.

Install tools for machine learning and AI with the Anaconda GPU AI Suite Installer.

Please read the disclaimer before proceeding. We review and update guided solutions regularly. If you have suggestions or requests, please write support@kfocus.org.

Run kfocus-conda

condaRun the app from either the curated app icon, Start Menu > Kubuntu Focus Tools > Anaconda GPU AI Suite Installer, or open a terminal and enter kfocus-conda. This installs a GPU-accelerated and professionally vetted Anaconda suite. It will ask you if you'd like to install the following environments:

Kfocus Conda will not overwrite or delete data unless you tell it to do so. You may run it again to add environments as needed. For example, you may install only TensorFlow at first and then add PyTorch later. Run the benchmark at the end to compare to the results shown in the Benchmarks section.

When you wish to build on these Conda environments, we recommend using Pycharm. You may install this with the JetBrains Toolbox installed on all Kubuntu Focus laptops.

M2 GEN 5

Maximize VRAM with Intel GPU

You can change the GPU used for your displays using the GPU Widget found in the system tray. When you use Nvidia GPU (Performance Mode), every display pixel consumes additional VRAM. Total display VRAM may exceed 2 GB. Run watch nvidia-smi in a terminal to see VRAM use.

Sometimes you may want to use all VRAM for a pipeline so it can complete or run faster. In this case, you need both the Nvidia drivers installed and the display to use system ram instead. The best choice for this is to switch to Hybrid GPU (On-Demand Mode) as shown here. Remember to switch back when you are done.

Configure GPUs and free up VRAM for intensive tasks with Plasma Optimus.

Configure GPUs and free up VRAM for intensive tasks with Plasma Optimus.

Benchmarks

We tested using Stable Diffusion 1.5 and Qwen3-0-6b tests. The TSMC “4N” lithography and fifth-generation Tensor cores make the 50-series GPUs faster, cooler, and more efficient. This is the same test you can run at the end of the KFocus Conda (kfocus-conda) script.

BenchmarkRTX 5090 MRTX 5080 MRTX 5070 Ti MRTX 4090 MRTX 4080 MRTX 4070 M
Stable Diffusion 1.5143 Images116 Images92 Images127 Images118 Images80 Images
Qwen03-0-6b544 Gen534 Gen482 Gen579 Gen528 Gen459 Gen
Video RAM24 GB16 GB12 GB16 GB12 GB 8 GB

Troubleshooting

Q: Starting NVIDIA Visual Profiler results in an error. How can I fix this?

A: One must install Java 8 and then call nvvp with the correct path.

# Confirmed on 17 May 2022 sudo apt install openjdk-8-jdk nvvp -vm /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java

Q: I booted my Kubuntu Focus, and it never got past the splash screen. How do I fix this?

A: NVIDIA Settings and other applications may ask you to save the xorg.conf file. This action could disable your internal display after logout or restart, blocking your login. If this happens, we recommend you remove this file:

After you have completed the above steps, you should be able to log in normally.

Q: I see some library errors when installing Anaconda. What can I do?

A: Focus systems with NVIDIA GPUs ship with OpenGL and Vulkan libraries installed. When you run the KFocus Conda script, it will prompt you to download and install additional libraries, such as CUDA and CuDNN. Ensure you have a fast internet connection, as the download can be quite large. If you still receive these errors, you can cancel, run the FocusRx System Repair tool, and then try again.

# Run the package-check script when prompted focusrx -f

Revisions

This is a partial revision history. See the git repository for all entries.

Disclaimer

We try hard to provide a useful solution validated by professionals. However, we cannot anticipate every situation, and therefore cannot guarantee this procedure will work for your needs. Always backup your data and test the solution to determine the correct procedure for you.

THIS SOLUTION IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOLUTION, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

HAVE QUESTIONS?Call 844-536-2871 or write
TellMeMore@kfocus.org   |  GET FOCUS MERCH