engine/rr: build the Ray Reconstruction models from nvngx_dlssd.dll alone, without a capture
Models built from nvngx_dlssd.dll 310.9.1 are byte-identical to the capture-built ones (every file, plus d4r-rr's outputs on capF, capF4K, capF900, capFXparticles and capDT). 310.9.1 contains 310.7's D/E kernels and weights.
This commit is contained in:
1 parent
e3606cedf9
commit
5f520a186d
7 files changed
+508
-45
No files matched your search
@@ -52,7 +52,12 @@ ZSTD_MAGIC = b'\x28\xb5\x2f\xfd'
|
||||
|
||||
|
||||
def zstd_frame(src: bytes) -> bytes:
|
||||
"""One zstd frame, through the zstandard module when it is installed and the zstd tool otherwise."""
|
||||
"""One zstd frame, through Python's own zstd (3.14), the zstandard module or the zstd tool."""
|
||||
try:
|
||||
from compression import zstd # Python 3.14
|
||||
return zstd.ZstdDecompressor().decompress(src)
|
||||
except ImportError:
|
||||
pass
|
||||
try:
|
||||
import zstandard
|
||||
return zstandard.ZstdDecompressor().decompressobj().decompress(src)
|
||||
|
||||
Reference in new issue
Block a user