-
Notifications
You must be signed in to change notification settings - Fork 160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
version unmatched when i build from source code #1083
Comments
@ehuaa The issue was raised because the script wants to install torch==1.7.1+cu110 as it depends; this is configured via TORCH_BLADE_CI_BUILD_TORCH_VERSION, see https://github.com/alibaba/BladeDISC/blob/main/pytorch_blade/scripts/build_pytorch_blade.sh#L32. BladeDISC already supports torch 2.0; You can skip the torch pip installation in the script build_pytorch_blade.sh. |
okay, thanks, i will try it later. And the docker image was not used during the installation of building from source code, i wonder if i missed some steps... |
ERROR: @local_config_cuda//:enable_cuda :: Error loading option @local_config_cuda//:enable_cuda: no such package '@llvm-raw//utils/bazel': java.io.IOException: Error downloading [https://storage.googleapis.com/mirror.tensorflow.org/github.com/llvm/llvm-project/archive/8c712296fb75ff73db08f92444b35c438c01a405.tar.gz, https://github.com/llvm/llvm-project/archive/8c712296fb75ff73db08f92444b35c438c01a405.tar.gz] to /home/banach/.cache/bazel/_bazel_banach/73d137a07d4a9c12dceaec8145974e25/external/llvm-raw/temp14641944661529926033/8c712296fb75ff73db08f92444b35c438c01a405.tar.gz: Premature EOF |
@ehuaa BladeDISC workspace is built with bazel. Thus we use bazel to resolve a lot of project third-party dependencies. The error might be caused since there is a downloading failure. Please check your network and retry. |
**/tests/torchscript:since_1_14.graph.test FAILED in 0.8s Executed 37 out of 37 tests: 36 tests pass and 1 fails locally.** After i fixed the network problem, i failed with one test above ,is this the reason of the traceback above? TEST 'MLIR torchscript :: since_1_14.graph' FAILED
|
i fixed this problem by pull the latest pr you committed last week, thanks! |
After I git clone this project, i tried to compile from source code.
when i ran into bash ./scripts/build_pytorch_blade.sh
i got this error while my pytorch version is
torch.version
'2.1.0.dev20230316+cpu'
and torchvision.version is
'0.16.0.dev20230316+cpu'
which are the latest version right from the pip.
Can you tell me a way not to downgrade my pytorch or torchvision and install BladeDisc Successfully by change build_pytorch_blade.sh or requirements.txt a little bit? Thank you very much!
The text was updated successfully, but these errors were encountered: