Skip to content

Commit

Permalink
libtorch: remove nvtx dependency since v2.4.1 (#6158)
Browse files Browse the repository at this point in the history
  • Loading branch information
longhao-li authored Jan 14, 2025
1 parent 2981ab3 commit 71b100e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/l/libtorch/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ package("libtorch")
end
if package:config("cuda") then
package:add("deps", "cuda", {configs = {utils = {"nvrtc", "cudnn", "cufft", "curand", "cublas", "cudart_static"}}})
package:add("deps", "nvtx")
if package:version():lt("2.5.0") then
package:add("deps", "nvtx")
end
end
if package:config("distributed") then
package:add("deps", "libuv")
Expand Down

0 comments on commit 71b100e

Please sign in to comment.