Upload code/envs/umamba.yml with huggingface_hub
Browse files- code/envs/umamba.yml +16 -0
code/envs/umamba.yml
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Isolated env for U-Mamba reference baseline. mamba_ssm needs compilation; the repo
|
| 2 |
+
# targets CUDA 11.8 + torch 2.0.1. Compilation on newer stacks may fail — pin to 11.8.
|
| 3 |
+
# AMP can NaN in Mamba layers: use the NoAMP trainer variant.
|
| 4 |
+
name: umamba
|
| 5 |
+
channels: [conda-forge]
|
| 6 |
+
dependencies:
|
| 7 |
+
- python=3.10
|
| 8 |
+
- pip
|
| 9 |
+
- pip:
|
| 10 |
+
# pip install torch==2.0.1 torchvision==0.15.2 --index-url https://download.pytorch.org/whl/cu118
|
| 11 |
+
# then (in order):
|
| 12 |
+
# pip install causal-conv1d>=1.2.0
|
| 13 |
+
# pip install mamba-ssm --no-cache-dir
|
| 14 |
+
# cd sota/U-Mamba/umamba && pip install -e .
|
| 15 |
+
- simpleitk
|
| 16 |
+
- nibabel
|