From cd22726ce90c5861724327714cb944ff5ae9a996 Mon Sep 17 00:00:00 2001 From: i-yuanyukun Date: Tue, 27 Jan 2026 20:07:19 +0800 Subject: [PATCH] fix: pyproject build --- README.md | 8 ++++---- pyproject.toml | 3 +-- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 84a31d2..8156e86 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ The following diagram illustrates the architecture of the **StepMesh** communica - Ubuntu OS - Servers with RDMA NICs and GPU cards. -- PyTorch +- torch >= 2.0.0 - CUDA NVCC or other compilers ## Build @@ -63,13 +63,13 @@ bash tools/install_deps.sh # only once Build StepMesh ```bash -# Please check that your CUDA_HOME is correct +# Please check that your CUDA_HOME is correct and torch is installed. # Build AF library make af # Build and install Fserver (AF's Python SDK) -pip3 install -v -e . +pip3 install -v -e . --no-build-isolation ``` Build without cuda @@ -80,7 +80,7 @@ Build without cuda USE_CUDA=0 make af # Build and install Fserver (AF's Python SDK) -USE_CUDA=0 pip3 install -v -e . +USE_CUDA=0 pip3 install -v -e . --no-build-isolation ``` diff --git a/pyproject.toml b/pyproject.toml index debc4d6..9d6a768 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,6 @@ [build-system] requires = [ "setuptools>=40.8.0", - "wheel", - "torch>=2.0.0" + "wheel" ] build-backend = "setuptools.build_meta"