File tree 4 files changed +18
-26
lines changed
4 files changed +18
-26
lines changed Original file line number Diff line number Diff line change @@ -51,23 +51,25 @@ jobs:
51
51
- name : Nvidia SMI sanity check
52
52
run : nvidia-smi
53
53
54
- - uses : mamba-org/setup-micromamba@v1
54
+ - name : Install Python
55
+ uses : actions/setup-python@v5
55
56
with :
56
- micromamba-version : " 1.5.6-0"
57
- environment-file : ci/gpu_ci.yml
58
- post-cleanup : " all"
57
+ python-version : " 3.x"
58
+
59
+ - name : Install UV
60
+ uses : hynek/setup-cached-uv@v2
61
+ with :
62
+ cache-dependency-path : pyproject.toml
59
63
60
64
- name : Install AnnData
61
- run : uv pip install -e .[dev,test,gpu]
65
+ run : uv pip install --system -e " .[dev,test,cu12]" llvmlite>=0.43
62
66
63
67
- name : Env list
64
- run : |
65
- micromamba list
66
- pip list
68
+ run : pip list
67
69
68
70
- name : Run test
69
71
run : pytest -m gpu --cov --cov-report=xml --cov-context=test -n 4
70
72
71
- - uses : codecov/codecov-action@v3
73
+ - uses : codecov/codecov-action@v4
72
74
with :
73
75
flags : gpu-tests
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ create new ` cupy ` installation options for cuda 11 & 12 called ` cu11 ` and ` cu12 ` {user}` Intron7 `
Original file line number Diff line number Diff line change @@ -101,10 +101,9 @@ test = [
101
101
" pytest_memray" ,
102
102
" pytest-mock"
103
103
]
104
- gpu = [
105
- " cupy" ,
106
- " numpy<2.0.0" ,
107
- ]
104
+ gpu = [" cupy" ]
105
+ cu12 = [" cupy-cuda12x" ]
106
+ cu11 = [" cupy-cuda11x" ]
108
107
109
108
[tool .hatch .version ]
110
109
source = " vcs"
@@ -212,3 +211,6 @@ title_format = "(v{version})=\n### {version} {{small}}`{project_date}`"
212
211
213
212
[tool .towncrier .fragment .performance ]
214
213
name = " Performance"
214
+
215
+ [tool .towncrier .fragment .dev ]
216
+ name = " Development Process"
You can’t perform that action at this time.
0 commit comments