Github Action Workflow with 2 drop down inputs interconnected

I have tried to build a github workflow with below requirement. I need two inputs from user when they trigger the workflow manually.The first drop down has two options ‘odd’ and ‘even’. second Drop down has four option ‘1’ ‘2’ ‘3’ ‘4’. If I select odd in first dropdown, I should only get 1 or … Read more

Calling a GPTQ LLM in a script

I have this function, which either calls a GGUF or GPTQ model. # Loading LLM model def load_llm(temperature: float = 0.8, top_p: float = 0.95, top_k: int = 40, max_new_tokens: int = 1000, context_length: int = 6000, repetition_penalty: float = 1.1): model_dir = Path.cwd() / ‘model’ model_name_gguf=”openhermes-2.5-mistral-7b.Q4_K_M.gguf” model_name_gptq = ‘Mistral-7B-Instruct-v0.2-DARE-GPTQ’ # Check if the gguf … Read more

Extending Tensorflow Docker image file

This works fine FROM tensorflow/tensorflow:2.9.2-gpu RUN apt-get update && apt-get install -y \ git This throws an error FROM tensorflow/tensorflow:2.14.0-gpu RUN apt-get update && apt-get install -y \ git E: Problem executing scripts APT::Update::Post-Invoke-Success ‘/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call –system –dest org.freedesktop.PackageKit –object-path /org/freedesktop/PackageKit –timeout 4 –method org.freedesktop.PackageKit.StateHasChanged cache-update > … Read more

C++ iomanip layouting [closed]

Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post. Closed yesterday. Improve this question Layout Before exiting my function Layout after Re-entering my function why does my layout doesn’t keep its like resetting whenever i exit … Read more

Modal backdrop issue in browser fullscreen mode

I have the following situation: i have a div element (a mapbox map) that can be displayed in browser fullscreeen mode with a Bootstrap modal inside: <div id=”map-container”> … <div class=”modal” tabindex=”-1″ role=”dialog”> <div class=”modal-dialog” role=”document”> <div class=”modal-content”> …. </div> </div> </div> </div> When the map is in full screen mode and I open the … Read more

Connecting to AWS MQTT broker using Cognito Identity Pool temporary credentials

I’m attempting to establish a connection to the IoT Core broker using temporary credentials from cognito identity pools (access key/secret key/session token) in Python. Unfortunately, my current approach results in a timeout without clear error messages. I’ve experimented with different libraries like AWSIoTPythonSDK.MQTTLib, awscrt, and Paho (noticed Paho being used within AWSIoTPythonSDK), but none have … Read more

How to have [ObservableProperty] in the class which already implements INotifyPropertyChanged itself?

I just simply want to use a [ObservableProperty] for corresponding fields/properties. However, as I am using MvvmCross (what’s not so important), my ViewModel already inherited from a base class which does implement INotifyPropertyChanged itself. So, when using this, I am getting error: //[INotifyPropertyChanged] public partial class MyVewModel : MvxViewModel { [ObservableProperty] private string name; } … Read more