Found 180 posts.
Search results Show results as topic list.
Technical Discussion » Python's multiprocessing
-
- Ostap
- 209 posts
- Offline
Technical Discussion » Python's multiprocessing
-
- Ostap
- 209 posts
- Offline
Hi,
I found that python multiprocessing is not starting from the Houdini UI but works from the hython.
For example, this small code snippet:
The same code works as expected (runs debug lines and process is alive) in the hython session but doesn't work in the Python Shell window from the running UI Houdini session.
Python threading works in both cases but in my circumstances, I'm using the multiprocessing approach, and at least would be nice to know why it doesn't work from the Houdini UI (H19.0.546).
I found that python multiprocessing is not starting from the Houdini UI but works from the hython.
For example, this small code snippet:
from multiprocessing import Process from time import sleep def foo(): print("Processing is running") sleep(3) print("Done") t=Process(target=foo) t.start() print("Is Process alive: ",t.is_alive()) t.join()
The same code works as expected (runs debug lines and process is alive) in the hython session but doesn't work in the Python Shell window from the running UI Houdini session.
Python threading works in both cases but in my circumstances, I'm using the multiprocessing approach, and at least would be nice to know why it doesn't work from the Houdini UI (H19.0.546).
PDG/TOPs » Remote Graph and Boost Priority
-
- Ostap
- 209 posts
- Offline
PDG/TOPs » Remote Graph and Boost Priority
-
- Ostap
- 209 posts
- Offline
PDG/TOPs » Remote Graph and Boost Priority
-
- Ostap
- 209 posts
- Offline
Hi,
Can you please explain why Remote Task Graph Table doesn't have an option to Boost Priority for workitem (while with a local graph it exists)?
Is there any way to send a custom command to boost workitem priority in the remote graph?
Can you please explain why Remote Task Graph Table doesn't have an option to Boost Priority for workitem (while with a local graph it exists)?
Is there any way to send a custom command to boost workitem priority in the remote graph?
PDG/TOPs » Many Work Items overloading PDG
-
- Ostap
- 209 posts
- Offline
PDG/TOPs » Control Frame Attribute in Partition
-
- Ostap
- 209 posts
- Offline
Thank you!
Note:
Sometimes I'm not sure if my question is real RFE (to log it by myself) or something useful to discuss widely.
So my apologies if I'm doing it wrong.
Note:
Sometimes I'm not sure if my question is real RFE (to log it by myself) or something useful to discuss widely.
So my apologies if I'm doing it wrong.
PDG/TOPs » Control Frame Attribute in Partition
-
- Ostap
- 209 posts
- Offline
Would it possible to add a possibility to control frame attribute in the partition or any other way?
Because it causing an issue in the later PartitionByFrame operation when incorrect frame (just a first one) is coming from the upstream partition.
Because it causing an issue in the later PartitionByFrame operation when incorrect frame (just a first one) is coming from the upstream partition.
Edited by Ostap - July 7, 2021 05:12:35
PDG/TOPs » Has anybody implemented the "Static Cook Hybrid Approach"?
-
- Ostap
- 209 posts
- Offline
Make sense but why do you need to skip workitems that have a parent Batch work item? As I understand render manager will not be responsible for dependencies - just releasing tasks by the trigger.
Also, probably need to skip all tasks without cmd.
Also, probably need to skip all tasks without cmd.
PDG/TOPs » Has anybody implemented the "Static Cook Hybrid Approach"?
-
- Ostap
- 209 posts
- Offline
At least I didn't find any "magic" method. You have to manage it by yourself.
Get all workitems in `onStartCook` method and then map it by name, id, command, or what is more suitable for you.
But there still a question for PDG "Batched" workitem. How do you want to mimic it in the render manager?
Get all workitems in `onStartCook` method and then map it by name, id, command, or what is more suitable for you.
But there still a question for PDG "Batched" workitem. How do you want to mimic it in the render manager?
PDG/TOPs » Has anybody implemented the "Static Cook Hybrid Approach"?
-
- Ostap
- 209 posts
- Offline
Hi Timur,
Nice to see you here!
As I understand, with this hybrid approach you need to create a flat task map of workitems on the Afanasy side and then it already depends on the particular implementation how you want to activate/submit those tasks.
And when you are asking "a way to get the same tasks (work items)" - I'm assuming, there no magic method from PDG, just your own way to detect and send the Mantra workitem (for example) to the Mantra block in Afanasy.
Nice to see you here!
As I understand, with this hybrid approach you need to create a flat task map of workitems on the Afanasy side and then it already depends on the particular implementation how you want to activate/submit those tasks.
And when you are asking "a way to get the same tasks (work items)" - I'm assuming, there no magic method from PDG, just your own way to detect and send the Mantra workitem (for example) to the Mantra block in Afanasy.
PDG/TOPs » Maximum Workitems
-
- Ostap
- 209 posts
- Offline
My question is more about TOP capability. For example, when I have more than 20 000 work items they are slowing down overall navigation noticeable, especially if I have visualized dependencies between them.
PDG/TOPs » Cook list of Wedges.
-
- Ostap
- 209 posts
- Offline
Maybe you can use TOP Split or Filter by expression nodes?
Another way (which I would prefer) is to try using the same wedge with different parameters based on input data.
Another way (which I would prefer) is to try using the same wedge with different parameters based on input data.
PDG/TOPs » Maximum Workitems
-
- Ostap
- 209 posts
- Offline
Do you have some design recommendation regarding workitem count for the one node and for the whole network?
Something like comfortable workflow for average computer and if user goes beyond some count then probably need redesign a network in some other way.
I undesrand that each case is induvidual but still ...
Something like comfortable workflow for average computer and if user goes beyond some count then probably need redesign a network in some other way.
I undesrand that each case is induvidual but still ...
PDG/TOPs » Custom file tag for AOV/Deep Mantra output
-
- Ostap
- 209 posts
- Offline
PDG/TOPs » Custom file tag for AOV/Deep Mantra output
-
- Ostap
- 209 posts
- Offline
Right now I know how to set the output file tag for Mantra beauty but is there any way to do it for AOVs and Deeps output?
Edited by Ostap - April 8, 2021 17:57:41
PDG/TOPs » Batched workitems in inProcess cook
-
- Ostap
- 209 posts
- Offline
It can help definitely to make a smoother transition to H18.5
Now can't even remember what else from important can be backported to H18.0
Thank you!
Now can't even remember what else from important can be backported to H18.0
Thank you!
PDG/TOPs » Batched workitems in inProcess cook
-
- Ostap
- 209 posts
- Offline
That is wonderful!
Looking to try the new build: H18.5.492
But is there any chance to have backported it to H18.0 (all features relevant to inProcess Batch Workitems)?
Looking to try the new build: H18.5.492
But is there any chance to have backported it to H18.0 (all features relevant to inProcess Batch Workitems)?
PDG/TOPs » Batched workitems in inProcess cook
-
- Ostap
- 209 posts
- Offline
Is there any way to properly run batched workitem with inProcess cook?
It gives me this warning:
Is there anything that I'm doing wrong?
It gives me this warning:
Batch work item 'pythonprocessor1_10' was marked as cooked before all of its sub items were cooked. This likely indicates an issue with the work item's node or scheduler configuration.
Is there anything that I'm doing wrong?
for upstream_item in range(2): new_item = item_holder.addWorkItem(inProcess=True, batch=True, batchSize=2)
PDG/TOPs » Workitem inProcess one thread
-
- Ostap
- 209 posts
- Offline
-
- Quick Links