Cheng Li 51a2e916b7 add tutorial on pytorch profiler usage (#1350) 3 年之前
..
_data 51a2e916b7 add tutorial on pytorch profiler usage (#1350) 3 年之前
_layouts 7ae8f8bc9b DeepSpeed webinar announcement (#301) 4 年之前
_pages a1de767a01 bump 0.5.1, DSE, moe docs 3 年之前
_posts 6cd5f87b96 [docs] update moe features and news post 3 年之前
_tutorials 51a2e916b7 add tutorial on pytorch profiler usage (#1350) 3 年之前
assets 95fe2c42e0 fix inference titles and add MoQ pictures (#1092) 3 年之前
code-docs 9cb64a1fc5 MoE read the docs update (#1312) 3 年之前
news 4d735946b8 Web edits (#146) 4 年之前
404.html 5042dc0085 drafting Jekyll webpage (#143) 4 年之前
CNAME 85cc16aed2 Restoring CNAME (#145) 4 年之前
Gemfile 5042dc0085 drafting Jekyll webpage (#143) 4 年之前
Gemfile.lock 54bed327f5 Bump addressable from 2.7.0 to 2.8.0 in /docs (#1225) 3 年之前
README.md 9e83ef21ea Update installation instructions (#362) 4 年之前
_config.yml 51a2e916b7 add tutorial on pytorch profiler usage (#1350) 3 年之前
contributing.md 6379292c62 Improving deepspeed.ai website (#269) 4 年之前
index.md bff6126f0d Update website hiring link 3 年之前

README.md

DeepSpeed Documentation

This directory includes the source code for the website and documentation of DeepSpeed. The code-docs/ directory is used to build deepspeed.readthedocs.io.

deepspeed.ai is the recommended way to read all DeepSpeed documentation. Directly viewing the Markdown files in this directory will not include images and other features.

Building the documentation locally

You can serve the DeepSpeed website locally. This is especially useful for development.

Prerequisites

The DeepSpeed website relies on Jekyll. There are several guides for installation. The instructions below assume you are in an Ubuntu environment and have been tested on WSL.

First ensure that you have the necessary packages (e.g., make and zlib).

sudo apt-get install build-essential zlib1g-dev ruby-full

Add these lines to your .bashrc or equivalent to ensure you have permissions to install Ruby packages without sudo.

export GEM_HOME="$HOME/gems"
export PATH="$HOME/gems/bin:$PATH"

Don't forget to source ~/.bashrc afterwards 😊.

Now we can install Jekyll and Bundler:

gem install jekyll bundler

Start a local webserver

We now need to install the required Ruby packages for the website.

NOTE: you should change to this folder (i.e., docs) before running the installation command to avoid this error:

Could not locate Gemfile

NOTE: this step frequently hangs when connected to a VPN (including MSVPN). Simply disconnect for the package installation.

bundle install

You can now start a local webserver via:

bundle exec jekyll serve

The website should now be accessible at http://localhost:4000