Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escaping: Escape characters +-&|!(){}[]^"~*?:\ with \, e.g. \+
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
<image>

image
image

  
  
Posted 3 years ago
Votes Newest

Answers 46


Not sure on the cause but if you do:

mp.set_start_method('fork', force=True)

There is no semaphore leakage

  
  
Posted 3 years ago

works most of time, this occurs only few times

  
  
Posted 3 years ago

Hmm let me check something

  
  
Posted 3 years ago

check on the iteration on the right side,
i tried to start the experiment few times, and sometimes, 1 or 2 of the experiment seems just won’t start

  
  
Posted 3 years ago

No sure what O'm seeing here

  
  
Posted 3 years ago

image

  
  
Posted 3 years ago

seems the not logging problem is back

  
  
Posted 3 years ago

Let me check, see what can be learned ...

  
  
Posted 3 years ago

yes, that’s the error i got

  
  
Posted 3 years ago

we need to evaluate the result across many random seeds, so each task needs to log the result independently.

Ohh that kind of makes sense to me 🙂
Yes I'm also getting:

/usr/local/lib/python3.6/multiprocessing/semaphore_tracker.py:143: UserWarning: semaphore_tracker: There appear to be 74 leaked semaphores to clean up at shutdown
  len(cache))

Not sure about that ...

  
  
Posted 3 years ago

and one experiment takes 40 hours to run, so i let them run in parallel

  
  
Posted 3 years ago

in my case, we need to evaluate the result across many random seeds, so each task needs to log the result independently.

  
  
Posted 3 years ago

Wouldn't it make sense to use a single one ?

  
  
Posted 3 years ago

Why are you initializing 3 diff Tasks ?

  
  
Posted 3 years ago

Let me check that for a sec

  
  
Posted 3 years ago

No sure, here is the code

  
  
Posted 3 years ago

there is a semaphore warning, not sure if it’s related

Can you resend it?
Is the Task marked as closed when the process ends ?

  
  
Posted 3 years ago

when i run the code i send you the other day, logging is perfect, but at the end of the code there is a semaphore warning, not sure if it’s related

  
  
Posted 3 years ago

No need, it should auto close it if you started it with Task.init (or the agent executed it)

  
  
Posted 3 years ago

one quick question is that do i need to do some task.close() at the end of each process?

  
  
Posted 3 years ago

Releasing an RC

  
  
Posted 3 years ago

YEY

  
  
Posted 3 years ago

Nice job

  
  
Posted 3 years ago

working very well actually

  
  
Posted 3 years ago

🤞

  
  
Posted 3 years ago

Let me know if it solved it, if it did I'll make sure we push the RC

  
  
Posted 3 years ago

Thanks!

  
  
Posted 3 years ago

yeah sure

  
  
Posted 3 years ago

Can I send you a wheel to test ?

  
  
Posted 3 years ago

Let me know if you need some tests

  
  
Posted 3 years ago
24K Views
46 Answers
3 years ago
7 months ago
Tags
Similar posts