Skip to content

Commit f7f3d84

Browse files
committed
update env & readme
1 parent 749118e commit f7f3d84

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

README.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,12 @@
66
git clone --recursive https://github.com/function2-llx/MMMM.git
77
cd MMMM
88
mamba env create -f environment.yaml
9-
BUILD_MONAI=1 pip install -e third-party/LuoLib/third-party/MONAI
9+
BUILD_MONAI=1 pip install --no-build-isolation -e third-party/LuoLib/third-party/MONAI
1010
mamba activate mmmm
11-
echo "export PYTHONPATH=$PWD:$PWD/third-party/LuoLib" >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
11+
echo \
12+
"export PYTHONPATH=$PWD:$PWD/third-party/LuoLib
13+
export BUILD_MONAI=1" \
14+
>> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
15+
1216
```
17+
, and build xformers from source / install pre-built wheel.

environment.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ dependencies:
2828
- pip:
2929
- cytoolz
3030
- jsonargparse[signatures, omegaconf]
31+
# - xformers --index-url https://download.pytorch.org/whl/cu118

0 commit comments

Comments
 (0)