Skip to content

Commit

Permalink
Isolate src code and testing for DeepSpeed-FastGen (#4610)
Browse files Browse the repository at this point in the history
Co-authored-by: Jeff Rasley <[email protected]>
Co-authored-by: Michael Wyatt <[email protected]>
Co-authored-by: Ammar Ahmad Awan <[email protected]>
Co-authored-by: Masahiro Tanaka <[email protected]>
Co-authored-by: Logan Adams <[email protected]>
  • Loading branch information
6 people authored Nov 7, 2023
1 parent 5580066 commit f6fce50
Show file tree
Hide file tree
Showing 64 changed files with 6,878 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/nv-a6000.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: nv-a6000

on:
pull_request:
paths-ignore:
- 'docs/**'
- 'blogs/**'
paths:
- "deepspeed/inference/v2/**"
- "tests/unit/inference/v2/**"
workflow_dispatch:

concurrency:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nv-accelerate-v100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
merge_group:
branches: [ master ]
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nv-inference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
merge_group:
branches: [ master ]
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nv-lightning-v100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
merge_group:
branches: [ master ]
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nv-megatron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
merge_group:
branches: [ master ]
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nv-pre-compile-ops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
merge_group:
branches: [ master ]
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nv-torch-latest-cpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
merge_group:
branches: [ master ]
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nv-torch-latest-v100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
merge_group:
branches: [ master ]
schedule:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nv-transformers-v100.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
paths-ignore:
- 'docs/**'
- 'blogs/**'
- 'deepspeed/inference/v2/**'
merge_group:
branches: [ master ]
schedule:
Expand Down
17 changes: 17 additions & 0 deletions deepspeed/inference/v2/kernels/includes/activation_type.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright (c) Microsoft Corporation.
// SPDX-License-Identifier: Apache-2.0

// DeepSpeed Team

#pragma once

enum ActivationType {
GELU = 0,
RELU = 1,
SILU = 2,
GEGLU = 3,
ReGLU = 4,
SiGLU = 5,
IDENTITY = 6,
InvalidType = -1
};
Loading

0 comments on commit f6fce50

Please sign in to comment.