Comments (11)
I think.. it is same issue to #17 . Is there're any updates or PR about this issue?
from fast_rnnt.
Could you list the files in your python site-packages, especially the files whose name contains fast_rnnt?
from fast_rnnt.
there're only directories... It is okay....?
![image](https://private-user-images.githubusercontent.com/7908677/258853218-33a5687e-ae89-4841-a1ed-7bb135783fd6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjEzMjIyNTksIm5iZiI6MTcyMTMyMTk1OSwicGF0aCI6Ii83OTA4Njc3LzI1ODg1MzIxOC0zM2E1Njg3ZS1hZTg5LTQ4NDEtYTFlZC03YmIxMzU3ODNmZDYucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDcxOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA3MThUMTY1OTE5WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9YTYzZDQ0ZTI4YTlmNDkyOTQ5NWFhNDBlNDVlZTA4NmM0OGZhY2ZiYTg5YjI2NmUyMzEzM2FjNTQzMTM0YTk1YiZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ._1iGEe3Hz-j4Cnv53VMT1psdBIQAw1oHqG53cdrsUr4)
from fast_rnnt.
FYI tree of fast_rnnt, fast_rnnt-1.2.dist-info
from fast_rnnt.
Is there a file containing _fast_rnnt in its name?
from fast_rnnt.
no.. not at all. Actually I wondering the reason why from/import _fast_rnnt
in the _init_.py, mutual_information.py
init.py GitRepo
from _fast_rnnt import with_cuda
mutual_information.py GitRepo
import _fast_rnnt
from fast_rnnt.
After checking pypi.org, I am afraid you cannot use "pip install fast_rnnt" on Windows at pesent.
from fast_rnnt.
Oh my..
But, I also faced same issue, when I installed from source(git clone, python setup.py...), too.
Is it known issue to you/team?
- If I install and run the code on Ubuntu, I will be okay to using fast_rnnt with cuda?
from fast_rnnt.
Actually I wondering the reason why from/import _fast_rnnt in the init.py, mutual_information.py
I bet you have seen torch._C
. If you don't know what _C
is, please google it.
Similarly, we have _fast_rnnt
, which is a Python extension module, implemented in C++/CUDA.
Is it known issue to you/team?
I just looked at the file setup.py and find that it does not support Windows.
Please use the following commands to build fast_rnnt for windows:
git clone https://github.com/k2-fsa/fast_rnnt
cd fast_rnnt
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
cmake --build . --target _fast_rnnt --config Release
After running the above commands, please find the directory where _fast_rnnt*.pyd
locates and add the directory to the environment variable PYTHONPATH
.
Similarly, find the directory where mutual_information_core.dll
locates and add it to the environment variable path
.
Finally, add the directory /path/to/fast_rnnt/fast_rnnt/python
to the environment variable PYTHONPATH
.
Now you should be able to run python -c "import fast_rnnt"
.
from fast_rnnt.
If I install and run the code on Ubuntu, I will be okay to using fast_rnnt with cuda?
Yes, I believe so.
from fast_rnnt.
I think @pkufool will support installing fast_rnnt on Windows so that others won't have the same issue as yours.
from fast_rnnt.
Related Issues (20)
- An error occurred while compiling the source code HOT 2
- CUDA error HOT 6
- Trying to Understand pruned_loss HOT 7
- #error -- unsupported GUN version ! gcc version later than 5.3 are not supported! HOT 2
- Train loss is nan or inf HOT 29
- Combination of fast_rnnt and fast_emit HOT 12
- missing: CUDNN_LIBRARY_PATH CUDNN_INCLUDE_PATH when installing HOT 3
- AssertionError: assert py.is_contiguous() HOT 12
- RuntimeError: invalid device ordinal HOT 19
- ModuleNotFoundError: No module named '_fast_rnnt' HOT 2
- Issue in installation HOT 7
- [Help wanted] Support BUILD_FOR_ALL_ARCHS
- Why T>=S constraint? HOT 15
- Error while installing HOT 6
- pip error HOT 4
- pip error
- [feature request] Enable github actions HOT 1
- T>=S constraint in latest pip version HOT 1
- RuntimeError: Failed to find native CUDA module HOT 10
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 fast_rnnt.