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

【test:se_gpu_pjrt_client_test】ERROR: No test targets were found, yet testing was requested #15054

Open
FatJhon opened this issue Jul 18, 2024 · 1 comment

Comments

@FatJhon
Copy link

FatJhon commented Jul 18, 2024

  1. set env:
    export CUDA_PATH=/usr/local/cuda
    export PATH=$PATH:$CUDA_PATH/bin
    export PATH=/home/weight/tools/llvm-17.x/bin:$PATH

  2. compile:
    1)../configure.py --backend=CUDA --nccl
    2)bazelisk build --config=cuda --config=verbose_logs -s --verbose_failures //xla/... --jobs=30 --cxxopt=-v --strip=never --copt=-g --copt=-ggdb

  3. run test:
    bazelisk test //xla/pjrt/gpu:se_gpu_pjrt_client_test --nocheck_visibility --strip=never --copt=-g --copt=-ggdb --config=cuda

  4. result:
    WARNING: The following configs were expanded more than once: [cuda]. For repeatable flags, repeats are counted twice and may lead to unexpected behavior.
    WARNING: All specified test targets were excluded by filters
    ERROR: No test targets were found, yet testing was requested

how can i set target of cuda,thanks!

@huhuiqi7
Copy link

same error.

cmd:
bazel test --repo_env=HERMETIC_PYTHON_VERSION --test_output=all --spawn_strategy=sandboxed //xla/hlo/experimental/auto_sharding:auto_sharding_test --python_path=/root/miniconda3/envs/py39/bin/python --sandbox_debug

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

2 participants