File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change
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
You can’t perform that action at this time.
0 commit comments