sglang_v0.5.2/pytorch_2.8.0/third_party/fbgemm/netlify.toml

38 lines
938 B
TOML

[build]
base = "fbgemm_gpu/docs"
# Unconditionally rebuild the docs
# https://docs.netlify.com/configure-builds/ignore-builds/
ignore = "/bin/false"
[context.deploy-preview]
publish = "build/html"
command = """
# Load scripts
export BUILD_ENV=build_docs
. ../../.github/scripts/setup_env.bash
# Print system info
print_exec uname -a
print_exec ldd --version
# Set up Conda environment
setup_miniconda $HOME/miniconda
create_conda_environment $BUILD_ENV 3.13
# Install tools
install_cxx_compiler $BUILD_ENV
install_build_tools $BUILD_ENV
install_docs_tools $BUILD_ENV
install_pytorch_pip $BUILD_ENV nightly cpu
# Build the code
cd ..
prepare_fbgemm_gpu_build $BUILD_ENV
build_fbgemm_gpu_install $BUILD_ENV docs
# Build the docs
cd docs
build_fbgemm_gpu_docs $BUILD_ENV
"""