Conglong Li 574fbc0d68 add DeepSpeed4Science white paper (#4502) 1 年之前
..
_data f876d81d34 DeepSpeed4Science (#4357) 1 年之前
_includes 908d616072 Website posts and tutorial improvements (#1799) 2 年之前
_layouts 908d616072 Website posts and tutorial improvements (#1799) 2 年之前
_pages 574fbc0d68 add DeepSpeed4Science white paper (#4502) 1 年之前
_posts 2c220d6593 DeepSpeed-VisualChat Chinese blog (#4458) 1 年之前
_sass 8a35daf061 Tune webpage width (#1829) 2 年之前
_tutorials e7acee4933 Remove DS_BUILD_UTILS reference (#4485) 1 年之前
assets f876d81d34 DeepSpeed4Science (#4357) 1 年之前
code-docs a23cda6c3b Allow modification of zero partitioned parameters (#4192) 1 年之前
404.html 5042dc0085 drafting Jekyll webpage (#143) 4 年之前
CNAME 85cc16aed2 Restoring CNAME (#145) 4 年之前
Gemfile 5042dc0085 drafting Jekyll webpage (#143) 4 年之前
README.md c55fad9f0c Update README.md (#4284) 1 年之前
_config.yml f876d81d34 DeepSpeed4Science (#4357) 1 年之前
contributing.md 6379292c62 Improving deepspeed.ai website (#269) 4 年之前
index.md 574fbc0d68 add DeepSpeed4Science white paper (#4502) 1 年之前

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 afterward 😊.

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

Update the Readthedocs.io API documentation

Use the following steps to update the public API documentation.

  1. Make your documentation changes and push them to the rtd-staging branch. This will rebuild the docs in the staging branch. NOTE: It is acceptable to force push to this branch to overwrite previous changes.
  2. View the result of the result of the build here
  3. Once the build is complete view the newly modified API documentation here
  4. Once you are satisfied with the changes create a new branch off of rtd-staging to push into master.