Giter VIP home page Giter VIP logo

Comments (6)

rafaelvalle avatar rafaelvalle commented on May 18, 2024 1

Thanks for letting us know,. We reverted the PR while working on a solution.

from waveglow.

WesLee88524 avatar WesLee88524 commented on May 18, 2024 1

update to pytorch-1.0.0 but another question appears ,"ImportError: torch.utils.ffi is deprecated. Please use cpp extensions instead."

from waveglow.

rafaelvalle avatar rafaelvalle commented on May 18, 2024

@dchaws Please pull from master and update your pytorch to 1.0

from waveglow.

siddharthbhonge avatar siddharthbhonge commented on May 18, 2024

Update pytorch but still facing same issue

from waveglow.

siddharthbhonge avatar siddharthbhonge commented on May 18, 2024

slicing multiple dimensions at the same time isn't supported yet
@torch.jit.script
def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels):
n_channels_int = n_channels[0]
in_act = input_a+input_b
t_act = torch.nn.functional.tanh(in_act[:, :n_channels_int, :])
~~~~~~ <--- HERE
s_act = torch.nn.functional.sigmoid(in_act[:, n_channels_int:, :])
acts = t_act * s_act
return acts

from waveglow.

Cpruce avatar Cpruce commented on May 18, 2024

operation failed in interpreter:
@torch.jit.script
def fused_add_tanh_sigmoid_multiply(input_a, input_b, n_channels):
n_channels_int = n_channels[0]
in_act = input_a+input_b
~~~~~~~~~~~~~~~ <--- HERE
t_act = torch.tanh(in_act[:, :n_channels_int, :])
s_act = torch.sigmoid(in_act[:, n_channels_int:, :])
acts = t_act * s_act
return acts

pytorch 1.1


Epoch: 0
Traceback (most recent call last):
File "train.py", line 182, in
train(num_gpus, args.rank, args.group_name, **train_config)
File "train.py", line 121, in train
outputs = model((mel, audio))
File "/home/cory/anaconda3/envs/nvc/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/media/cory/ssd_dsk/waveglow/glow.py", line 240, in forward
output = self.WN[k]((audio_0, spect))
File "/home/cory/anaconda3/envs/nvc/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/media/cory/ssd_dsk/waveglow/glow.py", line 162, in forward
torch.IntTensor([self.n_channels]))
File "/home/cory/anaconda3/envs/nvc/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
RuntimeError: /pytorch/torch/csrc/jit/fuser/cuda/fused_kernel.cpp:137: a PTX JIT compilation failed

pytorch 1.0.1

Update

It seems the root cause for me was CUDA OOM and was showing the jit error message for some reason. Using PT 1.1 with jit now

from waveglow.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.