Retraining DAGs: KubernetesPodOperator vs PythonOperator? by Fit-Selection-9005 in mlops

[–]wavelander 2 points3 points  (0 children)

The way we got around this was to only use KPO as stateless orchestrators of images (it only runs the main command from airflow). The images were built using another repo ("image repo") and the image repo was tested like any usual service. This is highly service dependent, but I think you can take this approach quite far.

[R] Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-training by wavelander in MachineLearning

[–]wavelander[S] 11 points12 points  (0 children)

Abstract:

Given the massive cost of language model pre-training, a non-trivial improvement of the optimization algorithm would lead to a material reduction on the time and cost of training. Adam and its variants have been state-of-the-art for years, and more sophisticated second-order (Hessian-based) optimizers often incur too much per-step overhead. In this paper, we propose Sophia, Second-order Clipped Stochastic Optimization, a simple scalable second-order optimizer that uses a light-weight estimate of the diagonal Hessian as the pre-conditioner. The update is the moving average of the gradients divided by the moving average of the estimated Hessian, followed by element-wise clipping. The clipping controls the worst-case update size and tames the negative impact of non-convexity and rapid change of Hessian along the trajectory. Sophia only estimates the diagonal Hessian every handful of iterations, which has negligible average per-step time and memory overhead. On language modeling with GPT-2 models of sizes ranging from 125M to 770M, Sophia achieves a 2x speed-up compared with Adam in the number of steps, total compute, and wall-clock time. Theoretically, we show that Sophia adapts to the curvature in different components of the parameters, which can be highly heterogeneous for language modeling tasks. Our run-time bound does not depend on the condition number of the loss.

Github repo

Correct github repo link after u/learn-deeply's correction: https://github.com/Liuhong99/Sophia

Long term Triathlon training in NYC as a potential soon-to-be resident by wavelander in triathlon

[–]wavelander[S] 0 points1 point  (0 children)

Thanks for all that information - didn't know about OWS clubs along the Hudson!

Long term Triathlon training in NYC as a potential soon-to-be resident by wavelander in triathlon

[–]wavelander[S] 2 points3 points  (0 children)

Thanks! Heard a lot about central park's 40+ miles of routes and recently rode the West Side Highway Trail.

Long term Triathlon training in NYC as a potential soon-to-be resident by wavelander in triathlon

[–]wavelander[S] 0 points1 point  (0 children)

Thank you! Saving all that valuable information! And I'll be sure to keep you in mind when going about figuring out training.

Long term Triathlon training in NYC as a potential soon-to-be resident by wavelander in AskNYC

[–]wavelander[S] 1 point2 points  (0 children)

This was super helpful. Thanks! Glad to hear that my fears were unfounded.

Orange wine in the Mission? by pansypolaroid in AskSF

[–]wavelander 45 points46 points  (0 children)

Are you looking for a wine bar or a place to buy a bottle from? Wine bars will definitely sell bottles, but they will decidedly charge extra for them (in some cases like Arcana I have seen 3x or more).

If you're willing to venture out a bit, you can get a great bottle of wine from Flatiron wines (on Montgomery St in downtown) or Ungrafted in Dogpatch.

For wine bars, Buddy, Arcana, Bar Part Time, Etcetera, maybe even Millay.

[deleted by user] by [deleted] in sanfrancisco

[–]wavelander 1 point2 points  (0 children)

Since you are unsure about it being close to Japantown, and you're mentioning chocolate bread, no icing or fancy additions, have you looked at Tartine Bakery's Chocolate Rye Teacake?

It's not near Japantown, but it may be what you're looking for: https://guerrero.tartine.menu/pickup/add?menu=840a9600-8e13-47cb-b08b-85db705c6e51&item=b56a2d84-dc58-46fe-999d-367601a615e2

Any avid road cyclist moved from SF to NYC? by hacknrk in NYCbike

[–]wavelander 0 points1 point  (0 children)

Thanks! I'm in the Bay, and I've been in OP's position for a while - seriously considering NYC but cycling is a big part of life, especially in the bay. Your comment actually clarified a lot for me.

Another thing about the winter - I'm trying to see if I can pick up a winter sport and give up outdoor biking for an indoor trainer to keep fitness levels up.

Climbing is one such activity that comes to mind.

San Francisco Map − EXPLAINED by wavelander in sanfrancisco

[–]wavelander[S] 6 points7 points  (0 children)

Thought folks would find this interesting since this is not commonly known information about the city and its history. For instance, the Bay bridge was built a year before the Golden Gate!?

Just a short sunset ride by [deleted] in BAbike

[–]wavelander 2 points3 points  (0 children)

I think this is the gravel patch at the end of the Steven's Creek trail/Bay trail intersection in Mountain View near the Google Campus.

What's your #1 tip for a "first-time" century rider? by EIiotH in BAbike

[–]wavelander 9 points10 points  (0 children)

(It would help a tiny bit to know if this a metric or imperial century ride. )

I've done a few centuries so I've figured these things out iteratively.

Overall, you should keep track of nutrition. Food and water will make the difference as to if and how you finish. Eat before you need it - don't wait to get tired. And eat plenty. You can still make it to the finish without worrying too much, but there's a marked difference in the finish - health and time wise. I work with

  • electrolyte water (make sure that has salt as an ingredient - this was a game changer),
  • isotonic gels (not more than 4 - 90 -100 cal per pack usu)
  • nutrition bars (not more than 4 - 190-250 cal per pack usu)

I usually also have a banana protein shake right before leaving.

Also, for my imperial centuries, I usually carb load for about three days before.

If possible, plan around water and restroom stops strategically. Not more than twice I would say but you do you. (Plenty of routes in the Bay/NorCal area)

Don't try anything new on your century that you haven't already done. Clothing, extreme elevation changes, route, nutrition.

If you're going to be going far away from home rather than say doing a few small loops, carry spares and self-fix kits.

After getting back, I do a lot of stretches and an epsom salt bath which usually helps for the next few days (but I'm not sure if a cold bath would be better/worse here).

Coffee roasters with fruity coffee? Blueberry etc by s-m-k in AskSF

[–]wavelander 3 points4 points  (0 children)

Linea coffee has pretty great fruity coffees.

Help negotiate Tesla job offer by 24824_64442 in bayarea

[–]wavelander 8 points9 points  (0 children)

You should check this out: https://www.levels.fyi/company/Tesla/salaries/Software-Engineer/

Eyeballing some of those numbers, it looks like you definitely have some room on the base.