Commit e4a98ad
authored
fix: Downgrade the Transformers' version to match with the JetStream version (GoogleCloudPlatform#1286)
Since `JetStream` has not been updated for some time, it attempts to call the `.squeeze()` method on `Transformers` objects, a method that is no longer supported in newer versions of the library (e.g., 5.5.4 or 5.9.0).
Thus, downgrade the `Transformers` to version 4.57.3.1 parent 3f14eff commit e4a98ad
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
| 57 | + | |
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | 64 | | |
| |||
69 | 71 | | |
70 | 72 | | |
71 | 73 | | |
72 | | - | |
| 74 | + | |
0 commit comments