Comments (6)
I can take a look at some point, but it's not high priority for me right now. If someone else runs into this issue, they should make a comment here.
from k2.
Thank you for reporting.
I am trying to reproduce it locally and will try to fix it if I could reproduce it.
from k2.
Sorry that I could not reproduce it with the latest commit of cub.
Here is my change to cub.cmake
:
diff --git a/cmake/cub.cmake b/cmake/cub.cmake
index dd66606a..51e85b67 100644
--- a/cmake/cub.cmake
+++ b/cmake/cub.cmake
@@ -20,18 +20,22 @@ function(download_cub)
include(FetchContent)
- set(cub_URL "https://github.com/NVlabs/cub/archive/1.15.0.tar.gz")
- set(cub_URL2 "https://hub.nuaa.cf/NVlabs/cub/archive/1.15.0.tar.gz")
- set(cub_HASH "SHA256=1781ee5eb7f00acfee5bff88e3acfc67378f6b3c24281335e18ae19e1f2ff685")
+ # set(cub_URL "https://github.com/NVlabs/cub/archive/1.15.0.tar.gz")
+ # set(cub_URL2 "https://hub.nuaa.cf/NVlabs/cub/archive/1.15.0.tar.gz")
+ # set(cub_HASH "SHA256=1781ee5eb7f00acfee5bff88e3acfc67378f6b3c24281335e18ae19e1f2ff685")
+
+ set(cub_URL "https://github.com/NVlabs/cub/archive/0fc3c3701632a4be906765b73be20a9ad0da603d.zip")
+ set(cub_URL2 "https://hub.nuaa.cf/NVlabs/cub/archive/0fc3c3701632a4be906765b73be20a9ad0da603d.zip")
+ set(cub_HASH "SHA256=88dc9f86564f4a76f4407cdc98eec2dd1cfdca9d92fcf6e1d2a51f6456e118b5")
# If you don't have access to the Internet,
# please pre-download cub
set(possible_file_locations
- $ENV{HOME}/Downloads/cub-1.15.0.tar.gz
- ${CMAKE_SOURCE_DIR}/cub-1.15.0.tar.gz
- ${CMAKE_BINARY_DIR}/cub-1.15.0.tar.gz
- /tmp/cub-1.15.0.tar.gz
- /star-fj/fangjun/download/github/cub-1.15.0.tar.gz
+ $ENV{HOME}/Downloads/cub-0fc3c3701632a4be906765b73be20a9ad0da603d.zip
+ ${CMAKE_SOURCE_DIR}/cub-0fc3c3701632a4be906765b73be20a9ad0da603d.zip
+ ${CMAKE_BINARY_DIR}/cub-0fc3c3701632a4be906765b73be20a9ad0da603d.zip
+ /tmp/cub-0fc3c3701632a4be906765b73be20a9ad0da603d.zip
+ /star-fj/fangjun/download/github/cub-0fc3c3701632a4be906765b73be20a9ad0da603d.zip
)
foreach(f IN LISTS possible_file_locations)
I am using torch 1.13.0, cuda 11.6
There are no PyTorch versions for cuda 12.3 and we don't have such an environment locally.
k2 can be built for all currently available versions of PyTorch.
from k2.
There are no PyTorch versions for cuda 12.3 and we don't have such an environment locally.
Just to note, there is no problem with mixing cuda toolkit versions within a single application. The main requirement is that you use a cuda driver (aka, libcuda.so and the associated .ko files). There are a few instances in NeMo where we depend upon, e.g., cuda 12.3 or cuda 12.4 features, but use pytorch versions that link to older versions of the cuda toolkit.
from k2.
Related Issues (20)
- Use system kaldifeat HOT 1
- k2 source build PyTorch 2.1 + Cuda 12.1 fail. HOT 5
- in doc of k2 ,there is a mistake in explain for autograd in log semiring HOT 2
- zipformer error HOT 26
- K2 installation on Windowd HOT 15
- Could k2.ctc_graph() be replaced by k2.ctc_topo() + k2.compose() ? HOT 6
- Question about the implementation of MWER HOT 2
- Question about k2.union() function. HOT 4
- Installation on Windows with GPU HOT 2
- FST is going down abruptly. HOT 7
- Can not copy k2.RaggedTensor from CPU to GPU by RaggedTensor.to(device_id) HOT 1
- K2 installation is not working (not up to date for the new cuda and pytorch versions) HOT 4
- A warning is always printed when there is an extreme reduction in the encoder output frame rate. HOT 2
- ModuleNotFoundError: No module named '_k2' HOT 2
- Nbest online decoding bug HOT 15
- ModuleNotFoundError: No module named '_k2' HOT 5
- error: conflicting declaration ‘typedef struct CUevent_st* HOT 7
- nbest C++ api use too much vram HOT 5
- Torchscript export error for torch.finfo function HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k2.