Comments (4)
Traceback (most recent call last):
File "app.py", line 196, in
model = MIDIModel(tokenizer).to(device=opt.device)
File "C:\Users\admin\python\lib\site-packages\lightning_fabric\utilities\device_dtype_mixin.py", line 54, in to
return super().to(*args, **kwargs)
File "C:\Users\admin\python\lib\site-packages\torch\nn\modules\module.py", line 989, in to
return self._apply(convert)
File "C:\Users\admin\python\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply
module._apply(fn)
File "C:\Users\admin\python\lib\site-packages\torch\nn\modules\module.py", line 641, in _apply
module._apply(fn)
File "C:\Users\admin\python\lib\site-packages\torch\nn\modules\module.py", line 664, in apply
param_applied = fn(param)
File "C:\Users\admin\python\lib\site-packages\torch\nn\modules\module.py", line 987, in convert
return t.to(device, dtype if t.is_floating_point() or t.is_complex() else None, non_blocking)
File "C:\Users\admin\python\lib\site-packages\torch\cuda_init.py", line 221, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled
from midi-model.
try pip install -U transformers optimum
from midi-model.
you need install cuda and pytorch gpu.
from midi-model.
You should learn to solve problems on your own. Don't keep asking me.
from midi-model.
Related Issues (14)
- Error HOT 1
- Issue
- Convert Pytorch Lightning model to Huggingface model issues HOT 5
- Custom MIDI option ? HOT 11
- Thank you again! :) HOT 12
- Error when training HOT 23
- RuntimeError: probability tensor contains either `inf`, `nan` or element < 0 HOT 18
- Colab fails (possibly need to downgrade gradio?) HOT 4
- 关于编码问题想请教一下 HOT 8
- Fine tuning notebook HOT 1
- Error while training HOT 1
- Train.py - ValueError: Transformers now supports natively BetterTransformer optimizations HOT 2
- Issue with shm.dll of torch moduel
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 midi-model.