text:
More powerful Operator.to_circuit

What is the expected behavior?
Right now, the to_circuit method only works on the operator primitives but not on ListOps. I think we should try to add this method for the ListOps too. If in some cases it is not possible, e.g. because the operator is not unitary, we can raise an error.
Example:
from qiskit.circuit.library import RXGate
from qiskit.aqua.operators import MatrixOp, X

i = MatrixOp([[1, 0], [0, 1]])
print((i @ X).to_circuit())  # AttributeError: 'ComposedOp' object has no attribute 'to_circuit'
print((i ^ X).to_circuit())  # AttributeError: 'TensoredOp' object has no attribute 'to_circuit'

Though i.to_circuit and X.to_circuit both work.
Note that some combinations, such as CircuitOp @ PauliOp, work because the composition does not return a ComposedOp but the type of the left-hand-side operator.

Hi @Cryoris
I implemented a simple solution that works on ListOps

and raises error for non-unitary operators

I will create PR as soon as I extend the tests.

Thanks for looking into this.
Please do not paste images of code. Rather use quoted code blocks as in the first comment in this issue.

@cryoris Referring to the opening comment in this issue: Are you suggesting supporting to_circuit for derived classes only (eg SummedOp) or also for instances of ListOp ? The latter is meant to be container supporting vectorized operations.

The idea was to add it only for derived classes, meaning: TensoredOp, ComposedOp and SummedOp.
If we want we could also add it to the ListOp itself but then it should return (nested) lists of circuits. But maybe let's start with only doing it for the derived classes.

@Cryoris I moved the methods to the child classes, please see the PR.

authors: Cryoris jlapeyre molar-volume

repo: Qiskit/qiskit-aqua


text:
Measurement Mitigation/RB Documentation

https://github.com/Qiskit/qiskit/tree/master/docs/ignis
Should be a usability guide and a terse discussion of the features. Not a tutorial on the Cliffords.

See: https://github.com/Qiskit/qiskit/pull/151
@dcmckayibm - Please check comment, so we will know how to do the other documents as well.

source: gharchive/issue

authors: ShellyGarion dcmckayibm

repo: Qiskit/qiskit-ignis

license_type: permissive

license_source: github-api


text:
Update the Quantum Neural Networks tutorial with QNNCircuit

What should we add?
With the recent introduction of QNNCircuit it is important to show how to use it in the QML tutorials. The most suitable opportunity is to update the 01_neural_networks.ipynb and add a simplified way of instantiating quantum neural networks. Other tutorials can be updated as well.

@adekusar-drl great idea 👍 !
I'd love to pick up this one 😃 .

Hey @adekusar-drl ! Would it be possible for me also to be assigned to this issue? I'd love to help improve the QML tutorials.

@david-alber are there any updates?

@adekusar-drl  I am still working on this issue. We can split the work though: I will update the 01_neuronal_networks.ipynb tutorial. @athanzxyt  if you find any other tutorials where the QNNCircuit can be applied, please go ahead and do the updates 😀.

@athanzxyt You can think where QNNCircuit can be applied else. Thanks.

@adekusar-drl Can you reference the API documentation for QNNCircuit? I could not find anything related to QNNCircuit.

The documentation is not available since it is not released yet.

Ahh, alright!

authors: Jay-Patel-257 adekusar-drl athanzxyt david-alber

repo: Qiskit/qiskit-machine-learning


text:
Conditionals must be updated to match schema

From @chriseclectic:
There is a mismatch between how Terra treats conditionals, and how conditionals are expected in the Qobj schema. Specifically, Aer supports conditionals in the new format.
The difference is:
Terra you set a conditional based on the value of an entire classical register represented as an integer: Eg:
cr = ClassicalRegister(2)
x(qr[0).c_if(cr, 3)  # conditional for cr = "11"

Qobj you set a conditional based on a single "register" bit being 1. Eg:
{"name": "x", "qubits": [0], "conditional": [0]}  # apply an x if `register[bit0] = "1"`
{"name": "x", "qubits": [0], "conditional": [1]}  # apply an x if `register[bit1] = "1"`

So for single bit classical registers you can just write all measurements to a register field and be done with it. Eg. {"name": "measure", "qubits": [0], "memory": [0], "register": [0]}, but for conditionals on multi-bit ClassicalRegisters you will need to use the boolean function (bfunc).
The bfunc is a qobj instrution: { "name": "bfunc", "mask": "0xF", "relation": "==", "val": "0x5", "register": 0}. This applies a mask to all register bits, and returns a bool for (register AND mask) relation val.
So I think one way to handle this would be to have all measure operations (for simulators) write to both the memory and register, and then enlarge the register by 1 if there are conditionals and have each conditional have a bfunc writing to the additional register location and using that location for the conditional check.
Eg:
qr = QuantumRegister(1)
cr = ClassicalRegister(2)
circuit.x(qr[0]).c_if(cr, 0)
circuit.y(qr[0]).c_if(cr, 1)
circuit.z(qr[0]).c_if(cr, 2)
circuit.h(qr[0]).c_if(cr, 3)

Compiling to something like this should work:
qobj_experiment = {
  "config": {"num_qubits": 1, "memory_slots": 2, "register_slots": 3}
  "instructions": [
    {"name": "bfunc", "relation": "==", "mask": "0x3", "val": "0x0", "register": 2},
    {"name": "x", "qubits": [0], "conditional": [2]},
    {"name": "bfunc", "relation": "==", "mask": "0x3", "val": "0x1", "register": 2},
    {"name": "y", "qubits": [0], "conditional": [2]},
    {"name": "bfunc", "relation": "==", "mask": "0x3", "val": "0x2", "register": 2},
    {"name": "z", "qubits": [0], "conditional": [2]},
    {"name": "bfunc", "relation": "==", "mask": "0x3", "val": "0x3", "register": 2},
    {"name": "h", "qubits": [0], "conditional": [2]}
  ]
}

For an experiment you may not have unlimited register slots so you would only want to write to register the measures that are later used for conditionals. So you might want to do that in your implementation.

in #1629 I made it work using the old style to pass the test but to move it to the new style we need to discuss if we are going to introduce register_slots yet.

can this be done for 0.8

fixed via #1778

authors: ajavadia jaygambetta

repo: Qiskit/qiskit-terra


text:
Support control flow in DAGCircuit.collect_runs

What should we add?
Transitively part of #9417.
Transpiler optimisation level 3 adds in extra passes to resynthesise all runs of 2q blocks.  Doing this involves finding the runs of blocks, which is the pass Collect2qRuns, which mostly just delegates to DAGCircuit.collect_runs (via DAGCircuit.collect_2q_runs).  This whole chain needs upgrading to be able to handle control-flow.
In particular: DAGCircuit.collect_runs needs an upgrade to its output format to allow the specification runs that are nested within control flow.  Control-flow operations that act on two qubits should not themselves be considered part of a run, although their contained block may be a run of itself.
For the new data format, there is likely some overlap here with #9423.  The new data format should be backwards compatible with the old one. That is, a circuit without control flow should produce the same output in the old and new forms of this function, since it is a user-facing method.
Fixing this should automatically upgrade the analysis transpiler passes Collect2qBlocks and Collect1qRuns (and this should be part of the test suite). This alone will not enable the transformation pass ConsolidateBlocks to read this information - for that, see #9426.

I'm finding the details of the relevant structures are slightly different than they appear in the comment above. On today's main branch, as well as that on Jan 23, 2023. The main ideas are the same. To try to get the details straight:

I find do find the pass called  Collect2qBlocks, but find no Collect2qRuns in ./qiskit or ./test. Is Collect2qRuns somewhere else?
Collect2qBlocks calls the method DAGCircuit.collect_2q_runs.
DAGCircuit.collect_2q_runs calls rustworkx.collect_bicolor_runs. The latter function implements the algorithm directly without calling to another high-level function.
Each of DAGCircuit.collect_runs and DAGCircuit.collect_1q_runs directly calls rustworkx.collect_runs, which again does all the work without calling another high-level function. The two Python methods differ mostly in the filter function that the pass to rustworkx.

A few questions:
It seems clear that we need to recognize control flow nodes in rustworkx.collect_bicolor_runs. I don't immediately see a way to do this without changing the API of this function. This is not a problem for qiskit because collect_bicolor_runs is called in only one place and it is not exposed. But it would change the API of rustworkx. And it would do it in a way that begins to look tailored to the needs of the problem at hand. An alternative is to rename a copy of  collect_bicolor_runs and modify it.
Do we need to do something similar for  rustworkx.collect_runs which is callled by DAGCircuit.collect_runs ? The code for these is currently independent of that in the previous paragraph. (The opening comment seems to imply a call chain collect_2q_runs $\rightarrow$ collect_runs. But this is not the case in the code today.)
We could simply include the control-flow nodes in the output of the rustworkx routines and then postprocess it in Python. But I guess this is unacceptably inefficient. It is better to do this work on the rust side. Even if it's possible to analyze the PyObjects on the rust side, I don't see this done in the code at present. Also, it would be qiskit-specific and would not belong in rustworkx. Instead this is always done by passing python functions to the rust side. Two options are: 1) Modify our new copy of rustworkx.collect_bicolor_runs to take three functions rather than two as arguments. Pass a boolean function that returns true on a control flow node. 2) Use only two Python callbacks, but instead of a boolean function, use a function that returns an integer. This would indicate whether the node is a gate or a control flow node or something else.
How do we indicate that a run is in a block in a control flow node? We could  wrap the run in a class. This could be created by yet another Python callback on the rust side. It would be nice to find a better way.
How will these blocks be used? That would inform the design of the data structure. For example suppose we are resynthesizing 2q gates. Is the idea to descend into blocks in control-flow and do the same. In this case, I just a wrapper as described above is sufficient. But we might want to use this data structure for other purposes as well.

If I read the OP correctly there shouldn't be any rustworkx api changes needed. I see it more of a division of work that's needed here. First we need to update the filter function argument to the rustworkx calls used in the dagcircuit api to set it to not include control flow ops. Then we need to update the pass to recurse into control flow blocks and run the dagcircuit collection methods again inside each of those and store that nested run/block info in the property set. Finally we'll then need to update the consolidate blocks pass to read whatever data format is put on the property set and consolidate the internal runs/blocks into unitaries identified inside the control flow blocks.

About collect_2q_runs delegating to collect_runs: I probably misread the functions, or I just looked at them at thought "those look very similar" then screwed up when writing the post.  The point is that the all upgrade in the same way, at least.
About Collect2qRuns: I probably typoed and meant Collect2qBlocks, or whichever way round it's meant to be.  There's like 4 passes that are Collect<X><Y>, where Y appears to be pseudorandomly selected from "blocks" and "runs".
For the rest, what Matthew said is what I meant.

thought "those look very similar"

I think the "moral" of story in the OP was clear enough.  Good that you cleared this up. I was not 100 sure of the details because occasionally strings I don't find with grep are in another repo.
Ok. So the new logic is all on the Python side.

It's likely that we finish at least a few of these issues for supporting control flow in optimization before releasing. Maybe we can do a release note for all of them (or a group of them) rather than a release note per PR.
In particular, it's time to make a release note for #10260. Or, we can make separate release notes, and consolidate them a single note looks better.
Thoughts?

@kevinhartman I think my comment is mistaken. Considering control flow ops on the DAG, the blocks of ops inside are QuantumCircuits not DAGCircuits. In particular, they are not indexed in the top-level DAG.
So in order to work with ConsolidateBlocks I have to add more structure. Furthermore, it would be nice to avoid converting repeatedly from DAG to Circuit (more than we already do)

If we merge

#10355

then this issue (#9425) is obsolete, unless I'm mistaken. It might become relevant again if we redesign in the future.

This issue is obsolete. We don't have any near term need to complete this task.

authors: jakelishman jlapeyre mtreinish


text:
Rename run_options to options

Summary
@jyu00 requested renaming run_options to options for consistency with qiskit-ibm-runtime.
Details and comments

Pull Request Test Coverage Report for Build 3020718202

15 of 15 (100.0%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 84.306%

Totals

Change from base Build 3017902091:
0.003%

Covered Lines:
57817

Relevant Lines:
68580

💛  - Coveralls

Just to add more context, I requested the change because a subclass implementation, such as the ones in qiskit-ibm-runtime, can support more than just runtime options. And run_options implies it's only for runtime.

Could you review this, @woodsp-ibm?

source: gharchive/pull-request

authors: coveralls ikkoham jyu00 t-imamichi


text:
Fix Backend primitive classes for BackendV1 with no max_experiments

Summary
The max_experiments field in the BackendConfiguration for a BackendV1 backend is not a required field. While in practice most real backends set it, some simulators (including aer) do not. This causes a failure when using the Backend primitive classes with these backends as we were previously assuming the max_experiments attribute was always present.
Details and comments

Pull Request Test Coverage Report for Build 3386257364

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.004%) to 84.525%

Totals

Change from base Build 3385852241:
0.004%

Covered Lines:
62340

Relevant Lines:
73753

💛  - Coveralls

authors: coveralls mtreinish


text:
Configure dependabot to ignore fixedbitset for now

The fixedbitset dependency has to be kept in sync with the version
petgraph is using since we need to interoperate with pegraph using
fixedbitset objects a version mismatch will cause a compilation failure.
Right now dependabot is trying to update the fixedbitset verision
independently which will not pass CI. This commit sets fixedbitset as an
ignored package in the dependabot configuration.

Wow dependabot is smarter than I thought, https://github.com/Qiskit/retworkx/pull/106#issuecomment-666323717 I don't think we need to ignore fixedbitset (since it doesn't release often). I'm going to close this for now, if it gets to be a problem we can always explore this again in the future.

repo: Qiskit/retworkx


text:
WavPack support?

Good Day,
First of all, many thanks for creating this lightweight application.
Just a quick question about WavPack support, is it OK to take a look at this?
https://github.com/koobar/NAudio.WavPack

In addition to this library, you will need wavpackdll.dll that is compatible with the platform of your execution environment. Please obtain it separately from the WavPack author's page.

The latest version is available here:
https://github.com/dbry/WavPack/releases/download/5.7.0/wavpack-5.7.0-dll.zip
I hope that adding support for WavPack wouldn't be all that challenging at all, thank you very much and have a great weekend.

Ok. I'll take a look.

Added. So far without TAG support.

added tags and cue in tags support

license: MIT


text:
Implement BinanceUS Fee Model

Expected Behavior
Support BinanceUS Fee Model.
Actual Behavior
Use Binance Fee Model for both Binance and Binance US
Potential Solution
Binance US Trading Fee Structure adjust BinanceUSBrokerageModel to return a new Binance US fee model, see if we can reuse BinanceFeeModel as base and maybe just override the tier values
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues
[x] I have provided detailed steps to reproduce the issue

Client request

Closing as Binance US shutdown.....

Closing for now

authors: AlexCatarino Martin-Molinero jaredbroad

repo: QuantConnect/Lean


text:
Apply security changes at end of time step

Description

When calling AddSecurity methods, we now save the changes to a pending list to be applied at the end of the current time step. This gives the algorithm a chance to properly configure the newly created security object (normalization mode was original culprit here) before the data feed grabs it and creates a subscription for it. Once the DF has created a subscription for it, any further changes to the subscription properties will not take effect.
Related Issue

Fixes #1689
Motivation and Context

Options algorithms were running with the adjust data normalization mode because by the time we configured it to use raw mode, the data feed had already grabbed the subscription and started enumerating the data source.
Requires Documentation Change

No.
How Has This Been Tested?

Extensive manual testing. There is a related options regression algorithm that I have locally, but it has some issues I'm still trying to understand, but didn't want that learning exercise to prevent this bug fix from getting into master
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Non-functional change (xml comments/documentation/ect)

Checklist:

[x] My code follows the code style of this project.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.
[x] My branch follows the naming convention bug-<issue#>-<description or feature-<issue#>-<description>

NOTE: OptionExerciseAssignRegressionAlgorithm is a flickering test. It appears to be caused by the ordering of fills. It passes 100% of the time when I run it by itself, but 50% when run as part of the entire regression suite. I confirmed this issue also exists on the current master. Also, no additional tests were added to cover this, but one is forthcoming. I'm creating an options regression algorithm that hopefully covers many of the common options issues, but it requires more time to properly validate the results.

fixed typo in pendingUniverseAdditions


text:
DataSet: variable collections should always be refreshed

Currrently, e.g. DataSet.singles is created when a file is loaded. That is stupid since it will not reflect renaming or drop operations.

fixed in #703

repo: Quantipy/quantipy


text:
Load custom operators from external library

Removes all custom operator code and imports this functionality from the external library qibo_sim_tensorflow. CI is not expected to test the custom backend until we make this library available (via pip or somehow else). Once this happens we need to modify the installation instructions accordingly (eg. do pip install qibo_sim_tensorflow explicitly).

@stavros11 in #400 I have implemented some fixes for setup.py so if you prefer we can merge that here asap.

@stavros11 in #400 I have implemented some fixes for setup.py so if you prefer we can merge that here asap.

Yes, I believe we can merge. I was looking at the matrices pylint issue you mentioned and I will open another PR that simplifies this point, particularly makes matrices backend agnostic, which hopefully will solve the issue.

In order to complete this PR we need:

[ ] to cleanup the backends, as discussed the only available backends should be [qibotf, numpy, tensorflow] using defaulteinsum.
[ ] adjust tests accordingly, and if possible bring all tests to the new format.
[ ] document how to install qibo and qibotf from pip and git.
[ ] update the documentation explaining the new backends, adding some plots for visual reference (before doing so, I would suggest to review and merge #399.

Just noting that a last piece remaining open for this PR other than the documentation in #411 is the version compatibility check between qibo and qibotf.

@stavros11 indeed, thanks, I have opened #412 with a simple approach, let me know.

@stavros11 shall we merge this?

@stavros11 shall we merge this?

Yes, I believe it has everything we need for now.

repo: Quantum-TII/qibo


text:
Refs/heads/GoogleGoddesses Tallicia 369 cloud patch 1

I learned how to create a branch, I created a file and made a commit, and opened a pull request

I learned how to create a branch, I created a file and made a commit, and opened a pull request


text:
Incorrect Date Format

I found this only by trying Android so far but, if you have a contact with a birthdate assigned in the contact and the date format is not MM/DD/YY then you will get an error. Andriod allows you to not include the year and it broke my code. I found out which contact it was and they had the birthday month of 03/21 but the code requires a year. Please be aware as I can fix this on my end but all my users now need to update any birthdays they have saved to their contacts.

Thanks @dallinwelch - could you re-open this with more details, like a code snippet? The API of flutter_contacts allows a nullable year in theory, so I'd be curious to hear why it's not working for you.

authors: dallinwelch joachim-quis


text:
周视图中使用拖动调整时间段无效

异常：拖动时间可无效。见图：

另外，既然可以拖动调整时间，是否要支持任务的时间段？这样在时间轴上看确实会好看很多。不过这个功能想来不是很简单，如果已经在你的开发计划中，那还是蛮期待的。

会在 0.3.0 支持任务的拖动

authors: Quorafind lillian-who

repo: Quorafind/Obsidian-Big-Calendar


text:
Crashes after several hours that corrupts all saves

I am using the Bannerkings at war collection (https://next.nexusmods.com/mountandblade2bannerlord/collections/pnzkoo?tab=mods) and constantly getting this crash after several hours of game play. (often crashes around 20 days). Afterwards, earlier saves of that campaign are also corrupted regardless if the saves were from before the crash happened. Had a few extra save files and it did not help.
After disabling a bunch of other mods, disabling bannerkings actually gets a different crash report but its likely due to the save being incompatible. (mscorlib null value sorta thing)
The current callstack is:
Exception information
Type: System.NullReferenceException
Message: Object reference not set to an instance of an object.
Source: TaleWorlds.CampaignSystem
CallStack:
at Hero TaleWorlds.CampaignSystem.Party.PartyComponents.BanditPartyComponent.get_PartyOwner()
at Hero TaleWorlds.CampaignSystem.Party.PartyBase.get_Owner()
at IFaction TaleWorlds.CampaignSystem.Party.MobileParty.get_MapFaction()
at void TaleWorlds.CampaignSystem.MapEvents.MapEvent.Update()
at void TaleWorlds.CampaignSystem.MapEvents.MapEventManager.Tick()
at void TaleWorlds.CampaignSystem.Campaign.Tick()
at void TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(float dt)
at void TaleWorlds.CampaignSystem.GameState.MapState.OnTick(float dt)
at void TaleWorlds.Core.GameStateManager.OnTick(float dt)
at void TaleWorlds.Core.Game.OnTick(float dt)
at void TaleWorlds.Core.GameManagerBase.OnTick_Patch9(GameManagerBase this, float dt)
at void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(Module this, float dt)

enhanced stacktrace:
Frame: Hero TaleWorlds.CampaignSystem.Party.PartyComponents.BanditPartyComponent.get_PartyOwner() (IL Offset: 0)
Module: UNKNOWN
Method: virtual TaleWorlds.CampaignSystem.Hero TaleWorlds.CampaignSystem.Party.PartyComponents.BanditPartyComponent::get_PartyOwner()
Method From Stackframe Issue: False

Frame: Hero TaleWorlds.CampaignSystem.Party.PartyBase.get_Owner() (IL Offset: 0)
Module: UNKNOWN
Method: TaleWorlds.CampaignSystem.Hero TaleWorlds.CampaignSystem.Party.PartyBase::get_Owner()
Method From Stackframe Issue: False

Frame: IFaction TaleWorlds.CampaignSystem.Party.MobileParty.get_MapFaction() (IL Offset: 0)
Module: UNKNOWN
Method: virtual TaleWorlds.CampaignSystem.IFaction TaleWorlds.CampaignSystem.Party.MobileParty::get_MapFaction()
Method From Stackframe Issue: False

Frame: void TaleWorlds.CampaignSystem.MapEvents.MapEvent.Update() (IL Offset: 41)
Module: UNKNOWN
Method: System.Void TaleWorlds.CampaignSystem.MapEvents.MapEvent::Update()
Method From Stackframe Issue: False

Frame: void TaleWorlds.CampaignSystem.MapEvents.MapEventManager.Tick() (IL Offset: 92)
Module: UNKNOWN
Method: System.Void TaleWorlds.CampaignSystem.MapEvents.MapEventManager::Tick()
Method From Stackframe Issue: False

Frame: void TaleWorlds.CampaignSystem.Campaign.Tick() (IL Offset: 68)
Module: UNKNOWN
Method: System.Void TaleWorlds.CampaignSystem.Campaign::Tick()
Method From Stackframe Issue: False

Frame: void TaleWorlds.CampaignSystem.GameState.MapState.OnMapModeTick(float dt) (IL Offset: 140)
Module: UNKNOWN
Method: System.Void TaleWorlds.CampaignSystem.GameState.MapState::OnMapModeTick(System.Single dt)
Method From Stackframe Issue: False

Frame: void TaleWorlds.CampaignSystem.GameState.MapState.OnTick(float dt) (IL Offset: 77)
Module: UNKNOWN
Method: virtual System.Void TaleWorlds.CampaignSystem.GameState.MapState::OnTick(System.Single dt)
Method From Stackframe Issue: False

Frame: void TaleWorlds.Core.GameStateManager.OnTick(float dt) (IL Offset: 47)
Module: UNKNOWN
Method: System.Void TaleWorlds.Core.GameStateManager::OnTick(System.Single dt)
Method From Stackframe Issue: False

Frame: void TaleWorlds.Core.Game.OnTick(float dt) (IL Offset: 0)
Module: UNKNOWN
Method: System.Void TaleWorlds.Core.Game::OnTick(System.Single dt)
Method From Stackframe Issue: False

Frame: void TaleWorlds.Core.GameManagerBase.OnTick_Patch9(GameManagerBase this, float dt) (IL Offset: -1)
Module: UNKNOWN
Method: static System.Void TaleWorlds.Core.GameManagerBase.OnTick_Patch9(TaleWorlds.Core.GameManagerBase this, System.Single dt)
Method From Stackframe Issue: False

Frame: void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(Module this, float dt) (IL Offset: -1)
Module: UNKNOWN
Method: static System.Void TaleWorlds.MountAndBlade.Module.OnApplicationTick_Patch2(TaleWorlds.MountAndBlade.Module this, System.Single dt)
Method From Stackframe Issue: False

Mod Version
tested on vers 1.14, modlist is the Bannerkings at war collection
Installed Modules
[+ Harmony (Bannerlord.Harmony, v2.3.0.0)](javascript:;)
[+ ButterLib (Bannerlord.ButterLib, v2.8.0.0)](javascript:;)
[+ UIExtenderEx (Bannerlord.UIExtenderEx, v2.8.0.0)](javascript:;)
[+ Mod Configuration Menu v5 (Bannerlord.MBOptionScreen, v5.7.1.0)](javascript:;)
[+ Native (Native, v1.1.4.0)](javascript:;)
[+ SandBox Core (SandBoxCore, v1.1.4.0)](javascript:;)
[+ Sandbox (Sandbox, v1.1.4.0)](javascript:;)
[+ Achievement Unblocker (AchievementUnblocker, v1.0.4.0)](javascript:;)
[+ StoryMode (StoryMode, v1.1.4.0)](javascript:;)
[+ CustomBattle (CustomBattle, v1.1.4.0)](javascript:;)
[+ Birth and Death Options (BirthAndDeath, v1.1.4.0)](javascript:;)
[+ Arena Overhaul (ArenaOverhaul, v1.3.5.0)](javascript:;)
[+ BannerLib (BannerLib, v1.0.0.0)](javascript:;)
[+ Banner Fix (BannerFix, v2.0.0.0)](javascript:;)
[+ Better HUD (BetterHUD, v1.9.0.0)](javascript:;)
[+ Better Time (BetterTime, v1.2.9.0)](javascript:;)
[+ Character Manager (CharacterManager, v3.3.1.0)](javascript:;)
[+ Character Reload (CharacterReload, e1.1.0.0)](javascript:;)
[+ Cheats (Cheats, v3.0.1.0)](javascript:;)
[+ Raise your Torch (RaiseYourTorch, v5.2.0.0)](javascript:;)
[+ CustomizableTroopWages (CustomizableTroopWages, v0.4.0.0)](javascript:;)
[+ EquipBestItem (EquipBestItem, v1.10.0.0)](javascript:;)
[+ Fourberie (Fourberie, v12.2.3.0)](javascript:;)
[+ HoldCourt (HoldCourt, v1.0.13.0)](javascript:;)
[+ Diplomacy (Bannerlord.Diplomacy, v1.2.5.0)](javascript:;)
[+ Improved Garrisons (ImprovedGarrisons, v4.1.2.9)](javascript:;)
[+ KillBanditsRaiseRelations (KillBanditsRaiseRelations, v2.1.3.0)](javascript:;)
[+ Realistic Weather (RealisticWeather, v1.3.5.0)](javascript:;)
[+ MBFastDialogue (MBFastDialogue, v2.5.7.0)](javascript:;)
[+ Dismemberment (Plus) for v1.1.3 (DismembermentPlus, v2.0.6.4)](javascript:;)
[+ (RBM) Realistic Battle Mod (RBM, v3.5.8.0)](javascript:;)
[+ Open Source Armory (OpenSourceArmory, v1.15.0.0)](javascript:;)
[+ Open Source Armory: RBM Patch (OpenSourceArmoryRBM, v1.15.0.0)](javascript:;)
[+ Adonnay's Troop Changer (AdonnaysTroopChanger, v1.9.1.0)](javascript:;)
[+ Tier 7 Troop Unlocker Harmony (T7TroopUnlocker, v1.0.2.0)](javascript:;)
[+ Banner Editor (BannerEditor, v1.0.5.0)](javascript:;)
[+ Hot Butter (hotbutter, v2.0.4.0)](javascript:;)
[+ Random Events (RandomEvents, v1.1.4.0)](javascript:;)
[+ Aggregated Income (SortedIncome, v4.2.5.0)](javascript:;)
[+ Tournaments XPanded (TournamentsXPanded, v4.1.13.0)](javascript:;)
[+ UnlimitedCAP (UnlimitedCAP, v1.3.0.0)](javascript:;)
[+ UnlimitedWS (UnlimitedWS, v1.1.0.0)](javascript:;)
[+ Surrender Tweaks (SurrenderTweaks, v1.6.0.0)](javascript:;)
[+ Immersive Battlefields (ImmersiveBattlefields, v2.7.0.0)](javascript:;)
[+ Baby Growth Mod (BabyGrowthMod, v1.0.3.0)](javascript:;)
[+ You Keep What You Kill (YouKeepWhatYouKill, v1.0.18.0)](javascript:;)
[+ KnowEveryone (KnowEveryone, v1.0.3.0)](javascript:;)
[+ Women in Calradia (WomeninCalradia, v5.6.0.0)](javascript:;)
[+ CheyronMod (CheyronMod, v2.1.21.0)](javascript:;)
[+ Detailed Character Creation (zzCharacterCreation, v1.5.1.78)](javascript:;)
[+ My Little Warband (MyLittleWarband, v1.1.0.0)](javascript:;)
[+ No More Clones (NoMoreClones, v1.0.0.0)](javascript:;)
[+ SandBox Siblings (SandBoxSiblings, v1.0.0.0)](javascript:;)
[+ POC Color Randomizer mod (PocColor, v1.1.4.0)](javascript:;)
[+ Settlement Icons Redesign (SettlementIconRedesign, v1.1.0.0)](javascript:;)
[+ The Color of Profits (TheColorOfProfits, v1.0.0.0)](javascript:;)
[+ Workshops Completed (WorkshopsCompleted, v1.1.1.10)](javascript:;)
[+ Better Smithing Continued (BetterSmithingContinued, v1.1.0.8)](javascript:;)
[+ Primae Noctis (PrimaeNoctisBLord, v1.1.0.0)](javascript:;)
[+ WarlordsBattlefield (WarlordsBattlefield, e1.1.1.0)](javascript:;)
[+ Xorberax's Legacy for v1.1.3 (XorberaxLegacy, v1.0.5.4)](javascript:;)
[+ RTS Camera (RTSCamera, v4.1.23.0)](javascript:;)
[+ BannerKings (BannerKings, v1.2.7.4)](javascript:;)

This happened to me as well. Did a bit of debugging with dnSpy and it seems a party object has some invalid fields, these will be the values in my case. Modified the code to remove the event from the queue and I finally managed to get past the exception. Maybe this will help developers

Hi, I have an error just like this blocking my campaign (with the same version, and pretty much same mods). I'm ready to try using dnSpy to solve this, is it manageable without any coding experience ?

I'm facing the same issue.
Crash report: https://report.butr.link/B5F74B.html

There a bin file patch for Calradia Expanded on the Banner Kings discord server #test-version. You'll find the file on the Dec 8, 2022 post. Had to copy over the bin in the CE module. I could even load my old corrupted save after.

authors: Botolan Tageshan VictorValar ataniphor jointhecreed

repo: R-Vaccari/bannerlord-banner-kings


text:
Support for VanillaPlus

Is there a way to use FlightCore with VanillaPlus?

Not at the moment, no. I'd be fine to take a PR for it though ^^

authors: Desoroxxx GeckoEidechse


text:
13.16 fix plz!!<3

thnx For ur help us And make the Program Work All time Plz ty Man For ur work

Do you think it would be fixed today

https://github.com/sansbruhgaming/R3nzSkin/releases/tag/v3.1.5

13.16 Update has been pushed to the main branch.

ty man

authors: hasanatef hotline1337 sansbruhgaming xavihachem


text:
Source

Hello im new to coding and im not sure how to open the source i want to change the ms value to a more legit one like 121 to 220 ms

nvm im just dumb i found it out dont worry


text:
Release 0.2.2

Prepare for release

The fix for google play store lookups is also done, can we merge dev into this branch again before merging the pull request?

authors: blootsvoets yatharthranjan

repo: RADAR-base/RADAR-Backend


text:
Newly pushed branches not being displayed for deployment

While clicking on deploy, if the option to deploy the other branches is selected, any newly pushed branches after the last deployment are not displayed.
If any of the existing branch is then deployed, the git branch list gets updated and the new branches get available to deploy.
Ideally the git branch list should get periodically updated or an option should be given to explicitly do so.

Do you have the cronjob running? It should update the list of available branches periodically
Stephen Ball
stephen@rebelinblue.com

On 1 Jul 2016, at 10:59, digster notifications@github.com wrote:
While clicking on deploy, if the option to deploy the other branches is selected, any newly pushed branches after the last deployment are not displayed.
If any of the existing branch is then deployed, the git branch list gets updated and the new branches get available to deploy.
Ideally the git branch list should get periodically updated or an option should be given to explicitly do so.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes, the cronjob and supervisor tasks, both are running.

I was actually about to ask you about this. I have no clue how much of a hassle would that be but something like a 'sync branches' button would be a nice falback and useful addition ot the interface.

Good idea @criography
@digster could you try running php artisan deployer:update-mirrors and tell if you that fixes the problem? If not, is there any output, and if not can you share the log from storage/logs/cli-YYYY-MM-DD.log

Turns out it was an issue with access permissions and fixing the same solved it. Although, the behavior of the cron script is unpredictable sometimes. Didn't seem to sync the deleted branches properly.
A dedicated sync button though sounds like a good idea.

hmm, that is odd, it uses git clone --mirror to keep a copy of the remote repository. which should remove branches which have been deleted. Can you tell me which version of git is installed on your deployer server, git --version
Thanks

authors: REBELinBLUE criography digster

repo: REBELinBLUE/deployer

license: mit

license_source: bigquery


text:
Simplify scoring rules

Separate "precondition" and "when do you get the points"
--> auch in R-Script umsetzen.

Another goal would be that users can adjust the scoring interactively in the dashboard of the RESQUER package.
I have no solution for that, but maybe you can keep that in mind when you take a look at score.R

repo: RESQUE-Framework/collector-app


text:
Quadratures do uneccessary calculations outside of model domain

Fixes #59

OK. I'll merge this.


text:
🛑 Activated Male is down

In 80012f8, Activated Male (http://activatedmale.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Activated Male is back up in 111cad0.

repo: RJVCA/uptime


text:
🛑 Activated Male is down

In e0a374e, Activated Male (http://activatedmale.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Activated Male is back up in 37ed497 after 18 minutes.


text:
🛑 Sensor Tracker login is down

In e5c0b9f, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 53 ms

Resolved: Sensor tracker login is back up in 689b1ac after 46 days, 6 hours, 16 minutes.

repo: RKTowse/upptime


text:
🛑 CEOTR Home Page loads is down

In f0f8fb3, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 98e2888 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In df87dee, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 2f7228d after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In bbea6fe, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in aa0ceb6 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 85a14e9, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 492e405 after .


text:
🛑 CEOTR Home Page loads is down

In 80c66af, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in b267703 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In aba7ffc, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in e7fa5a0.


text:
🛑 Sensor Tracker login is down

In baf57c4, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in f28cb1b after 1 minute.


text:
🛑 Sensor Tracker login is down

In 87c7d19, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 1441603 after .


text:
🛑 CEOTR Home Page loads is down

In 176aba1, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 43f4cae after 2 minutes.


text:
🛑 Sensor Tracker login is down

In ab2cf81, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 3b3f69b after 1 minute.


text:
🛑 Sensor Tracker login is down

In 4f417ad, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in ae4554c after 1 minute.


text:
🛑 CEOTR Home Page loads is down

In e45c64a, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in d259175 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 84684fa, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 93aa7d5 after 1 minute.


text:
🛑 Sensor Tracker login is down

In b88f304, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 15d3a9f after 1 minute.


text:
🛑 Sensor Tracker login is down

In 4fa785b, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in ce0199b after .


text:
🛑 CEOTR Home Page loads is down

In 9f7499d, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 27e6b25 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 6d02e7c, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 88d7b9d after .


text:
🛑 CEOTR Home Page loads is down

In 7cdb74d, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in f57b61d.


text:
🛑 CEOTR Home Page loads is down

In 7ef54e6, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in a556e01.


text:
🛑 Sensor Tracker login is down

In d42f389, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in e4e5c55 after .


text:
🛑 CEOTR Home Page loads is down

In 3e36282, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in a27447e.


text:
🛑 Sensor Tracker login is down

In d2416c0, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 97 ms

Resolved: Sensor tracker login is back up in 0c54470.


text:
🛑 CEOTR Home Page loads is down

In 4287a6d, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in f9d9467 after 36 days, 22 hours, 38 minutes.


text:
🛑 Sensor Tracker login is down

In 2d8fb79, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 47 ms

Resolved: Sensor tracker login is back up in f2fd7e4 after 39 days, 4 hours, 3 minutes.


text:
🛑 CEOTR Home Page loads is down

In 07b7b59, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in e196030 after 42 days, 5 hours, 39 minutes.


text:
🛑 Sensor Tracker login is down

In 31e2925, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 105 ms

Resolved: Sensor tracker login is back up in d75d570 after 43 days, 6 hours, 23 minutes.


text:
'goal' model is missing in gazebo after turtlebot hits it

Dear turtlebot3 team,
I have a problem when running the simulations.
After the turtlebot3 gets the goal, the goal doesn't render again in gazebo. I checked the rostopic gazebo/model_states, the goal model is respawned, the robot can hit it during training, but it is not showing in the gazebo... What could be the problem?
My system is Ubuntu 16.04, ROS Kinetic, Gazebo 7, in VirtualBox, the setup is from a clean image, following the tutorial in the website.
update: maybe it's relevant, during catkin_make, there is a CMake Warning at /opt/ros/kinetic/share/catkin/cmake/catkin_package.cmake:166 (message):
catkin_package() DEPENDS on 'gazebo' but neither 'gazebo_INCLUDE_DIRS' nor 'gazebo_LIBRARIES' is defined.

Hi, @MingyiZhang :)
I'm so sorry for late reply.
When you run the gazebo, there is goal model? and after the turtlebot3 gets the goal, the goal model doesn't again respawn?

authors: MingyiZhang kijongGil


text:
hip with CUDA backend fails when -default-stream=per-thread

Compiling HIP code with CUDA backend and the option -default-stream per-thread causes a number of functions to undefined as they are behind a guard in cuda_runtime_api.h that detects this option.
One of these is cudaStreamGetCaptureInfo_v2(), which is called from hipStreamGetCaptureInfo_v2() in hip/nvidia_detail/nvidia_hip_runtime_api.h
Compiling HIP code with this option enabled will therefore error with cudaStreamGetCaptureInfo_v2 is undefined.
Present hack is to delete the HIP function from the header, but this function needs to be guarded in the same way its CUDA cousin is guarded to allow for compilation with -default-stream per-thread to succeed.

Here's a patch if y'all AMD folks want to ensure this is fixed (?):
diff --git a/include/hip/nvidia_detail/nvidia_hip_runtime_api.h b/include/hip/nvidia_detail/nvidia_hip_runtime_api.h
index 0c492b7c..7dbfedd5 100644
--- a/include/hip/nvidia_detail/nvidia_hip_runtime_api.h
+++ b/include/hip/nvidia_detail/nvidia_hip_runtime_api.h
@@ -3465,7 +3473,7 @@ inline static hipError_t hipStreamGetCaptureInfo(hipStream_t stream,
     return hipCUDAErrorTohipError(cudaStreamGetCaptureInfo(stream, pCaptureStatus, pId));
 }

-#if CUDA_VERSION >= CUDA_11030
+#if CUDA_VERSION >= CUDA_11030 && defined(__CUDA_API_VERSION_INTERNAL)
 inline static hipError_t hipStreamGetCaptureInfo_v2(
     hipStream_t stream, hipStreamCaptureStatus* captureStatus_out,
     unsigned long long* id_out __dparm(0), hipGraph_t* graph_out __dparm(0),

Note that guard used here matches the guard used in the CUDA header for whether this function prototype is declared or not.

Fix for this has been already raised internally.  Will close once it lands into github develop branch.

@satyanveshd Please advise if this is fixed with latest ROCm 6.1.0 (HIP 6.1)? Thanks!

Yes. This is fixed with latest ROCm 6.1.

authors: ppanchad-amd satyanveshd torrance

repo: ROCm-Developer-Tools/HIP


text:
HIPCommander code cleanup

=>Removed dependency on HSA and HC.
=>Corrected scripts to use latest hipCommander syntax.
=>updated code to pass args as per module API
Issues Addressed:
https://github.com/ROCm-Developer-Tools/HIP/issues/808

@mangupta Shall we keep AQLCommand test ? OR with hipLauncKernelGGL , there shouldn't be any difference ? I think earlier AQLCommand was useful since PFE was used.

@gargrahul The reason why we are removing aqlcommand test is because of hip-clang and vdi. hipCommander sample should purely be using only HIP APIs. If we need aql tests, we should keep them separate from the samples.

the HSA/ROCR modes could be useful for latency comparisons.  We could make these an #ifdef so tool still compiles on systems where ROCR is not available.

authors: ansurya bensander gargrahul mangupta


text:
Add support for FastGelu op

This PR depends on https://github.com/ROCm/AMDMIGraphX/pull/2801 and https://github.com/ROCm/AMDMIGraphX/pull/2824  thus I've marked it as a draft.
This PR fixes: https://github.com/ROCm/AMDMIGraphX/issues/2757
FastGelu description: ContribOperators.md/com.microsoft.FastGelu
Equation used for approximation: Y=0.5X(1+tanh(0.797885X+0.035677XXX))

Closing this in favor of https://github.com/ROCm/AMDMIGraphX/pull/2801

repo: ROCm/AMDMIGraphX


text:
[Issue]: Installing rocm

Problem Description
I have been trying to install rocm on my machine without success for quite some time, and haven't been having much success.
In reporting this issue, I was ran
 echo "GPU:" && /opt/rocm/bin/rocminfo | grep -E "^\s*(Name|Marketing Name)";

and had the following output:
GPU:

Which is was concerning, however, I do see that the GPU is discoverable via:
sudo lshw -numeric -C display
  *-display UNCLAIMED
       description: VGA compatible controller
       product: Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] [1002:67DF]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI] [1002]
       physical id: 0
       bus info: pci@0000:09:00.0
       version: c7
       width: 64 bits
       clock: 33MHz
       capabilities: pm pciexpress msi vga_controller bus_master cap_list
       configuration: latency=0
       resources: memory:e0000000-efffffff memory:f0000000-f01fffff ioport:2000(size=256) memory:f0a00000-f0a3ffff memory:f0a60000-f0a7ffff

My kernel verison is:
uname -srmv
Linux 5.15.0-91-generic #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023 x86_64

Which seems to satisfy the supported OS requirements listed here.
Operating System
Ubuntu 20.04.6 LTS (Focal Fossa)"
CPU
AMD Ryzen 7 2700X Eight-Core Processor
GPU
AMD Instinct MI300X
ROCm Version
ROCm 6.0.0
ROCm Component
No response
Steps to Reproduce
No response
(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
ROCk module is NOT loaded, possibly no GPU devices
Additional Information
Looking into it, it looks like rocm6.0 may not be supported for my device, however, I'm unable to determine what version of rocm I need. A pointer to the right version installation docs would be helpful here, thanks!
Also, the issue dialogue made me select a GPU, but didn't list my GPU, so I chose MI300X.

On ROCm 6.0 release notes, there's a tick for MI300X for Ubuntu 22.04.5 only, I would try that first.
If your company does not mind a arch distribution, you can try it too. The community maintained packages work well, even on newer kernels.
Just remember, you need ROCm 6.0 so enable extra-testing repo to get the rocm6.0 package on arch

Sorry, maybe I wasn't clear in my original post. I do not have a MI300 GPU, I believe I have a Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] device. I tried installing rocm6.0, but it seems that my device is not compatible so I'm trying to ascertain what version of rocm I can install that is compatible with my product. I only selected MI300 since the dropdown option did not list my GPU as a valid option.

If that's the case, you will need to search around the internet for help.
The latest version of ROCm will not support such old cards, maybe try an older version with a few hacks to get it working

Ah I see, I was looking through the docs, hoping to find a table of some sort that could help identify what versions of rocm are support on what devices, but with no such luck. Will keep searching, thanks anyway though!

repo: ROCm/ROCm


text:
[Issue]: Video decoding acceleration via libva breaks after installing ROCm(Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered))

Problem Description
NOTE: The GPU field of this form was originally wrongly selected as no applicable model is enumerated.
After installing rocm 6.2.2 I can no longer play local video files using VA-API decoding acceleration.
The application crashed shortly after launching:
$ gst-play-1.0 --videosink vaapidecodebin /path/to/video.mp4
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/brlin/??/Animation_ New recruit learns military customs from his sergeant ? Saka(23_sakapicdora_ENG).mp4
Redistribute latency...
Redistribute latency...
ac: Unknown GPU, using 0 for raster_config
Cannot find target for triple amdgcn-- Unable to find target for this triple (no targets are registered)
Segmentation fault (core dumped)

Operating System
Ubuntu 24.04
CPU
AMD Ryzen 7 7840U w/ Radeon  780M Graphics
GPU
Radeon  780M Graphics
c1:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev c4)

ROCm Version
ROCm 6.2.0
ROCm Component
ROCm
Steps to Reproduce

Install ROCm via the Quick start installation guide — ROCm installation (Linux).

Play any video which decoding is hardware-accelerable using libva:
totem /path/to/video.mp4

(Optional for Linux users) Output of /opt/rocm/bin/rocminfo --support
ROCk module version 6.8.5 is loaded
=====================
HSA System Attributes
=====================
Runtime Version:         1.14
Runtime Ext Version:     1.6
System Timestamp Freq.:  1000.000000MHz
Sig. Max Wait Duration:  18446744073709551615 (0xFFFFFFFFFFFFFFFF) (timestamp count)
Machine Model:           LARGE
System Endianness:       LITTLE
Mwaitx:                  DISABLED
DMAbuf Support:          YES

==========
HSA Agents
==========
*******
Agent 1
*******
  Name:                    AMD Ryzen 7 7840U w/ Radeon  780M Graphics
  Uuid:                    CPU-XX
  Marketing Name:          AMD Ryzen 7 7840U w/ Radeon  780M Graphics
  Vendor Name:             CPU
  Feature:                 None specified
  Profile:                 FULL_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        0(0x0)
  Queue Min Size:          0(0x0)
  Queue Max Size:          0(0x0)
  Queue Type:              MULTI
  Node:                    0
  Device Type:             CPU
  Cache Info:
    L1:                      32768(0x8000) KB
  Chip ID:                 0(0x0)
  ASIC Revision:           0(0x0)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   5132
  BDFID:                   0
  Internal Node ID:        0
  Compute Unit:            16
  SIMDs per CU:            0
  Shader Engines:          0
  Shader Arrs. per Eng.:   0
  WatchPts on Addr. Ranges:1
  Memory Properties:
  Features:                None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: FINE GRAINED
      Size:                    61515984(0x3aaa8d0) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Recommended Granule:4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 2
      Segment:                 GLOBAL; FLAGS: KERNARG, FINE GRAINED
      Size:                    61515984(0x3aaa8d0) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Recommended Granule:4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
    Pool 3
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    61515984(0x3aaa8d0) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Recommended Granule:4KB
      Alloc Alignment:         4KB
      Accessible by all:       TRUE
  ISA Info:
*******
Agent 2
*******
  Name:                    gfx1103
  Uuid:                    GPU-XX
  Marketing Name:          AMD Radeon Graphics
  Vendor Name:             AMD
  Feature:                 KERNEL_DISPATCH
  Profile:                 BASE_PROFILE
  Float Round Mode:        NEAR
  Max Queue Number:        128(0x80)
  Queue Min Size:          64(0x40)
  Queue Max Size:          131072(0x20000)
  Queue Type:              MULTI
  Node:                    1
  Device Type:             GPU
  Cache Info:
    L1:                      32(0x20) KB
    L2:                      2048(0x800) KB
  Chip ID:                 5567(0x15bf)
  ASIC Revision:           7(0x7)
  Cacheline Size:          64(0x40)
  Max Clock Freq. (MHz):   2700
  BDFID:                   49408
  Internal Node ID:        1
  Compute Unit:            12
  SIMDs per CU:            2
  Shader Engines:          1
  Shader Arrs. per Eng.:   2
  WatchPts on Addr. Ranges:4
  Coherent Host Access:    FALSE
  Memory Properties:       APU
  Features:                KERNEL_DISPATCH
  Fast F16 Operation:      TRUE
  Wavefront Size:          32(0x20)
  Workgroup Max Size:      1024(0x400)
  Workgroup Max Size per Dimension:
    x                        1024(0x400)
    y                        1024(0x400)
    z                        1024(0x400)
  Max Waves Per CU:        32(0x20)
  Max Work-item Per CU:    1024(0x400)
  Grid Max Size:           4294967295(0xffffffff)
  Grid Max Size per Dimension:
    x                        4294967295(0xffffffff)
    y                        4294967295(0xffffffff)
    z                        4294967295(0xffffffff)
  Max fbarriers/Workgrp:   32
  Packet Processor uCode:: 39
  SDMA engine uCode::      18
  IOMMU Support::          None
  Pool Info:
    Pool 1
      Segment:                 GLOBAL; FLAGS: COARSE GRAINED
      Size:                    30757992(0x1d55468) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Recommended Granule:2048KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 2
      Segment:                 GLOBAL; FLAGS: EXTENDED FINE GRAINED
      Size:                    30757992(0x1d55468) KB
      Allocatable:             TRUE
      Alloc Granule:           4KB
      Alloc Recommended Granule:2048KB
      Alloc Alignment:         4KB
      Accessible by all:       FALSE
    Pool 3
      Segment:                 GROUP
      Size:                    64(0x40) KB
      Allocatable:             FALSE
      Alloc Granule:           0KB
      Alloc Recommended Granule:0KB
      Alloc Alignment:         0KB
      Accessible by all:       FALSE
  ISA Info:
    ISA 1
      Name:                    amdgcn-amd-amdhsa--gfx1103
      Machine Models:          HSA_MACHINE_MODEL_LARGE
      Profiles:                HSA_PROFILE_BASE
      Default Rounding Mode:   NEAR
      Default Rounding Mode:   NEAR
      Fast f16:                TRUE
      Workgroup Max Size:      1024(0x400)
      Workgroup Max Size per Dimension:
        x                        1024(0x400)
        y                        1024(0x400)
        z                        1024(0x400)
      Grid Max Size:           4294967295(0xffffffff)
      Grid Max Size per Dimension:
        x                        4294967295(0xffffffff)
        y                        4294967295(0xffffffff)
        z                        4294967295(0xffffffff)
      FBarrier Max Size:       32
*** Done ***

Additional Information
System: Framework Laptop 13(AMD 7040 series)

Please help remove the invalid AMD Instinct MI300X tag, thanks!

Hi @brlin-tw, I was not able to reproduce the Cannot find target for triple amdgcn error on ROCm 6.2.2 paired with a 7900XTX/W7800 which leads me to believe that this may be due to the usage of unsupported hardware. I do however see some precedent on this error message as reported at https://github.com/ROCm/ROCm/issues/3701#issuecomment-2365321501. Could you try to remove mesa drivers as a workaround wit the following?
sudo apt remove mesa-va-drivers

Similar situation here
Similar situation here, gx1103, similar software setup.
Applications that need  VA-API or VADPAU support abort during start with the mentioned error message.
Work-around for me
$ LIBVA_DRIVER_NAME="vdpau" <application>

or
$ LIBVA_DRIVER_NAME="vaapi" <application>

@harkgill-amd
After re-installing ROCm I can no longer reproduce this issue, I would say that the workaround you enumerated doesn't work IIRC.

Was there any difference in your installation? We were not able to reproduce this issue either after adding the graphics use case to our installation i.e
sudo amdgpu-install --usecase=graphics,rocm

Adding this use case is recommended for graphical workloads such as hardware video acceleration. @frzb and @brlin-tw, could you please give this a try and let me know if it resolves your issue?

Was there any difference in your installation? We were not able to reproduce this issue either after adding the graphics use case to our installation i.e
sudo amdgpu-install --usecase=graphics,rocm

Adding this use case is recommended for graphical workloads such as hardware video acceleration. @frzb and @brlin-tw, could you please give this a try and let me know if it resolves your issue?

I believe I was using the package installation(e.g. by following the quick installation) when I reproduced the issue.
The second installation attempt I'm using the exact command you mentioned and it worked.

@harkgill-amd  Thanks a lot for your hints!
Using sudo amdgpu-install --usecase=graphics which reflects to   sudo apt install amdgpu-lib amdgpu-lib32  made hardware video acceleration for the application work again without  setting LIBVA_DRIVER_NAME=... manually.
Case closed for me. :smiley:

Technically these releases are meant for headless configurations, which is why the quick start guide can cause some issues with graphical applications when physical displays are involved. We also have official ROCm on Radeon releases (such as 6.1.3) which are specifically intended for and tested on such configurations, as pointed out above the quick start instructions:

If you’re using ROCm with AMD Radeon or Radeon Pro GPUs for graphics workloads, see the Use ROCm on Radeon GPU documentation for installation instructions .

That being said, the regular releases with graphics usecase tend to work on these systems as well, so you shouldn't need to downgrade to the Radeon-specific version unless you run into further issues. Thanks for your input!

Technically these releases are meant for headless configurations, which is why the quick start guide can cause some issues with graphical applications when physical displays are involved. We also have official ROCm on Radeon releases (such as 6.1.3) which are specifically intended for and tested on such configurations, as pointed out above the quick start instructions:

@schung-amd Oh yes, I see!  RTFM :+1:
Would a simple heuristic guess checking  in amdgpu-install if $XDG_SESSION_TYPE contains a value and if so picking or recommending  --usecase=graphics make sense to improve the UX?
Reasoning behind this
I thought about why I missed this documentation from a UX perspective.
And I think it is caused by the misalignment between AMD product brand naming and the technical naming. Radeon™ is used as brand name but abandoned as software name on a technical level in Linux since some time. In my perception radeon was  percepted as this legacy software. This is confusing and misleading.

IMHO the quick start guide should simply instruct the user to use the amdgpu-install script instead of:
sudo apt install amdgpu-dkms rocm

As the script is essentially a wrapper of package installation there's little reason to instruct the users to run the package installation command.

authors: brlin-tw frzb harkgill-amd schung-amd


text:
Custom kernel alternative to replacement kernels

I've left the Replacement Kernel system intact and introduced a new alternative which should allow for an easier introduction of user specified kernels (Hopefully allowing for replacement kernels to be deprecated at some point). Part of the reason for this is due to the fact that in this system the custom kernels aren't "replacing" anything, and the name replacement kernel is misleading.
Benchmarking
Custom kernels are benchmarked alongside conventionally generated kernels within its BenchmarkProblemSizeGroup. To include a custom kernel, list its name (Without file extension) under the "CustomKernels" category. During the benchmarking process, it will find the assembly kernel with this name (within the CustomKernels directory by default), and use it directly -- bypassing kernel generation. Beyond this, it is treated exactly like a normal kernel.
Example config file:
  - # sgemm NN
    - # ProblemType
      OperationType: GEMM
      DataType: s
      TransposeA: False
      TransposeB: False
      UseBeta: True
      Batched: True

    - # BenchmarkProblemSizeGroup
      CustomKernels: ["TestKernel"]
      InitialSolutionParameters:
      BenchmarkCommonParameters:
        - KernelLanguage: ["Assembly"]
        - WorkGroupMapping: [1]
      ForkParameters:
        - ThreadTile:
          - [ 8, 8 ]
        - WorkGroup:
          - [  8, 16,  1 ]
        - VectorWidth: [4, 1]
        - DepthU: [ 8, 4 ]
      JoinParameters:
      BenchmarkJoinParameters:
      BenchmarkFinalParameters:
        - ProblemSizes:
          - Exact: [ 256, 256, 1, 256 ]
          - Exact: [ 512, 256, 1, 256 ]

Kernel specification
To specify a custom kernel, in addition to writing the assembly kernel, the creator must include a custom.config section within the yaml block, outlining the parameters that the kernel uses. Tensile will infer parameters in the same manner it would during kernel generation, so if the creator started from a Tensile generated kernel, the configuration parameters used to generate that kernel would be sufficient. To avoid Tensile incorrectly inferring parameters,  AssignedDerivedParameters: True can be included in the list. Asserts can also be included here to specify under which conditions the kernel is valid. For example, the following kernel would only be selected with m and n < 257 and k < 1025
<start of kernel>
.amdgpu_metadata
---
custom.config:
  ProblemType:
    OperationType: GEMM
    DataType: s
    TransposeA: False
    TransposeB: False
    UseBeta: True
    Batched: True
  LoopDoWhile: False
  WorkGroupMapping:  1
  ThreadTile: [ 8, 8 ]
  WorkGroup: [  8, 16,  1 ]
  DepthU: 8
  VectorWidth: 4
  AssertSizeLessThan: {0: 257, 1: 257, 2: 1025 }
<remainder of kernel>
...

Additionally, if this kernel has branched off of a Tensile generated assembly kernel, all references to the original kernel name must be changed to the new kernel's name (without the file extension).
Additonal changes
To allow custom kernels to be able to be used in all the same use cases (to my knowledge) as replacement kernels, I've added SizeGreaterThan and SizeLessThan predicates to specify the range in which these kernels should be used.
Limitations

If the user wants the replacement kernel to always be selected when it's valid, this system does not currently enable that. This will likely be added in a future extension.
If the replacement kernel is slower than a generated kernel, it may not not be included in the library at all. An option to force it to be selected as winner for the sizes its benchmarked for could address this, although maybe a solution to the first issue may be a better way to address this as well.

This is a great first step. However, how do we make sure rocBLAS build can and will pick up this replacement kernel? Please explain. Thanks.

Jeremy can correct me if I'm wrong, but it looks like it uses the same mechanism as the current replacement kernel system through an update to KernelWriter.getReplacementKernelPath. Essentially, if a solution in a library logic file has a non-empty CustomKernelName, this signals that it's a custom kernel and TensileCreateLibrary handles it appropriately.

Jeremy can correct me if I'm wrong, but it looks like it uses the same mechanism as the current replacement kernel system through an update to KernelWriter.getReplacementKernelPath. Essentially, if a solution in a library logic file has a non-empty CustomKernelName, this signals that it's a custom kernel and TensileCreateLibrary handles it appropriately.

@zaliu This is correct, I don't believe there should be any issues in this regard, but I was trying to look into it a little bit just to make sure. I'm going to swap in the custom kernel into the logic files of a rocblas build just to be 100% sure it's finding it correctly. I'm assuming that the rocblas replacement kernels are stored in Tensile/ReplacementKernels[-cov3] directory and there isn't anything special done with them? If so, this should work the same, just instead be found in the Tensile/CustomKernels (Or wherever the user sets globalParameters["CustomKernelDirectory"] to)

Just to update, I can confirm that everything works after adding the kernel to the rocBLAS logic file.

Currently I have the TN 64x128x32 MDA2 kernel translated into a custom kernel using the parameters in the kernel name (With the multiple and greater than assertions added). This probably doesn't match the parameters that the kernel should have (and I think that it would be a good idea to make sure it has the correct parameters before merging), but as it stands currently, I believe its been given the parameters the replacement kernel version would have had. I have a script for this now, and if it's useful I can do the same with the other kernels to make sure they have the same configurations the kernel they were replacing would have had.

authors: JeremyAdamHart benjaminulmer

repo: ROCmSoftwarePlatform/Tensile


text:
Remove Git from build requirements

This is the matching change for https://github.com/ROCmSoftwarePlatform/rocRAND/pull/273.

As a sanity check, are there any optional dependencies that get pulled down with Git?

Git is used to download client dependencies when -cd is passed. However, find_package(Git REQUIRED) is not needed for that. The ExternalProject_Add command used to download dependencies will find git itself if needed.
I removed Git from the quickstart guide in the README because none of the commands there need it. For building the library itself, Git is only required because of the unnecessary call to find_package(Git REQUIRED).

@stanleytsang-amd, @doctorcolinsmith, @lawruble13, could one of you review? I've tested the branch on my local machine and I'm quite confident in this change. It's almost identical to the change that was merged for rocrand two weeks ago.

@stanleytsang-amd, @doctorcolinsmith, @lawruble13, could one of you review? I've tested the branch on my local machine and I'm quite confident in this change. It's almost identical to the change that was merged for rocrand two weeks ago.

Sorry, slipped my radar there. LGTM

authors: cgmb stanleytsang-amd

repo: ROCmSoftwarePlatform/hipRAND


text:
change roi or avax api token to ezc

currently , there are many logic for api and rpc use template:
GET http 1.1
http://127.0.0.1:9650/rpc/x
payload
{
'method': 'import.avax.xxxx',
}
so need change from avax to ezc logic for api rpc and api rest

Closed this issue too @enixdark

authors: enixdark nguyenduybinh

repo: ROIchain/ezcgo


text:
t.h.u_u.y.e.n - Instagram Bridge failed with error 500

Error message: Unable to find username in search result.
Query string: action=display&bridge=Instagram&context=Username&u=t.h.u_u.y.e.n&media_type=all&format=Html
Version: dev.2021-04-25

Cannot reproduce it.
https://feed.eugenemolotov.ru/?action=display&bridge=Instagram&context=Username&u=t.h.u_u.y.e.n&media_type=all&format=Html

repo: RSS-Bridge/rss-bridge

license: unlicense


text:
已经在RTduino上跑起来了

RTduino需要做临时修改：
diff --git a/core/Arduino.h b/core/Arduino.h
index d1f81db..6f97cf1 100644
--- a/core/Arduino.h
+++ b/core/Arduino.h
@@ -104,10 +104,10 @@ typedef uint8_t byte;
 /* math operations */
 /* adb() in stdlib.h and round() in math.h */
 /* min/max potential macro substitution problem */
-#undef min
-#undef max
-#define min(a, b) ((a)<(b)?(a):(b))
-#define max(a, b) ((a)>(b)?(a):(b))
+// #undef min
+// #undef max
+// #define min(a, b) ((a)<(b)?(a):(b))
+// #define max(a, b) ((a)>(b)?(a):(b))
 #define constrain(amt, low, high) ((amt)<(low)?(low):((amt)>(high)?(high):(amt)))
 #define radians(deg) ((deg)*DEG_TO_RAD)
 #define degrees(rad) ((rad)*RAD_TO_DEG)
diff --git a/core/SConscript b/core/SConscript
index 04b0bed..5596c02 100644

通过include "tensorflow/Arduino.h" 的方式解决，这个子Arduino.h会undef max 和 min

repo: RTduino-libraries/TensorFlow-Lite-Micro


text:
训练时长太长，CPU占用低

大佬们请教一下，我最近训练了一个8分钟的干声，每轮在25s左右；又训练了一个25分钟的干声，每轮突增到5min左右，有点等不住了这是为什么呀？而且看了一下性能，GPU基本跑满了，但CPU占用率很低，怎么样可以使CPU分担一下压力呢？

这个压力主要在GPU上哈，只有预处理阶段比较吃CPU，而且让CPU分担也不起多大作用，CPU干不过GPU的，有什么问题可以去B站视频下方找花佬的QQ交流群


text:
doesn't deploy with CRA2 ?

create-react-app test-project
cd test-project
yarn add retoggle

then import retoggle somewhere in the app
yarn build
serve -s build

it return an error:
Uncaught TypeError: Super expression must either be null or a function, not undefined
    at index.js:6135
    at index.js:6134
    at Object.<anonymous> (index.js:6124)
    at t (index.js:5602)
    at Object.<anonymous> (index.js:8467)
    at t (index.js:5602)
    at Object.<anonymous> (index.js:7206)
    at t (index.js:5602)
    at Object.<anonymous> (index.js:6821)
    at t (index.js:5602)

these are the two lines i added to a new CRA2 template:
import React from "react";
import { Inspector } from "retoggle";
//...
return (...
<Inspector usePortal={true} />
)
//...

It supposes to work. Seems like something we need to look into.

At this point I'm not sure if create-react-app@2 is usable. I just tried creating a project with it, but it doesn't generate all the project files with the following error:
A template was not provided. This is likely because you're using an outdated version of create-react-app.

I did just try create-react-app@latest (3.4.1 currently), added retoggle and updated the App.js like this and it appeared to work just fine.
import React from 'react';
import { Inspector, useBooleanKnob } from 'retoggle';
import logo from './logo.svg';
import './App.css';

function App() {
  const [value] = useBooleanKnob('Show learn more', true);
  return (

          Edit src/App.js and save to reload.

        {value && (

            Learn React

        )}

      <Inspector />

  );
}

export default App;

@panzerstadt can you confirm if this is still an issue for you?

authors: Raathigesh ammmze panzerstadt

repo: Raathigesh/retoggle


text:
Changed from using bazaar buy price to sell price (and fixed typo in …

…error case)

I think it's better to use the sell price rather than the buy price, because you're trying to work out how much you can get from your minion produce.

Sorry, I now realise the API gives the buy and sell price the wrong way around, so your version was correct.


text:
Only Southbound API displayed on swagger-ui

When I opened the swagger-ui and found only Southbound API is displayed.

Discussed with @wangzhizheng, the programmatic system is installed from debian package, the version is:
root@RackHD:/var/renasar/on-http# cat commitstring.txt
137bb9d.2016-08-25 15:38:01 -0700.Merge pull request #439 from VulpesArtificem/rack-event

I guess the swagger-ui installation fails while building debian package.

When I disabled my firewall and restart the on-http service, all api displayed on the swagger-ui.
I think it is caused by my firewall configuration.

@yyscamper @wangzhizheng This issue has been observed a number of different times under different circumstances.  We definitely should investigate it.  I think I'd start with removing the southbound swagger file altogether since it is not used.

link to story in the Stryker backlog:
https://www.pivotaltracker.com/story/show/129367841

I've seen this in the past too (probably the mention that @brianparry was referencing). Wasn't able to get a consistent reproduction of the issue, and noted that when I restarted the services, this sometimes disappeared. My hypothesis is that swagger-ui doesn't like to represent multiple endpoints in its documentation - only shows one (north or south), in a non-deterministic fashion

authors: BillyAbildgaard brianparry heckj wangzhizheng yyscamper

repo: RackHD/on-http


text:
Archlinux

Initial porting to Arch Linux (implements #10 ). Current state is:

Src install is apparently working fine

Packaging is disabled, I've introduced exit code 2 to the scripts to represent a deliberate abort

Code is still there commented out to serve as guide when sorting this out

READMEs updated

DKMS related files gone. Given how fast Arch rolls, they're likely to be unnecessary anyway

Most of the changes are simply disabling packaging and "correcting" package manager calls

There are, however, three specific workarounds:

03_00_rocblas.sh has a sed call to avoid wrong python executable being selected. There is a comment mentioning a PR, as of the opening of THIS PR, that one has actually been merged into their develop branch and should be in on the next release
03_01_hipblas.sh has a different fix that prevents the build from failing on its own if CUDA is at all installed (it tries to enable it if it finds it, regardless of any options you are able to provide, but can't build for CUDA and HIP at the same time)
01_07_opencl.sh has another python2 related fix, this time merely explicitly calling it instead of "standard python interpreter`

Hi @VileLasagna
Thanks for submitting this. I won't be able to get around to testing / reviewing this until next week due to some other high priority work on my plate right now. However, I wanted to note that I've seen this and I'm thankful for your help!

Hello, I can help test, but probably not review. I'm getting the following error:
./00_prepare_system_arch.sh: line 28: parse_args: command not found
"parse_args "$@"" command failed with exit code 127.

I'm assuming you forgot some package... I actually did install argparser via AUR but it doesn't seem to work.

This is a bit weird. I'm pretty sure parse_args should be a bash command itself? I'll nevertheless have a look later today

I thought the same at first... But a simple Google search for "parse_args bash" reveals that's not the case. Is this what you're looking for? https://github.com/flyingangel/argparser or https://aur.archlinux.org/packages/argparser-bash/

Hello, man. Sorry I didn't get back to you earlier. Accidentally marked the email as read and this slip my mind.
So, the parse_args function is defined in common_options which is sourced.
the way this happens is:
BASE_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
.
.
.
source "$BASE_DIR/common_options.sh"
parse_args "$@"

I've never used that specific way of getting the current directory so maybe it's breaking if you're calling from a different directory? This I didn't touch from the original files but if it proves annoying, it's easy enough to look more closely

With master the original issue has been resolved but I face this error now:
Cloning into 'rocminfo'...
remote: Enumerating objects: 4, done.
remote: Counting objects: 100% (4/4), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 72 (delta 0), reused 1 (delta 0), pack-reused 68
Unpacking objects: 100% (72/72), done.
Note: checking out '1bb0ccc'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

HEAD is now at 1bb0ccc Add hex representation of some values to output
-- The C compiler identification is GNU 8.2.1
-- The CXX compiler identification is GNU 8.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:18 (message):
  Can't find hsa.h.

-- Configuring incomplete, errors occurred!
See also "/tmp/tmp.X97S0nYRWa/rocminfo/build/CMakeFiles/CMakeOutput.log".
"cmake .. -DCMAKE_BUILD_TYPE=${ROCM_CMAKE_BUILD_TYPE} -DCMAKE_INSTALL_PREFIX=${ROCM_OUTPUT_DIR}/ -DCPACK_PACKAGING_INSTALL_PREFIX=${ROCM_OUTPUT_DIR}/ -DCPACK_GENERATOR=DEB" command failed with exit code 1.
"${BASE_DIR}/component_scripts/01_05_rocminfo.sh "$@"" command failed with exit code 1.

I'm sorry for taking so long, again.

You say master but that is curious as this hasn't been merged yet...
Not being able to find the header would indicate that either you aren't installing the packages as you go or that you're deploying them to a different folder and haven't passed the correct "output and input" folders for your local deployment.
Sry I haven't been able to look at this more closely, I'm a bit sidetracked with another project for a bit, but do plan on coming back for further changes.
Of note: Both of my pull requests in rocblas and hipblas have been accepted so once the version of those libraries roll over I can drop the workarounds on this side

@VileLasagna  Thank you for your great job!
I was able to build all the stack and the python3 tensorflow package with the current state of this branch.
I had to make two changes though, besides removing python2-z3 from  01_07_opencl.sh

upgrade  ROCM_HIP_CHECKOUT to tags/roc-2.5.0. Firstly, I compiled  everything as is, but then I had to upgrade ROCM_HIP and recompile the packages listed here https://github.com/ROCmSoftwarePlatform/tensorflow-upstream/issues/357#issuecomment-473539412 because I was having errors with hipSymbolName (I really don't know if the recompilation of those packages were necessary)

Finally, I had to force libmiopengemm to link with opencl because it was not happening and at the moment of loading all the libraries related to the GPU inside python, some undefined symbols arose.

Hey, @lucianolorenti
Thx.
Curious about the OpenCL stuff. I'll try and have a look in the near(ish) future and see if I can inject some workaround.
As for versions, in both additional distros that I've added support for, I've elected to not touch the versions, as they come from a common file to centralise everything. I'm expecting that with the release of Navi in the near future, this project will need and, hopefully get, a version bump on master and, when it does, I'll update the branch. Until then, I'm avoiding diverging as much as I can

authors: VileLasagna hameerabbasi jlgreathouse lucianolorenti


text:
hello, i didn't find a way to change the TTS-Speech Voice yet

Feature Request
Is your feature request related to a problem? Please describe.
    public async void StreamSpeech()
    {
        var api = new OpenAIClient("");

        var request = new SpeechRequest(
            model: "tts-1",
            input: "Hello, how are you?"
            voice: "onyx" // <- this is not working
        );
        var (path, clip) = await api.AudioEndpoint.CreateSpeechStreamAsync(
            request,
            partialClip => audioSource.PlayOneShot(partialClip)
        );
        Debug.Log(path);
    }

You use Enum. https://github.com/RageAgainstThePixel/com.openai.unity/blob/df8a18d23f3cf6b9b89fcb1d0a1885afec0c7566/OpenAI/Packages/com.openai.unity/Samples~/Chat/ChatBehaviour.cs#L237

authors: StephenHodgson chiddyBenno


text:
Rename exported assets to a descriptive name

Currently this is an issue with Megascans, and I recall Quixel mentioning that they cant give the textures descriptive names due to how they index the file names. It would be extremely helpful to mitigate this when exporting to Painter by either using the name given in Bridge, or coming up with some other naming scheme. As it is, importing several textures will create extremely unreadable filenames in the Shelf.

Yeah i can look into this and see if i can come up with a better naming scheme or extract somehow the bridge display name for the textures

@MackenzieShirk i've tried to implement this in the plugin but the current JS API of Substance Painter uses the file path as the display name for imported assets so the only way to implement this kind of feature would be to duplicate the assets in the file system rename them using the configured naming scheme of Bridge and then import them into Painter, this method is far from ideal since it will require write and read access of the file system and thus causing not permitted errors

authors: MackenzieShirk darkimage

repo: Raider-Arts/painter-megascan-link


text:
🛑 HK区服 is down

In b211441, HK区服 (https://$HK_SERVER) was down:

HTTP code: 0
Response time: 0 ms

Resolved: HK区服 is back up in fd744b4.

repo: RainThings/uptime


text:
Running Test cases.

DBFlow Version:3.1.1
Issue Kind (Bug, Question, Feature): Test cases
Description:
Hi,
I am currently writing an android library project which uses DBFlow. Via gradle I am able to get hold of the classes in dbflow library. However when I run a test cases I get the following error:
Error:A problem occurred configuring root project ''.

Could not resolve all dependencies for configuration ':_debugCompile'.
Could not find com.github.Raizlabs.DBFlow:dbflow-core:3.1.1.
Searched in the following locations:
https://repo1.maven.org/maven2/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.pom
https://repo1.maven.org/maven2/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.jar
file:/C:/Users//AppData/Local/Android/sdk/extras/android/m2repository/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.pom
file:/C:/Users//AppData/Local/Android/sdk/extras/android/m2repository/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.jar
file:/C:/Users//AppData/Local/Android/sdk/extras/google/m2repository/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.pom
file:/C:/Users//AppData/Local/Android/sdk/extras/google/m2repository/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.jar
file:/C:/Users//AppData/Local/Android/sdk/extras/m2repository/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.pom
file:/C:/Users//AppData/Local/Android/sdk/extras/m2repository/com/github/Raizlabs/DBFlow/dbflow-core/3.1.1/dbflow-core-3.1.1.jar
Required by:
::unspecified > ::unspecified

I get similar ouputs for dbflow, and dbflow-sqlcipher libraries versions 3.1.1. I have added the appropriate code in gradle as suggested (the jitpack link, jcenter etc.).
I am not getting compilation errors in the code. The '_Adapter' and '_Table' classes are getting generated. But when running the test cases, i get the error above for all the 3 libraries. Kindly help me out here ASAP.
Thank you.

@agrosner request your help on this issue. Thank you.

@agrosner , this issue was resolved but the fix was done on the build.gradle file of the application project. Shouldn't the code added in the build.gradle of the library project alone suffice?

One thing you need to understand is that you cannot run regular Android tests using DBFlow or any other database-related library. The problem is that those tests run on your desktop, as opposed to running on a device. DBFlow relies heavily on Android's core SQL library, for which there is no desktop equivalent.
To fix, make sure you put your test code in an androidTest, as opposed to just a test. The former is designed to be run on a real device or the emulator, where the full Android environment is present, including the SQLite libraries.

Robolectric works well for basic query TDD. Keep in mind that tests that
pass in a robolectric config test may still fail on different devices. Line
wraps in migration statements comes to mind as one that will pass on JVM
and some devices yet fail on other devices.
On Oct 31, 2016 7:35 AM, "Ovidiu Predescu" notifications@github.com wrote:

One thing you need to understand is that you cannot run regular Android
tests using DBFlow or any other database-related library. The problem is
that those tests run on your desktop, as opposed to running on a device.
DBFlow relies heavily on Android's core SQL library, for which there is no
desktop equivalent.
To fix, make sure you put your test code in an androidTest, as opposed to
just a test. The former is designed to be run on a real device or the
emulator, where the full Android environment is present, including the
SQLite libraries.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Raizlabs/DBFlow/issues/1023#issuecomment-257294737,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFIxB41Rr1ZkRzW0hA_DxjsDeoTAxU-Yks5q5e6dgaJpZM4KZcck
.

authors: TeddyGammel ovidiucp trevjonez

repo: Raizlabs/DBFlow


text:
Classes in sub-packages are not properly recognized

DBFlow Version: 3.0.6 Beta
Question / (Issue): Classes in sub-packages are not properly recognized
Description:
I experienced a stranged issue, when I tried to integrate DBFlow in my project. If I put the classes I want to connect with the Database into the main-package everything works fine. On the other hand, if I put them into a sub package the Adapter-Classes of the packages throws an error.
My package Structure:
Main -> AppDatabase
Main -> LevelAPI -> Levels
Main -> LevelAPI -> Listener
Main -> LevelAPI -> Mapper
Main -> LevelAPI -> Restrictions
The classes I want to integrate into the DB are all placed unter Levels. For each of those Classes I get the same Error: error: cannot find symbol class LevelAPI.
This is the import Declaration of one of the Adapter Classes.
package com.raizlabs.android.dbflow.config;

import de.uni_muenster.algo_git.pspsy.AppDatabase.AppDatabase;
>>> import de.uni_muenster.algo_git.pspsy.LevelAPI;
import de.uni_muenster.algo_git.pspsy.LevelAPI.Levels.Level_Adapter;
import de.uni_muenster.algo_git.pspsy.LevelAPI.Levels.Levelelement_Adapter;
import java.lang.Class;
import java.lang.Override;
import java.lang.String;

The Line marked with >>>> is marked as an unused import Statement by Android Studio, but those things fail with the error: Can not resolve Symbol 'LevelAPI'.
holder.putDatabaseForTable(LevelAPI.Levels.Levelelement.class, this);
I'm pretty sure I did something wrong there, but have no clue whatsoever.
Best Regards,
Andre

Package names with Capital names are not supported.

Since the Annotation processor treats them as classes and not packages.

authors: BlacksWise agrosner


text:
Change README.md

https://github.com/Rajkumar-justcoder/Animated-name/blob/4d7d2fc4f0bda6ea830ade231010f0ed1e8e563d/README.md?plain=1#L17-L20

@Rajkumar-justcoder Can you add hacktoberfest label and assign it to me?

I am sorry for that, Can you assign this issue to me after adding hacktoberfest label?

sure!

repo: Rajkumar-justcoder/Animated-name


text:
Hidden series are out of sync after update

react-google-charts 1.4.2
react v15.0.0
Expected behaviour
When using a line chart with several series, if the user chooses to hide certain series by clicking, the choice should remain after the chart rebuilds.
Actual behaviour
After the chart is rebuilt, all series will show. However, if the user clicks one off, then it will go to the correct state of only showing the series that were previously enabled.
Steps to reproduce

Create a 'LineChart' with multiple series of data
make sure legend_toggle is on
Create a button that causes the data property on the chart to be reloaded with new data
Run the app
Click off a series in the legend
Click the button to refresh chart with new data
Note that all series will now be on
Click a different series in the legend to turn off
Note that the chart is now in the expected state with both series now off.

Thank you for the detailed issue report. I'll try to reproduce as soon as I can. If someone else is looking at this and has an idea please feel free to comment !

I'm having the same problem, is there any way to call hideColumn() from 'outside' ?
Thanks

I was having the same problem.
I don't know if this is the right way to solve it, but it worked for me.
componentDidUpdate(prevProps, prevState) {
    const {hidden_columns} = this.refs.chart
    for (let property in hidden_columns) {
      this.refs.chart.togglePoints(property)
    }
  }

authors: RakanNimer cristobalpina peternoyes

repo: RakanNimer/react-google-charts


text:
[Feature] Vowels and Consonants Calculator

Description
Calculator which counts number of vowels and consonants in a given paragraph.
Screenshots

Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[ ] I am a IWOC'24 contributor.
[ ] I am a JWOC'24 contributor.
[X] I am a SWOC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@Rakesh9100 Please assign this to me to add this feature (SWOC'24).

Proceed @ROSHNEEGOUDA


text:
Document pop, shift, push and append more concisely

The problem
In #3702 I included various signatures in "Defined as" routine introductions that were exact copies of those found in the Rakudo implementation. I now think that was not a good idea, because

some of the parameter names in these signatures are quite meaningless, and
some of the multi implementations exist only for performance reasons.

Consequently, these introductions did not provide a good gist of these routines.
Solution provided
I used more meaningful parameter names and removed multi signatures that are functionally irrelevant. Additionally, I edited the documentation of these routines where it referred to parameters or I just thought it could be improved.

But you can not push anything that's not an native int to a native int array.  An itemized native int array is not a native int.  So either that should throw, or DWIM.  I guess we're arguing on whether DWIM isn't more of a WAT ?

B.t.w. there's also an issue with .push on native arrays:
> my int @a = 1, 2;
[1 2]
> my int @b = 3, 4;
[3 4]
> @a.push: @b.Slip, @b.Slip;
[1 2 3 4 3 4]
> @a.push: @b.Slip;
Type check failed in push to int array; expected int but got Slip (slip(3, 4))
  in block <unit> at <unknown file> line 1

authors: dumarchie lizmat

repo: Raku/doc


text:
Fix broken links

The problem
The following links in this page are not become links.

[CREATING-NEW-DOCS.md]
[EXAMPLES.md]
[INDEXING.md]
[STYLEGUIDE.md]

Also, the following link in this page is broken.

[the CONTRIBUTING document]

Solution provided
We can set correct links in above links by this modification.

Thank you for merging this PR.


text:
#99: next if %r![^a-zA-Z0-9_]!.match?(tag) # allow only tags with basic alphanumeric characters and underscore to keep feed path simple.

          next if %r![^a-zA-Z0-9_]!.match?(tag) # allow only tags with basic alphanumeric characters and underscore to keep feed path simple.

Originally posted by @RalphHightower in https://github.com/RalphHightower/blog/issues/99#issuecomment-2358978232

_posts/2024-09-10-WatchingTheDebateFacialExpressions.md was the culprit.

repo: RalphHightower/blog


text:
Add AcceptLicense for PSRepositoryModule

Trying to use PSDepend with UniversalDashboard module, but PSRepositoryModule dependency type doesn't support AcceptLicense.
WARNING: Parameter [AcceptLicense] with value [True] is not a valid parameter for [PSGalleryModule], ignoring.  Valid params: [AllowClobber Dependency Import PSDependAction Repository SkipPublisherCheck]

This PR adds in a AcceptLicense parameter to PSGalleryModule, which defaults to true.
@{
    Pester = 'latest'
    UniversalDashboard = @{
        Name = 'UniversalDashboard'
        DependencyType = 'PSGalleryModule'
        Parameters = @{
            AcceptLicense = $true
        }
        Version = '2.7'
    }
}

Hi @RamblingCookieMonster - any chance you could take a look at this?

Shoot, please feel free to bug me, missed this.  Can we make this conditionally add the parameter only if psboundparameters contains the key (i.e. no default)?  I think that's generally the preferred route to avoid cases where the user doesn't end up making the call on the license?

repo: RamblingCookieMonster/PSDepend


text:
My hub

make file and and pull request

that nice.

i have finished from editing .

i have


text:
SignGUIResult does not exist

Hello,
I'm getting the following error when my plugin starts:
Plugin SimpleTrade v1.0-SNAPSHOT has failed to register events for class com.zayatv.simpletrade.listeners.InventoryClickListener because de/rapha149/signgui/SignGUIResult does not exist.

And this is the code I have with this api:
private void openSign(Player player)
{
    SignGUI gui = SignGUI.builder().setLine(0, "Type amount below").setHandler((p, result) -> {
        String input = result.getLineWithoutColor(1);
        plugin.tradeInv.openTradeInventory(player);

        return Collections.emptyList();
    }).build();
    inEconomyMenu.add(player);
    gui.open(player);
}

I don't know what might have caused this since my plugin is the only one on the server right now.
Here is my pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
    <modelVersion>4.0.0</modelVersion>

    <groupId>com.zayatv</groupId>
    <artifactId>simpletrade</artifactId>
    <version>1.0-SNAPSHOT</version>
    <packaging>jar</packaging>

    <name>SimpleTrade</name>

    <properties>
        <java.version>17</java.version>
        <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
    </properties>

    <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-compiler-plugin</artifactId>
                <version>3.8.1</version>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                </configuration>
            </plugin>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-shade-plugin</artifactId>
                <version>3.2.4</version>
                <executions>
                    <execution>
                        <phase>package</phase>
                        <goals>
                            <goal>shade</goal>
                        </goals>
                        <configuration>
                            <createDependencyReducedPom>false</createDependencyReducedPom>
                        </configuration>
                    </execution>
                </executions>
            </plugin>
        </plugins>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <filtering>true</filtering>
            </resource>
        </resources>
    </build>

    <repositories>
        <repository>
            <id>spigotmc-repo</id>
            <url>https://hub.spigotmc.org/nexus/content/repositories/snapshots/</url>
        </repository>
        <repository>
            <id>sonatype</id>
            <url>https://oss.sonatype.org/content/groups/public/</url>
        </repository>
        <repository>
            <id>jitpack.io</id>
            <url>https://jitpack.io</url>
        </repository>
        <repository>
            <id>dmulloy2-repo</id>
            <url>https://repo.dmulloy2.net/repository/public/</url>
        </repository>
    </repositories>

    <dependencies>
        <dependency>
            <groupId>org.spigotmc</groupId>
            <artifactId>spigot</artifactId>
            <version>1.20.4-R0.1-SNAPSHOT</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>com.github.MilkBowl</groupId>
            <artifactId>VaultAPI</artifactId>
            <version>1.7</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>de.rapha149.signgui</groupId>
            <artifactId>signgui</artifactId>
            <version>2.3.2</version>
        </dependency>
    </dependencies>
</project>

Could you send me your plugin's jar file? If you don't want to send it in here, you can add me on Discord, my username is rapha149

So I took a look at your jar file and my api was not compiled into it. You can check that yourself if you open it with a program like JD-GUI. At the moment the only package is com.zayatv.simpletrade, but for it to work there must also be the package de.rapha149.signgui.
Now, your pom.xml looks good so if you were to compile it with Maven from the command line it should work, but I guess you use your IDE's tools to compile it. You would need to look at the settings in your IDE to extract my API into the generated jar file.

Thank you. It works when I compile it with maven.