Skip to content

Commit

Permalink
update env & readme
Browse files Browse the repository at this point in the history
  • Loading branch information
function2-llx committed Nov 29, 2023
1 parent 749118e commit f7f3d84
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,12 @@
git clone --recursive https://github.com/function2-llx/MMMM.git
cd MMMM
mamba env create -f environment.yaml
BUILD_MONAI=1 pip install -e third-party/LuoLib/third-party/MONAI
BUILD_MONAI=1 pip install --no-build-isolation -e third-party/LuoLib/third-party/MONAI
mamba activate mmmm
echo "export PYTHONPATH=$PWD:$PWD/third-party/LuoLib" >> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh
echo \
"export PYTHONPATH=$PWD:$PWD/third-party/LuoLib
export BUILD_MONAI=1" \
>> $CONDA_PREFIX/etc/conda/activate.d/env_vars.sh

```
, and build xformers from source / install pre-built wheel.
1 change: 1 addition & 0 deletions environment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ dependencies:
- pip:
- cytoolz
- jsonargparse[signatures, omegaconf]
# - xformers --index-url https://download.pytorch.org/whl/cu118

0 comments on commit f7f3d84

Please sign in to comment.