Commit ad70949
committed
Add persistent model venv and fix setuptools-scm for tarballs
- Persistent venv at /opt/model-venv with torch + vLLM deps pre-cached
(mirrors Modal model_image pattern: install vllm for deps, uninstall)
- Set SETUPTOOLS_SCM_PRETEND_VERSION for tarball submissions without .git
- Pin Python 3.10 in venv, add sccache for CUDA compilation caching1 parent 57c3166 commit ad70949
File tree
2 files changed
+34
-4
lines changed- .github/workflows
- src/libkernelbot
2 files changed
+34
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
23 | 26 | | |
24 | 27 | | |
25 | 28 | | |
| |||
39 | 42 | | |
40 | 43 | | |
41 | 44 | | |
42 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
43 | 69 | | |
44 | 70 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | 71 | | |
49 | 72 | | |
50 | 73 | | |
51 | 74 | | |
52 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
53 | 79 | | |
54 | 80 | | |
55 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
932 | 932 | | |
933 | 933 | | |
934 | 934 | | |
| 935 | + | |
| 936 | + | |
| 937 | + | |
935 | 938 | | |
936 | 939 | | |
937 | 940 | | |
938 | 941 | | |
939 | 942 | | |
| 943 | + | |
940 | 944 | | |
941 | 945 | | |
942 | 946 | | |
| |||
0 commit comments