-
Notifications
You must be signed in to change notification settings - Fork 1
NPU add titan test #55
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
Conversation
uses: ./.github/workflows/_ascend_npu_torchtitan.yml | ||
with: | ||
runner: "linux-arm64-npu-2" | ||
image: ${{ needs.prepare.outputs.image }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use ascendai/cann:8.0.0.beta1-910b-ubuntu22.04-py3.10
temporarily
benchmark: | ||
name: Run benchmarks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why remove this?
|
||
jobs: | ||
setup_environment: | ||
name: Run Torchtitan Environment |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
name: Run Torchtitan Environment | |
name: run torchtitan tests |
- name: Install nightly torchvision and torchaudio | ||
run: | | ||
pip install --pre torchvision torchaudio --no-deps --index-url https://download.pytorch.org/whl/nightly/cpu |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is no need to install these two
- name: Run torchtitan integration_test | ||
working-directory: torchtitan | ||
run: | | ||
mkdir artifacts-to-be-uploaded | ||
npu_count=$(python -c "import torch; print(torch.npu.device_count())") | ||
python ./tests/integration_tests.py artifacts-to-be-uploaded --ngpu ${npu_count} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds good. And should we upload this dir artifacts-to-be-uploaded
?
Please rebase your branch after #60 landed |
No description provided.