Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update v2.0-pre #953

Merged
merged 65 commits into from
Apr 14, 2022
Merged

update v2.0-pre #953

merged 65 commits into from
Apr 14, 2022

Commits on Sep 8, 2021

  1. Configuration menu
    Copy the full SHA
    9ac1e78 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2021

  1. Support indexing 2-axes RaggedTensor, Support slicing for RaggedTensor (

    k2-fsa#825)
    
    * Support index 2-axes RaggedTensor, Support slicing for RaggedTensor
    
    * Fix compiling errors
    
    * Fix unit test
    
    * Change RaggedTensor.data to RaggedTensor.values
    
    * Fix style
    
    * Add docs
    
    * Run nightly-cpu when pushing code to nightly-cpu branch
    pkufool authored Sep 14, 2021
    Configuration menu
    Copy the full SHA
    bbe0ded View commit details
    Browse the repository at this point in the history
  2. Prune with max_arcs in IntersectDense (k2-fsa#820)

    * Add checking for array constructor
    
    * Prune with max arcs
    
    * Minor fix
    
    * Fix typo
    
    * Fix review comments
    
    * Fix typo
    pkufool authored Sep 14, 2021
    Configuration menu
    Copy the full SHA
    2c28070 View commit details
    Browse the repository at this point in the history
  3. Release v1.8

    pkufool committed Sep 14, 2021
    Configuration menu
    Copy the full SHA
    210175c View commit details
    Browse the repository at this point in the history

Commits on Sep 15, 2021

  1. Create a ragged tensor from a regular tensor. (k2-fsa#827)

    * Create a ragged tensor from a regular tensor.
    
    * Add tests for creating ragged tensors from regular tensors.
    
    * Add more tests.
    
    * Print ragged tensors in a way like what PyTorch is doing.
    
    * Fix test cases.
    csukuangfj authored Sep 15, 2021
    Configuration menu
    Copy the full SHA
    33a212c View commit details
    Browse the repository at this point in the history

Commits on Sep 16, 2021

  1. Configuration menu
    Copy the full SHA
    971af7d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    646704e View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2021

  1. Support printing ragged tensors in a more compact way. (k2-fsa#831)

    * Support printing ragged tensors in a more compact way.
    
    * Disable support for torch 1.3.1
    
    * Fix test failures.
    csukuangfj authored Sep 17, 2021
    Configuration menu
    Copy the full SHA
    8030001 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2021

  1. Add levenshtein alignment (k2-fsa#828)

    * Add levenshtein graph
    
    * Contruct k2.RaggedTensor in python part
    
    * Fix review comments, return aux_labels in ctc_graph
    
    * Fix tests
    
    * Fix bug of accessing symbols
    
    * Fix bug of accessing symbols
    
    * Change argument name, add levenshtein_distance interface
    
    * Fix test error, add tests for levenshtein_distance
    
    * Fix review comments and add unit test for c++ side
    
    * update the interface of levenshtein alignment
    
    * Fix review comments
    pkufool authored Sep 19, 2021
    Configuration menu
    Copy the full SHA
    d73a5b5 View commit details
    Browse the repository at this point in the history
  2. Release v1.9

    pkufool committed Sep 19, 2021
    Configuration menu
    Copy the full SHA
    f2fd997 View commit details
    Browse the repository at this point in the history

Commits on Sep 25, 2021

  1. Configuration menu
    Copy the full SHA
    601d663 View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2021

  1. Configuration menu
    Copy the full SHA
    8694fee View commit details
    Browse the repository at this point in the history

Commits on Oct 8, 2021

  1. Fix installation doc. (k2-fsa#841)

    * Fix installation doc.
    
    Remove Windows support. Will fix it later.
    
    * Fix style issues.
    csukuangfj authored Oct 8, 2021
    Configuration menu
    Copy the full SHA
    86e5479 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2021

  1. Configuration menu
    Copy the full SHA
    b72589c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    6ac9795 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2021

  1. Configuration menu
    Copy the full SHA
    2537a3f View commit details
    Browse the repository at this point in the history

Commits on Oct 23, 2021

  1. Add doc about how to install a CPU version of k2. (k2-fsa#850)

    * Add doc about how to install a CPU version of k2.
    
    * Remove property setter of Fsa.labels
    
    * Update Ubuntu version in GitHub CI since 16.04 reaches end-of-life.
    csukuangfj authored Oct 23, 2021
    Configuration menu
    Copy the full SHA
    cae610a View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. Configuration menu
    Copy the full SHA
    d061bc6 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2021

  1. Configuration menu
    Copy the full SHA
    7178d67 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Configuration menu
    Copy the full SHA
    e6db5dc View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2021

  1. Update all the example codes in the docs (k2-fsa#861)

    * Update all the example codes in the docs
    
    I have run all the modified codes with  the newest version k2.
    
    * do some changes
    luomingshuang authored Nov 4, 2021
    Configuration menu
    Copy the full SHA
    e8c589a View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2021

  1. Configuration menu
    Copy the full SHA
    fd5565d View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2021

  1. Update README. (k2-fsa#873)

    * Update README.
    
    * Fix typos.
    csukuangfj authored Nov 12, 2021
    Configuration menu
    Copy the full SHA
    bdcaaf8 View commit details
    Browse the repository at this point in the history

Commits on Nov 19, 2021

  1. Configuration menu
    Copy the full SHA
    31e1307 View commit details
    Browse the repository at this point in the history

Commits on Nov 24, 2021

  1. Configuration menu
    Copy the full SHA
    12f5915 View commit details
    Browse the repository at this point in the history

Commits on Nov 29, 2021

  1. Release v1.11. (k2-fsa#881)

    It contains bugfixes.
    csukuangfj authored Nov 29, 2021
    Configuration menu
    Copy the full SHA
    a0d75c8 View commit details
    Browse the repository at this point in the history

Commits on Dec 5, 2021

  1. Update documentation for hash.h (k2-fsa#887)

    * Update documentation for hash.h
    
    * Typo fix
    danpovey authored Dec 5, 2021
    Configuration menu
    Copy the full SHA
    2cb3eea View commit details
    Browse the repository at this point in the history

Commits on Dec 14, 2021

  1. Wrap MonotonicLowerBound (k2-fsa#883)

    * Wrap MonotonicLowerBound
    
    * Add unit tests
    
    * Support int64; update documents
    pkufool authored Dec 14, 2021
    Configuration menu
    Copy the full SHA
    aab2dd7 View commit details
    Browse the repository at this point in the history

Commits on Dec 25, 2021

  1. Remove extra commas after 'TOPSORTED' properity and fix RaggedTensor …

    …constructer parameter 'byte_offset' out-of-range bug. (k2-fsa#892)
    
    Co-authored-by: gzchenduisheng <[email protected]>
    drawfish and gzchenduisheng authored Dec 25, 2021
    Configuration menu
    Copy the full SHA
    5517b3e View commit details
    Browse the repository at this point in the history

Commits on Jan 6, 2022

  1. Configuration menu
    Copy the full SHA
    5f4cc79 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Fix k2.ragged.create_ragged_shape2 (k2-fsa#901)

    Before the fix, we have to specify both `row_splits` and `row_ids`
    while calling `k2.create_ragged_shape2` even if one of them is `None`.
    
    After this fix, we only need to specify one of them.
    csukuangfj authored Jan 13, 2022
    Configuration menu
    Copy the full SHA
    e799928 View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2022

  1. Add rnnt loss (k2-fsa#891)

    * Add cpp code of mutual information
    
    * mutual information working
    
    * Add rnnt loss
    
    * Add pruned rnnt loss
    
    * Minor Fixes
    
    * Minor fixes & fix code style
    
    * Fix cpp style
    
    * Fix code style
    
    * Fix s_begin values in padding positions
    
    * Fix bugs related to boundary; Fix s_begin padding value; Add more tests
    
    * Minor fixes
    
    * Fix comments
    
    * Add boundary to pruned loss tests
    pkufool authored Jan 17, 2022
    Configuration menu
    Copy the full SHA
    d6323d5 View commit details
    Browse the repository at this point in the history

Commits on Jan 25, 2022

  1. Configuration menu
    Copy the full SHA
    d3fbb1b View commit details
    Browse the repository at this point in the history
  2. Release v1.12 (k2-fsa#907)

    pkufool authored Jan 25, 2022
    Configuration menu
    Copy the full SHA
    9a91ec6 View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2022

  1. Change the sign of the rnnt_loss and add reduction argument (k2-fsa#911)

    * Add right boundary constrains for s_begin
    
    * Minor fixes to the interface of rnnt_loss to make it return positive value
    
    * Fix comments
    
    * Release a new version
    
    * Minor fixes
    
    * Minor fixes to the docs
    pkufool authored Jan 29, 2022
    Configuration menu
    Copy the full SHA
    3367c7f View commit details
    Browse the repository at this point in the history
  2. Fix building doc. (k2-fsa#908)

    * Fix building doc.
    
    * Minor fixes.
    
    * Minor fixes.
    csukuangfj authored Jan 29, 2022
    Configuration menu
    Copy the full SHA
    779a9bd View commit details
    Browse the repository at this point in the history
  3. Fix building doc (k2-fsa#912)

    * Fix building doc
    
    * Fix flake8
    pkufool authored Jan 29, 2022
    Configuration menu
    Copy the full SHA
    47c4b75 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2022

  1. Support torch 1.10.x (k2-fsa#914)

    * Support torch 1.10.x
    
    * Fix installing PyTorch.
    csukuangfj authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    cf32e2d View commit details
    Browse the repository at this point in the history
  2. Update INSTALL.rst (k2-fsa#915)

    * Update INSTALL.rst
    
    Setting a few additional env variables to enable compilation from source *with CUDA GPU computation support enabled*
    alexei-v-ivanov authored Feb 8, 2022
    Configuration menu
    Copy the full SHA
    9e7b2a9 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2022

  1. Fix torch/cuda/python versions in the doc. (k2-fsa#918)

    * Fix torch/cuda/python versions in the doc.
    
    * Minor fixes.
    csukuangfj authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    43ed450 View commit details
    Browse the repository at this point in the history
  2. Fix building for CUDA 11.6 (k2-fsa#917)

    * Fix building for CUDA 11.6
    
    * Minor fixes.
    csukuangfj authored Feb 10, 2022
    Configuration menu
    Copy the full SHA
    f4fefe4 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2022

  1. Implement Unstack (k2-fsa#920)

    * Implement unstack
    
    * Remove code does not relate to this PR
    
    * Remove for loop on output dim; add Unstack ragged
    
    * Add more docs
    
    * Fix comments
    
    * Fix docs & unit tests
    pkufool authored Feb 20, 2022
    Configuration menu
    Copy the full SHA
    56edc82 View commit details
    Browse the repository at this point in the history
  2. SubsetRagged & PruneRagged (k2-fsa#919)

    * Extend interface of SubsampleRagged.
    
    * Add interface for pruning ragged tensor.
    
    * Draft of new RNN-T decoding method
    
    * Implements SubsampleRaggedShape
    
    * Implements PruneRagged
    
    * Rename subsample-> subset
    
    * Minor fixes
    
    * Fix comments
    
    Co-authored-by: Daniel Povey <[email protected]>
    pkufool and danpovey authored Feb 20, 2022
    Configuration menu
    Copy the full SHA
    854b792 View commit details
    Browse the repository at this point in the history

Commits on Feb 22, 2022

  1. Add Hash64 (k2-fsa#895)

    * Add hash64
    
    * Fix tests
    
    * Resize hash64
    
    * Fix comments
    
    * fix typo
    pkufool authored Feb 22, 2022
    Configuration menu
    Copy the full SHA
    3cc74f1 View commit details
    Browse the repository at this point in the history

Commits on Feb 25, 2022

  1. Modified rnnt (k2-fsa#902)

    * Add modified mutual_information_recursion
    
    * Add modified rnnt loss
    
    * Using more efficient way to fix boundaries
    
    * Fix modified pruned rnnt loss
    
    * Fix the s_begin constrains of pruned loss for modified version transducer
    pkufool authored Feb 25, 2022
    Configuration menu
    Copy the full SHA
    0feefc7 View commit details
    Browse the repository at this point in the history
  2. Fix Stack (k2-fsa#925)

    * return the correct layer
    
    * unskip the test
    wgb14 authored Feb 25, 2022
    Configuration menu
    Copy the full SHA
    2239c39 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2022

  1. Fix 'TypeError' of rnnt_loss_pruned function. (k2-fsa#924)

    * Fix 'TypeError' of rnnt_loss_simple function.
    
    Fix 'TypeError' exception when calling rnnt_loss_simple(..., return_grad=False)  at validation steps.
    
    * Fix 'MutualInformationRecursionFunction.forward()' return type check error for pytorch < 1.10.x
    
    * Modify return type.
    
    * Add documents about class MutualInformationRecursionFunction.
    
    * Formated code style.
    
    * Fix rnnt_loss_smoothed return type.
    
    Co-authored-by: gzchenduisheng <[email protected]>
    drawfish and gzchenduisheng authored Feb 27, 2022
    Configuration menu
    Copy the full SHA
    5ee082e View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2022

  1. Support torch 1.11.0 and CUDA 11.5 (k2-fsa#931)

    * Support torch 1.11.0 and CUDA 11.5
    csukuangfj authored Mar 15, 2022
    Configuration menu
    Copy the full SHA
    36e2b8d View commit details
    Browse the repository at this point in the history

Commits on Mar 16, 2022

  1. Implement Rnnt decoding (k2-fsa#926)

    * first working draft of rnnt decoding
    
    * FormatOutput works...
    
    * Different num frames for FormatOutput works
    
    * Update docs
    
    * Fix comments, break advance into several stages, add more docs
    
    * Add python wrapper
    
    * Add more docs
    
    * Minor fixes
    
    * Fix comments
    pkufool authored Mar 16, 2022
    Configuration menu
    Copy the full SHA
    f4b4247 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9a0d72c View commit details
    Browse the repository at this point in the history
  3. Release v1.14

    pkufool committed Mar 16, 2022
    Configuration menu
    Copy the full SHA
    6833270 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2022

  1. Configuration menu
    Copy the full SHA
    613e03d View commit details
    Browse the repository at this point in the history
  2. Fix compiler warnings. (k2-fsa#937)

    * Fix compiler warnings.
    csukuangfj authored Mar 17, 2022
    Configuration menu
    Copy the full SHA
    281378f View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2022

  1. Minor fixes for RNN-T decoding. (k2-fsa#938)

    * Minor fixes for RNN-T decoding.
    csukuangfj authored Mar 19, 2022
    Configuration menu
    Copy the full SHA
    10b9423 View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2022

  1. Configuration menu
    Copy the full SHA
    846c39c View commit details
    Browse the repository at this point in the history
  2. Implement linear_fsa_with_self_loops. (k2-fsa#940)

    * Implement linear_fsa_with_self_loops.
    csukuangfj authored Mar 29, 2022
    Configuration menu
    Copy the full SHA
    0f65420 View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2022

  1. Configuration menu
    Copy the full SHA
    a830c60 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2022

  1. Rnnt allow different encoder/decoder dims (k2-fsa#945)

    * Allow different encoder and decoder dim in rnnt_pruning
    
    * Bug fixes
    danpovey authored Apr 3, 2022
    Configuration menu
    Copy the full SHA
    8c28c86 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2022

  1. Configuration menu
    Copy the full SHA
    d977865 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2022

  1. Fix nightly windows CPU build (k2-fsa#948)

    * Fix nightly building k2 for windows.
    
    * Run nightly build only if there are new commits.
    csukuangfj authored Apr 7, 2022
    Configuration menu
    Copy the full SHA
    a4d76d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 8, 2022

  1. Check the versions of PyTorch and CUDA at the import time. (k2-fsa#949)

    * Check the versions of PyTorch and CUDA at the import time.
    csukuangfj authored Apr 8, 2022
    Configuration menu
    Copy the full SHA
    4fb6b88 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2022

  1. Configuration menu
    Copy the full SHA
    9ebd757 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2022

  1. Implement ArrayOfRagged (k2-fsa#927)

    * Implement ArrayOfRagged
    
    * Fix issues and pass tests
    
    * fix style
    
    * change few statements of functions and move the definiation of template Array1OfRagged to header file
    
    * add offsets test code
    LvHang authored Apr 12, 2022
    Configuration menu
    Copy the full SHA
    3b83183 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2022

  1. Fix precision (k2-fsa#951)

    * Fix precision
    
    * Using different pow version for windows and *nix
    
    * Use int64_t pow
    
    * Minor fixes
    pkufool authored Apr 13, 2022
    Configuration menu
    Copy the full SHA
    1b29f0a View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2022

  1. Configuration menu
    Copy the full SHA
    93d528a View commit details
    Browse the repository at this point in the history