mirror of
https://github.com/csukuangfj/kaldifeat.git
synced 2025-08-09 18:12:17 +00:00
Support torch 1.7.1
This commit is contained in:
parent
7b2702dfa2
commit
dde9410f4c
4
.github/workflows/publish_to_pypi.yml
vendored
4
.github/workflows/publish_to_pypi.yml
vendored
@ -20,6 +20,8 @@ on:
|
|||||||
push:
|
push:
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
|
branches:
|
||||||
|
- torch-1.7.1
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
pypi:
|
pypi:
|
||||||
@ -29,7 +31,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-18.04, macos-10.15]
|
os: [ubuntu-18.04, macos-10.15]
|
||||||
cuda: ["10.1"]
|
cuda: ["10.1"]
|
||||||
torch: ["1.8.1"]
|
torch: ["1.7.1"]
|
||||||
python-version: [3.6, 3.7, 3.8]
|
python-version: [3.6, 3.7, 3.8]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
2
.github/workflows/run-tests.yml
vendored
2
.github/workflows/run-tests.yml
vendored
@ -32,7 +32,7 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-18.04, macos-10.15]
|
os: [ubuntu-18.04, macos-10.15]
|
||||||
cuda: ["10.1"]
|
cuda: ["10.1"]
|
||||||
torch: ["1.8.1"]
|
torch: ["1.7.1"]
|
||||||
python-version: [3.6, 3.7, 3.8]
|
python-version: [3.6, 3.7, 3.8]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
2
.github/workflows/style_check.yml
vendored
2
.github/workflows/style_check.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-18.04, macos-10.15]
|
os: [ubuntu-18.04, macos-10.15]
|
||||||
python-version: [3.7, 3.9]
|
python-version: [3.7, 3.8, 3.9]
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -4,7 +4,7 @@ cmake_minimum_required(VERSION 3.8 FATAL_ERROR)
|
|||||||
|
|
||||||
project(kaldifeat)
|
project(kaldifeat)
|
||||||
|
|
||||||
set(kaldifeat_VERSION "1.4")
|
set(kaldifeat_VERSION "1.5.1.dev")
|
||||||
|
|
||||||
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
||||||
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/lib")
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
#include "kaldifeat/csrc/feature-mfcc.h"
|
#include "kaldifeat/csrc/feature-mfcc.h"
|
||||||
|
|
||||||
#include "kaldifeat/csrc/matrix-functions.h"
|
#include "kaldifeat/csrc/matrix-functions.h"
|
||||||
|
#include "torch/fft.h"
|
||||||
|
|
||||||
namespace kaldifeat {
|
namespace kaldifeat {
|
||||||
|
|
||||||
|
@ -7,6 +7,7 @@
|
|||||||
#include "kaldifeat/csrc/feature-plp.h"
|
#include "kaldifeat/csrc/feature-plp.h"
|
||||||
|
|
||||||
#include "kaldifeat/csrc/feature-functions.h"
|
#include "kaldifeat/csrc/feature-functions.h"
|
||||||
|
#include "torch/fft.h"
|
||||||
#include "torch/torch.h"
|
#include "torch/torch.h"
|
||||||
|
|
||||||
namespace kaldifeat {
|
namespace kaldifeat {
|
||||||
|
@ -6,6 +6,8 @@
|
|||||||
|
|
||||||
#include "kaldifeat/csrc/feature-spectrogram.h"
|
#include "kaldifeat/csrc/feature-spectrogram.h"
|
||||||
|
|
||||||
|
#include "torch/fft.h"
|
||||||
|
|
||||||
namespace kaldifeat {
|
namespace kaldifeat {
|
||||||
|
|
||||||
std::ostream &operator<<(std::ostream &os, const SpectrogramOptions &opts) {
|
std::ostream &operator<<(std::ostream &os, const SpectrogramOptions &opts) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user