Skip to content

Commit

Permalink
📝 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
Alecton4 committed Aug 7, 2023
1 parent 1594f94 commit 756b8c5
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 8 deletions.
2 changes: 1 addition & 1 deletion notes_OS/Linux/cross-distro/KVM.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ Note that at the time of writing (*Tumbleweed 20230727, libvirt 9.5.0-2.1*), clo

### virtio and SPICE drivers

At the time of writing (*libvirt 9.5.0-2.1, virtio-win 0.1.229*), a virtio virtual disk must be attached before installing virtio drivers. Otherwise, the main virtual disk cannot be changed from sata to virtio.
At the time of writing (*libvirt 9.5.0-2.1, virtio-win 0.1.229*), a virtio virtual disk must be attached when installing virtio drivers. Otherwise, the main virtual disk cannot be recognized if later changed from sata to virtio.

*References*:

Expand Down
27 changes: 20 additions & 7 deletions notes_OS/Linux/openSUSE/Tumbleweed/dev_env.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,19 +60,32 @@ See [[packages#NVIDIA Container Toolkit]]

For KVM usage, see [[cross-distro/KVM]].

At the time of writing (*Tumbleweed 20230707*), install KVM-related tools via the following commands:
- At the time of writing (*Tumbleweed 20230707*), install KVM-related tools via the following commands:

```bash
zypper install --type pattern kvm_tools
zypper install libvirt
```
```bash
zypper install --type pattern kvm_tools
zypper install libvirt
```

- Verify via the following commands:

```bash
virt-host-validate
```

The following may be added to boot parameter depending on the output:

```text
cgroup_enable=cpu cgroup_enable=cpuset cgroup_enable=devices cgroup_enable=freezer cgroup_enable=blkio
```

*References*:

- [6.2.3 Installing specific installation patterns](https://doc.opensuse.org/documentation/leap/virtualization/single-html/book-virtualization/#install-virtualization-components-pattern)
- [32 Setting up a KVM VM Host Server](https://doc.opensuse.org/documentation/leap/virtualization/single-html/book-virtualization/#cha-qemu-host)
- [How To Use Virtual Machines on Linux](https://www.youtube.com/watch?v=t-23HOKMer0)
- [Setup Qemu in Debian Linux](https://christitus.com/vm-setup-in-linux/)
- [Freezer error when installing KVM on Debian.](https://www.reddit.com/r/linuxquestions/comments/w38k31/comment/iguuy6j/?utm_source=share&utm_medium=web2x&context=3)

## Basic environment

Expand Down Expand Up @@ -271,8 +284,8 @@ It is recommended to run TensorFlow 2 in a container.

*References*:

- https://www.tensorflow.org/install/docker
- https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html#installing-on-suse-15
- [Docker](https://www.tensorflow.org/install/docker)
- [Installing on SUSE 15](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html#installing-on-suse-15)
- [Document supported CUDA/cuDNN versions](https://github.com/tensorflow/tensorflow/issues/57000)
- [Upgrade TF to CUDA 11.4 and cuDNN 8.2](https://github.com/tensorflow/tensorflow/issues/51659)

Expand Down

0 comments on commit 756b8c5

Please sign in to comment.