lucksufe
lucksufe
[GIN] 2024/03/05 - 21:34:14 | 403 | 0s | 192.168.31.22 | OPTIONS "/v1/chat/completions" [GIN] 2024/03/05 - 21:34:18 | 403 | 0s | 192.168.31.22 | OPTIONS "/v1/chat/completions" [GIN] 2024/03/05 - 21:36:58...
Referrer Policy: strict-origin-when-cross-origin maybe caused by this policy,but I already create my user variables. OLLAMA_ORIGINS=*://localhost OLLAMA_HOST=0.0.0.0 under the below instructions. `Setting environment variables on Windows On windows, Ollama inherits your...
> > Referrer Policy: strict-origin-when-cross-origin > > maybe caused by this policy,but I already create my user variables. OLLAMA_ORIGINS=*://localhost OLLAMA_HOST=0.0.0.0 under the below instructions. > > `Setting environment variables on...
> 一模一样的问题.requirement.txt也没写全。安装triton的时候torch的版本又变了. 这个triton怎么安装啊,用pip install triton找不到啊,去pypi.org上找只有anyLinux版本,是不是没有windows版本啊
triton你是怎么安装的?是得在linux环境下才有吗?
这个学习了,点赞
还有一些其实也很有用的字符串格式化方法,比如第二种里面的format,后面参数是可以放可迭代类型的,举个例子“{0} {1[0]} {1[1]} {1[2]}”.format(a, [b, c, d])。 还有一个是数字的格式化在第二种和第三种方法里面都可以加一个:来对数字格式化,比如说 “{val:.2f}”.format(随便一个float),f“{num:02X}”