-
Notifications
You must be signed in to change notification settings - Fork 20
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
Docker build failing #20
Comments
Have you solved this? We tested this part, no issue had occurred. Our code can also run with the torch's distributed data parallel without apex. Maybe you just need to modify the code a little bit. |
Hi. I seem to be getting the same issue. Any idea what the problem might be and what I can do to fix it? |
This might be caused by the update of apex repo. I suggest comment this step and try to install apex manually later. Or just use torch's distributed data parallel to replace the usage of apex. |
Thank you for your answer, it seems to work fine for me commenting this command line then start my container and git clone, pip install apex. |
I've been facing the same problem, you've mentioned changing |
hey, I did as you mentioned, but it is failing with the below error message "module 'torch.cuda.amp' has no attribute 'float_function'". Traceback (most recent call last): any workaround or can I comment it? Thanks in advance |
Hello,
I'm sorry but I don't work on this project anymore and I don't have access
to this code now ..
I hope you will find the solution
Good luck in your project
Jean
Le jeu. 15 août 2024 à 12:06, Nishanth D ***@***.***> a
écrit :
… Thank you for your answer, it seems to work fine for me commenting this
command line then start my container and git clone, pip install apex.
Indeed, apex.amp is deprecated I had to change from apex import amp to from
torch.cuda import amp
hey, I did as you mentioned, but it is failing with the below error
message "module 'torch.cuda.amp' has no attribute 'float_function'".
Traceback (most recent call last):
File "/home/RNNPose/tools/eval.py", line 26, in
from builder import (
File "/home/RNNPose/builder/rnnpose_builder.py", line 1, in
from builder import losses_builder
File "/home/RNNPose/builder/losses_builder.py", line 2, in
from model import losses
File "/home/RNNPose/model/losses.py", line 22, in
class Loss(nn.Module):
File "/home/RNNPose/model/losses.py", line 65, in Loss
@amp <https://github.com/amp>.float_function
AttributeError: module 'torch.cuda.amp' has no attribute 'float_function'
any workaround or can I comment it? Thanks in advance
—
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AY6JIF2PKE5YCZIL3YT5XBDZRR4RZAVCNFSM6AAAAABMR5XPOCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJRGAYTCMJVGY>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
I have a problem while running
docker build
. I get the following error:do you know how to solve this? It seems that this is due to apex.
The text was updated successfully, but these errors were encountered: