Skip to content

WIP: Use Ubuntu 16.04 in GitHub actions via docker#890

Open
csukuangfj wants to merge 1 commit into
k2-fsa:masterfrom
csukuangfj:fix-ci
Open

WIP: Use Ubuntu 16.04 in GitHub actions via docker#890
csukuangfj wants to merge 1 commit into
k2-fsa:masterfrom
csukuangfj:fix-ci

Conversation

@csukuangfj
Copy link
Copy Markdown
Collaborator

Fixes #888 and #854


It seems to work.

Comment thread .github/workflows/build_conda.yml Outdated
- python-version: 3.9
torch: "1.7.0"
torch: ["1.7.1"]
# torch: ["1.6.0", "1.7.0", "1.7.1", "1.8.0", "1.8.1", "1.9.0", "1.9.1", "1.10"]
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will enable it after verification.

@pzelasko
Copy link
Copy Markdown
Contributor

pzelasko commented Dec 8, 2021

Woohoo! Thanks!

@csukuangfj
Copy link
Copy Markdown
Collaborator Author

@pzelasko
Could you try the following commands on your cluster:

conda create -n foo_env
conda activate foo_env
conda install -c k2-fsa -c pytorch k2=1.11 cpuonly pytorch=1.5.0
pip install dataclasses
pip install typing_extensions
python3 -m k2.version

It prints the following for me:

Collecting environment information...

k2 version: 1.11
Build type: Release
Git SHA1:
Git date:
Cuda used to build k2:
cuDNN used to build k2:
Python version used to build k2: 3.6
OS used to build k2: Ubuntu 16.04.7 LTS
CMake version: 3.18.2
GCC version: 5.4.0
CMAKE_CUDA_FLAGS:
CMAKE_CXX_FLAGS:  -D_GLIBCXX_USE_CXX11_ABI=0 -Wno-unused-variable -Wno-strict-overflow
PyTorch version used to build k2: 1.5.0
PyTorch is using Cuda:
NVTX enabled: False
With CUDA: False
Disable debug: True
Sync kernels : False
Disable checks: False

The CUDA versions are still in building and will be available in a few hours.
You can find them at https://anaconda.org/k2-fsa/k2/files once they are built.

@pzelasko
Copy link
Copy Markdown
Contributor

pzelasko commented Dec 8, 2021

Thanks, that seems to be working!

$ python3 -m k2.version
Collecting environment information...

k2 version: 1.11
Build type: Release
Git SHA1:
Git date:
Cuda used to build k2:
cuDNN used to build k2:
Python version used to build k2: 3.8
OS used to build k2: Ubuntu 16.04.7 LTS
CMake version: 3.18.2
GCC version: 5.4.0
CMAKE_CUDA_FLAGS:
CMAKE_CXX_FLAGS:  -D_GLIBCXX_USE_CXX11_ABI=0 -Wno-unused-variable -Wno-strict-overflow
PyTorch version used to build k2: 1.5.0
PyTorch is using Cuda:
NVTX enabled: False
With CUDA: False
Disable debug: True
Sync kernels : False
Disable checks: False

@pzelasko
Copy link
Copy Markdown
Contributor

pzelasko commented Dec 8, 2021

It also works on a different system with an even older compiler / stdlib (g++ (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28)), that is great. Thanks a lot!

@csukuangfj
Copy link
Copy Markdown
Collaborator Author

Now there are CUDA versions. Please have a try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prebuilt packages compatible with older OS

2 participants