当前位置: 首页 > news >正文

本地部署大语言模型-DeepSeek

DeepSeek 是国内顶尖 AI 团队「深度求索」开发的多模态大模型,具备数学推理、代码生成等深度能力,堪称"AI界的六边形战士"。

Hostease AMD 9950X/96G/3.84T NVMe/1G/5IP/RTX4090 GPU服务器提供多种计费模式。

DeepSeek-R1-32B配置

配置项

规格要求

CPU

16 核以上(如 AMD Ryzen 9950)

内存

96GB

硬盘

960GB

显卡

24GB+ 显存(如 RTX 4090)

# cat cpuinfo |grep name|head -1
model name    : AMD Ryzen 9 9950X 16-Core Processor

# nvidia-smi 
Sun Mar  2 14:51:30 2025       
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.01             Driver Version: 535.183.01   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  NVIDIA GeForce RTX 4090        Off | 00000000:01:00.0 Off |                  Off |
|  0%   27C    P8               5W / 450W |    495MiB / 24564MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
安装步骤(略写)

apt update
apt install nvidia-driver-535 -y
curl -fsSL https://ollama.com/install.sh | sh
ollama run deepseek-r1:32b-qwen-distill-q4_K_M --verbose

创建对话返回结果

>>> which is bigger,9.8 or 9.11?
<think>
Alright, so I'm trying to figure out whether 9.8 is bigger than 9.11 or not. At first glance, it seems like both numbers are pretty close to each 
other since they both start with a 9 and then have some decimal parts. But wait, maybe there's something more to it.Okay, let me break this down step by step. First, I need to understand what these decimals represent. So, 9.8 can be read as nine plus eight 
tenths, right? And 9.11 is nine plus eleven hundredths. Hmm, that makes sense. Now, the question is asking which one is bigger.Maybe it would help if I line them up vertically to compare the digits after the decimal point more easily:```9.809.11
```By adding a zero to 9.8 to make it 9.80, we can see that both numbers have two decimal places now. This should make the comparison straightforward.Now, let's look at the tenths place first:- For 9.80, the tenths digit is 8.
- For 9.11, the tenths digit is 1.Okay, so right here, it seems like 8 is greater than 1. That would mean that 9.80 is bigger because its tenths place is larger than the tenths 
place of 9.11.But wait a second—is there something else I should consider? Maybe rounding or anything like that?Well, since both numbers are already given to two decimal places and we've added an extra zero to make them consistent, I think it's safe to say 
that no further adjustment is necessary.Still, just to be thorough, let me convert these decimals into fractions to see if there's a difference in their values.For 9.80:- 0.80 as a fraction is the same as \( \frac{80}{100} \), which simplifies down to \( \frac{4}{5} \).So, 9.80 is equal to \( 9 + \frac{4}{5} = \frac{45}{5} + \frac{4}{5} = \frac{49}{5} \).For 9.11:- 0.11 as a fraction is approximately \( \frac{11}{100} \).So, 9.11 is equal to \( 9 + \frac{11}{100} = \frac{900}{100} + \frac{11}{100} = \frac{911}{100} \).Now, let's compare these two fractions:- \( \frac{49}{5} = 9.8 \)
- \( \frac{911}{100} = 9.11 \)To see which one is bigger, I can convert both to have the same denominator or find a common basis for comparison.Let's try finding equivalent fractions with the same denominator:The denominators are 5 and 100. Since 100 is a multiple of 5 (specifically, \( \frac{100}{5} = 20 \)), I'll convert both fractions to have a 
denominator of 100.For \( \frac{49}{5} \):- Multiply numerator and denominator by 20: \( \frac{49 \times 20}{5 \times 20} = \frac{980}{100} \).So, \( \frac{49}{5} = \frac{980}{100} \).Now we have:- \( \frac{980}{100} \) (which is 9.8)
- \( \frac{911}{100} \) (which is 9.11)Comparing the numerators directly, since both fractions have the same denominator:- 980 > 911This means that \( \frac{980}{100} > \frac{911}{100} \), or in other words, 9.8 is greater than 9.11.Wait a minute—this contradicts what I thought earlier where the tenths place indicated that 9.8 was bigger because of having an 8 instead of a 1 in 
the tenths place. But when converting to fractions with the same denominator, it's clear that even though both numbers have nine as their whole 
number part, the decimal parts make a difference.But according to my calculations:- 9.8 is larger than 9.11 because \( \frac{49}{5} \) (or \( \frac{980}{100} \)) is greater than \( \frac{911}{100} \).So, this further confirms that 9.8 is bigger.Is there anything else I need to consider? Maybe looking at the hundredths place?Well, since we've already converted both numbers to have the same denominator and confirmed that 9.8 has a larger numerator in the hundredths place 
as well (\( \frac{980}{100} \) vs. \( \frac{911}{100} \)), I think we can confidently say that 9.8 is indeed bigger than 9.11.Additionally, thinking about it on a number line might help visualize this:- If you imagine the numbers from 9 to 10:- 9.8 would be closer to 10.- 9.11 would be much closer to 9.Therefore, 9.8 is further along towards 10 and thus larger than 9.11.But just to ensure there's no mistake in the fraction conversion, let me double-check:- \( \frac{49}{5} = 9.8 \) since \( 49 ÷ 5 = 9.8 \).That seems correct because 5 times 9 is 45, and 49 minus 45 leaves a remainder of 4, so \( \frac{4}{5} = 0.8 \), making it 9.8.And for \( \frac{911}{100} \):- \( 911 ÷ 100 = 9.11 \).Yes, that's accurate because dividing by 100 moves the decimal point two places to the left.So everything checks out mathematically.Is there any alternative way to think about this?Perhaps considering money as an analogy:- If you have $9.80 and $9.11:- You'd obviously have more with $9.80 than with $9.11.This real-world scenario aligns with the mathematical conclusion that 9.8 is bigger.Alternatively, think of it in terms of measurements:- If something measures 9.8 centimeters and another measures 9.11 centimeters:- The first one would be longer than the second one.All these analogies reinforce the idea that 9.8 is indeed larger than 9.11.So, after carefully analyzing through different methods—decimal comparison, fraction conversion, number line visualization, and real-life 
analogies—it becomes clear that 9.8 is bigger than 9.11.
</think>To determine which number is larger between \( 9.8 \) and \( 9.11 \), we can follow these steps:1. **Understand the Numbers**:- \( 9.8 \) is equivalent to \( 9.80 \).- Both numbers have a whole number part of 9.2. **Compare the Decimal Parts**:- The decimal part of \( 9.8 \) (or \( 9.80 \)) is 0.80.- The decimal part of \( 9.11 \) is 0.11.- Since \( 0.80 > 0.11 \), the decimal part of \( 9.8 \) is larger.3. **Conclusion**:- Therefore, \( 9.8 \) is bigger than \( 9.11 \).Final Answer:  
\[
\boxed{9.8}
\]eval count:           501 token(s)
eval duration:        12.478s
eval rate:            40.15 tokens/s>>> 

Web页面返回对话,2个数字比大小结果

相关文章:

本地部署大语言模型-DeepSeek

DeepSeek 是国内顶尖 AI 团队「深度求索」开发的多模态大模型&#xff0c;具备数学推理、代码生成等深度能力&#xff0c;堪称"AI界的六边形战士"。 Hostease AMD 9950X/96G/3.84T NVMe/1G/5IP/RTX4090 GPU服务器提供多种计费模式。 DeepSeek-R1-32B配置 配置项 规…...

adb的安装

1、概念 &#xff08;1&#xff09;adb&#xff08;android debug bridge&#xff09;安卓调试桥&#xff0c;用于完成电脑和手机之间的通信控制。 &#xff08;2&#xff09;xcode来完成对于ios设备的操控&#xff0c;前提是有个mac电脑。 2、adb的安装 &#xff08;1&…...

Python 如何实现 Markdown 记账记录转 Excel 存储

文章精选推荐 1 JetBrains Ai assistant 编程工具让你的工作效率翻倍 2 Extra Icons&#xff1a;JetBrains IDE的图标增强神器 3 IDEA插件推荐-SequenceDiagram&#xff0c;自动生成时序图 4 BashSupport Pro 这个ides插件主要是用来干嘛的 &#xff1f; 5 IDEA必装的插件&…...

随机播放音乐 伪随机

import java.util.*;/*** https://cloud.tencent.com.cn/developer/news/1045747* 伪随机播放音乐*/ public class MusicPlayer {private List<String> allSongs; // 所有歌曲列表private List<String> playedSongs; // 已经播放过的歌曲列表private Map<String…...

latex 环境配置

编译器可选 miktex和 tex live ① miktex 下载地址 Portable 版本用的也是 Installer版的安装程序 basic-miktex-24.1-x64.exe&#xff0c;但是需要修改文件名为 miktex-portable.exe ├──texmfs │ ├─config │ ├─data │ └─install │ └─miktex/…...

fortify安全扫描Access Control: Database问题解决

概述 Access Control: Database说白了就是权限控制。在访问数据库(sql和nosql)需要加入当前用户的权限控制。不然会被fortify扫描出来&#xff0c;认为客户端可能不挟持和假冒&#xff0c;从而导致数据被泄露。 但是这个并不是任何时候都需要的&#xff0c;有的接口本来…...

Java 设计模式:软件开发的精髓与艺

目录 一、设计模式的起源二、设计模式的分类1. 创建型模式2. 结构型模式3. 行为型模式三、设计模式的实践1. 单例模式2. 工厂模式3. 策略模式四、设计模式的优势五、设计模式的局限性六、总结在软件开发的浩瀚星空中,设计模式犹如一颗颗璀璨的星辰,照亮了开发者前行的道路。它…...

初学者如何用 Python 写第一个爬虫?

?? 欢迎来到我的博客&#xff01; 非常高兴能在这里与您相遇。在这里&#xff0c;您不仅能获得有趣的技术分享&#xff0c;还能感受到轻松愉快的氛围。无论您是编程新手&#xff0c;还是资深开发者&#xff0c;都能在这里找到属于您的知识宝藏&#xff0c;学习和成长。 ?? …...

Cocos Creator3.8.6拖拽物体的几种方式

文章目录 前言一、第一种通过UILocation二、第二种通过UIDelta实现总结 前言 在游戏开发中&#xff0c;拖拽物体是一个非常常见的交互功能&#xff0c;无论是用于UI元素的拖动&#xff0c;还是场景中物体的移动&#xff0c;拖拽操作都能极大地提升用户体验。Cocos Creator 3.8…...

分布式Session

我用「餐厅点餐代码实战」帮你彻底搞懂分布式Session&#xff0c;看完不仅能应对面试&#xff0c;还能直接应用到实际开发。先记住这个核心矛盾&#xff1a;多服务员如何记住同一顾客的喜好&#xff1f; 一、从生活场景理解Session的本质 传统单机场景&#xff08;小餐馆&…...

Kotlin 运算符重载

在Kotlin中&#xff0c;常用的运算符重载函数名如下&#xff1a; 1.算术操作符&#xff1a; 加法&#xff1a;plus 减法&#xff1a;minus 乘法&#xff1a;times 除法&#xff1a;div 取模&#xff1a;rem 或 mod 整数除法&#xff1a;floorDiv 求幂&#xff1a;pow 自增&…...

OpenHarmony4.1-轻量与小型系统ubuntu开发环境

因OpenHarmony官网提供包含轻量、小型与标准系统的全量代码非常宠大&#xff0c;解包后大概需要70G以上硬盘空间&#xff0c;如要编译标准系统则需要140G以上空间。 如硬盘空间有限与只使用轻量/小型OpenHarmony系统&#xff0c;则可以下载并直接使用本人裁剪源码过的ubuntu硬盘…...

AVR 单片机硬件供电处理

摘自AVR 单片机应用笔记&#xff1a;AN2519 - AVR Microcontroller Hardware Design Considerations。 2. 供电 供电设计是任何硬件设计的关键一环&#xff0c;直接影响到系统的性能。在设计供电时&#xff0c;有两个重要的方面需要考虑&#xff1a;ESD 防护和噪声干扰。这些内…...

LeetCode 27 移除元素

LeetCode 27 - 移除元素&#xff08;Remove Element&#xff09;是一个简单但经典的双指针问题&#xff0c;主要考察数组操作的基本功。虽然问题容易&#xff0c;但掌握多种解法以及衍生的变体问题对解决更复杂的操作数组问题有帮助。 题目描述 输入&#xff1a;整数数组 nums…...

对“预训练”的理解

预训练有什么用 传统的机器学习是偏数学的&#xff0c;对数据的量不做过多要求&#xff0c;而深度学习的项目通常是有大量的数据可供使用。 在平常的任务或者项目中&#xff0c;我们可能并没有大量数据&#xff0c;只有少量数据&#xff0c;在这时我们就可以通过“借用”有大…...

论文阅读:CAN GENERATIVE LARGE LANGUAGE MODELS PERFORM ASR ERROR CORRECTION?

CAN GENERATIVE LARGE LANGUAGE MODELS PERFORM ASR ERROR CORRECTION? 生成式大语言模型能否进行自动语音识别&#xff08;ASR&#xff09;纠错&#xff1f; https://arxiv.org/pdf/2307.04172 文章目录 速览常规总结通俗版 摘要&#xff08;Abstract&#xff09;2. 引言&a…...

Stable Diffusion(SD)系列模型及关联算法深度解析

一、‌基础模型架构演进‌ SD v1.5‌ ‌核心架构‌&#xff1a;基于Latent Diffusion Model&#xff08;LDM&#xff09;&#xff0c;通过VAE将图像压缩至潜空间进行扩散训练&#xff0c;支持512x512分辨率生成&#xff0c;兼容二次元与写实风格混合创作‌12。 ‌训练数据‌&…...

FPGA开发,使用Deepseek V3还是R1(3):系统级与RTL级

以下都是Deepseek生成的答案 FPGA开发&#xff0c;使用Deepseek V3还是R1&#xff08;1&#xff09;&#xff1a;应用场景 FPGA开发&#xff0c;使用Deepseek V3还是R1&#xff08;2&#xff09;&#xff1a;V3和R1的区别 FPGA开发&#xff0c;使用Deepseek V3还是R1&#x…...

logback日志输出配置范例

logback日志输出配置范例 在wutool中&#xff0c;提供了logback日志输出配置范例&#xff0c;实现日志文件大小限制、滚动覆盖策略、定时清理等功能。 关于wutool wutool是一个java代码片段收集库&#xff0c;针对特定场景提供轻量解决方案&#xff0c;只要按需选择代码片段…...

【开源免费】基于SpringBoot+Vue.JS酒店管理系统(JAVA毕业设计)

本文项目编号 T 224 &#xff0c;文末自助获取源码 \color{red}{T224&#xff0c;文末自助获取源码} T224&#xff0c;文末自助获取源码 目录 一、系统介绍二、数据库设计三、配套教程3.1 启动教程3.2 讲解视频3.3 二次开发教程 四、功能截图五、文案资料5.1 选题背景5.2 国内…...

数据治理:数据质量与元数据管理

数据治理&#xff1a;数据质量与元数据管理 大家好&#xff0c;我是欧阳瑞&#xff08;Rich Own&#xff09;。今天想和大家聊聊数据治理这个重要话题。作为一个全栈开发者&#xff0c;数据治理是确保数据资产价值的关键。今天就来分享一下数据质量和元数据管理的实战经验。 数…...

企业AI项目紧急叫停!DeepSeek许可证新增限制条款(2024.06.18生效)及72小时补救路径

更多请点击&#xff1a; https://kaifayun.com 第一章&#xff1a;DeepSeek许可证紧急变更事件全景速览 2024年7月12日&#xff0c;DeepSeek官方突然宣布对其开源模型系列&#xff08;包括DeepSeek-V2、DeepSeek-Coder、DeepSeek-MoE等&#xff09;的许可证进行紧急修订&#…...

C++类型推导与auto关键字

C类型推导与auto关键字 类型推导是C11引入的重要特性&#xff0c;通过auto和decltype关键字&#xff0c;编译器可以自动推导变量的类型&#xff0c;减少代码冗余并提高可维护性。 auto关键字让编译器根据初始化表达式推导变量类型。 #include #include #include #include v…...

Local AI Needs to Be the Norm — A Beginner’s Guide for Developers

Local AI Needs to Be the Norm — A Beginner’s Guide for Developers You’ve probably noticed it: more and more developers are running large language models on their laptops—not as a curiosity, but as part of daily workflow. Not just toy experiments, but …...

揭秘开源项目的高效实现:QMC音频文件解密技术深度解析

揭秘开源项目的高效实现&#xff1a;QMC音频文件解密技术深度解析 【免费下载链接】qmc-decoder Fastest & best convert qmc 2 mp3 | flac tools 项目地址: https://gitcode.com/gh_mirrors/qm/qmc-decoder 你是否曾经遇到过从QQ音乐下载的音频文件无法在其他播放器…...

如何通过精细风扇控制优化Windows电脑的散热与静音体验

如何通过精细风扇控制优化Windows电脑的散热与静音体验 【免费下载链接】FanControl.Releases This is the release repository for Fan Control, a highly customizable fan controlling software for Windows. 项目地址: https://gitcode.com/GitHub_Trending/fa/FanContro…...

3大核心技术:解密QMC音频文件的最优方案

3大核心技术&#xff1a;解密QMC音频文件的最优方案 【免费下载链接】qmc-decoder Fastest & best convert qmc 2 mp3 | flac tools 项目地址: https://gitcode.com/gh_mirrors/qm/qmc-decoder 在数字音乐版权保护日益严格的今天&#xff0c;QQ音乐采用的QMC加密格式…...

2026 年 AI 工具聚合站:从模型入口到开发基础设施的进化之路

在 2026 年的 AI 开发生态中&#xff0c;开发者正面临一个矛盾的现状&#xff1a;一方面是 GPT-5.5、Claude 4.7、Gemini 3.1 等大模型的能力持续突破&#xff0c;带来了前所未有的技术红利&#xff1b;另一方面&#xff0c;模型碎片化、接口异构化、成本高企等问题&#xff0c…...

Steam创意工坊下载难题终结者:WorkshopDL让你的模组下载从未如此简单

Steam创意工坊下载难题终结者&#xff1a;WorkshopDL让你的模组下载从未如此简单 【免费下载链接】WorkshopDL WorkshopDL - The Best Steam Workshop Downloader 项目地址: https://gitcode.com/gh_mirrors/wo/WorkshopDL 还在为想玩Steam创意工坊的模组却没有Steam账号…...

2026年电工杯A 题 绿电直连型电氢氨园区优化运行【思路、Python代码、Matlab代码、论文(持续更新中......)】

&#x1f4a5;&#x1f4a5;&#x1f49e;&#x1f49e;欢迎来到本博客❤️❤️&#x1f4a5;&#x1f4a5; &#x1f3c6;博主优势&#xff1a;&#x1f31e;&#x1f31e;&#x1f31e;博客内容尽量做到思维缜密&#xff0c;逻辑清晰&#xff0c;为了方便读者。 ⛳️座右铭&a…...