Commit fa437d2
Updating distorch_2.py:
1. Replacing ad-hoc print() with structured logging
2. Simplifying device detection (fail-fast approach)
3. Maintaining the implemented backward compatibility for GGUF/ModelPatcher by max-solo23
4. Following the repository's logging conventions
Co-authored-by: max-solo23 <maksym.solomyanov@gmail.com>1 parent 5912141 commit fa437d2
1 file changed
Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
58 | | - | |
59 | | - | |
60 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
61 | 60 | | |
62 | 61 | | |
63 | | - | |
| 62 | + | |
64 | 63 | | |
65 | | - | |
| 64 | + | |
66 | 65 | | |
67 | 66 | | |
68 | 67 | | |
| |||
0 commit comments