Closed NegatioN closed 8 months ago
Hi @NegatioN, thank you for reporting this. Let me share simplified repro for further debug:
data.txt:
{"c":{"_multi":[{"f":"1"},{"f":"2"}],"_slots":[{"_inc":[0,1]},{"_inc":[1]}]},"_outcomes":[{"_label_cost":1.0,"_a":[0,1],"_p":[0.5,0.5]},{"_label_cost":0.0,"_a":[1],"_p":[1]}]}
train the model:
vw --ccb_explore_adf --dsjson -d data.txt -f model.bin
crash:
vw --ccb_explore_adf --dsjson -d data.txt -i model.bin --epsilon 0 -t
That's great @ataymano, thanks for the prompt response :slightly_smiling_face: If you have some time though, can you explain quickly how the example I provided ends up with empty decision elements? Maybe there's something I could learn here. To my eyes it seems like all the slots have plenty of actions to choose from. (I'm not very experienced with Vowpal though.)
And, when you guys are happy with the PR, how long do you usually wait before releasing new a new version?
Yeah but decisions are still made sequentially. So in this example we can be in trouble if we choose action 1 for the first slot. And that is enforced (in repro) during training process by positive cost for chosen 0 action (=> we learn that action 1 is better than 0 for the first slot) and turning off exploration in test command line (--epsilon 0) to deterministically choose what we think is good.
Hi @ataymano , I was wondering if there's any progress on this? It seemed to be going so smoothly with the PR. Just pinging in, in case it fell by the wayside over the holidays. :slightly_smiling_face:
Could I trouble you guys to do a release of the library as well? We prefer not to build from source unless absolutely necessary.
@NegatioN how are you consuming VW? python package? or something else
@lalo , Python and Java bindings mainly, why?
Describe the bug
When training a model, and later running it in test-mode, somehow a segfault is produced.
Output from debug build:
I expect an example of data that is trainable, to also be testable, without segfaulting.
How to reproduce
PROVIDED_EXAMPLE_FILE:
Version
9.6.0, 9.9.0, source
OS
Ubuntu 22.04 + MacOs
Language
Python, CLI
Additional context
Thanks for your time, and just ask if there's more information that you would need to solve this.