Skip to content
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

not able to build with CPU #1318

Open
Joejiong opened this issue Dec 20, 2024 · 0 comments
Open

not able to build with CPU #1318

Joejiong opened this issue Dec 20, 2024 · 0 comments

Comments

@Joejiong
Copy link

Describe the bug
A clear and concise description of what the bug is.

2024-12-20 21:40:01,693     INFO make dir: /disc/tao/third_party/mkldnn/build
2024-12-20 21:40:01,693     INFO clear dir: /disc/tao/third_party/mkldnn/build, clear hidden files: True
Traceback (most recent call last):
  File "scripts/python/tao_build.py", line 920, in <module>
    raise e
  File "scripts/python/tao_build.py", line 918, in <module>
    main()
  File "scripts/python/tao_build.py", line 874, in main
    config_mkldnn(root, args)
  File "/disc/scripts/python/common_setup.py", line 283, in config_mkldnn
    ensure_empty_dir(build_dir, clear_hidden=True)
  File "/disc/scripts/python/common_setup.py", line 172, in ensure_empty_dir
    os.makedirs(dir)
  File "/usr/lib/python3.8/os.py", line 223, in makedirs
    mkdir(name, mode)
FileExistsError: [Errno 17] File exists: '/disc/tao/third_party/mkldnn/build'

To Reproduce
Steps to reproduce the behavior.
bash ./scripts/ci/build_and_test.sh --cpu-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant