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

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

csukuangfj
Copy link
Collaborator

Fixes #888 and #854


It seems to work.

- 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
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
Contributor

pzelasko commented Dec 8, 2021

Woohoo! Thanks!

@csukuangfj
Copy link
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
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
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
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