VuePress Solid TemplateVuePress Solid Template
  • Vuepress Solid Template
GitHub
  • Vuepress Solid Template
GitHub
  • Demo

    • Demo for page-01
    • Demo for page-02

Demo for page-02

Install

Install VuePress Plugin Markdown Enhance:

pnpm
pnpm add -D vuepress-plugin-md-enhance
yarn
yarn add -D vuepress-plugin-md-enhance
npm
npm i -D vuepress-plugin-md-enhance

Demo for container

Tips

Get the version of PyTorch:

import logging

import torch

print("PyTorch:", torch.__version__)

device = None
if torch.cuda.is_available():
    device = torch.device("cuda")
    logging.log("CUDA:", torch.version.cuda)
    logging.log("cuDNN:", torch.backends.cudnn.version())
else:
    device = torch.device("cpu")
    logging.warn(
        "CUDA is not available, using CPU instead! Check your CUDA installation!"
    )
Details

Install pnpm:

npm i -g pnpm

or use corepack:

corepack install -g pnpm@latest
Edit this page
Last Updated:
Contributors: Sun-ZhenXing
Prev
Demo for page-01