Skip to content

nbxtensor 0.0.5

Choose a tag to compare

@benkelaya benkelaya released this 07 Nov 05:55
· 39 commits to main since this release

Fixed

  • The library runs on Windows: weights are read at their offset without os.preadv (Windows' ReadFile with an
    OVERLAPPED offset), the BLAS's thread control is found beside numpy (numpy.libs) instead of through /proc, and the
    GPU libraries are opened by their Windows names (nvcuda.dll, cudart64_12.dll from the runtime wheel's bin, nvml.dll,
    amdhip64_6.dll, ze_loader.dll, OpenCL.dll). Written and tested with Windows simulated: the project has no Windows
    machine yet.
  • python -m nbxtensor doctor on a Mac without Triton exits 1: it named the fix and exited 0, so a script could
    not tell that nothing could run yet.
  • The library imports on Windows: its page size came from os.sysconf, which Windows does not have; and the code
    generator's identity now reads a backend's files as / paths with its .pyd and .dll binaries, so the same code
    has the same identity on every system.
  • A certified setting that is not served says why: where the directory holds a key proven under another code
    generator than the running one, the line named a memory class that matched ("certified for 18 GB, this card is
    18 GB, not served"); it now names both generators and the re-proof command. A setting proven on another memory class
    is still said as such.