-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Segfault on ccb_explore_adf -cb_type dr #4669
Comments
Hi @NegatioN, data.txt:
train the model:
crash:
|
That's great @ataymano, thanks for the prompt response 🙂 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. 🙂 |
* fix: fix #4669 by handling empty decision scores elements * simplify test * ensure empty predictions do not affect num_labeled as well as loss * Update conditional_contextual_bandit.cc * Bounds check for explicit inclusion * Formatting --------- Co-authored-by: Alexey Taymanov <41013086+ataymano@users.noreply.github.com>
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.
The text was updated successfully, but these errors were encountered: