lotus/extern
Clint Armstrong 93e4656a27 Use a float to represent GPU utilization
Before this change workers can only be allocated one GPU task,
regardless of how much of the GPU resources that task uses, or how many
GPUs are in the system.

This makes GPUUtilization a float which can represent that a task needs
a portion, or multiple GPUs. GPUs are accounted for like RAM and CPUs so
that workers with more GPUs can be allocated more tasks.

A known issue is that PC2 cannot use multiple GPUs. And even if the
worker has multiple GPUs and is allocated multiple PC2 tasks, those
tasks will only run on the first GPU.

This could result in unexpected behavior when a worker with multiple
GPUs is assigned multiple PC2 tasks. But this should not suprise any
existing users who upgrade, as any existing users who run workers with
multiple GPUs should already know this and be running a worker per GPU
for PC2. But now those users have the freedom to customize the GPU
utilization of PC2 to be less than one and effectively run multiple PC2
processes in a single worker.

C2 is capable of utilizing multiple GPUs, and now workers can be
customized for C2 accordingly.
2021-11-30 02:06:58 +01:00
..
filecoin-ffi@7912389334 update to proof v10.1.0 2021-10-26 14:36:19 -04:00
sector-storage Use a float to represent GPU utilization 2021-11-30 02:06:58 +01:00
serialization-vectors@5bfb928910 Update serialization vectors 2020-08-07 01:21:01 +02:00
storage-sealing checkCommit should return SectorCommitFailed 2021-10-22 10:09:44 +08:00
test-vectors@d9a75a7873 update schema; test-vectors submodule. 2020-10-15 12:49:23 +01:00