1,310 questions
0
votes
0
answers
34
views
RuntimeError: No HIP GPUs are available
I am simply trying to run a simple code in PyTorch and I have tried installing/uninstalling the right package multiple times.
System: Ubuntu 22.04 | GPU: Radeon 5450 | Environment: Anaconda-2023.09 | ...
0
votes
0
answers
47
views
Enormous number of amdxx64.dll threads
I'm sure I provoke it somehow, but may be somebody knows what causes it and how to deal with it. The only practical problem I have now is that I cannot find my own threads because the number of these ...
0
votes
0
answers
37
views
Loading Webpack bundle module with SystemJS
I have a UMD module, that i created using Webpack with the config "libraryTarget: 'umd’”.
So the module starts with:
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof ...
0
votes
0
answers
142
views
Issue building llama.cpp with hipBLAS backend. error: call to undeclared function '_mm256_dpbusd_epi32'
I'm trying to compile llama with the hipBLAS backed on
CPU: 12th Gen Intel(R) Core(TM) i9-12900K
GPU: AMD Radeon PRO W7800 (gfx1100)
OS: Windows 11 23H2
With AMD HIP SDK 6.1.2 for Windows Installed:
...
0
votes
0
answers
25
views
Access Display Custom Color Settings of AMD driver via script
unfortunately "Gamma Panel" stopped working on my PC lately (settings have no effect). But i noticed, that my AMD driver can modify the PC gamma settings aswell. I would like to create ...
0
votes
0
answers
34
views
How do I build bundled AMD libraries with interdependencies with webpack (using openlayers and vue3-layers)
I am trying to use webpack so I can build my dependencies from node_modules instead of cdns. I need them built as AMD modules. This has all been fairly straight forward so far with a fairly basic ...
0
votes
0
answers
44
views
Run Angular unit tests using Karma/Jasmine on multi-arch Docker containers
I have some Angular unit tests developed on Jasmine and using Karma runner. I can easily run them locally on an M2 Mac but now I am developing a CI pipeline which runs the tests on arm64 and amd64 ...
0
votes
0
answers
73
views
AMD HIP doesn't work on AMD GPU | Kernel hip function can't set values of variables (hip kernel doesn't work)
I have a problem with calling a global kernel function. It doesn't seem to work for me.
I downloaded hip 6.1 and created AMD HIP 6.1 Runtime (Matrix Transpose sample project). I have checked ...
0
votes
0
answers
321
views
How do I use ZLUDA with Coqui TTS on an AMD GPU?
I've been searching for this problem for a long time now. Btw, I'm using an RX570 4gb Sapphire Pulse GPU and there are some guides on how to install zluda with SDNext but I believe that does not apply ...
0
votes
1
answer
137
views
How to achieve fortran numerical results reproducibility across different platforms (Intel vs AMD)?
I do computing with one fortran program and I have two machines:
one with an Intel Xeon E5-2670 (Linux Mint 21.2 x86_64, Kernel: 5.15.0-86-generic)
and the other with an AMD 7700X (Linux Mint 21.3 ...
2
votes
1
answer
372
views
Building Python Packages from Source for AMD GPU - hipcc failed with exit code 127 --rocm-path not found
I am trying to install Python packages, like lietorch or pytorch-scatter with AMD support.
I download the repository,
git clone --recursive https://github.com/repo
If I just try to install the ...
1
vote
1
answer
3k
views
Installing Pytorch for Windows 11 and AMD GPU
could someone help me out with my Pytorch installation? My device currently uses Windows OS and an AMD GPU. However, the Pytorch installation does not support Windows OS with ROCm combination. Only ...
0
votes
0
answers
98
views
Having issue with CPU boosting on AMD
Background. I am the author of an application that emulates a Tandy Color Computer (Motorola 6809). This app has been stable for five years.
Lately I have noticed some strange CPU boosting issues ...
0
votes
0
answers
136
views
Compiling hip code using hipcc -O0 for AMD GPU
I'm using AMD RADEON RX7600.
I've been trying to compile HIP code using the precompiled hipcc compiler for a few weeks now.
When compiled with O[1/2/3] everything works fine. When I encountered some ...
1
vote
1
answer
171
views
GPGPU with Radeon Pro VII in Windows [closed]
I start with the question, in case somebody can say something without going through the whole post:
What is the easiest way to start programming with a Radeon Pro VII in C++ in Windows?
And for anyone ...
0
votes
0
answers
40
views
Human Detection After the Machine in Twilio
My scenario is I am calling the a company number.It ask for pin code that I pass using DTMF.Using my pin code system search a person and connect my call with relevant person (according to my pin code)....
0
votes
0
answers
62
views
How can I fix AMD Radeon 5600 XT windows 31 error?
I have a weird issue with my graphics card. Recently it started crashing and giving a windows 31 error in my device manager.
Uninstalling the driver from the device manager and using AMD Software ...
0
votes
1
answer
2k
views
AMD Software Host Application Pop-Up on startup
Whenever I start my PC AMD software host application pop-up appears.I have disabled it in the startup apps in task manager still it pop ups everytime I start my PC . Everytime I have to manually close ...
0
votes
0
answers
257
views
How to compile clang llvm to amd gcn on linux ubuntu
I've been trying for about two days to compile clang-llvm for amd gcn and I'm stuck.
My goal here is to be able to compile a hip program using the triple amdgcn-amd-amdhsa.
I cloned the project (llvm ...
2
votes
1
answer
110
views
How to open lod clamp specified in shader in glsl?
amd instruction set spec said:
IMAGE_SAMPLE_D_CL_O SAMPLE_O, with LOD clamp specified in shader, with user derivatives.
IMAGE_SAMPLE_D_CL sample texture map, with LOD clamp specified in shader, with ...
1
vote
0
answers
642
views
Deepspeed not offloading to CPU
Deepspeed fails to offload operations to the CPU, like I thought it should do when it runs out of GPU memory. I guess I have some setting wrong. When the batch size is increased it gives an error like
...
0
votes
0
answers
112
views
How to use Asynchronous Module Definitions(AMD) in SS2.1?
I'm trying to import SheetJS Library to SuiteScript and read "xlsx" file data. I follow the SheetJS tutorial step, like this:https://docs.sheetjs.com/docs/demos/cloud/netsuite/
After upload ...
0
votes
2
answers
48
views
Unable to use property of youtube player after importing into another module
I created a class of youtube api because I need it in multiple files but when I trying to access the getPlayerState() then its giving me error of that it is not a function but when I console.log
I see ...
2
votes
0
answers
136
views
L3 cache miss when iterating over small amount data
I'm optimizing a critical part of my program. the algorithm basicly iterating part of rows of a matrix(M) and apply H += alpha * M[x]
the matrix(M) is 8MB in size and i'm only iterating first quarter ...
10
votes
1
answer
13k
views
What is the Universal Module Definition (UMD)?
I've found the(?) github repository for UMD and it comes with this description (emphasis mine):
UMD (Universal Module Definition) patterns for JavaScript modules that work everywhere.
...
This ...
2
votes
1
answer
2k
views
How to include Javascript AMD modules in a Vite project
In my project using the Vite bundler, I have the two legacy AMD libraries azure-devops-extension-api and azure-devops-extension-sdk, but Vite only supports ESM modules. The means that if I in a ...
0
votes
1
answer
92
views
How do I use webworkers in Webpack with libraryTaget being 'amd'
We are using Webpack 5 to build small micro apps within a bigger web app using amd as libraryTarget to deploy things independently.
I wanted to refactor some code within a micro app to use web workers ...
0
votes
1
answer
468
views
Is it possible to retrieve all imported objects in ES6 modules?
With RequireJS, you can do something like:
define(['a', 'b', 'c'], function(a, b, c) {
console.log(arguments);
}
Is it possible to do something similar for an ES6 module? Ex:
import a from 'a.js'...
0
votes
1
answer
195
views
Error: requireJS config is not a function
My Project structure looks like this -
src
|- main.js
|- math.js
math.js is just an AMD module and I am requiring it in main.js
I have installed require.js using npm and requiring it in main.js
//...
3
votes
0
answers
265
views
Import npm package with AMD API structure inside Vite esnext project
I'm developing an Azure DevOps extension and for that I must use packages azure-devops-extension-sdk and azure-devops-extension-api. I'm using svelte with typescript and when I'm trying to import the ...
0
votes
1
answer
504
views
How to detect `eval` calls when addressing UI5 modules at runtime?
As part of the preparation for the "Asynchronous Module Loading" enablement in FLP, one of its prerequisites is making sure that no eval call is triggered due to the HTML document being ...
3
votes
1
answer
3k
views
How to Fix "String as JavaScript" Errors in FLP? (Async Module Loading)
The "Browser Settings" section from the "Site Settings" page of the launchpad in SAP Build Work Zone has now enabled the "Asynchronous Module Loading" by default for new ...
1
vote
1
answer
329
views
How do I detect cyclic dependent modules in UI5?
Given:
sap.ui.define([ // in my/ModuleA.js
// "...",
"./ModuleB",
], function (/*...,*/ModuleB) {
// ... ModuleB is undefined here
return/*...*/;
});
sap.ui....
0
votes
1
answer
26
views
Access AMD compiled TypeScript from external JavaScript
I have compiled some TypeScript from a single Engine.ts file, which I could easily access from JavaScript afterwards.
Engine.ts
class BaseObject {
}
class ExtendedObject extends BaseObject {
...
1
vote
0
answers
277
views
How to configure webpack to generate SuiteScript compatibile modules?
I am trying to use webpack to bundle a few libraries into my typescript suitelet.
Netsuite expects suitescripts to follow amd modules pattern. If I use tsc tocompile my suitelet, I get correct syntax ...
1
vote
0
answers
1k
views
Why require.js keep giving me script error without reason?
Why require.js keep giving me script error without reason?
I'm using require.js right now, I'm using amd and let typescript help me to put all compiled file into one File named 'index.js', but I'm ...
0
votes
0
answers
333
views
How to add babel and polyfills to a RequireJs project?
I am working on a legacy project which uses RequireJs to load and resolve all the dependencies. It works fine on modern browsers, but i need to add support for IE11.
I tried to use babel 7 with @babel/...
0
votes
1
answer
56
views
How to use Javascript module in typescript [duplicate]
I have a third-party Javascript module that is done in AMD way. I do not have typing file (type.d) for it nor I can create the typing file.
But I need to use the module in one of the typescript How ...
0
votes
1
answer
312
views
Can asynchronous module definitions be used with abstract syntax trees on v8 engine to read third party dependencies? This is for Cloudflare Workers
I understand eval string-to-function is impossible to use on the browsers' application programming interfaces, but there must be another strategy to use third party dependencies without node.js on v8 ...
0
votes
1
answer
269
views
How do I add Chart.js into a custom plugin in Moodle?
I am creating a custom plugin in Moodle and I have successfully integrated Chart.js. It works perfectly in my development environment when the cache is disabled. But when I turn on my cache, the below ...
1
vote
0
answers
109
views
Vscode intellisense AMD requirejs durandal
i am running an app in aspnetcore which uses plain js files for the view part,
in this case is a legacy app using :
jquery
Requirejs with AMD modules
Durandal (now aurelia) which enforces the use of ...
1
vote
1
answer
842
views
Fragment won't open due to the error "Cannot instantiate object: 'new' is missing!"
Unfortunately, my fragment page won't open.
Trying to open a select dialogue (fragment with table) after a button press.
Here is the error:
formatter function sap.f....
0
votes
1
answer
87
views
Converting test project from AMD to ES6 causes issue Qunit Asynctest cases
I am migrating/converting my test utilities project to ES6.
I am using "@types/qunit": "^2.0.31" version to execute async test cases.
All went well before conversion but after ...
0
votes
1
answer
141
views
RequireJS + Mocha + JSDom + Node -> Shim config not supported in Node
I'm trying to setup a Mocha testing framework using JSDom with RequireJS. Because I'm running the test on node instead of using a browser (since I'm using JSDom), all the non AMD modules doesn't seem ...
0
votes
1
answer
667
views
How to get require(packagename) to work, Error: Can't resolve 'api/DefaultApi' in react
I have a new package to add to my build for a React SPA. I'm using package.json, webpack 3.x and npm. The instructions for the package are:
To use the library locally without publishing to a remote ...
1
vote
2
answers
315
views
Babel transpiles javascript and adds a define([], function(){}) around the output. How do I prevent this?
I'm trying to transpile ES6 files to ES5 by using Babel. These output files are being used by RequireJS (Magento 2) and I'm stuck on one issue.
Configuration for Babel:
const presets = [
[
...
0
votes
1
answer
1k
views
define is not defined while build nextjs app
i'm using next version 10.0.1, and react 17.0.2,
When i'm trying build my next app, i get an error:
ReferenceError: define is not defined
at Object.<anonymous> (/Users/***/Desktop/gm/toesim-...
0
votes
1
answer
195
views
Typescript AMD modules - scripts are not running
I'm working on my Chrome extension and I want to add typescript to my project. So far I've been able to build my app without any compile/runtime errors (using require.js) this way:
tsconfig-bg.json (...
0
votes
1
answer
632
views
Cannot read property 'createPromiseCapability' of undefined
I'm trying to use ngx-extended-pdf-viewer in an Angular project that uses amd.min.js as an dependency. If I remove amd as an dependency it's working fine. But sadly I can't remove it as, a lot of ...
1
vote
0
answers
286
views
"requestAnimationFrame" in monaco editor appears and increase constantly
I am working in a implementation of monaco editor. Everything works good but in the console appears the next warning:
[Violation] 'requestAnimationFrame' handler took 50ms
and marks that line:
/**...