Code Monkey home page Code Monkey logo

apt-packaging-fabric-manager's Introduction

apt packaging fabric manager

License Contributing

Overview

Packaging templates for apt based Linux distros to build NVIDIA fabricmanager packages.

Fabric Manager is intended for hardware containing NvSwitch such as DGX systems.

note: the version of fabricmanager must match the NVIDIA driver installed.

Table of Contents

Deliverables

This repo contains the template files used to build the following DEB packages:

note: XXX is the first . delimited field in the driver version, ex: 460 in 460.32.03

- cuda-drivers-fabricmanager
- cuda-drivers-fabricmanager-XXX
- nvidia-fabricmanager-XXX
- nvidia-fabricmanager-dev-XXX

> ex: cuda-drivers-fabricmanager_460.32.03-1_amd64.deb
      cuda-drivers-fabricmanager-460_460.32.03-1_amd64.deb
      nvidia-fabricmanager-460_460.32.03-1_amd64.deb
      nvidia-fabricmanager-dev-460_460.32.03-1_amd64.deb

Installation

  • Debian

    apt-get install cuda-drivers-fabricmanager-XXX
  • Ubuntu

    apt-get install cuda-drivers-fabricmanager-XXX

Prerequisites

Clone this git repository:

Supported branches: main

git clone https://github.com/NVIDIA/apt-packaging-fabric-manager

Download a NVIDIA fabricmanager tarball:

Install build dependencies

note: these are only needed for building not installation

# Packaging
apt-get install debhelper devscripts dpkg-dev

Building Manually

Parse JSON to retrieve download URL

baseURL="https://developer.download.nvidia.com/compute/cuda/redist"
curl -s $baseURL/redistrib_460.32.03.json | \
jq -r '."fabricmanager" | ."460.32.03" | ."linux-x86_64"' | \
sed "s|^|$baseURL/|"

Create a temp directory

cd apt-packaging-fabric-manager
mkdir build
rsync -a debian build/

Extract tarball

tar -C build/ -xf fabricmanager*.tar.gz
cd build
mv fabricmanager/* $PWD
rmdir fabricmanager

Fill variables

make -f debian/rules fill_templates VERSION=460.32.03 BRANCH=460 DEB_HOST_ARCH=amd64

note: branch is the first . delimited field in the driver version, ex: 460 in 460.32.03

Generate .deb packages

DEB_BUILD_OPTIONS=nostrip DEB_HOST_ARCH=amd64 \
dpkg-buildpackage -b
cd ..
ls *.deb

Related

NSCQ library

NVIDIA driver

See also

RPM

Contributing

See CONTRIBUTING.md

apt-packaging-fabric-manager's People

Contributors

andydick avatar kmittman avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.