File: README.md

package info (click to toggle)
pytorch-audio 0.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 5,512 kB
  • sloc: python: 15,606; cpp: 1,352; sh: 257; makefile: 21
file content (23 lines) | stat: -rw-r--r-- 723 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Torchscript Backward Compatibility Test Suite

This directory contains tools to generate Torchscript object of a specific torchaudio version (given that you have the corresponding environments setup correctly) and validate it in the current version.

## Usage

### Generate torchscript object

```
./main.py --mode generate --version 0.6.0
```

will generate Torchscript dump files in [`assets`](./assets/) directory. This requries your Python runtime to have torchaudio `0.6.0`.


### Validate torchscript object


```
./main.py --mode validate --version 0.6.0
```

will validate if the Torchscript files created in the previous step are compatible with the version of torchaudio available in your environment (master).