Open lisaong opened 3 weeks ago
I'm seeing this too. The link to the tarball is now restricted.
In case anyone is looking into this: I've tried accessing https://tritonlang.blob.core.windows.net via an internal redhat.com network, a private network and via an online anonymizer. It looks like the site is locked down for some reason and access to the tarball is restricted as indicated in the initial report by @lisaong
Is there a way to provide a 1-time download for the tarball? Perhaps through a direct commit to the triton repo itself?
We are also seeing this when trying to build triton in pytorch: https://github.com/pytorch/pytorch/actions/runs/10421322991/job/28863284428
cc @ptillet @Jokeren
That URL was changed back in June: https://github.com/triton-lang/triton/commit/06e6799f4eba6035ec35c528e8fefd3d4d724b6f
Perhaps torch is on an older commit?
The url is till blocked - any updates?
I also faced this HTTP 409 error when building PyTorch 2.4 + ROCm. I think this problem of Triton not building points to AOTriton (AMD's fork) using the old upstream commit containing the now broken URL.
I'm also seeing the similar issue. Any updates?
This is still an issue, AOTriton still can not be build
For anyone attempting to build aotriton from ROCm. aotriton references a DIFFERENT repository than triton-lang, and I have filed an issue here: https://github.com/ROCm/triton/issues/631
That URL was changed back in June: 06e6799
Perhaps torch is on an older commit?
Thank you! Using the new URL solved this problem.
@jayfurmanek torch is indeed on an older commit. Is there any plan to provide the older llvm-49af6502-ubuntu-x64.tar.gz tarball at the new oatriton download link? If not, is there a way I and others could get a copy?
For anyone who might be in a similar situation:
I've run into the same issue recently when trying to build PT for ROCm from source. I've tried a couple of ideas, including upgrading LLVM in AMD's triton fork, etc., all in vain. In the end what worked well for me was to follow the Building with custom LLVM part of README.
49af6502c6dcb4a7f7520178bd14df396f78240c
.export ...
)No more HTTP 409/missing blobs/version mismatch problems - everything went smoothly.
Thanks. I had actually stumbled across this today and was trying it out :) It seems like it works -- I'm just worried that the AMD llvm may have additional flags we're not compiling with. Hopefully someone from the AMD ROCm team can confirm the above instructions are valid.
I also had mixed results on building Triton (upstream commit cb3d79a185e40c9d8a579bea07747a8a8d157d52
and AMD's triton commit 9b73a543a5545960bcaf2830900b0560eec443c5
) with this particular LLVM commit (49af6502c6dcb4a7f7520178bd14df396f78240c)
. I seem to cannot get past this error installing the Python package:
CMake Error at CMakeLists.txt:61 (find_package):
Found package configuration file:
/root/triton-llvm-build/lib/cmake/mlir/MLIRConfig.cmake
but it set MLIR_FOUND to FALSE so package "MLIR" is considered to be NOT
FOUND. Reason given by package:
The following imported targets are referenced, but are missing:
LLVMNVPTXCodeGen LLVMNVPTXDesc LLVMNVPTXInfo
-- Configuring incomplete, errors occurred
I built LLVM with CMake using the following flags:
-B /root/triton-llvm-build \
-DCMAKE_BUILD_TYPE=Release \
-DLLVM_DEFAULT_TARGET_TRIPLE="x86_64-pc-linux-gnu" \
-DLLVM_TARGETS_TO_BUILD="AMDGPU;NVPTX;Native" \
-DLLVM_ENABLE_PROJECTS="mlir" \
-DLLVM_ENABLE_ASSERTIONS=ON \
-DLLVM_CCACHE_BUILD=ON \
-G Ninja
The find command shows these targets are present, despite what CMake says.
find /root/triton-llvm-build -name "*LLVMNVPTXCodeGen*"
/root/triton-llvm-build/lib/Target/NVPTX/CMakeFiles/LLVMNVPTXCodeGen.dir
/root/triton-llvm-build/lib/libLLVMNVPTXCodeGen.a
find /root/triton-llvm-build -name "*LLVMNVPTXDesc*"
/root/triton-llvm-build/lib/Target/NVPTX/MCTargetDesc/CMakeFiles/LLVMNVPTXDesc.dir
/root/triton-llvm-build/lib/libLLVMNVPTXDesc.a
find /root/triton-llvm-build -name "*LLVMNVPTXInfo*"
/root/triton-llvm-build/lib/Target/NVPTX/TargetInfo/CMakeFiles/LLVMNVPTXInfo.dir
/root/triton-llvm-build/lib/libLLVMNVPTXInfo.a
Environment variables used:
LLVM_LIBRARY_DIR=/root/triton-llvm-build/lib
LLVM_INCLUDE_DIRS=/root/triton-llvm-build/include
LLVM_SYSPATH=/root/triton-llvm-build
https://tritonlang.blob.core.windows.net/llvm-builds/llvm-ed4e505c-ubuntu-x64.tar.gz, this link is working again which was not working earlier.
$ wget https://tritonlang.blob.core.windows.net/llvm-builds/llvm-ed4e505c-ubuntu-x64.tar.gz --2024-08-27 03:25:50-- https://tritonlang.blob.core.windows.net/llvm-builds/llvm-ed4e505c-ubuntu-x64.tar.gz Resolving tritonlang.blob.core.windows.net (tritonlang.blob.core.windows.net)... 20.47.62.100, 20.47.62.112, 20.47.62.60 Connecting to tritonlang.blob.core.windows.net (tritonlang.blob.core.windows.net)|20.47.62.100|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 977588953 (932M) [application/x-tar] Saving to: ‘llvm-ed4e505c-ubuntu-x64.tar.gz’
llvm-ed4e505c-ubuntu-x64.tar.gz 0%[ ] 31.63K 11.9KB/s
I can also confirm the links are working again.
This was working earlier, so recently happened.
PublicAccessNotPermitted