We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a2d055 commit 27f884bCopy full SHA for 27f884b
2 files changed
python/parts.nix
@@ -172,6 +172,14 @@ let
172
'';
173
autoPatchelfIgnoreMissingDeps = (old.autoPatchelfIgnoreMissingDeps or [ ]) ++ lib.optionals cudaSupport [ "libcuda.so.1" ];
174
});
175
+ torch-c-dlpack-ext = prev.torch-c-dlpack-ext.overrideAttrs (old:
176
+ {
177
+ nativebuildInputs = (old.nativebuildInputs or [ ]) ++ [ pkgs.autoAddDriverRunpath ];
178
+ preFixup = (old.preFixup or "") + ''
179
+ addAutoPatchelfSearchPath "${final.torch}"
180
+ '';
181
+ autoPatchelfIgnoreMissingDeps = (old.autoPatchelfIgnoreMissingDeps or [ ]) ++ lib.optionals cudaSupport [ "libcuda.so.1" ];
182
+ });
183
xgrammar = prev.xgrammar.overrideAttrs (old: {
184
nativeBuildInputs = (old.nativeBuildInputs or [ ]) ++ [ pkgs.cmake pkgs.autoPatchelfHook ];
185
0 commit comments