this post was submitted on 05 Nov 2024
30 points (94.1% liked)

Selfhosted

39980 readers
657 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I'd like to prevent building a completely new server just to run a gpu for AI workloads. Currently, everything is running on my laptop, except it's dated cpu only really works well for smaller models.

Now I have an nvidia m40, could I possibly get it to work using thunderbolt and an enclosure or something? note: it's on linux

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 2 days ago (2 children)

If you've got a thunderbolt port on your laptop and a thunderbolt dock on your laptop then there's no reason why it shouldn't work.

I'm not familiar with thunderbolt on linux, but on windows you plug it in and it just works™️ and shows up as if it was inside your machine. Your DE on linux might automatically do it, but if you're command line only you'll probably have to run a command first.

[–] [email protected] 1 points 2 days ago

I did some more searching, and found that nvme to pci-e adapters are affordable. That's going to look a bit janky, but fortunately I don't care.

Thank you again for the suggestion!

[–] [email protected] 1 points 2 days ago (1 children)

worth a shot then, worst case I return the dock thing

[–] [email protected] 3 points 2 days ago* (last edited 2 days ago) (1 children)

I did some quick googling. Are those thunderbolt docks really $350 ? That's like half the price of a cheap computer?!

[–] [email protected] 2 points 2 days ago (1 children)

That can't be
googling ..
holy damn you're right

[–] [email protected] 1 points 2 days ago* (last edited 2 days ago) (1 children)

Maybe you should do the maths on other options. You could get a refurbished PC for $350. Or buy the dock anyways. Or spend the money on cloud compute if you're just occasionally using AI. Idk.

[–] [email protected] 3 points 2 days ago (1 children)

I did not say occasionally. We use AI a lot. Currently it's mostly for image indexing, recognition, object detection, and audio transcription. But we're planning to expand to more, and we'd like to use models that are more accurate

[–] [email protected] 1 points 2 days ago* (last edited 2 days ago) (1 children)

Fair enough. Yes I figured you probably wouldn't have a M40 lying around by accident 😅

[–] [email protected] 2 points 2 days ago

Oh it kinda just got here somehow. I don't know why, all I did was buy the thing