Skip to content

bazel构建出现问题 #19

@zsan2023

Description

@zsan2023

Issue Type

Build/Install

Modules Involved

Others

Have you reproduced the bug with SPU HEAD?

Yes

Have you searched existing issues?

Yes

SPU Version

OS Platform and Distribution

Ubuntu 22.04

Python Version

3.10.14

Compiler Version

No response

Current Behavior?

在进行这一步时:
bazel build -c opt examples/python/ml/flax_gpt2/...
bazel build -c opt examples/python/ml/flax_bert/...
bazel build -c opt examples/python/ml/flax_vit/...
出现:

Image

由于这个环境配置无法从本地的repo.bzl修改,而是临时文件,所以无法修改使用国内镜像源。尝试设置proxy但是没有效果。

Standalone code to reproduce the issue

在进行这一步时bazel build -c opt examples/python/ml/flax_gpt2/...
bazel build -c opt examples/python/ml/flax_bert/...
bazel build -c opt examples/python/ml/flax_vit/...
出现<img width="1863" height="342" alt="Image" src="https://github.com/user-attachments/assets/3e1197de-42fe-49cf-8bcc-1102d8595a6a" />

由于这个环境配置无法从本地的repo.bzl修改而是临时文件所以无法修改使用国内镜像源尝试设置proxy但是没有效果

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions