Patryk Wychowaniec 7157e5d064 interrogate: Fix CLIP-interrogation on CPU
Currently, trying to perform CLIP interrogation on a CPU fails, saying:

```
RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'
```

This merge request fixes this issue by detecting whether the target
device is CPU and, if so, force-enabling `--no-half` and passing
`device="cpu"` to `clip.load()` (which then does some extra tricks to
ensure it works correctly on CPU).
2022-10-21 09:52:12 +03:00
..
2022-10-19 05:19:01 +00:00
2022-09-05 23:08:06 +03:00
2022-10-18 03:15:41 +08:00
2022-09-07 12:32:28 +03:00
2022-10-08 13:40:39 +03:00
2022-10-17 21:15:32 +03:00
2022-10-16 09:56:33 +03:00
2022-10-19 11:52:12 +03:00
2022-10-14 16:37:36 +03:00
2022-10-18 15:08:23 +03:00
2022-10-08 22:42:30 +03:00
2022-10-18 11:53:04 +03:00
2022-10-10 19:54:57 +03:00
2022-10-08 22:42:30 +03:00
2022-10-10 19:54:57 +03:00
2022-10-09 13:48:04 +03:00