- “Evaluating Modern GPU Interconnect: PCIe, NVLink, NV-SLI, NVSwitch and GPUDirect” (2019)
- Authors: Ang Li, Shuaiwen Leon Song, Jieyang Chen, Jiajia Li, Xu Liu, Nathan Tallent, Kevin Barker
- arXiv: 1903.04611
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # ============================================================================= | |
| # vLLM CPU — AMX ENABLED (Intel Sapphire Rapids / Emerald Rapids) | |
| # Ubuntu 24.04 LTS, Python 3.12, gcc-13 | |
| # | |
| # Build: | |
| # git clone https://github.com/vllm-project/vllm.git | |
| # cd vllm | |
| # docker build \ | |
| # -f Dockerfile.cpu.amx \ | |
| # --build-arg VLLM_CPU_AMXBF16=1 \ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import io | |
| import gzip | |
| import asyncio | |
| import rados | |
| import torch | |
| import logging | |
| from typing import TYPE_CHECKING, Any, Optional, Dict, Set | |
| from vllm.distributed.kv_transfer.kv_connector.v1.base import ( | |
| KVConnectorBase_V1, KVConnectorMetadata, KVConnectorRole | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import io | |
| import gzip | |
| import asyncio | |
| import rados | |
| import torch | |
| import logging | |
| from typing import List, Tuple, Optional, Dict | |
| from vllm.distributed.kv_transfer.kv_connector.base import KVConnectorBase |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| IPTABLES=/sbin/iptables | |
| DEPMOD=/sbin/depmod | |
| MODPROBE=/sbin/modprobe | |
| EXTIF="eno1" | |
| INTIF1="ens785f0" | |
| echo "Using EXTIF=$EXTIF, INTIF=$INTIF2, INTIF=$INTIF1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- example script that adds a query string | |
| local threadcounter = 1 | |
| local threads = {} | |
| function setup(thread) | |
| thread:set("id", threadcounter) | |
| table.insert(threads, thread) | |
| threadcounter = threadcounter + 1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * rbd engine | |
| * | |
| * IO engine using Ceph's librbd to test RADOS Block Devices. | |
| * | |
| */ | |
| #include <rbd/librbd.h> | |
| #include "global/global_init.h" | |
| #include "global/global_context.h" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Thanks to Sudarshan Muralidhar for this test program | |
| from pyeclib.ec_iface import ECDriver | |
| from struct import pack | |
| from random import randint | |
| def random_mutate(share, mutations): | |
| share = list(share) | |
| rands = [randint(0, 255) for i in xrange(mutations)] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ====================================================================== | |
| FAIL: test_drop_privileges (test.unit.common.test_utils.TestUtils) | |
| ---------------------------------------------------------------------- | |
| Traceback (most recent call last): | |
| File "/root/swift/test/unit/common/test_utils.py", line 1820, in test_drop_privileges | |
| self.assertEqual(set(groups), set(os.getgroups())) | |
| AssertionError: Items in the first set but not the second: | |
| 0 | |
| """Fail immediately, with the given message.""" | |
| >> raise self.failureException('Items in the first set but not the second:\n0') |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import platform | |
| import sys | |
| from ctypes.util import find_library | |
| from distutils.sysconfig import EXEC_PREFIX as _exec_prefix | |
| from distutils.sysconfig import get_python_lib | |
| from distutils.sysconfig import get_python_inc | |
| platform_arch = platform.architecture() | |
| default_python_libdir = get_python_lib() |
NewerOlder