Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ target("infinicore_cpp_api")
end)

-- Moore mate: force link torch_python to bypass --as-needed
if has_config("moore-gpu") and has_config("aten") and has_config("flash-attn") then
if has_config("moore-gpu") and has_config("aten") then
before_link(function (target)
local torch_dir = os.iorunv(PYTHON, {"-c",
"import torch, os; print(os.path.dirname(torch.__file__))"}):trim()
Expand Down
Loading