shader-f16 not supported by browser

您的反馈很重要!
回复
yylly
帖子: 22
注册时间: 2024年 7月 20日 00:40

shader-f16 not supported by browser

帖子 yylly »

Chromium v120 and up is meant to have shader-f16 by default, but it won't be listed in features here: https://webgpureport.org/

See: https://github.com/mlc-ai/web-llm/issue ... 1877115608

I need this feature for use with @mlc-ai/web-llm, please include it in an update. Thank you.
I only speak English. If you don't understand what I say, please tell me and I will find a friend who speaks Chinese and English to help me translate.

( 我只会说英语。如果你听不懂我说什么,请告诉我,我会找一个会说中文和英文的朋友帮我翻译。 )
头像
catsxp
网站管理员
帖子: 3613
注册时间: 2022年 12月 26日 17:41

Re: shader-f16 not supported by browser

帖子 catsxp »

Same kernel m129 in Chrome and CatsXP
The test results are consistent
yylly
帖子: 22
注册时间: 2024年 7月 20日 00:40

Re: shader-f16 not supported by browser

帖子 yylly »

catsxp 写了: 2024年 9月 18日 13:00 Same kernel m129 in Chrome and CatsXP
The test results are consistent
When you go to this site, does it show shader-f16 in the "features" section? (Bottom of the middle column.)
上次由 yylly 在 2024年 9月 18日 13:59,总共编辑 1 次。
I only speak English. If you don't understand what I say, please tell me and I will find a friend who speaks Chinese and English to help me translate.

( 我只会说英语。如果你听不懂我说什么,请告诉我,我会找一个会说中文和英文的朋友帮我翻译。 )
头像
catsxp
网站管理员
帖子: 3613
注册时间: 2022年 12月 26日 17:41

Re: shader-f16 not supported by browser

帖子 catsxp »

M120+ confirmed default support?
yylly
帖子: 22
注册时间: 2024年 7月 20日 00:40

Re: shader-f16 not supported by browser

帖子 yylly »

上次由 yylly 在 2024年 9月 19日 02:01,总共编辑 1 次。
I only speak English. If you don't understand what I say, please tell me and I will find a friend who speaks Chinese and English to help me translate.

( 我只会说英语。如果你听不懂我说什么,请告诉我,我会找一个会说中文和英文的朋友帮我翻译。 )
头像
catsxp
网站管理员
帖子: 3613
注册时间: 2022年 12月 26日 17:41

Re: shader-f16 not supported by browser

帖子 catsxp »

代码: 全选

// List of WebGPU feature names, delimited by ,
// The FeatureParam may be overridden via Finch config, or via the command line
// For example:
//   --enable-field-trial-config \
//   --force-fieldtrial-params=WebGPU.Enabled:UnsafeFeatures/timestamp-query%2Cshader-f16
// Note that the comma should be URL-encoded.
This is the only relevant comment that can be found in the source code
Attempt to add startup parameters:

--enable-field-trial-config \
--force-fieldtrial-params=WebGPU.Enabled:UnsafeFeatures/timestamp-query%2Cshader-f16

The test results show that it is not yet open
Are you sure the test results of this page are valid under win? (Mac testing?)

catsxp://gpu/

代码: 全选

[Adapter Supported Features]
----------------------------
*   depth-clip-control
*   depth32float-stencil8
*   timestamp-query
*   texture-compression-bc
*   indirect-first-instance
*   shader-f16
*   rg11b10ufloat-renderable
*   bgra8unorm-storage
*   float32filterable
*   subgroups
*   subgroups-f16
*   dawn-internal-usages
*   dawn-multi-planar-formats
*   dawn-native
*   implicit-device-synchronization
*   surface-capabilities
*   unorm16texture-formats
*   snorm16texture-formats
*   multi-planar-render-targets
*   adapter-properties-memory-heaps
*   adapter-properties-d3d
*   format-capabilities
*   norm16texture-formats
*   shared-texture-memory-dxgi-shared-handle
*   shared-fence-dxgi-shared-handle
is ok!
yylly
帖子: 22
注册时间: 2024年 7月 20日 00:40

Re: shader-f16 not supported by browser

帖子 yylly »

My apologies, it turned out to be a hardware issue, apparently my card doesn't support shader-f16. Very sorry.
I only speak English. If you don't understand what I say, please tell me and I will find a friend who speaks Chinese and English to help me translate.

( 我只会说英语。如果你听不懂我说什么,请告诉我,我会找一个会说中文和英文的朋友帮我翻译。 )
回复