arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

WSL (Windows Subsystem for Linux)

hashtag
Yep, you get it right we also have WSL support!

Note: GPU is not currently supported in k3ai withing WSL. The reason is simply that GPU capability is still in development by NVIDIA and Microsoft so we will wait for it to reach a more stable grade.

hashtag
Quick Start

The Windows Subsystem for Linux lets developers run a GNU/Linux environment -- including most command-line tools, utilities, and applications -- directly on Windows, unmodified, without the overhead of a traditional virtual machine or the dual-boot setup.

hashtag
Step 1

Install any Linux distro supported in WSL. For a quick how-to please follow the guide at

hashtag
Step 2

Once ready simply run the following command:

Note: the command above is slightly different from the other commands we typically use. It will change to the usual once the feature will be merged in the main code.

hashtag
(Optional) Step 3

Once the installation is finished you may run any other plugin as usual, but with the --skipk3s flag. As an example the Tensorflow Serving - ResNet:

The following plugins are immediately supported:

  • Argo

  • Kubeflow pipelines

  • Tensorflow Serving - Resnet

hashtag
Troubleshooting

hashtag
Restart WSL

If you re-login in your WSL session after a "wsl --shutdown" or simply because you restarted/shutdown your computer the k3ai environment will not automatically restart.

We created a utility file for you to re-start k3ai every time. In order to do so execute in WSL:

wait for a couple of minutes for the cluster to restart all the pods and you're good to go.

hashtag
The connection to the server localhost:8080 was refused

If the above error happens please use the following command to install k3ai

https://docs.microsoft.com/en-us/windows/wsl/install-win10arrow-up-right
curl -sfL https://get.k3ai.in | bash -s -- --wsl --pipelines
curl -sfL https://get.k3ai.in | bash -s -- --skipk3s --plugin_tfs-resnet
startk3s
curl -sfL https://get.k3ai.in | INSTALL_K3S_BIN_DIR=/usr/bin bash -s -- --wsl --pipelines