News for hackers. Stuff that matters.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by m0zg on Monday February 24, 2020 @04:10PM (#22408495)
"Huge compute bills" usually come from training, or to be more precise, hyperparameter search that's required before you find a model that works well. You could also fail to find such a model, but that's another discussion.

So yeah, you could spend one or two FTE salaries' (or one deep learning PhD's) worth of cash on finding such models for your startup if you insist on helping Jeff Bezos to wipe his tears with crisp hundred dollar bills. That's if you know what you're doing of course. Literally unlimited amounts could be spent if you don't. Or you could do the same for a fraction of the cost by stuffing a rack in your office with consumer grade 2080ti's. Just don't call it a "datacenter" or NVIDIA will have a stroke. Is that too much money? Not in most typical cases, I'd think. If the competitive advantage of what you're doing with DL does not offset the cost of 2 meatspace FTEs, you're doing it wrong.

That, once again, assumes that you know what you're doing, and aren't doing deep learning for the sake of deep learning.

Also, if your startup is venture funded, AWS will give you $100K in credit, hoping that you waste it by misconfiguring your instances and not paying attention to their extremely opaque billing (which is what most of their startup customers proceed to doing pretty much straight away). If you do not make these mistakes, that $100K will last for some time, after which you could build out the aforementioned rack full of 2080ti's on prem.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by bob1029 on Monday February 24, 2020 @04:39PM (#22408738)
I find it fun how the cost of the cloud is forcing people to consider what absolutely must run in the cloud (presumably for stability and compliance reasons) and what can be brought back on-prem.

We don't train ML models, but we are in a similar boat regarding cloud compute costs. Building our solutions for our clients is a compute-heavy task which is getting expensive in the cloud. We are considering options such as building commodity threadripper rigs, throwing them in various developers' (home) offices, installing a VPN client on each and then attaching as build agents to our AWS-hosted jenkins instance. In this configuration we could drop down to a t3a.micro for Jenkins and still see much faster builds. The reduction in iteration time over a month would easily pay for the new hardware. An obvious next step up from this is to do proper colocation, but I am of a mindset that if I have to start racking servers I am bringing 100% of our infrastructure out of the cloud.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by blt on Monday February 24, 2020 @05:37PM (#22409177)
If I worked from home and my employer asked me to install a server in my home, I would tell them to go fuck themselves.

It's noisy, it takes up space, and presumably I'm on call to fix it if it breaks.

You should pay them an extra 24x(PSU wattage)x(peak $/Wh in area) per day for the electricity too.

I'm alarmed that someone in your company felt this idea was appropriate enough to propose.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by bob1029 on Monday February 24, 2020 @06:11PM (#22409424)
We would certainly compensate employees. I didn't feel it appropriate to disclose every last detail regarding the arrangement in a thread which is only tangentially-related to the OP.

This was my idea. I am a developer in my company. We are a flat structure. We have a lot of respect for each other. I am on a standup with the CEO every day. We all believe in our product and would happily participate in whatever activity brings it to market more quickly. We do not hire or retain the kind of talent that would flatly refuse to participate in experimental projects like this. At least not without some sort of initial conversation about why it's not a good fit for a particular individual.

I certainly see how someone might share your perspective. I used to work for a souless megacorp and I could have easily found myself telling my former employer to "go fuck themselves" if a proposal similar to this was imposed upon me.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by starfallg on Monday February 24, 2020 @07:21PM (#22409798)
Try the value data center providers like he.net.

A 42u rack and 1 Gbps connection is $400 per month.

Put cheap supermicro EPYC servers in rather than threadrippers (or build your own). High capacity RDIMMs are cheaper than UDIMMs.

This will give you a much more maintainable solution than workstations at employee's home via overlay VPN.

There is a maintenance cost for infrastructure that people tend to forget these days.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by xemdetia on Monday February 24, 2020 @07:04PM (#22409717)
I think it was funny to presume that the employer wouldn't pay for it. At one of my old roles I had a second laptop I used solely for VMs just because I ran out of space on primary workstation. A simple fix orders of magnitude cheaper for a developer compared to more ESXi or cloud hardware.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by Aeolun on Monday February 24, 2020 @07:10PM (#22409745)
I guess the ‘go fuck yourselves’ is heavily dependent on how able the company is to do this sort of stuff without involving you.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by blt on Monday February 24, 2020 @08:01PM (#22410031)
Do you have an ownership stake in the company?
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by breischl on Monday February 24, 2020 @06:05PM (#22409396)
Tangentially, I once joined a startup where a week after I started the CEO demanded that I run their crawler software on my own personal hardware, on my personal internet connection, 24x7. I (politely) told him to go fuck himself.

I later learned that the CTO had to spend a couple hours talking him out of firing me. I probably should've just quit on the spot anyway.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by jiofih on Monday February 24, 2020 @06:07PM (#22409405)
You can stop at “go f* themselves”, plenty of jobs to choose from.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by m0zg on Monday February 24, 2020 @04:52PM (#22408860)
This is not a new phenomenon. As early as in 2009 I worked for a company (ads, but not Google) which outgrew the typical "cloud" cost structure at the time, and moved everything to a more traditional datacenter, and saved substantial money even considering 3 more SREs they had to hire to absorb the increased support needs. AWS charges what the market will bear, and as such it was never designed to make sense for everyone. One needs to re-evaluate on the back of the napkin from time to time.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by buckminster on Monday February 24, 2020 @05:14PM (#22409011)
I once had a borrowed Sun blade server in my home office. The fan in it sounded like an industrial vacuum cleaner. It got moved to a different room and was powered on as little as possible.

Your plan makes sense but be mindful of the acoustics or your devs may grow to hate you.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by bob1029 on Monday February 24, 2020 @05:39PM (#22409201)
Excellent point. If we are building these rigs by hand (which is a likely option considering the initial usage context), the cooling solution would probably be a Noctua NH-U14S or similar. I already have one of these in my office attached to a 2950X and it is dead silent. You can definitely hear it when every core is pegged, but it's hardly noticeable over any other arbitrary workstation. The sound is nowhere near as intrusive as something like a blower on a GPU (or god forbid a sun microsystems blade).
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by maremp on Wednesday February 26, 2020 @09:37PM (#22429855)
What you’re saying sounds like a PC custom build enthusiast. I respect that, I like it too.

Please be mindful of the fact that consumer products are not designed for the workstation/server type of load. It’s related to why the hardware is cheaper compared to the server hardware. Also, the consumer ISP connection is most likely not as reliable as that of a data center. I’m working remotely from home and I experienced this many times, bad performance in peak times or a half of a day of downtime can happen, without any warning. And account for maintenance, everyone on the team must be able to figure out a problem or deal with getting someone else in to fix it.

I know I sound like a buzzkill. I am writing this with good intentions.

Even if this works right now, it’s not a reliable long-term solution. Maybe instead of dumping a couple of grand on consumer PCs to handle server’s work, look into building a proper server. Or you could find a datacenter provider to rent their hardware, something that is not as shiny and full of features like AWS.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by m0zg on Monday February 24, 2020 @05:21PM (#22409061)
BTW, the only reason why consumer vacuum cleaners are so loud is because consumers associate loudness with suction power.

"Backpack" style commercial vacuum cleaners have more suction, and are barely audible in comparison.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by buckminster on Monday February 24, 2020 @05:28PM (#22409117)
I stand corrected. It was much louder than a consumer vacuum but my analogy skills are weak.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by ggm on Monday February 24, 2020 @05:36PM (#22409176)
Your analogy skills were strong, because analogy is rooted in myth, not fact. Achilles did not actually have an Achilles tendon because Achilles did not exist

There does not have to be an increadibly loud functional industrial vacuum cleaner, for figuratively everyone to get your analogy, because the Herculean reality of vacuum cleaners is that you cannot clean an augean stable of lego on the floor, without a lot of noise. If you get my analogy.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by ColanR on Monday February 24, 2020 @07:07PM (#22409735)
To continue the pedantry, I don't think we know for sure that Achilles didn't exist. Troy certainly did, and we have the Iliad to thank for knowing to look for it.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by ggm on Tuesday February 25, 2020 @01:30AM (#22411319)
No, we have Schliemann to thank, for digging through it in his lust for anachronistically Indy-Jonesing the archeology. Troy only exists because Schliemann stole the gold. Otherwise its just some hill in Turkey.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by ColanR on Tuesday February 25, 2020 @11:11AM (#22414305)
I know the story...Schliemann went looking for Troy because the Illiad told him it existed.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by ggm on Wednesday February 26, 2020 @03:00AM (#22421245)
Didn't work on Ararat. False in unum, false in omnibus. Anyway, he went to the wrong hill first. But overall yes, myth informs reality sometimes. Shame he didn't find the bones of the giant wooden platypus the Greek ice cream salesmen hid in.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by roel_v on Monday February 24, 2020 @07:00PM (#22409692)
I don't know about backpack style vacuums (the few I've seen seem plenty loud), but the idea that manufacturers deliberately create loud vacuums to make them seem more powerful is ridiculous. There is an entire market segment of vacuums that are marketed as 'quiet', so there is plenty of demand for quiet vacuums. There is simply a trade off between suction / loudness / price, and various models make different trade offs (corresponding to various points in the market).
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by wpietri on Monday February 24, 2020 @07:12PM (#22409753)
That some people want quiet vacuums is not proof that some people don't want loud vacuums. Cars and motorcycles are good examples of markets where you see both deliberately quiet and deliberately loud examples.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by steev on Monday February 24, 2020 @08:00PM (#22410023)
This doesn't seem any more ridiculous than companies setting a higher price and then always having the item on sale. I think JCPenny famously tried simply lowering their prices and sales went down. I guarantee if you ask the average person "would you rather companies cut the BS and just lower their prices rather than have items on sale in perpetuity" they would of course say lower the prices. But as the anecdote would demonstrate, that isn't how things actually play out.

The point is, when it comes to consumer behavior, I don't think anyone has a clue what to expect. It would not surprise one bit if vacuum companies make louder vacuums because the consumer thinks it works better.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by m0zg on Monday February 24, 2020 @08:12PM (#22410083)
Is BMW piping in fake "engine noise" through the speakers also "ridiculous" in your opinion?
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by linksnapzz on Tuesday February 25, 2020 @12:29AM (#22411132)
Once upon a time, a company I worked for convinced Sun Microsystems that it would be cool to provide us with hardware at a discount. The discount hardware was six UltraSPARC E4000 servers, each with 8 cpus and 8GB of memory, and a creator3d card in the io mezzanine upa slot.

This company was using them as desktop workstations, in an open office.

One was used as a build host. Often, the shopvac wail of E4000 fans would be cut short by some poor dev going berserk and unplugging the thing when nobody was looking...

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by echelon on Monday February 24, 2020 @08:00PM (#22410025)
> I find it fun how the cost of the cloud is forcing people to consider what absolutely must run in the cloud

Honestly why ever go to the cloud? It seems like a Larry Ellison boondoggle with the absurdly high costs and lock-in. (Ever look at moving your data?)

Running your own metal is cheaper if you actually fund it.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by CoolGuySteve on Tuesday February 25, 2020 @01:13AM (#22411271)
In my experience, teams will rack up thousands in monthly expenses just being parked in a shell on very large On-Demand or Reserved EC2 instances. Basically using them as development boxes without realizing how much they cost.

I've saved a ton of money just giving them dedicated workstations to develop on and then having everyone use a shared EC2 instance to push jobs to a fleet of spot instances for large scale training.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by fxtentacle on Monday February 24, 2020 @05:27PM (#22409109)
No, also inference is quite expensive. You'll have 100% usage on a $10,000 GPU for 3s per customer image for a decently sized optical flow network. That's 3 hours of compute time for 1 minute of 60fps video.

Now let's say your customer wants to analyze 2 hours = 120 minutes of video and doesn't want to wait more than those 3 hours, then suddenly you need 120 servers with one $10k GPU each to service this one customer within 3 hours of waiting.

Good luck reaching that $1,200,000 customer lifetime value to get a positive ROI on your hardware investment.

When I talk about AI, I usually call it "beating the problem to death with cheap computing power". And looking at the average cleverness of AI algorithm training formulas, that seems to be exactly what everyone else is doing, too.

And since I'm being snarky anyway, there's two subdivisions to AI:

supervised learning => remember this

unsupervised learning => approximate this

Both approaches don't put much emphasis on intelligence ;) And both approaches can usually be implemented more efficiently without AI, if you know what you are doing.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by m0zg on Monday February 24, 2020 @05:41PM (#22409221)
Some kinds of inference are expensive, yes, not going to dispute that. But 99.95% of it is actually surprisingly inexpensive. Hell, a lot of useful workloads can be deployed on a cell phone nowadays, and that fraction will increase over time, further reducing inference costs or eliminating them outright (or rather moving them to the consumer).

For the vast majority of people the main expense is creating the combination of a dataset and model that works for their practical problem, with the dataset being the harder (and sometimes more expensive) problem of the two.

The dataset is also their "moat", even though most of them don't realize it, and don't put enough care into that part of the pipeline.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by fxtentacle on Monday February 24, 2020 @05:44PM (#22409252)
The algorithms that run on cell phones tend to be specially optimized and quality-reduced neural networks. For example, https://arxiv.org/abs/1704.04861
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by jiofih on Monday February 24, 2020 @06:05PM (#22409395)
Apple does a pretty good job at that, with no compromise in quality.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by fxtentacle on Monday February 24, 2020 @06:16PM (#22409452)
I believe that just due to memory constraints, running any high-quality neural network on phones is currently impossible.

State of the art optical flow tracking needs about 10 GB of GPU memory to execute on full HD frames. I wouldn't know of any mainstream phone with that much RAM.

That, BTW, is also the reason why autonomous drones usually downsample the images before AI tracking, which has the nasty side effect of making thin branches, fences, telephone wires, etc. invisible.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by nl on Monday February 24, 2020 @06:51PM (#22409638)
And since I'm being snarky anyway, there's two subdivisions to AI:

supervised learning => remember this

unsupervised learning => approximate this

This doesn't make any sense at all.

Both are "remembering" something under some constraint, which forces generalisation.

Supervised learning just "knows" what it is "remembering". Unsupervised learning is just trying to group data into patterns.

Both approaches don't put much emphasis on intelligence

Seems like most "intelligence" relies a lot on pattern recognition.

And both approaches can usually be implemented more efficiently without AI, if you know what you are doing.

The evidence is that you are wrong on this for a number of pretty important problems. I don't know much about optical flow, but in the image and text spaces you can't approach the accuracy of neural network approaches with hand crafted features.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by streetcat1 on Monday February 24, 2020 @06:56PM (#22409664)
I am not sure what you are doing, but can you just compute the similarity between two frames, and analyze only the novel frames?

I.e. I think that in one minute video, 95% of your images do not have new information in them

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by mrpidgeon on Monday February 24, 2020 @08:55PM (#22410321)
"supervised learning => remember this

unsupervised learning => approximate this"

Lol this can't be more wrong lmao. Both areas "remember" and "approximate" things trough training. The difference is that unsupervised learning does not have labeled data, thus it has to search for some pattern. Honestly not even computer science graduates would say something like this.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by fizixer on Monday February 24, 2020 @04:35PM (#22408697)
- Or AMD could change their policy of 'never miss an opportunity to miss an opportunity' and offer high-performance OpenCL GPGPU offerings. Then nVidia could have all the stroke they wanted.

- Or Tensorflow/Pytorch could've crapped on OpenCL a little less by releasing a fully functional OpenCL version everytime they released a fully functional Cuda version, instead of worshipping Cuda year in and year out.

- Or Google could start selling their TPUv2, if not TPUv3, while they're on the verge of releasing TPUv4.

- Or one of the other big-tech's Facebook/Microsoft/Intel could make and start selling a TPU-equivalent device.

- Or I could finish school and get funded to do all/most of the above ;)

edit: On a more serious note, a cloud/on-prem hybrid is absolutely the right way to go. You should have a 4x 2080 ti rig available 24x7 for every ML engineer. It costs about $6k-8k a piece [0]. Prototype the hell out of your models on on-prem hardware. Then when your setup is in working condition and starts producing good results on small problems, you're ready to do a big computation for final model training. Then you send it to the cloud, for final production run. (Guess what, on a majority of your projects, you might realize, the final production run could be carried out on on-prem itself; you just have to keep it running 24 hours-a-day for a few days or up to a couple weeks.)

[0]: https://l7.curtisnorthcutt.com/the-best-4-gpu-deep-learning-...

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by m0zg on Monday February 24, 2020 @04:45PM (#22408777)
As someone who has actually worked on this stuff soup to nuts, it's not as easy as people imagine, because you can't just support some subset of available ops and call it a day. If you want to make OpenCL pie from scratch, you must first make the universe, and support every single stupid thing (among thousands) and even mimic some of the bugs so that models work "the same".

This is hard and time consuming, and this field is hard enough as it is. What makes it even harder is that only NVIDIA has decent, mature tooling. There is some work on ROCM though, so AMD is not _totally_ dead in the water. I'd say they're about 90% dead in the water.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by derefr on Monday February 24, 2020 @05:44PM (#22409251)
> support every single stupid thing (among thousands) and even mimic some of the bugs so that models work "the same".

Do you need to do the stupid things performantly, though? Because that sounds like a case for skipping microcode shims, and going straight to instructions that trap into a software implementation. Or just running the whole compute-kernel in a driver-side software emulator that then compiles real sub-kernels for each stretch of non-stupid GPGPU instructions, uploads those, and then calls into them from the software emulation at the right moments. Like a profile-guided JIT, but one that can't actually JIT everything, only some things.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by fizixer on Monday February 24, 2020 @05:46PM (#22409268)
I know Tensorflow decided to be cuda-exclusive for the silly reason that the matrix library they were using (eigen) only supported cuda.

I have never recovered from that.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by simonebrunozzi on Monday February 24, 2020 @04:49PM (#22408819)
Are you in the Bay area? Would love to chat. Thinking of an idea where your expertise could be very handy. $my-hn-username at gmail.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by dnautics on Monday February 24, 2020 @07:12PM (#22409759)
That article is mostly right, but there's one part that got skimped on that will mess you up big time with about an 20% chance if you run for long enough.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by liuliu on Monday February 24, 2020 @07:27PM (#22409832)
I've been playing with custom-built 2080 Ti workstation for a while: https://www.youtube.com/watch?v=OF3JYEIsjH8

Several issues: 1. electricity bill is still an issue, I've been paying anywhere between $500 to $1000 per month for this workstation (always have something to train). 2. something with a decent memory size (Titan RTX and RTX 8000) cost way too much; 3. once you reached a point of 4-2080Ti-is-not-fast-enough, power management and connectivity setup would be a nightmare.

Would love to know other people's opinions on the on-prem setup, especially whether a consumer-grade 10Ghe is enough for connectivity-wise.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by eyegor on Monday February 24, 2020 @08:06PM (#22410052)
10gbe will depend on the workload. In general, I'd assume it's fine because it takes a parallel raid setup to saturate. Upgrading to 100gbe is pretty unreasonable cost wise unless you buy network gear from a back alley van dealer.

Although once you reach 4 2080ti, you ought to consider switching to a titanium grade psu and rewiring if you're in a 100-120v country. If you're feeling cheap, just steal the phases from two different circuits. Last I looked, most psu operate around 5% lower efficiency on 115 vs 230.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by liuliu on Monday February 24, 2020 @10:09PM (#22410612)
I've encountered some latency issues with allreduce on transformer models due to vocabulary sizes when communication have to cross PCIe lanes. Increasing batch size helps a lot, but low-latency & high-throughput is universally more helpful to lift these minor concerns (I don't really want to care about my batch size to improve allreduce performance). Hence worried not only throughput, but also latency on consumer-grade 10ghe equipments.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by xyzzyz on Tuesday February 25, 2020 @02:46PM (#22416649)
If you're feeling cheap, just steal the phases from two different circuits.

I chukled, but more seriously, if you can't rewire your house to get a normal 240V circuit, you should not be fucking around with hacks like above.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by m0zg on Monday February 24, 2020 @08:15PM (#22410102)
>> $500 to $1000 per month

How much is your electricity? I currently run 12 GPUs in my garage pretty much non-stop. 4 GPUs per machine, 3 machines. Each machine is about 1.2KW on average (I can tell because each machine is connected through its own rack UPS), or 13.2 cents per hour, or $95/mo. Which, IMO, is not bad at all. That's less than $300 per month for 12 GPUs.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by liuliu on Monday February 24, 2020 @09:51PM (#22410538)
Sorry, it is 2-month billing cycle. We have around 30 cents per kwh I think.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by ignoramous on Monday February 24, 2020 @04:55PM (#22408881)
As someone hoping to build a world-wide footprint, say 25 to 50 DCs, of servers to deploy to with unmetered bandwidth, what are some alternatives to the usual suspects?

I have come across fly.io, Vultr, Scaleway, Stackpath, Hetzner, and OVH but either they are expensive (in that they charge for bandwidth and uptime) or do not have a wide enough foot-print.

I guess colos are the way to go, but how does one work with colos, allocate servers, deploy to them, ensure security and uptime and so on from a single place, 'cause dealing with them individually might slow down the process? Is there a tooling that deals with multi-colos like the ones for multi-cloud like min.io, k8s, Triton etc;

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by mrkurt on Monday February 24, 2020 @05:03PM (#22408936)
(Hi, I'm from fly.io)

It depends what you need in your datacenters! If you just want servers, and don't care about doing something like anycast, you can find a bunch of local dedicated server providers in a bunch of cities and go to town. But you can't get them all from one provider, really, not with any kind of reasonable budget.

You _could_ buy colo from a place like Equinix in a bunch of cities, and then either use their transit or buy from other transit providers.

But also, unmetered bandwidth isn't a very sustainable service, so I'm curious what you're after? You're usually either going to have to pay for usage, or pay large monthly fixed prices to get reasonable transit connections in each datacenter.

In our case, we're constrained by Anycast. To expand past the 17 usual cities you end up needing to do your own network engineering which we'd rather not do yet.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by ignoramous on Monday February 24, 2020 @05:38PM (#22409194)
(thanks mrkurt)

It is anycast that I'm going after. Requirement for unmetered bandwidth (or cheaper than AWS et al) is because of the kind of workloads (TURN relays, proxy, tunnels etc) we'd deal with gets expensive, otherwise. For another related workload, per-request pricing gets expensive, again, due to the nature of the workload (to the tune 100k requests per user per month).

So far, for the former (TURN relays etc), I've found using AWS Global Accelerator and/or GCP's GLB to be the easiest way to do anycast but the bandwidth is slightly on the expensive side. Fly.io matches the pricing in terms of network bandwidth (as promised on the website), so that's a positive but GCP/AWS have a wider footprint. Cloudflare's Magic Transit is another potential solution, but requires an enterprise plan and one needs to bring-your-own-anycast-IP and origin-servers.

For the latter (latency-sensitive workload with ~100k+ reqs / month), Cloudflare Workers (200+ locations minus China) are a great fit though would get expensive once we hit a certain scale. Plus, they're limited to L7 HTTP reqs, only. Whilst, I believe, fly.io can do L4.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by mrkurt on Monday February 24, 2020 @06:00PM (#22409360)
Ah interesting! If you're cool talking more about what you're doing with me will you send me an email ([email protected])?
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by KaiserPro on Monday February 24, 2020 @05:08PM (#22408973)
> As someone hoping to build a world-wide footprint

Does adding an extra 100ms to the response time cost you that much business wise?

As for colos, it depends on scale. If you have 30k servers world wide, it pays to have someone manage the contracts for you. If not it pays to go for the painful arseholes like vodaphone, or whoever bought Cable & wireless's stuff.

as for security, it gets very difficult. You need to make sure that each machine is actually running _what_ you told it, and know if someone has inserted a hypervisor shim between you and your bare metal.

none of that is off the shelf.

Which is why people pay the big boys, so that they can prove chain of custody and have very big locks on the cages.

K8s gives you scheduling and a datastore. For a large globally distributed system its going to scale like treacle.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by avip on Monday February 24, 2020 @04:30PM (#22408651)
For balance, all big cloud providers - aws, gcp, azure, oracle [0] have pretty similar startup plans. Y$$MV

(I'm in full agreement with everything you've written + it's well-phrased and funny. gj!)

[0] that's not a typo - there is such thing as "Oracle cloud"

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by pridkett on Monday February 24, 2020 @05:19PM (#22409044)
There’s also the issue that data scientists often want to go running to hyperparameter optimization and neural architecture search. In most cases improving your data pipelines and ensuring the data are clean and efficient will pay off much more quickly.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by fxtentacle on Monday February 24, 2020 @05:34PM (#22409156)
But manually improving the data pipeline requires an understanding of the problem, whereas doing a hyperparameter optimized architecture search just needs $$$ hardware and no clue on the side of the operator.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by derefr on Monday February 24, 2020 @05:38PM (#22409198)
Or, to put that another way: if you knew what algorithm the AI would be using to discriminate the signal from the noise in your data, why would you need the AI? Just write that algorithm.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by nl on Monday February 24, 2020 @07:00PM (#22409691)
That's not the same thing at all.

You can't build hand-build a feature detector as accurate as (say) a ResNet50 by hand. Before 2014 people tried to do this with feature detectors like SIFT and HOG. These were patented and made the inventors significant money. If it was still possible to do it then someone would be and making profit from it.

Hyperparameter search is just optimising the training parameters (things like batch size, or optimiser parameters). This might give another 1% lift on accuracy, but isn't generally a significant factor.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by derefr on Monday February 24, 2020 @07:20PM (#22409795)
> You can't build hand-build a feature detector as accurate as (say) a ResNet50 by hand.

Yes, you can. If, that is, you can actually understand what the produced model is doing. And, of course, no human can do that, because no human understands the algorithm being employed by the produced model, because it's a really freaking complex algorithm whose optimal formulation really is just a graph of matrix transformations, rather than an imperative procedure that can be described by words like "variable."

This is an important idea to absorb, for the specific case where the AI converges on an optimal algorithm that's actually very simple—because the data has a regular, simple shape—rather than on one that's too complicated for our mortal minds. If you already knew that simple algorithm, then the work you did training an AI just to end up back at that same simple algorithm is wasted effort. An AI can't do better at e.g. being an AND gate, than an actual AND gate can. An AI can't do what wc(1) does better than wc(1) can.

If the data is regular—that is, if a model of its structure can be held fully in a human brain—then jumping immediately to Machine Learning, before trying to just solve the problem with an algorithm, is silly. The only time you should start with ML, is when it's clear that your problem can't be cleanly mapped into the domain of human procedural thinking.

The AI programmers of the 1960s were not wrong to start with Expert Systems (i.e. attempting to write general algorithms) for deduction, and only begrudgingly turn to fuzzy logic later on. Many deduction tasks are algorithmic. If you don't require the context of "common sense", but only need operate on data types you understand, you can get very far indeed with purely-algorithmic deduction, as e.g. modern RDBMS query planners do. There would be no gain from using ML in RDBMS query planning. It's regular data; the AI's trained model would just be a recapitulation of the query-planning algorithm we already have.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by nl on Monday February 24, 2020 @07:47PM (#22409952)
>> But manually improving the data pipeline requires an understanding of the problem

> Or, to put that another way: if you knew what algorithm the AI would be using to discriminate the signal from the noise in your data, why would you need the AI? Just write that algorithm.

My point is that this isn't the same thing at all.

Say your problem is plant detection from mobile phone photos. I can understand everything about plants, and I can manually build a highly optimised data processing pipeline.

But I can't build a feature extractor that outperforms ResNet50. That's the key algorithm.

> If the data is regular—that is, if a model of its structure can be held fully in a human brain—then jumping immediately to Machine Learning, before trying to just solve the problem with an algorithm, is silly.

True, but no one has made that argument. This is specifically about using hyperparameter optimisation vs improving your data pipeline.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by derefr on Tuesday February 25, 2020 @11:08AM (#22414265)
> True, but no one has made that argument.

Er, yes, I did, in my original post. The form you quoted was me attempting to be more precise in rephrasing it.

My point—my original point, this whole time—was that applying an advanced “feature extraction” algorithm to a data source whose features are explicitly encoded in a lossless, linearly-recoverable way in the data—what we usually call structured data—is silly.

For example, there’s no point in using ResNet50 to extract the “features” of a formal grammar, like JSON. It’d just be badly simulating a JSON parser.

In fact, there’s pretty much no data structure software engineers use, where ResNet50 would give you more information out than you’d get from just using the ADT interface of the data structure. What features are in a queue? Items and an ordering. What’s in a tree? Items, an ordering, and parent-child relationships. Etc.

The only place where it might make sense to use ML when dealing with structured data, is with statistical data structures like Bloom filters. ResNet50 might be able to recover some of the original data out of a bloom filter, in est using it as a compressed-sensing tool, or (in the algorithmic CS domain) as a decompressor for a lossy, underdetermined compression codec.

——

My second point was that, often, it turns out that your data is structured data, even when you didn’t ask for structured data.

Some natural-world datasets are structured!

Example: the standard model of quantum chromodynamics describes a clean digraph of possible spin configurations. You don’t need feature detection when looking at LHC data. The dataset is pre-bucketed, the items pre-tagged, by nature itself.

But more often, what happens is that your data turns out to not be “raw” / primary-source data, but rather a secondary source that was already structured, enriched, and feature-extracted by someone else before you got there.

Scraping social network data? It’s already a graph, and it often already has annotation fields in the JSON graph endpoints describing the relationships between the members. If you don’t just stop and look at the dataset, you might think your feature-extractor is doing something very clever, when actually it’s just finding the explicit pre-chewed “relationship” field and spitting it back out at you.

——

You might not see the relation to a kD-sample-matrix feature-extractor like ResNet50, so here’s some more tightly-analogous examples:

• What if the images in your training dataset turn out to be in Fireworks PNG format, where the raster data contains an embedding of the original vector image it was rendered from? Specializing your feature-extractor to this data is just going to make it learn to find those vectors (and extract features from those), rather than depending on the features in the raster data; and then it’ll fail on images without embedded vector descriptions. And if that’s all you want, why not just use a PNG parser to pull out the vectors?

• What if your audio files turn out to all have been MIDI files rendered out from a certain synthesizer using its default set of instrument patches? Will feature-extraction on this rendered data beat just writing a program to exact-match and decode the instruments back to a MIDI description? Certainly there might be MIDI-level features you want to extract, but will ResNet50 be better at extracting those MIDI-level features for having seen the rendering, as opposed to having been fed the decoded MIDI-level data directly?

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by nl on Tuesday February 25, 2020 @05:30PM (#22418214)
> Er, yes, I did, in my original post. The form you quoted was me attempting to be more precise in rephrasing it.

Ok. No one other than yourself has made that argument.

> Scraping social network data? It’s already a graph, and it often already has annotation fields in the JSON graph endpoints describing the relationships between the members. If you don’t just stop and look at the dataset, you might think your feature-extractor is doing something very clever, when actually it’s just finding the explicit pre-chewed “relationship” field and spitting it back out at you.

I've worked in this exact field, and I've never ever heard of anyone who doesn't do this. I guess someone might.. so if your point is that there are dumb people around then ok.

But that isn't what a feature extractor does! In the graph context a simple feature extractor is something hand coded like the degree of a node, or a more complex learned one is something that maybe does embedding.

If your point is that people should understand their data, then yes that is in data science 101 for good reasons.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by perl4ever on Monday February 24, 2020 @08:11PM (#22410077)
"There would be no gain from using ML in RDBMS query planning. It's regular data; the AI's trained model would just be a recapitulation of the query-planning algorithm we already have."

Most of what you wrote seems fine, until I got to this. A query optimizer seems like something that tends to be very opaque, very complex, and in my experience blows up without a good explanation frequently in typical situations. It's also based on a lack of complete data about the problem domain, to the point where an optimal algorithm seems hopeless. I'm not saying an AI approach automatically can be better, but at least you (I) can envision it being better, perhaps less brittle and taking into account dimensions and possibilities a human doesn't. And the non-AI solutions aren't trustworthy in terms of bounded quality so you have not got a lot to lose.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by nl on Monday February 24, 2020 @10:34PM (#22410713)
Most (?) RDBMS query planners rely on updating statistics on the data in the table to decide what type of joins to perform.

I can imagine cases (distributed databases, different speed storage) where it would make sense to test the queries and learn which optimisations make sense. It'd be self tuning and able to adapt to changing hardware.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by perl4ever on Tuesday February 25, 2020 @06:04PM (#22418503)
Oracle certainly has statistics and incredibly sophisticated optimization in theory, it's just that in practice, I think it sucks.

I spent way too many years writing ad hoc Oracle SQL that had to complete within a few hours and trying to guess if the optimizer had decided to finish in 15 minutes or a week.

And I would read Tom Kyte where he says obviously your database is set up wrong if the optimizer isn't working for you. And how you should do everything in one big beautiful query that uses all the latest features of Oracle.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by fxtentacle on Monday February 24, 2020 @05:46PM (#22409272)
Exactly :)

In most cases, unsupervised learning is nothing more than having the AI try to approximate the solution of your highly non-linear loss function. So if there's any way of solving that loss function directly, it will perform like a well-trained AI.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by mxcrossb on Monday February 24, 2020 @07:58PM (#22410012)
> In most cases

In what cases is this not true?

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by streetcat1 on Monday February 24, 2020 @06:57PM (#22409676)
Of course, you can also automatically search the best data pipeline for your data...
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by zitterbewegung on Monday February 24, 2020 @05:43PM (#22409239)
I was training ML models on AWS / Google Colab. After racking up a few hundred dollars on AWS I bought a Titan RTX (I also play video games so it does that very well also.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by alephnan on Monday February 24, 2020 @04:34PM (#22408687)
> Just don't call it a "datacenter" or NVIDIA will have a stroke.

Context please :) ?

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by OkGoDoIt on Monday February 24, 2020 @04:38PM (#22408723)
NVIDIA forces you to buy significantly more expensive cards that perform marginally better if you are using them for datacenter use. They try to enforce not letting businesses use consumer grade gaming cards. I assume this is so cloud providers don't buy up all the supply of graphics cards and make it hard for gamers to get decent cards, like what happened during the bitcoin craze.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by nkassis on Monday February 24, 2020 @04:49PM (#22408823)
No it's just pure price discrimination. They don't care about gamers they just know businesses will pay more if forced to while gamers can't.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by gbba on Monday February 24, 2020 @07:46PM (#22409946)
I wouldn't say they don't care about gamers, considering that gaming makes up about half of their revenue: https://www.anandtech.com/show/15513/nvidia-releases-q4-fy20...
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by nkassis on Monday February 24, 2020 @11:51PM (#22410994)
Sure sorry I realize now the point I was trying to make doesn't match my wording. They do care about selling to gamers but availability to gamers is not in anyway why they are forcing more expensive models of essentially the same cards on the HPC and server market. It's all because they can and the business market is able to bear the cost. Now if they found a true competitor in that market, I think this pricing model would fall apart fast.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by aj7 on Monday February 24, 2020 @05:35PM (#22409164)
Exactly.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by mereel on Monday February 24, 2020 @04:36PM (#22408707)
Just a guess but maybe it's some licensing issue? https://www.nvidia.com/en-us/drivers/geforce-license/

No Datacenter Deployment. The SOFTWARE is not licensed for datacenter deployment, except that blockchain processing in a datacenter is permitted.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by derefr on Monday February 24, 2020 @05:41PM (#22409218)
> except that blockchain processing in a datacenter is permitted

Well, Nvidia, y'see, my new blockchain does AI training as its Proof-of-Work step...

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by mam2 on Monday February 24, 2020 @05:09PM (#22408981)
well they are the one writing the rules, so i'd side with OP
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by ThePadawan on Monday February 24, 2020 @04:37PM (#22408714)
Datacenter GPUs are mostly identical to the much cheaper consumer versions. The only thing preventing you from running a datacenter with consumer hardware is the licensing agreement you accept.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by endorphone on Monday February 24, 2020 @05:24PM (#22409071)
"The only thing preventing you from running a datacenter with consumer hardware is the licensing agreement you accept."

The consumer cards don't use ECC and memory errors are a common issue (GDDR6 running at the edge of its capabilities). In a gaming situation that means a polygon might be wrong, a visual glitch occurs, a texture isn't rendered right -- things that just don't matter. For scientific purposes that same glitch could be catastrophic.

The "datacenter" cards offer significantly higher performance for some case (tensor cores, double precision), are designed for data center use, are much more scalable, etc. They also come with over double the memory (which is one of the primary limitations forcing scale outs).

Going with the consumer cards is one of those things that might be Pyrrhic. If funds are super low and you want to just get started, sure, but any implication that the only difference is a license is simply incorrect.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by dnautics on Monday February 24, 2020 @07:10PM (#22409744)
> For scientific purposes that same glitch could be catastrophic.

But for machine learning, some say that stochasticity improves convergence times!

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by artaak on Thursday February 27, 2020 @02:29PM (#22436844)
Could you cite an example where ECC requirement on GPU was real and demonstrated to be needed? In practice, I don't know anyone who'd willfully take 10-15% perf hit on GPUs, because of a cosmic ray.

The thermal design for "datacenter" card can be better for sure. And on-board memory size and design. That's about it. For how many x over geforce price tag is that?

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by endorphone on Friday February 28, 2020 @11:45AM (#22444063)
"In practice, I don't know anyone who'd willfully take 10-15% perf hit on GPUs, because of a cosmic ray."

Virtually every server in data centers runs on ECC: the notion of not using it is simply absurd. And given that the Tesla V100 gets 900GB/s of memory bandwidth with ECC, versus 616GB/s of memory bandwidth on the 2080Ti without ECC, it's a strawman to begin with.

nvidia further states that there is zero performance penalty for ECC.

As to whether the requirement is "real", Google did an analysis where they found their ECC memory corrected a bit error every 14 to 40 hours per gigabit.

"That's about it."

Also ECC memory. Also dramatically higher double precision performance. Dramatically higher tensor performance. Aside from all of that...that's it.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by luisfmh on Monday February 24, 2020 @05:29PM (#22409130)
Learned a new word today. Pyrrhic.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by KaiserPro on Monday February 24, 2020 @05:09PM (#22408983)
And the cooling, amount of ram and the doubles performance.

the chip might be the same, but the rest of it isn't

Granted, its not worth the $3k price bump, but thats a different issue.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by zwaps on Monday February 24, 2020 @05:20PM (#22409051)
Nah that's not really it. The reason NVIDIA doesn't allow this is precisely because the additional RAM - functionally the only difference - is not cost efficient. People would like (and did) use a bunch of consumer 1080s, which is why NVIDIA disallowed precisely that. You had to buy the equivalent pro grade card, which costs easily two or three times that and offers a couple more GB of RAM.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by walshemj on Monday February 24, 2020 @07:04PM (#22409715)
Yep if you getting huge bills you should be doing on prem HPC eg where a 15k budget means 15kw per container and your into exotic network designs where 10g wont cut it any more.

eg from 2011 6400 Hadoop nodes like http://bradhedlund.com/2011/11/05/hadoop-network-design-chal...

God only knows what fun you could get up to with modern tech - I miss bleeding edge rnd

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by paulddraper on Monday February 24, 2020 @05:59PM (#22409355)
> Also, if your startup is venture funded, AWS will give you $100K in credit

AFAIK that is limited to <$20k and it expires.

Re:Andreessen-Horowitz craps on “AI” startups from a great h... by webel0 on Monday February 24, 2020 @07:04PM (#22409714)
We got $100k but boy oh boy once you’re on it it’s hard to get off. Now we’re close to 50-50 gcloud/aws
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by wpietri on Monday February 24, 2020 @07:17PM (#22409781)
Hah! "First hit is free, man!" Makes sense, though. Anybody offering a "free" $100k of anything can afford a lot of MBA time to make sure that the CLTV is well over costs.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by calebkaiser on Monday February 24, 2020 @07:18PM (#22409786)
Inference is also becoming a bigger contributor to compute bills, especially as models get bigger. With big models like GPT-2, its not unheard of for teams to scale up to hundreds of GPU instances to handle a surprisingly small number of concurrent users. Things can get expensive pretty quick.
Re:Andreessen-Horowitz craps on “AI” startups from a great h... by artsyca on Monday February 24, 2020 @05:43PM (#22409248)
Slow clap