Commit 9aedc8b
authored
Fix versioning for source installs (#1370)
SUMMARY:
Update the various source installs in testing workflows to properly
fetch git tags and set the `BUILD_TYPE` to nightly. This notably results
in installing a nightly-style version of `compressed-tensors` for the
source install to allow it to satisfy the version requirements from
`llm-compressor`.
TEST PLAN:
Prior to these changes, you would find a broken `llm-compressor` version
in the local install, as well as a warning about the source install
version of `compressed-tensors` being incompatible:
```
Successfully installed […] llmcompressor-0.1.dev1+g67614d5 […]
...
Installing collected packages: compressed-tensors
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
llmcompressor 0.1.dev1+g8ca8fd3 requires compressed-tensors>=0.9.4a2, but you have compressed-tensors 0.1.dev1+g16e6435 which is incompatible.
Successfully installed compressed-tensors-0.1.dev1+g16e6435
```
With the changes, both packages have proper versioning and no
compatibility complaints:
```
Successfully installed […] llmcompressor-0.5.1.dev28+g3b1aac94 […]
...
Installing collected packages: compressed-tensors
Successfully installed compressed-tensors-0.9.4a20250421
```
---------
Signed-off-by: Domenic Barbuzzi <dbarbuzz@redhat.com>1 parent 76af7af commit 9aedc8b
File tree
2 files changed
+37
-9
lines changed- .github/workflows
2 files changed
+37
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| 63 | + | |
| 64 | + | |
60 | 65 | | |
61 | 66 | | |
62 | 67 | | |
63 | | - | |
64 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
65 | 72 | | |
66 | 73 | | |
67 | 74 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
| 26 | + | |
| 27 | + | |
23 | 28 | | |
24 | 29 | | |
25 | | - | |
26 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
27 | 34 | | |
28 | 35 | | |
29 | 36 | | |
| |||
36 | 43 | | |
37 | 44 | | |
38 | 45 | | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
39 | 49 | | |
40 | 50 | | |
41 | 51 | | |
42 | 52 | | |
43 | 53 | | |
44 | 54 | | |
| 55 | + | |
| 56 | + | |
45 | 57 | | |
46 | 58 | | |
47 | | - | |
48 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
49 | 63 | | |
50 | 64 | | |
51 | 65 | | |
| |||
59 | 73 | | |
60 | 74 | | |
61 | 75 | | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
62 | 79 | | |
63 | 80 | | |
64 | 81 | | |
65 | 82 | | |
66 | 83 | | |
67 | 84 | | |
| 85 | + | |
| 86 | + | |
68 | 87 | | |
69 | 88 | | |
70 | | - | |
71 | | - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
72 | 93 | | |
73 | 94 | | |
74 | 95 | | |
| |||
0 commit comments