Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Build Status](https://dev.azure.com/adsbrain/Fastseq/_apis/build/status/NickNickGo.fastseq?branchName=azure-pipelines)](https://dev.azure.com/adsbrain/Fastseq/_build/latest?definitionId=2&branchName=azure-pipelines)

<h1 align="Center"> <p> FastSeq </p> </h1>

# Introduction
Expand Down
19 changes: 19 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
jobs:
- job: BuildDocker
displayName: Build Docker
steps:
- script: |
# --publish-all because I need a random port
echo ${PWD}
ls
python -m pip install -r requirements.txt
echo Install done!
ls
python tests/run_fairseq_tests.py
echo tests done!
echo ${PWD}
name: UnitTests
22 changes: 22 additions & 0 deletions azure-pipelinesBKP.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Starter pipeline
# Start with a minimal pipeline that you can customize to build and deploy your code.
# Add steps that build, run tests, deploy, and more:
# https://aka.ms/yaml
jobs:
- job: BuildDocker
displayName: Build Docker
steps:
- script: |
# --publish-all because I need a random port
echo ${PWD}
echo ${PWD}
cd fastseq
python -m pip install -r requirements.txt
echo Install done!
echo ${LS}
cd tests
echo ${PWD}
python run_fairseq_tests.py
echo tests done!
echo ${PWD}
name: UnitTests
2 changes: 1 addition & 1 deletion fastseq/optimizer/fairseq/beam_search_optimizer_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class MultiheadAttentionV2(MultiheadAttention):
"""

def __init__(self,
embed_dim,
embed_dim__,
num_heads,
kdim=None,
vdim=None,
Expand Down