r/MacStudio • • Sep 28 '26

Mac Studio M5 Max LLM AI video creation

29 Upvotes

Mac Studio M5 Max LLM AI video creation. Let’s post here results on the Studio but only M5 MAX. Share what you’re using and how’s it going with it. Started paying around with it last night using comfy.ui. My studio is 64gb version

LTX-2.3 Q4 distilled → 1024 × 1024 → 257 frames at 16 fps → 16 seconds of video in about five minutes until finished.

That’s much better than the studio M4 Max! That took about 20-25 min.
I haven’t tried Q8 of this model yet but I’ll report back with that. Q4 did ok but had some face distortion in fast movements. I’ll see how q8 does then try 1280k resolution


r/MacStudio • • Sep 25 '26

What are you doing with your NEW Mac Studio?

9 Upvotes

Sorry, this survey is not supported on Old Reddit or the survey has been deleted.


r/MacStudio • • 3h ago

Two 256 GB Mac Studios just outpaced a 4-node NVIDIA DGX Spark cluster on DeepSeek-V4.1-Flash. Half the nodes. 100% lossless.

15 Upvotes

I just open-sourced Machd (dsv41-hyper), a C++20 / Metal-4 distributed inference engine built for running DeepSeek-V4.1-Flash losslessly on 2× 256 GB Apple Mac Studio M5 Ultra over Thunderbolt 5 RDMA (JACCL).


r/MacStudio • • 15h ago Bravo

What 512 GB unified memory on the Mac Studio M5 Ultra actually unlocks for local AI (22 frontier setups tested, 350-409 GiB peak RAM)

123 Upvotes

If you are wondering what 512 GB of unified memory actually buys you in practice (beyond single-prompt tok/s), I ran 80 identical tasks (20 tool workflows, 20 sandboxed Python coding tasks, 20 EN/DE doc extractions, 20 blind-graded writing briefs) across 5 frontier model families (249-432 GB bundles) and 5 engines on a 512 GB Mac Studio M5 Ultra (macOS 26.4.1, seed 42, speculative decoding off).

Practical takeaways on 512 GB:

  • Real RAM usage: DeepSeek V4.1 Flash (oQ4e/Engram, 432 GB) peaked at 409.4 GiB footprint; Muse Spark Open 816B (oQ3e, 371.5 GB) peaked at 350.3 GiB - both ran comfortably inside the 448 GiB active model budget with room to spare.
  • Everyday all-rounder (R02 DeepSeek V4.1 Flash on oMLX High): 76/80 in 43.6 min, 49.5 tok/s decode, 1,119 tok/s prefill, 3.8s to first visible word, 20/20 vision, 5/5 strict JSON.
  • Max quality & writing (R06/R10/R08 Muse 816B): 77-78/80 (18-19/20 writing), though High effort takes 121-133 min (35-44 min on Low for 73-75/80).
  • Fast coding & docs (R22 GLM 5.3 Flash on llama.cpp High): 69/80 in 11.0 min (20/20 Code & Docs, 5.7 min on Low).
  • Compatibility reality: 15 of 37 setups failed to load (vLLM-Metal 0.33.0 went 0/7).

All 22 working recipes, all 15 failed setups, charts, and 1,760 per-task CSV rows (CC BY 4.0): https://github.com/l8w8/videos/tree/main/2026/001-m5-ultra-22-setup-comparison

12-minute chart walkthrough on YouTube: https://youtu.be/vF-LUF6kPsE


r/MacStudio • • 7h ago

Has the Mac Finally Levelled the Spark? — Deepseek v4.1 Flash Benchmarks for Machd (2× 256 GB Mac Studio M5 Ultra vs. 4-Node DGX Spark Ring)

Thumbnail
gallery
19 Upvotes

Over the past few weeks I've been building a new custom Apple Silicon inference engine called Machd.

One question keeps coming up in local AI circles: for roughly the same total hardware budget and the exact same 512 GB of total unified memory, how does a 2× 256 GB Apple Mac Studio M5 Ultra setup (connected over Thunderbolt 5 RDMA) stack up against a switchless 4-node NVIDIA DGX Spark ring (4× 128 GB)?

To find out fairly — with zero cherry-picking — we took Christopher Owen's gold-standard spark-ds41f-1120production deployment on the 4-node DGX Spark ring (tp4-ring), cloned his exact Sonar benchmark client (d430736) and exact 256 prompts, and ran the same suite head-to-head on Machd running DeepSeek-V4.1-Flash (100% lossless full accuracy, zero re-quantization).

(Note on test hardware: benchmarks were run on our 512 GB Mac Studio M5 Ultra hosts with memory strictly capped to a 256 GB hardware envelope — mx.set_wired_limit(224 GiB)*, Engram weights offloaded to NVMe SSD, and* F_NOCACHE=1 to bypass macOS's OS page cache completely so spare host RAM cannot be used. Peak memory hit only 161.3 GiB / 256 GiB per Mac even while processing a full 1,000,000-token prompt.)

The Headline Comparison: Exact Sonar Replication (spark-ds41f-1120 vs. Machd)

Both clusters run the exact same DeepSeek-V4.1-Flash-1017 lossless weights, both operate inside a 512 GB total cluster RAM budget, and both offload the 189 GB Engram N-gram table to local NVMe SSD.

Exact Sonar Benchmark (256 Prompts, 256t Output)4× DGX Spark Ring (spark-ds41f-1120)3× DGX Spark Triangle (1120)**2× 256 GB Mac Studio M5 Ultra (**Machd Preliminary)Takeaway
Sampled c1 (T=1.0, top_p=1.0)87.1 tok/s68.3 tok/s88.4 tok/s (10.9 msTPOT)Mac beats 4× Spark (+1.5%) & crushes 3× (+29%)
Greedy c1 (T=0.0)89.1 tok/s70.4 tok/s81.0 tok/s (12.0 msTPOT)Within 9% of 4× Spark; +15% over 3× Spark
Poisson Open-Loop (0.7 req/s, SLO 2s/100ms)180.3 tok/s (0.24s TTFT)119.5 tok/s188.5 tok/s (0.17sTTFT, 100% SLO)Mac beats 4× Spark (+4.6%, -28% TTFT) & +58% over 3×
Closed-Loop c8 (Greedy / Sampled)213.6 / 210.0 tok/s170.7 / 167.6 tok/s191.5 / 191.6 tok/s*Within 9–10% of 4× Spark without batched spec yet!
Closed-Loop c16 (Greedy / Sampled)280.4 / 276.6 tok/s— / 167.2 tok/s222.2 / 210.7 tok/s* (0.34s TTFT)Spark uses batched DSpark (~2.42 tok/step); Machd hits lower TTFT
**Active Decode Stall Under 131K Prefill (**stall-3 / stall-11 worst gap)1.75 s / 1.85 s—0.27 s / 0.26 sMac 6.4×–7.0× smoother for active users (Spark wins new-probe bypass: 0.73s / 1.14s*)*
Cold Source-Text Prefill (32K → 1M)9,615 → 9,397 tok/s7,270 → 6,922 tok/s3,651 → 1,475 tok/s4× Blackwell Tensor Cores win cold prefill decisively (2.6×–6.4×)

*Note on c8*/c16:* spark-ds41f-1120 already runs batched speculative decoding (~2.42 tokens accepted per step across concurrent users). These preliminary Machd numbers only run speculation at c1 — c8 and c16 are running plain 1-token/step batched decode! Even without batched speculation, 2 Macs are already within ~9–10% of 4 Sparks at c8 and beat 4 Sparks on live 0.7 req/s Poisson serving.

How a 477 GB Model Fits Comfortably on 2× 256 GB Macs — Without Hurting Decode Latency

DeepSeek-V4.1-Flash weighs 477.56 GB in full lossless precision — and 189 GB of that is its giant Engram N-gram lookup table (queried at just two layers: Layer 1 and Layer 14).

Machd's dedicated 2× 256 GB SSD-Engram launcher leaves the 183.1 GB Engram weight tables on each Mac's internal NVMe SSD, keeping only the core sharded weights (144.4 GiB), tiny pinned scales (5.7 GiB), and a strictly bounded 4.27 GiB Clock cache in RAM (with F_NOCACHE=1 bypassing macOS file caching completely):

  • True 256 GB Headroom (Even at 1M Context!): Process memory sits at 155.5 GiB, peaking at 161.3 GiB / 256 GiB per Mac even while running a full 1,000,000-token prompt — leaving ~95 GB of headroom on every 256 GB Mac Studio!
  • Fast Cold Boot: Loads in just 13.8 – 14.0 seconds!
  • Ultra-Low Decode Latency: Because Engram lookups depend only on the input token IDs, Machd knows which rows it needs before Layer 0 even starts and prefetches them on parallel 4 KiB-aligned NVMe pread threads in strict Layer-1 → Layer-14 priority while the Metal GPU executes Layer 0 and Layers 1–13.

    • Raw M=1 Decode: 66.68 tok/s **(**14.96 ms p50) with the 4.27 GiB Clock cache — and 66.79 tok/s **(**14.96 ms p50) even with 0 GiB cache (100% physical NVMe reads on every single token, 151.5 GiB RSS)!
    • Speculative Workloads (2× 256 GB): Prose 90.5 tok/s, Coding 99.5 tok/s, Deep Reasoning <think>``147.3 tok/s.
    • Real-World Cache Efficiency: Across 85.2 million real-text Engram lookups in the full 9-benchmark Sonar suite, the 4.27 GiB Clock cache hit 60.2% of lookups (51.2M hits vs 33.9M direct NVMe reads) with 64/64 bit-exact lossless token parity verified!

Unique to Machd: Phase-Aware 6-Rail Thunderbolt 5 RDMA

If you plug 6 Thunderbolt 5 cables between two Mac Studios, you might assume striping every transfer across all 6 cables is always fastest. On small decode payloads, the opposite is true!

During single-user decode (M=1), the two Macs only exchange ~10 KB per all-reduce. Splitting 10 KB across 6 separate RDMA queues means paying 6× queue doorbell/completion overhead and waiting for the slowest cable on every layer. Meanwhile, at large batches (M=16) or prompt prefill, you do want all 6 cables blasting in parallel.

Machd's custom Phase-Aware FastRDMA automatically shifts gears per collective based on payload size:

  • **≤ 16 KB (**M=1 Decode) → 1 fastest rail: Hits 66.68 tok/s (14.96 ms p50) vs. 64.10 tok/s (15.58 ms) when forcing all 6 rails — a free +2.58 tok/s (+4.0%) gain just from not over-striping tiny packets!
  • **16–128 KB (**M=4..12 Verify & Medium Batch) → 4 rails: Beats both forced 6-rail and stock MLX JACCL.
  • **> 128 KB (**M=16 & Prefill) → All 6 rails: Hits 42.17 ms per step at M=16, cutting -1.32 ms off stock 6-rail MLX JACCL (43.49 ms).

Bottom Line: Has the Mac Finally Levelled the Spark?

  • If your workload is heavy cold long-context prefill (e.g., digesting fresh 131K–1M documents non-stop): 4× DGX Sparks still win hands-down (9.4K–10.1K tok/s vs 1.5K–3.7K tok/s on 2 Macs) thanks to 4× Blackwell Tensor Cores. (See fig4_prefill_and_workloads.png*)*
  • If your workload is interactive chat, coding agents, reasoning, and real-world multi-user serving (Poisson / c1–c16): Yes — 2× 256 GB Mac Studio M5 Ultras running Machd have genuinely levelled the 4-node DGX Spark ring (beating it on sampled c1 and 0.7 req/s Poisson serving, running 6.4×–7.0× smoother during heavy prefills, and comfortably beating a 3-node Spark triangle across the board) — and we haven't even turned on batched speculation yet!

Machd is still in active polish and will be released soon. Huge credit to Christopher Owen for building spark-ds41f and open-sourcing Sonar so the community can run truly apples-to-apples benchmarks! Happy to answer any questions!


r/MacStudio • • 16h ago

M5U512 meet M3U256

Post image
44 Upvotes

It’s here! Transferring files as we speak. Exciting!


r/MacStudio • • 1h ago

Purchase Advice

2 Upvotes

I am looking at the Mac studio m5 Max with 128 and 2TB but recently came across a MacBook pro refurb w same specs for $500 cheaper. Outside the obvious portability and the better cooling, is there any other reason to go w the studio for $500 more?


r/MacStudio • • 9h ago

Planning my first home AI lab around a base M5 Ultra 96GB. Any advices?

Post image
7 Upvotes

r/MacStudio • • 12h ago

I got SOLIDWORKS 2025 running on Apple Silicon without a Windows VM

Thumbnail gallery
5 Upvotes

r/MacStudio • • 4h ago

I made ablated MLX quants of Swift-1.5-Qwen3.8-27B (8-bit, 6-bit, 4-bit) with vision and MTP heads left completely untouched for oMLX

Thumbnail
huggingface.co
0 Upvotes

If you guys give it a shot, let me know what you think. I made GGUF and MLX builds.


r/MacStudio • • 1d ago

Anyone running their Mac Studio as the always-on AI box for the whole house?

30 Upvotes

I've got an M2 Ultra with 64GB that renders video maybe twice a week and sits idle the rest of the time. I'm thinking of turning it into the AI box for the house. My partner's laptop, my phone, the kids asking homework stuff, all hitting one local model over the network instead of three ChatGPT subscriptions.

For people already doing this: what model do you run for the family stuff vs coding, what's serving it, and does it get in the way when you actually need the Studio for real work? My test runs felt slow mostly on long prompts, not sure if that's the model or how I set it up.


r/MacStudio • • 13h ago

I am torn between Mac studio M5 max and macbook m5 pro both 64gb ram same cost

1 Upvotes

As title suggest i am torn between these two. I am currently using macbook pro M1 pro. But my 16gb set up is no longer enough for any agentic work that i wish to do as well as AI/ algo trading.

I dont have the money for 128gb of ram but I am wondering how hard is the switch from a macbook to mac studio set up what would be the benefits over better cooling. Sometimes I do like to still work from bed, and not just at a desk, but I do not really take the macbook outside, i just move it from various rooms. If i keep my old macbook, is there away to bridge the gap of portability?

Any advice would be welcome?


r/MacStudio • • 1d ago

Which tool to use

5 Upvotes

There are all these great github repositories containing usefull code to run AI on a Mac Studio:

My Mac Studio arrives soon. I want to ask the community:

What tools do you use to run an AI and which do you recommend to use for others.

Using M5U and 256gb


r/MacStudio • • 1d ago

Has anyone here decided to lease a Mac Studio?

8 Upvotes

I was looking at the cost of a new Mac Studio and realized that you can lease one with a 24 month or 36 month term. An M5 Ultra 4TB with 256 GB RAM is only $258 a month with a 36 month term. At the end of the lease you can upgrade or buy out the machine, basically the same as buying a car. $258 per month is a much easier pill to swallow than $12,300 all up front imo. I'm just curious how many are actually leasing.


r/MacStudio • • 22h ago

"Upgrading" my M5U, selling previous one

1 Upvotes

Hi all,

I got an M5U 30/64 96GB 1TB right when it came out end of September. Played around with it and like it a lot - to the point where I decided to replace it with a 30/64 256GB 2TB model.

I'd like to sell the 96GB one, just used it for roughly two months and it has AppleCare+ (3 yrs) on it. What do you think, what is a fair price for that machine?


r/MacStudio • • 1d ago

Just bought my first Mac?

7 Upvotes

Walking in microcenter was looking for accessory deals as usual.. I took a gander at the Mac minis.. Then I saw the studio with 36gb ram and 512 storage for $500 off at $2000...

I just bought it on a whim. I work in cyber security/governance.. I don't know how to code.. Immediate thought was play around with local LLMs and learn. But I really don't know. I'm a sucker for deals. What should I do with it? I never owned a Apple product not even an iPhone..


r/MacStudio • • 1d ago

Thanks for the Responses

6 Upvotes

In the thread "What Can I do with a Mac Studio" I got lots of well-thought out responses. I would like to thank everyone for their input that has helped me form a decision.

First of all, a little background: I'm the type of person who will use a computer for a very long time. My two main machines are a 2017 MBP (x86/64GB) and a 2019 Mac Pro (192GB). I would happily continue using these two machines for several more years except that I'm starting to get notifications from vendors that they will no longer support Intel machines. Furthermore, new releases of Swift are to the point they won't produce code for x86 machines (MBP is gone at this point, Mac Pro will lose support shortly). Also, Parallels has turned into complete trash over the past year or so (constantly crashes on both my machines). This is forcing me to buy a compact Dell unit to run the Windows code I require. The x86 macs were wonderful insofar as they let me run everything on one machine, but those days are now gone.

My normal MOD is to purchase a very high-end mac and use it as long as I can. That's why I was considering the MSU5/256. The 512 is higher-end, but I can't justify the extra cost. My current needs could probably be met by a 96GB or 128GB machine, but "for a few dollars more" I could future-proof myself a little and get the 256GB MSU5.

Running AI locally is not the main purpose for this machine. Rather, I need to maintain the running status of a research reactor across several weeks of operation. It would be incredibly helpful to maintain that status completely in RAM when playing back the data. A typical 8-hour run can produce gigabytes of data. Hence, I am concerned that 64GB (as in my current MBP) is insufficient. 128GB should be fine except for the longest of runs (and if a site needs longer runs, they can always buy a 256 or 512GB model; I don't particularly need that on my development machine).

That being said, I do use AI for image creation (manga) as a hobby. I have also used Codex to create a user interface prototype for the new reactor software (at this point, I'd be concerned about using AI to generate the software that actually controls the reactor; I'm sure the NRC would be even more concerned). I have also used Codex to generate RTL code for programming an FPGA (Alchitry). I don't need to run AI locally, but it would be nice (particularly for the image generation stuff) if I could; there have been times when ChatGPT has shut down on me because I've exceeded usage limits for the week. If a local LLM could help me avoid this, I'm all for it.

Based on the responses in that other thread, I think I'm giving up on running LLMs on an MSU. The problem is that I don't believe I have enough bandwidth (personally) to learn, tune, and maintain an LLM. I have other work to do (like that reactor code). I've been doing okay (other than a few usage issues) with the $100 ChatGPT subscription, I'll probably continue that.

Which brings up my next issue: what to replace my machines with? My Mac Pro (w/192GB RAM) is fine for testing the reactor software when it consumes a lot of memory. It's (obviously) much slower than an MSU5, but fast enough for running the software in most cases. As long as I stick with the current version (today) of Swift, I'm probably good. Won't be able to upgrade after this year, though. I could replace this machine with a Mac Mini. But I think they only go up to 64GB. A relatively high-end mini is about $4700 (64GB, 4TB). Delivery is in a week or two.

MSM5/128GB is $5900 (128GB/4TB). Delivery is in about a month. For $1,200 more, this is almost a no-brainer. Particularly with twice the RAM.

MSU/96GB is $7000. Delivery is about six weeks. For $1,100 more this is a questionable upgrade as it has 32GB less RAM (extra CPUs/GPUs aren't that useful for the reactor application). The 256GB unit at $11,000 would make more sense. Note: delivery time on MSU5/256GB is 12 weeks right now, which is ridiculous).

Of course, upgrading to 8TB SSD is very expensive ($4000), but it's blazing fast (compared to external drives) and fits in my "keep it forever" model. FWIW, I currently have a 48TB RAID drive connected to my Mac Pro (4TB internal SSD) that I use for Time Machine backups and off-loading large stuff I rarely access. I would probably stack that same drive on whatever machine I wind up with (for backup/near-line storage).

To be truthful, I don't need the full 128GB on my development machine. It will not be collecting reactor data continuously for a couple of weeks. And should the need arise, I could probably shoe-horn the application back onto my 192GB Mac Pro for testing. So, in theory, I could get a high-end Mac Mini with only 64GB. However, my current MBP has that much memory and it seems really stupid to purchase a machine I intend to use for several years with the same amount of memory I've been using for the past 10 years; that's not future-proofing. The MSM5/128GB seems to be the sweet spot in this story.

However, there is another possibility. Perhaps I give up on the "my machines must last 7-10 years" attitude and specifically purchase something that will last me only a couple of years. Wait for the MSU7 to arrive (and local AI models to get even better). A 64GB mini with 2TB is about $3,200 (delivery in two weeks). 4TB is $1,000 more (note: external drives range from $500 to $800, so the extra cost isn't as bad as it looks; OTOH, an external drive can be repurposed later). Still, $4200 (with 4TB SSD) doesn't look like enough of a savings over an MSM5/128GB to waste on a "throw-away" machine.

I would appreciate any comments people have on this. Here are my base requirements:

  1. As much RAM as economically feasible. 64GB is not future proof; 96 or 128 is probably where I'd feel comfortable.
  2. 4TB internal drive, minimum (current Mac Pro has 8TB; current MBP has 2TB and I'm having problems with that amount). Obviously, more than 4TB would be useful.
  3. CPU/GPU count, even on the lowest-end machines, is sufficient for my application's purposes. More would be better for running local LLMs, but that's not a sufficient concern today.

I'll also have to address the 2017 MBP upgrade, though the path there is far more clear-cut:
MBP 16" Max 128GB 4TB.

This is a machine that will have to last me 7-10 years. I want more memory than I have now (current:64GB) and more SSD space (current 2TB). The Max 128GB is the only reasonable path.


r/MacStudio • • 1d ago

128GB M5 1TB @ Apple Salem, NH

2 Upvotes

Hi I just canceled a pickup for a studio with the below specs from the Rockingham Mall Apple store in Salem, NH if anyone wants to slide by and try and grab it.

Mac Studio with M5 Max chip
Hardware:

  • 128GB unified memory
  • Accessory Kit
  • 1TB storage
  • 18-core CPU, 40-core GPU, 16-core Neural Engine

r/MacStudio • • 1d ago

Anyone upgrade from an M1 Ultra Mac Studio? How much better is gaming?

4 Upvotes

I have a 2022 Mac Studio with an M1 Ultra and 64 GB of RAM. I’m tempted to upgrade to the newest Mac Studio, but I’m curious how much of a difference I’d actually notice in games.

Most of what I play already runs fine. The big exception was Red Dead Redemption through CrossOver, which barely ran for me. That got me wondering how much newer hardware would help with games like that, and how much comes down to CrossOver compatibility.

Has anyone here made the jump from an M1 Ultra? What did you upgrade to, and which games went from barely playable to smooth? I’d especially like to hear from anyone who’s tried Red Dead Redemption through CrossOver on a newer Studio.

Would you upgrade for gaming, or stick with the M1 Ultra for now?


r/MacStudio • • 2d ago

Apple Mac Studio M5U 512GB/4GB available at cost in Phoenix

23 Upvotes

I have decided for now to stay with my M5U 96GB and work on my skills. I was incidentally up when the ordering window opened and put an early a.m. order for the 512 GB model with 4 GB SSD on my educational account. As an expression of thanks for the community here where I learned a lot I am offering it at cost to somebody who can come in person to Phoenix by the end of the week. There is no way to have it shipped safely, do not ask. If the new owner can make a gift to a charity for less fortunate, I would appreciate it and can give you a suggestion. Send me a direct message.


r/MacStudio • • 2d ago

What Can I Do with a Mac Studio?

11 Upvotes

I am tempted to get a MSU 256GB/8TB. The application I have in mind could probably work fine with a 96GB or 128GB, but I'm concerned that the AI "bubble" may come to an end. By that, I mean that I suspect investors will start expecting companies like Anthropic and OpenAI to actually become profitable; meaning they'll probably raise prices (dramatically) over the next year or two. So running a local AI would be useful in that situation.

I have two needs for AI at this point: I want to be able to create Mac applications in Swift (for the aforementioned application that would run on a 96 or 128 GB machine) and image/video generation (manga/anime).

Can you actually do such things with an MSU today? I've been using ChatGPT for these two purposes. For Manga generation, it is barely getting by. So far, for generating Swift code, it seems to do a decent job. Are these tasks I can move onto an MSU (or MSM) anytime soon?


r/MacStudio • • 2d ago

Finally!

Post image
139 Upvotes

M5 Ultra, it replaces my two Mac mini M4 Pros for local LLM & ComfyUI.

I noticed something funny in the specs: M5 Max weighs 6.0 pounds (2.7 kg), Ultra weighs 8.0 pounds (3.6 kg). This thing feels reassuringly dense!


r/MacStudio • • 2d ago

Local Setup Getting an Upgrade

Post image
68 Upvotes

It's going to be a fun Holiday Season


r/MacStudio • • 2d ago

Mac Studio for creative work

2 Upvotes

I need a mac for heavy design, motion graphics and beatmaking work.
photoshop with huge files, after effects, premiere, cinema 4d and redshift rendering, and ableton live / logic for recording long live audio sessions and production.

What config should i get? Would these be enough?

1/ M5 ultra 64 gpu cores, 96gb ram, 2tb ssd
OR
2/ M5 max 40 cores, 128gb ram, 2 tb ssd

OR get the cheaper 64gb ram m5 max, but worried it wont be enough