mirror of
https://github.com/huggingface/candle.git
synced 2025-06-17 02:58:50 +00:00
Attempt nb2
This commit is contained in:
6
.github/workflows/ci_cuda.yaml
vendored
6
.github/workflows/ci_cuda.yaml
vendored
@ -10,7 +10,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
AWS_REGION: us-east-1
|
AWS_REGION: us-east-1
|
||||||
EC2_AMI_ID: ami-03cfed9ea28f4b002
|
EC2_AMI_ID: ami-06fa4e191ed73d026
|
||||||
EC2_INSTANCE_TYPE: g5.xlarge
|
EC2_INSTANCE_TYPE: g5.xlarge
|
||||||
EC2_SUBNET_ID: subnet-931b34f5,subnet-ecb993cd,subnet-943dc2d8,subnet-45371f1a,subnet-ee93e0df,subnet-fddc3dfc
|
EC2_SUBNET_ID: subnet-931b34f5,subnet-ecb993cd,subnet-943dc2d8,subnet-45371f1a,subnet-ee93e0df,subnet-fddc3dfc
|
||||||
EC2_SECURITY_GROUP: sg-030175c435ac141d6
|
EC2_SECURITY_GROUP: sg-030175c435ac141d6
|
||||||
@ -56,8 +56,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout repository
|
- name: Checkout repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Setup tmate session
|
|
||||||
uses: mxschmitt/action-tmate@v3
|
|
||||||
- name: Install Rust Stable
|
- name: Install Rust Stable
|
||||||
uses: actions-rs/toolchain@v1
|
uses: actions-rs/toolchain@v1
|
||||||
with:
|
with:
|
||||||
@ -66,7 +64,7 @@ jobs:
|
|||||||
override: true
|
override: true
|
||||||
- uses: Swatinem/rust-cache@v2
|
- uses: Swatinem/rust-cache@v2
|
||||||
- name: Test (cuda)
|
- name: Test (cuda)
|
||||||
run: cargo test --features cuda
|
run: $HOME/.cargo/bin/cargo test --features cuda
|
||||||
stop-runner:
|
stop-runner:
|
||||||
name: Stop self-hosted EC2 runner
|
name: Stop self-hosted EC2 runner
|
||||||
needs:
|
needs:
|
||||||
|
Reference in New Issue
Block a user