Notice: file_put_contents(): Write of 1061 bytes failed with errno=28 No space left on device in /var/www/tgoop/post.php on line 50

Warning: file_put_contents(): Only 16384 of 17445 bytes written, possibly out of free disk space in /var/www/tgoop/post.php on line 50
Know Thyself@master_thyself P.2022
MASTER_THYSELF Telegram 2022
https://x.com/oran_ge/status/1815997989955240296

最近Meta又在搞大新闻,发布了Llama 3.1的8B、70B、405B三个版本的大模型,还有一篇论文。

昨天我把论文大略翻看了下,训练模型用了16000个80G显存的H100显卡。

训练成本那么高,居然完全免费!而且据说最小的那个模型,只要16G内存就能运行,我终于可以体验本地运行的大模型了。

我先是从官网下载8B版本的模型,大约15G,但是我不知道怎么在本地运行。在conda中安装好各种依赖,最后提示“Runtime Error: use_libuv was requested but PyTorch was build without libuv support”,我不知道哪个版本的torch有这个选项,通过pip安装也是相同的错误。

我知道通过Hugging Face应该也可以下载运行,而且不需要自己踩坑,但是我不想重复下载。

最后发现也可以使用ollama一键运行,这个软件跟docker有点像,但我试图导入本地模型时用了很长时间一直没有结束,因为相关文档比较少,我也不确定是否支持本地导入。最后我考虑重新下载一遍,但是在Windows中不论是否使用代理都因网络问题很难下载下来。

最后到Linux下用代理把模型下载到本地,发现只有4.34G,测试没问题后又复制到Windows系统中。

在Linux下没有使用独立显卡,CPU占用比较高,在Windows下使用8G独显运行最小的模型也没什么压力。
👍31



tgoop.com/master_thyself/2022
Create:
Last Update:

https://x.com/oran_ge/status/1815997989955240296

最近Meta又在搞大新闻,发布了Llama 3.1的8B、70B、405B三个版本的大模型,还有一篇论文。

昨天我把论文大略翻看了下,训练模型用了16000个80G显存的H100显卡。

训练成本那么高,居然完全免费!而且据说最小的那个模型,只要16G内存就能运行,我终于可以体验本地运行的大模型了。

我先是从官网下载8B版本的模型,大约15G,但是我不知道怎么在本地运行。在conda中安装好各种依赖,最后提示“Runtime Error: use_libuv was requested but PyTorch was build without libuv support”,我不知道哪个版本的torch有这个选项,通过pip安装也是相同的错误。

我知道通过Hugging Face应该也可以下载运行,而且不需要自己踩坑,但是我不想重复下载。

最后发现也可以使用ollama一键运行,这个软件跟docker有点像,但我试图导入本地模型时用了很长时间一直没有结束,因为相关文档比较少,我也不确定是否支持本地导入。最后我考虑重新下载一遍,但是在Windows中不论是否使用代理都因网络问题很难下载下来。

最后到Linux下用代理把模型下载到本地,发现只有4.34G,测试没问题后又复制到Windows系统中。

在Linux下没有使用独立显卡,CPU占用比较高,在Windows下使用8G独显运行最小的模型也没什么压力。

BY Know Thyself




Share with your friend now:
tgoop.com/master_thyself/2022

View MORE
Open in Telegram


Telegram News

Date: |

It’s easy to create a Telegram channel via desktop app or mobile app (for Android and iOS): How to create a business channel on Telegram? (Tutorial) Step-by-step tutorial on desktop: As of Thursday, the SUCK Channel had 34,146 subscribers, with only one message dated August 28, 2020. It was an announcement stating that police had removed all posts on the channel because its content “contravenes the laws of Hong Kong.” Your posting frequency depends on the topic of your channel. If you have a news channel, it’s OK to publish new content every day (or even every hour). For other industries, stick with 2-3 large posts a week.
from us


Telegram Know Thyself
FROM American