-
Notifications
You must be signed in to change notification settings - Fork 14
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
Too many branches make branch globs fail #159
Comments
Probably repeating the obvious, but explicitly assigning the variables causes the same issue.
|
Yep. This one is the primary annoyance of mine right now. The fix is fairly involved and I estimate it at 2-3 weeks worth of work. Any volunteers to learn some Scala? Bribe: Fix this one and you get to be a co-author on the paper about the Cool Algorithm that fixes it. I suppose it's not much of a bribe since you will actually be an expert on ducttape by the time you're done. :) |
Grrr... We have got to get this fixed. This bug should be reclassified as showstopper. |
@jhclark , what is involved in getting this fixed? |
@jhclark It's been a year. :-( What is involved in fixing this? |
Seconded. I don't have a lot of time available, but it's painful writing hacks to get around this. |
Interesting update. If the glob is on params rather than on outputs, the slowdown doesn't occur.
|
Hello from 2020! Want to share my current work-around. Again, this does not work:
But this does:
So I've just been breaking the task that has too many globs into copies with four branches each, and then combining those copies in another task. Obviously this is non-ideal; I'd still like a fix if anyone has it. Rather than doing the full two-week fix, could we hack on some syntax sugar to make this kind of work-around easier? Also, out of curiosity, what exactly is the problem with globbing? Did the "Cool Algorithm" paper ever get published? Edit: Sorry, my original example wasn't quite right. |
That works, thanks! Is version 0.4 currently being worked on? I haven't seen any commits on this repo since 2015... |
Not since 2015. Consider that tarball the 0.4 release. |
Thanks, Lane!
…On Fri, Jan 24, 2020, 8:22 AM Lane Schwartz ***@***.***> wrote:
Closed #159 <#159>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#159?email_source=notifications&email_token=AAB7M3SMBRVOGLMTM7VXUTLQ7MIUNA5CNFSM4AJOTDB2YY3PNVWWK3TUL52HS4DFWZEXG43VMVCXMZLOORHG65DJMZUWGYLUNFXW5KTDN5WW2ZLOORPWSZGOWF64VHY#event-2977811103>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB7M3VFYAESF5CBBNXSVV3Q7MIUNANCNFSM4AJOTDBQ>
.
|
Hey @dowobeha , is it possible to upload the code for version 0.4 (or is that in master already)? |
(or maybe @jhclark knows, sorry for necroing this thread) |
I dont have the answer but I am so excited that someone might pick up the torch on this awesome project. I am a very happy user of this project and would be happy to contribute ;) |
I'm honestly not sure looking at the commit history. An old email suggests
that the fix for this issue should be committed.
The easiest way to tell at this point is to clone the repo and stress test
it with some of the very large branch point combinations from this repo.
If you're interested in picking up the torch, then let's talk about what
your goals are (finish off rough edges / implement new features / port the
whole dang thing to Python so more devs will hack on it). I think there's
also some current users hiding out at JHU as well, according to Kenton
Murray.
There's also always the option about finally writing a paper about ducttape
as a formalism (a not informidable task) if that's interesting to you.
…On Sun, May 16, 2021 at 9:01 AM Hyokun Yun ***@***.***> wrote:
I dont have the answer but I am so excited that someone might pick up the
torch on this awesome project. I am a very happy user of this project and
would be happy to contribute ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB7M3QR4KH45CFPRDU3NBLTN7T4NANCNFSM4AJOTDBQ>
.
|
Hi all! Welcome! So everything should already be committed, this is just not the correct repo anymore. All recent development has taken place at https://github.com/ExperimentWith/ducttape. That repo includes a v0.4 tag (https://github.com/ExperimentWith/ducttape/releases/tag/v0.4). Jon, btw, I'm still interested in the formalism paper, but I've forgotten everything you so painstakingly described to me. Lane |
OK. I'm pretty sure the stable branch is where the fixes are. That branch should be considered the primary working branch. |
OK. The stable branch is now the primary branch. Also, there is a tech report: https://github.com/ExperimentWith/ducttape/blob/stable/tech-report/report.tex |
Thanks for sharing the tech report. Just from reading the code, I had some difficulty understanding how hyperedges and grafts were defined. |
Hi, Some ducttape users at JHU use issues of this repo to keep track of the pitfalls in ducttape-0.4. Might be useful for future users and developers. Shuoyang |
Wow that is a a lot of new info, glad I necro-ed this issue. I'll read the tech report thanks |
Yeah, work with the ExperimentWith repo.
We can send a release email if you implement a new feature. Might inspire
others to come help. :)
…On Tue, May 18, 2021, 7:55 AM Patrick Fernandes ***@***.***> wrote:
Wow that is a a lot of new info, glad I necro-ed this issue. I'll read the
tech report thanks
Regarding what I plan to do with this @jhclark
<https://github.com/jhclark> , I would probably start slow, adding a
couple of features that I feel are missing (branch aggregation based only
the branches on plan rather than all), or fixing some annoying things
(ducttape seems to freeze if you re-order a branch).
But ye I think this project is a undervalued gem and eventually I would
like to port it to python (albeit that is a big endeouver)!
Given this, it would be better to probably fork from
https://github.com/ExperimentWith/ducttape/commits/stable right?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB7M3T34RUK7NHW2TGI2HLTOJ5WBANCNFSM4AJOTDBQ>
.
|
Does anyone have a good idea on how this could be implemented? Currently I have a gigantic tape file with a lot of branches, but each plan utilizes only few of them. I need to wait for like 10 mins every time I run ducttape with this tape file, so I was hoping to improve the speed of iteration. |
What takes 10m? The actual loading of the workflow or running the workflow for all branches? |
Loading of the workflow. Sure, I will add an issue there. Thanks for the
initiative.
…On Thu, May 27, 2021 at 2:39 AM Patrick Fernandes ***@***.***> wrote:
I need to wait for like 10 mins every time I run ducttape with this tape
file, so I was hoping to improve the speed of iteration.
What takes 10m? The actual loading of the workflow or running the workflow
for all branches?
If the latter (due to a branch aggregation) I would suggest temporarily
removing branch values every time you run a plan.
For the former, I suggest filing a bug/issue here
https://github.com/CoderPat/ducttape/tree/revive-ducttape .
I'll try to have a version 0.5 ready by next week and I'll start working
on improvements
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AARD2R4B2JOTUO4BRBVGNKDTPYHLRANCNFSM4AJOTDBQ>
.
|
Hey sorry for necroing again, but after a delay due to PhD life, version 0.5 is (finally) released! |
Excellent! Do you have a list of changes? I could potentially merge into
upstream
On Thu, Oct 7, 2021 at 7:06 PM Patrick Fernandes ***@***.***> wrote:
Hey sorry for necroing again, but after a delay due to PhD life, version
0.5 is (finally) released!
https://github.com/CoderPat/ducttape/releases/tag/v0.5
It was mostly a quality-of-life update, but ye I have a couple of features
I want in the future
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#159 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACRANMR3CEOBFFUGWWRW6LUFYYXZANCNFSM4AJOTDBQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
--
When a place gets crowded enough to require ID's, social collapse is not
far away. It is time to go elsewhere. The best thing about space travel
is that it made it possible to go elsewhere.
-- R.A. Heinlein, "Time Enough For Love"
|
Nice! Do we have proper branch globbing now? Or is this just changing build configs? |
@dowobeha ye it's in the release. I'll copy them below
I'll be happy to merge to upstream. But I'll probably maintain my fork since admin rights allows me more fine control over CI and other stuff (unless you don't mind giving me admin/manager access to upstream) @shuoyangd what do you mean by proper branch globbing? If you mean the slow down when branches increase, that was been fixed since 0.4 |
My bad -- I was thinking about this issue when I saw the title. I also don't believe that the slowness has been completely fixed since 0.4. Your comment on May 27th was also suggesting temporarily removing branches when things slow down. |
ahhh sorry I was misunderstanding the problem |
The following tape fails to run:
However, if the number of branch values are reduced, the tape runs fine:
Commit d68eadd checks in this broken example as
The text was updated successfully, but these errors were encountered: