It's correct vfio configuration for GPU Passthrough, you will need to change ids to your GPU pci slot.
sudo dnf group install virtualization
dmesg | grep IOMMU
| #!/usr/bin/env python3 | |
| """ | |
| patch_vllm.py – Build-time patches for AMD Radeon R9700 (gfx1201) | |
| Run this script from the root of a freshly cloned vLLM repository. | |
| Every patch is idempotent: re-running the script on an already-patched | |
| tree is safe (it will skip patches that are already applied). | |
| """ | |
| import os |
| #!/bin/bash | |
| # ============================================================================== | |
| # Fedora 44 Server Setup Script for vLLM with ROCm (RHEL 10 Repo Method) | |
| # ============================================================================== | |
| # Prerequisites: | |
| # 1. Run this script as root or with sudo: sudo ./setup_vllm_rocm.sh | |
| # | |
| # Note: We use the official AMD RHEL 10 repositories which are binary-compatible | |
| # with Fedora 44. We intentionally skip 'amdgpu-dkms' as Fedora's rapid kernel | |
| # updates frequently break DKMS builds; the native 'amdgpu' driver in Fedora |
| WITH table_scans as ( | |
| SELECT relid, | |
| tables.idx_scan + tables.seq_scan as all_scans, | |
| ( tables.n_tup_ins + tables.n_tup_upd + tables.n_tup_del ) as writes, | |
| pg_relation_size(relid) as table_size | |
| FROM pg_stat_user_tables as tables | |
| ), | |
| all_writes as ( | |
| SELECT sum(writes) as total_writes | |
| FROM table_scans |
| using namespace System.Management.Automation | |
| using namespace System.Management.Automation.Language | |
| if ($host.Name -eq 'ConsoleHost') | |
| { | |
| Import-Module PSReadLine | |
| } | |
| #Import-Module PSColors | |
| #Import-Module posh-git | |
| Import-Module -Name Terminal-Icons |
| { | |
| "final_space": true, | |
| "console_title": true, | |
| "console_title_style": "folder", | |
| "blocks": [ | |
| { | |
| "type": "prompt", | |
| "alignment": "left", | |
| "horizontal_offset": 0, | |
| "vertical_offset": 0, |
npm init
npm i --save-dev @types/node \
@types/jest \
@typescript-eslint/eslint-plugin \
@typescript-eslint/eslint-plugin-tslint \
@typescript-eslint/parser \
coveralls \
eslint \
jest \| cmake_minimum_required(VERSION 3.10) | |
| project(NodeProject) | |
| set(CMAKE_CXX_STANDARD 17) | |
| file(READ $ENV{HOME}/.nvm/alias/default NODE_VER) | |
| string(STRIP ${NODE_VER} NODE_VER) | |
| set(LIBUV_VER "1.20.0") | |
| set(LIBUV_PATH "/usr/local/Cellar/libuv/${LIBUV_VER}") |
| "use strict"; | |
| const util = require('util'); | |
| const AWS = require("aws-sdk"); | |
| /** | |
| * Deploy env | |
| * @param event | |
| * @param context | |
| * @param callback | |
| * Example of params |