diff --git a/README.md b/README.md index 64c38c2..f9cb6dc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,5 @@ +[](https://dev.azure.com/adsbrain/Fastseq/_build/latest?definitionId=2&branchName=azure-pipelines) +
FastSeq
# Introduction diff --git a/azure-pipelines.yml b/azure-pipelines.yml new file mode 100644 index 0000000..d7537b1 --- /dev/null +++ b/azure-pipelines.yml @@ -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 \ No newline at end of file diff --git a/azure-pipelinesBKP.yml b/azure-pipelinesBKP.yml new file mode 100644 index 0000000..ff7eced --- /dev/null +++ b/azure-pipelinesBKP.yml @@ -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 \ No newline at end of file diff --git a/fastseq/optimizer/fairseq/beam_search_optimizer_v1.py b/fastseq/optimizer/fairseq/beam_search_optimizer_v1.py index 55f7dbe..6105957 100644 --- a/fastseq/optimizer/fairseq/beam_search_optimizer_v1.py +++ b/fastseq/optimizer/fairseq/beam_search_optimizer_v1.py @@ -53,7 +53,7 @@ class MultiheadAttentionV2(MultiheadAttention): """ def __init__(self, - embed_dim, + embed_dim__, num_heads, kdim=None, vdim=None,