Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

tutorial didn't mention how to disable hybridization #18962

Open
szha opened this issue Aug 19, 2020 · 13 comments
Open

tutorial didn't mention how to disable hybridization #18962

szha opened this issue Aug 19, 2020 · 13 comments

Comments

@szha
Copy link
Member

szha commented Aug 19, 2020

Description

The problem doc is at https://mxnet.apache.org/versions/1.6/api/python/docs/tutorials/packages/gluon/blocks/hybridize.html

The corresponding file is https://github.com/apache/incubator-mxnet/blob/master/docs/python_docs/python/tutorials/packages/gluon/blocks/hybridize.md

@encichou
Copy link

hello,I have same question。do you find some function to disable hybrization?
and i have another quesion that is how to release gpu memory?
could you help me?

@szha
Copy link
Member Author

szha commented Aug 24, 2020

you can disable hybridization with net.hybridize(active=False)

@szha
Copy link
Member Author

szha commented Aug 24, 2020

GPU memory held by memory pool can be released by mx.gpu(0).empty_cache()

@encichou
Copy link

GPU memory held by memory pool can be released by mx.gpu(0).empty_cache()

thank you for your reply, i will try your suggestion.

@szha
Copy link
Member Author

szha commented Aug 24, 2020

np. if it works, it would be great if you could help update the doc linked in the issue to mention this functionality.

@encichou
Copy link

np. if it works, it would be great if you could help update the doc linked in the issue to mention this functionality.

ok ,I am trying the function. but i do not kown how to update the doc. should i git commit the modified doc- https://github.com/apache/incubator-mxnet/blob/master/docs/python_docs/python/tutorials/packages/gluon/blocks/hybridize.md?

@AnshuTrivedi
Copy link
Contributor

Hi @szha ,I want to work on this issue.Please assign to me.

@jyotibalodhi
Copy link
Contributor

Hello @szha, I would like to work on this issue, kindly let me know how should I proceed with this.

@szha
Copy link
Member Author

szha commented Mar 4, 2021

Hi @jyotibalodhi, I recommend checking out our contribution guide for guides and expectation for the contributions. Feel free to ping me if you have questions.

@jyotibalodhi
Copy link
Contributor

Hi, @szha I went through the contribution guidelines. And I was wondering if only I have to add details about this instruction net.hybridize(active=False) for disabling hybridization or anything else needs to be done.
I am new to the community and open source contributions as well, so it would be great if you could let me know how can I contact you regarding any further questions related to the project.

@szha
Copy link
Member Author

szha commented Mar 4, 2021

Yes, I think that's the intended scope of this issue.

The "stay connected" section includes the communication channels the developers use such as Apache's mailing list and Slack #mxnet channel.

@Pheewww
Copy link

Pheewww commented Feb 25, 2023

hey @szha is the issue resolved or work is still going on? i would also like to work on it if possible?

@SID262000
Copy link

It looks like this issue has been a little over 6 months.
Let me know if it's still open and needs attention, Thanks
cc: @szha

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants