Skip to content

Commit f5d6e7f

Browse files
committed
Adding install file
1 parent 1f40b98 commit f5d6e7f

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

INSTALL.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Make sure you have a recent version of gcc in your environment
2+
# Make sure your python includes cpython
3+
4+
install uv
5+
6+
[Suggested solution for HPC systems:
7+
%>mkdir ~/.uv
8+
%>wget https://github.com/astral-sh/uv/releases/download/0.5.28/uv-x86_64-unknown-linux-gnu.tar.gz ~/.uv
9+
%~/.uv>tar xvzf uv-x86_64-unknown-linux-gnu.tar.gz
10+
%~/.uv>ln -s uv-x86_64-unknown-linux-gnu/uv uv
11+
%~/.uv>ln -s uv-x86_64-unknown-linux-gnu/uvx uvx
12+
#Add to ~/.bashrc
13+
export PATH=~/.uv:$PATH
14+
]
15+
16+
# git clone / fork WeatherGenerator repo
17+
%>cd WeatherGenerator
18+
%>uv sync
19+
20+
# install flash_attn which is not uv compatible
21+
%>uv pip install torch
22+
%>uv pip install flash_attn --no-build-isolation
23+
24+
%>uv run train

0 commit comments

Comments
 (0)