melkam
melkam
DDeno
Created by melkam on 12/18/2024 in #help
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
anyway, thanks for helping
15 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
webgpu has lots of apis, classes, functions etc. That's would be really hard to use if I don't have any type definitions. If this would be the only place I need to cast, then yes, I agree that it would be easier solution
15 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
because "deno.window" would conflict with "dom" apis
15 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
ahh, okey. Thanks. Then it seems like the only way would be to manually include types from npm "@webgpu/types"
15 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
hmm, okey. I thought that, as it is an unstable feature, its types are also included in this "deno.unstable" library. If I don't specify anything in the "lib" option, I have all definitions for webgpu types. But the time I add anything to the "lib" options, I lose them.
15 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to target browser and deno with unstable features in typescript `compilerOptions.lib`
yes, I know that. This is why I wanted to use ["deno.unstable"] lib that should provide access to such type definitions
15 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to request adapter for webgpu on WSL2
thanks for reply
6 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to request adapter for webgpu on WSL2
that's unfortunate 😩
6 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to request adapter for webgpu on WSL2
I also tried to requestAdapter on windows(the same machine) and on macos. They both worked
6 replies
DDeno
Created by melkam on 12/18/2024 in #help
Unable to request adapter for webgpu on WSL2
I tried running nvidia-smi to make sure that I can access my gpu
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.02 Driver Version: 566.03 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| 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 4060 On | 00000000:29:00.0 On | N/A |
| 0% 42C P8 N/A / 115W | 2132MiB / 8188MiB | 7% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 33 G /Xwayland N/A |
+-----------------------------------------------------------------------------------------+
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.57.02 Driver Version: 566.03 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| 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 4060 On | 00000000:29:00.0 On | N/A |
| 0% 42C P8 N/A / 115W | 2132MiB / 8188MiB | 7% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=========================================================================================|
| 0 N/A N/A 33 G /Xwayland N/A |
+-----------------------------------------------------------------------------------------+
6 replies
DDeno
Created by melkam on 1/13/2024 in #help
Typescript intelisense between jupyter notebooks
No description
6 replies