Skip to content

Gradient Clipping #2125

Gradient Clipping

Gradient Clipping #2125

Workflow file for this run

on:
- push
- pull_request
jobs:
cargo-test:
name: cargo-test-nightly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- name: cargo build
uses: actions-rs/cargo@v1
with:
command: test
args: --no-run --features nightly,safetensors,numpy
- name: test CPU f32
uses: actions-rs/cargo@v1
with:
command: test
args: --tests --features nightly,safetensors,numpy
- name: test CPU f64
uses: actions-rs/cargo@v1
with:
command: test
args: --tests --features nightly,test-f64,safetensors,numpy
- name: doc tests
uses: actions-rs/cargo@v1
with:
command: test
args: --doc --features nightly,safetensors,numpy
- name: example tests
uses: actions-rs/cargo@v1
with:
command: test
args: --examples --features nightly,safetensors,numpy