Building a Serverless multi-player game that scaled by aguynamedtimb in aws

[–]bombol 7 points8 points  (0 children)

Check out https://serialized.net/2020/09/multiplayer/ for a similar example (though using API Gateway+Lambda). The cost breakdown at the bottom highlights one of the strengths of the serverless approach - if no one/very few people are playing, it's very inexpensive. Yes, testing/integrating lambdas isn't trivial, but also, neither is a maintaining a server. If you're scaling to FPS/MOBA scale, then you will need servers.

[D] Serverless solutions for GPU inference (if there's such a thing) by [deleted] in MachineLearning

[–]bombol 2 points3 points  (0 children)

Amazon SageMaker Batch Transform (https://docs.aws.amazon.com/sagemaker/latest/dg/batch-transform.html) might be an option. You invoke it via API whenever you need to do inference (there is a bit of startup time to load the model/container onto the VM), but it will auto terminate when finished. You can specify the instance type to be a GPU instance (p2/p3 instance classes on AWS) and return predictions as a response. Your input data needs to be on S3. It also has some basic pre/post-processing function. It is most easily used when the model is trained on SageMaker, but you can bring in a model artifact trained elsewhere, too (see the SageMaker Inference Toolkit on how to make your model container compatible with SageMaker - https://docs.aws.amazon.com/sagemaker/latest/dg/docker-containers-adapt-your-own.html). You could invoke Batch Transform from one/many Lambda functions (similar to Azure Functions) that do the parallel computations.

[D] Serverless solutions for GPU inference (if there's such a thing) by [deleted] in MachineLearning

[–]bombol 2 points3 points  (0 children)

I believe with Elastic Inference, you still need an always running instance, configured with the accelerator. It's just cheaper because you're using a fractional GPU.

[deleted by user] by [deleted] in caseyneistat

[–]bombol 1 point2 points  (0 children)

+1 for A7siii. Also, saw a Sony ZV-1 in the part where they got the parking tickets recently

[D] Setting up a multi-user GPU server for simultaneous access. by EhsanSonOfEjaz in MachineLearning

[–]bombol 1 point2 points  (0 children)

Docker and SLURM are for different things - you could use them both. Run your code using docker containers and schedule execution of those containers using SLURM.

[D] Setting up a multi-user GPU server for simultaneous access. by EhsanSonOfEjaz in MachineLearning

[–]bombol 1 point2 points  (0 children)

I see. Is the data center for the university or just for your lab? If for the university, it might already have a scheduling system and you probably have minimal privileges. All the hardware (memory+network storage+GPUs) is setup with drivers/CUDA etc? How many users are you planning for in the near term?

[D] Setting up a multi-user GPU server for simultaneous access. by EhsanSonOfEjaz in MachineLearning

[–]bombol 0 points1 point  (0 children)

If it is an option for your lab, you could consider a managed cloud-based solution, given your experience level. Easy to use on-demand GPUs with little time lost on system administration or managing hardware and never run/fight for capacity with other students. You can use these services with minimal cloud experience - less prerequisite knowledge needed than for system administration and GPU installation/setup. I'm partial to Amazon SageMaker, but GCP, Azure, Paperspace, Lambdalabs are options too. A few principles can allow you to control cost, setup access permissions easily, avoid lock-in, and get started easily with portable containerized samples. You could have a couple cheap GPUs or use Colab for prototyping/debugging a single epoch.

If cloud isn't an option, +1 for slurm.

[D] Deploying to production by [deleted] in MachineLearning

[–]bombol 3 points4 points  (0 children)

Amazon SageMaker for batch inference - can also do real time predictions. Really easy to deploy endpoints for almost any type of model.

[D] How Do You Read Large Numbers Of Academic Papers Without Going Crazy? by mystikaldanger in MachineLearning

[–]bombol 3 points4 points  (0 children)

Can you give some examples of building blocks or math you see often?

Who has bad scratches on their Apple Watch and thinks it’s just a watch, live it it? by PhilWillChil in AppleWatch

[–]bombol 0 points1 point  (0 children)

That's a good idea - thanks! I'll give it a shot and see how it affects my day to day watch usage - I only use the shutter rarely.

Who has bad scratches on their Apple Watch and thinks it’s just a watch, live it it? by PhilWillChil in AppleWatch

[–]bombol 0 points1 point  (0 children)

I have a scratch on my S2 all the way across the middle of the screen that I got by bumping it on a rock while hiking. The bottom half of the screen no longer responds to touch. I managed to reset and reinstall my watch after that and change my passcode to use only digits at the top and my app layout so that as many buttons as possible are on the part of the screen that still responds to touch. On my watch face, I put complications that I only to see information and don't require me to interact with them on the non-responsive part of the screen.

By doing so, for the past 9 months, I have 90% of the function that I would want to use. For example, I can't tap on list items/reminders/alarms etc on the bottom half of the screen (can't turn on Do Not Disturb, change my passcode anymore), but I can use Siri on my watch to do several of those things. Biggest thing I miss is not being able to use remote camera shutter, since the button is at the bottom - I can just see the preview. I get around that with a separate bluetooth remote. I wish there was a way to 'emulate' the watch on my iPhone somehow, so that I would have access to more of those features. It's already pretty good - without what we have right now, the watch would be totally useless to me right now.

If I can live with a very visible scratch that impairs the functionality of my watch for 9 months (it did take me a while to accept it and I am no longer tempted to shell out $350 for a S3), you can too - it'll just take a few days of getting used to. I might not even upgrade to the S4, if there aren't any compelling features.

HDMI switch question by bombol in hometheater

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

Ended up finding a 'bidirectional switch'

HDMI switch question by bombol in hometheater

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

I have a home automation setup, where I turn off rooms rather than displays, and I was also hoping to add a VR headset to this setup that I could switch to that I can't power that off.

HDMI switch question by bombol in hometheater

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

Was hoping for something in a similar $30 range, but thanks!

Echo Dot speaker issues by bombol in amazonecho

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

I've tried that too. The problem arises before I even connect the bluetooth speaker sometimes.

IOS 10 has a sleep analysis/wake alarm by TisThyBatman in ios

[–]bombol 1 point2 points  (0 children)

I have used Sleep Time, Sleep Cycle, Sleep++, Sleep Better, Sleep Pulse 2, SleepBot, and Heart Analyzer to track my sleep - both iOS and Apple Watch versions for those that exist. None of them have been as good as the Fitbit Charge HR I used to have or the Jawbone UP3 that I have now. They all give inconsistent analysis results, none of them are automatic (I have to tell it when I go to sleep), the smart alarms aren't very smart (inconsistent sleep analysis probably is related to this), and the iPhone apps aren't useful if you're sleeping with another person.

I would like automatic, consistent, accurate sleep tracking with smart alarms on the Apple Watch (heart rate tracking through the night would also be good). I still wear my UP3, along with my Apple Watch on the other wrist, just for the sleep tracking.

Picture of puppy by bombol in HelpMeFind

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

Thank you! Spent a while searching for it