m1-arm64 compatibility

Codecov Report

Merging #627 (b53f024) into master (5719d34) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #627   +/-   ##
=======================================
  Coverage   42.28%   42.28%
=======================================
  Files         321      321
  Lines       23124    23124
=======================================
  Hits         9779     9779
  Misses      13345    13345

Flag
Coverage Δ

unittests
42.28% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 5719d34...b53f024. Read the comment docs.


New version: Discord.Discord version 1.0.9036

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @PckgrBot,

Self-updates and does not update the version number in the registry when doing so - applying an update via WinGet will break/override the user preferences and forcefully enable auto-start on system boot.

#90642

Is this still an issue?

Hi @PckgrBot,

Self-updates and does not update the version number in the registry when doing so - applying an update via WinGet will break/override the user preferences and forcefully enable auto-start on system boot.

[Package Issue]: Discord.Discord  - Autostart with OS forcefully enabled on upgrade even if user does not want this. #90642

Is this still an issue?

Hello, I'm not too sure about this


New document on backstage.io website explain entity naming strategies.

There seems to be a conflict between global uniqueness of entity names and human readableness. Im sure I am not the first to come across this.
Given that the name (along with namespace and kind) is the unique key of the entity we must choose a name that is unique. By way of example if I have a user entity, lets say the email address is<EMAIL_ADDRESS>and the users id is bb246164ff3b0941cc95bda4e34c4ee7. I believe the @ symbol is not supported in the entity name so I dont think we can use the email address as the entity name. I could strip off the domain and set it to  user:default/brian, I could use the id user:default/bb246164ff3b0941cc95bda4e34c4ee7, or I could slugify the email address user:default/brian-example-com. Is there any other options.
The first challenge with all of these options is that in order to set the ownedBy field on a component entity, I must know how to construct this reference. Whatever of the above options I pick, it is derived from the user entity in my organization and the derivation must be known by the user making the entity.
The second challenge with using the slugified or domain stripped ones is that they may not be unique across my org. e.g. imagine we have two users with<EMAIL_ADDRESS><EMAIL_ADDRESS>they would both result in user:default/brian and conflict with one another.
My initial temptation is to use the user id as it is going to be unique across my organization, however then the human readableness is lost.
I suppose I could create a new annotation and an entity processor that sets the ownedBy field but that seems to be breaking new ground.
backstage.com/owned-by-query<EMAIL_ADDRESS>I thought maybe there might be standards around this already, so I thought I would ask. Is there any knowledge about this area?
This question bleeds into another area. A (maybe) obvious choice for a globally unique id for an aws resource might be its arn.. and that is longer that 63 characters and requires a couple of other special character that are not supported.
Feature Suggestion
Create a document to explain how naming is suggested to be done on entities in backstage around Users, Resources and Compnents.
Possible Implementation
backstage.io document somewhere near the backstage model documentation explaining suggestions around how to approach naming entities
Context

There seems to be a conflict between global uniqueness of entity names and human readableness. Im sure I am not the first to come across this.

And human writableness! As in, it should be intuitive and easy for people in other parts of the org (without your intimate deep knowledge of your things and elevated access etc) to type out relations by hand to your thing.

Given that the name (along with namespace and kind) is the unique key of the entity we must choose a name that is unique. By way of example if I have a user entity, lets say the email address is<EMAIL_ADDRESS>and the users id is bb246164ff3b0941cc95bda4e34c4ee7. I believe the @ symbol is not supported in the entity name so I dont think we can use the email address as the entity name. I could strip off the domain and set it to user:default/brian, I could use the id user:default/bb246164ff3b0941cc95bda4e34c4ee7, or I could slugify the email address user:default/brian-example-com. Is there any other options.
The first challenge with all of these options is that in order to set the ownedBy field on a component entity, I must know how to construct this reference. Whatever of the above options I pick, it is derived from the user entity in my organization and the derivation must be known by the user making the entity.

Indeed. Some naming patterns and taxonomies (proper use of kinds, types, labels etc) always need to be established when designing your org specific entity system, and then documented and taught to users, and also maintained over time. This is an important job for the adopter, that maybe we don't highlight enough.
There's a lot of room for tooling to be helpful here; your initial catalog info file should ideally be created by a machine (e.g. when scaffolding your thing). You can even make a "Change owner" flow in the frontend that uses the same helpful hypothetical autocomplete component as the create flow, and then issuing a pull request for it.

The second challenge with using the slugified or domain stripped ones is that they may not be unique across my org. e.g. imagine we have two users with<EMAIL_ADDRESS><EMAIL_ADDRESS>they would both result in user:default/brian and conflict with one another.

Yes, scoping does become important. You can just change the naming rules though; adding support for @ as a valid name character is easy. As a matter of fact, I think we should probably have that be allowed by default because this is such a common use case.
For this particular use case, you could also use namespaces: user:acquiredcompany/brian.

My initial temptation is to use the user id as it is going to be unique across my organization, however then the human readableness is lost.

That's for sure a poor fit, given the above discussions. Yeah full email is likely the most straightforward one here.
It often boils down to what your authority thinks is the "public" primary key. For a lot of systems, the entire email is indeed chosen for that. If it were ldap and your ldap IDs are the left side of the @, then you'd already be in a situation where acquired companies might see their users have to change their IDs to avoid collisions, so then could use that.

I suppose I could create a new annotation and an entity processor that sets the ownedBy field but that seems to be breaking new ground.
backstage.com/owned-by-query<EMAIL_ADDRESS>
This means that the processor that creates actual relations from this, will have to have "global" insight into the catalog. It'll have to make actual lookups instead of just locally looking at the current entity, which is generally frowned upon because it leads to weird stability issues / data races with the model.

This question bleeds into another area. A (maybe) obvious choice for a globally unique id for an aws resource might be its arn.. and that is longer that 63 characters and requires a couple of other special character that are not supported.

The underlying mindset should be that entities are named by humans, using some taxonomy or thought process that has been agreed upon. An ARN isn't suitable. Even if the ARN of a database were a long complex string of chars (which encodes runtime aspects like the region and other unwanted things), you should name it myservicename-db instead, no matter what the URN was. If you moved it to a different region, or if you changed the database type, even if you stopped using AWS entirely and switched over to GCP - the name shouldn't need to change. You might want to have an annotation like aws.com/urn or whatever (maybe we already have one for this, I forget) that points to what the actual URN is though.

Possible Implementation
backstage.io document somewhere near the backstage model documentation explaining suggestions around how to approach naming entities

That's a good idea. I'll put it on my todo.

Thanks @freben

There seems to be a conflict between global uniqueness of entity names and human readableness. Im sure I am not the first to come across this.

We're encountered this as well with importing people. We went through a few iterations and eventually settled on using employee numbers from LDAP. They were the only thing that was truly unique and not changeable.
The ability to build relationships without needing to look them up in the catalog is very important. I think this should be a recommended best practice.

I could slugify the email address user:default/brian-example-com.

FWIW, I used the email domain name as the namespace, so<EMAIL_ADDRESS>becomesexample-com/brian

Another approach for namespaces that I wanted to get out there is to treat namespaces similar to K8S namespaces, ofc skipping infra related ones like kube-system. This is of course going to vary a lot across different orgs, but if your org already has an established pattern for K8S namespaces, then it might make sense to re-use them in the catalog.


Restructure the Virtual Machine to not be the one hacking around with variables

While optimizing to close #27, I realized I made a mistake of making the Virtual Machine the one who loads/stores local and global variables which completely hurts performance and then I started optimizing this in the hope it makes a difference, and it did, but stopped right after because there was issues with function recursion and other issues I had to solve before making this decision
I will postpone this optimization for 0.2.0 which hopefully be even more aggressively optimized

This must comeback to 0.1 release


[DO NOT MERGE] UI updates to match design; add test failure tracking

Something went wrong with PR preview build please check

Will wait on new version of SDS to publish before merging

Something went wrong with PR preview build please check

Something went wrong with PR preview build please check


Is there a way to control user access to different applications under the same organization?

Is there a way to control user access to different applications under the same organization?

@solo-xwz it's WIP

hi  @hsluoyz
is there any progress we can track?
i'm really excited about that feature ;)


The npm watch task is not notified about file changes

I'd like to contribute to the project, but I couldn't figure out how to use the local development environment. When I run the yarn dev or yarn watch command, the modified files are not compiled automatically. Did I miss something? I tried to remove the "files": [], entry from tsconfig but in this case, the compiler complains about the definition files. I'm not skilled enough to fix this issue.

might be worth moving to wireit after https://github.com/google/wireit/issues/33 lands

Okay, I got it.
I forgot to mention the most important thing, I work on Windows.
I changed the tsc-watch command to tsc --build --watch in the watch task and it works perfectly.
https://www.typescriptlang.org/docs/handbook/project-references.html#build-mode-for-typescript
Other issues I have faced:
The web dev server refuses the connection when I start it with the dev task. I changed the script to:
"dev": "concurrently \"npm run watch\" \"npm run serve\" --names=\"tsc,server\""
I had to replace single quotes to escaped double quotes in the analyze task of the fixtures/lit package:
"analyze": "cem analyze --litelement --globs \"src/*.ts\""
I'm happy to open a PR for this if you need it.


cannot delete release that are in FAILED state

I have some releases in FAILED state, and it seems that I cannot remove them, even with --purge:
$ helm version
Client: &version.Version{SemVer:"v2.0.0-alpha.5", GitCommit:"df30c4ab60e90dcdcdb101c6b345f88c49969806", GitTreeState:"dirty"}
Server: &version.Version{SemVer:"v2.0.0-alpha.5", GitCommit:"4de5c4aa578ed9ca173aff472f00d2167ec59a88", GitTreeState:"dirty"}
sebair: examples $ helm list --all
NAME          	REVISION	UPDATED                 	STATUS  	CHART
jaundiced-gori	1       	Mon Oct 10 22:41:56 2016	DEPLOYED	owncloud-0.2.0
jazzed-blackbi	1       	Mon Oct 10 21:03:59 2016	DEPLOYED	redis-standalone-0.0.1
jazzed-shark  	1       	Tue Oct 11 17:30:28 2016	FAILED  	owncloud-0.2.0
jolly-tortoise	1       	Tue Oct 11 17:28:52 2016	FAILED  	owncloud-0.2.0
ponderous-mars	1       	Mon Oct 10 21:33:26 2016	DELETED 	consul-0.1.0
sullen-moose  	1       	Mon Oct 10 21:08:05 2016	DEPLOYED	owncloud-0.2.0
tinseled-narwh	1       	Mon Oct 10 21:07:45 2016	DEPLOYED	nginx-alpine-0.1.0
turbulent-goat	1       	Tue Oct 11 17:34:14 2016	DEPLOYED	owncloud-0.2.0
sebair: examples $ helm delete --purge jazzed-shark
Error: release: not found
sebair: examples $ helm delete --purge jolly-tortoise
Error: release: not found

Also related is the inability to remove releases that appear in DEPLOYED state but that I deleted manually out of band from helm.

Blocked until #1339 gets merged

fixed by #1380


suggest support for Blur Effect background feature when pop

where you able to change this ? I am trying to remove it..


[Feature] Humidity Calculator

Description
Calculates the relative humidity given the dew point and the air temperature.
Screenshots
N/A
Checklist

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

Code of Conduct

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

Go ahead @AmrutaJayanti

can you please assign this issue to me. I'm a newbie and i really want to contribute to the first project

@Meghana-n10 I'm already working on it.


feat(providers): single database mode

Creates a new database provider mode named single.
The aim of the mode is to create a single database instance and share it
between the apps by separating them by Posgres schemas.
Each app gets a schema created by the name of the requested database.
Schemas are created under environment's database, with the same name as
the ClowdEnv.
Adds the following refactorings:

provutils.DefaultPGPort to set port constant
provutils.DefaultPGAdminUsername to set default PG admin user
provutils.PGAdminConnectionStr that builds sanitized connection string to PG from a DatabaseConfig using admin creds
provutils.ReadDbConfigFromSecret to reuse read of DatabaseConfigs from secrets, optionally using a cache

RHINENG-14526

@psav I've opted for "single" as the name of the db mode. Suggestions and reviews are welcome. Thank you.


Update to 1.1.0

Checklist

[x] Used a personal fork of the feedstock to propose changes
[] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin please rerender

Thanks for checking @brendanf , maybe just easiest to open a new PR and we close this one.

Closed in favour of https://github.com/conda-forge/r-nanonext-feedstock/pull/7


[DevOps] Update test scripts

Related to #269
This PR is:

To update both pwsh script and shell script to include OpenAPI linting

Test Results
✔ Tests 104 / 104 - passed in 19.5s
🔍 click here for more details

Test Results
✔ Tests 104 / 104 - passed in 18.2s
🔍 click here for more details
✏ updated for commit cedbe67


Option to set the default start tab

closes #357

Note to self: Do not forget the changelog entry after merge.


Create an OAS type resource

In the apigeecli resources create command, it is not possible to create a resource of type oas:

Error: invalid resource type

But it is possible through googleapis.
Could you implement support for creating this type of resource?

The latest release v2.0.1 which was released yesterday has this enhancement.

@andreuji - we just re-released the version with the docs/help update. Please re-install apigeecli and let us know if you still have issues


stylistic changes

log in:
* "Username" and "Password" in input field
* no longer using  tag around "Remember Me"
* change text to "Forgot password?"
* button text to "Log in"
also changed "Register" to "Sign Up" in app/templates/index.html

Updated tests/test_index.py

This is what the log in page looks like now:


TGI v1.3.1 Docker container Mixtral 8x7b not running

System Info
Running ghcr.io/huggingface/text-generation-inference:1.3.1 with model mistralai/Mixtral-8x7B-Instruct-v0.1 in a GKE cluster using 2x80gb A100s.
I've been running the Llama2 and Mistral 7b models with my same setup and these are working fine. I believe it's something new with the megablocks changes that just got integrated.
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[ ] My own modifications

Reproduction
Try to load the mistralai/Mixtral-8x7B-Instruct-v0.1 model in the docker container
2023-12-11T16:23:43.337331Z ERROR text_generation_launcher: Method Warmup encountered an error.
Traceback (most recent call last):
  File "/opt/conda/bin/text-generation-server", line 8, in <module>
    sys.exit(app())
  File "/opt/conda/lib/python3.10/site-packages/typer/main.py", line 311, in __call__
    return get_command(self)(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/typer/core.py", line 778, in main
    return _main(
  File "/opt/conda/lib/python3.10/site-packages/typer/core.py", line 216, in _main
    rv = self.invoke(ctx)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/opt/conda/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/typer/main.py", line 683, in wrapper
    return callback(**use_params)  # type: ignore
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py", line 89, in serve
    server.serve(
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 215, in serve
    asyncio.run(
  File "/opt/conda/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 636, in run_until_complete
    self.run_forever()
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 603, in run_forever
    self._run_once()
  File "/opt/conda/lib/python3.10/asyncio/base_events.py", line 1909, in _run_once
    handle._run()
  File "/opt/conda/lib/python3.10/asyncio/events.py", line 80, in _run
    self._context.run(self._callback, *self._args)
  File "/opt/conda/lib/python3.10/site-packages/grpc_interceptor/server.py", line 165, in invoke_intercept_method
    return await self.intercept(
> File "/opt/conda/lib/python3.10/site-packages/text_generation_server/interceptor.py", line 21, in intercept
    return await response
  File "/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 82, in _unary_interceptor
    raise error
  File "/opt/conda/lib/python3.10/site-packages/opentelemetry/instrumentation/grpc/_aio_server.py", line 73, in _unary_interceptor
    return await behavior(request_or_iterator, context)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/server.py", line 72, in Warmup
    max_supported_total_tokens = self.model.warmup(batch)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 692, in warmup
    _, batch = self.generate_token(batch)
  File "/opt/conda/lib/python3.10/contextlib.py", line 79, in inner
    return func(*args, **kwds)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 823, in generate_token
    raise e
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_causal_lm.py", line 820, in generate_token
    out = self.forward(batch)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_mistral.py", line 398, in forward
    logits = self.model.forward(
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py", line 704, in forward
    hidden_states = self.model(
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py", line 648, in forward
    hidden_states, residual = layer(
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py", line 594, in forward
    block_sparse_moe_output = self.block_sparse_moe(normed_attn_res_output)
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1518, in _wrapped_call_impl
    return self._call_impl(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1527, in _call_impl
    return forward_call(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/torch/utils/_contextlib.py", line 115, in decorate_context
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py", line 494, in forward
    x = ops.padded_gather(x, indices, bin_ids, bins, padded_bins, self.top_k)
  File "/opt/conda/lib/python3.10/site-packages/torch/autograd/function.py", line 539, in apply
    return super().apply(*args, **kwargs)  # type: ignore[misc]
  File "/opt/conda/lib/python3.10/site-packages/stk/backend/autocast.py", line 28, in decorate_fwd
    return fwd(*args, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/megablocks/ops/padded_gather.py", line 14, in forward
    return kernels.padded_gather(
  File "/opt/conda/lib/python3.10/site-packages/megablocks/backend/kernels.py", line 123, in padded_gather
    _padded_copy[(indices.shape[0],)](
  File "/opt/conda/lib/python3.10/site-packages/triton/runtime/autotuner.py", line 100, in run
    timings = {config: self._bench(*args, config=config, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/triton/runtime/autotuner.py", line 100, in <dictcomp>
    timings = {config: self._bench(*args, config=config, **kwargs)
  File "/opt/conda/lib/python3.10/site-packages/triton/runtime/autotuner.py", line 83, in _bench
    return do_bench(kernel_call, warmup=self.warmup, rep=self.rep, quantiles=(0.5, 0.2, 0.8))
  File "/opt/conda/lib/python3.10/site-packages/triton/testing.py", line 104, in do_bench
    fn()
  File "/opt/conda/lib/python3.10/site-packages/triton/runtime/autotuner.py", line 81, in kernel_call
    self.fn.run(*args, num_warps=config.num_warps, num_stages=config.num_stages, **current)
  File "<string>", line 63, in _padded_copy
  File "/opt/conda/lib/python3.10/site-packages/triton/compiler/compiler.py", line 425, in compile
    so_path = make_stub(name, signature, constants)
  File "/opt/conda/lib/python3.10/site-packages/triton/compiler/make_launcher.py", line 39, in make_stub
    so = _build(name, src_path, tmpdir)
  File "/opt/conda/lib/python3.10/site-packages/triton/common/build.py", line 61, in _build
    cuda_lib_dirs = libcuda_dirs()
  File "/opt/conda/lib/python3.10/site-packages/triton/common/build.py", line 30, in libcuda_dirs
    assert any(os.path.exists(os.path.join(path, 'libcuda.so')) for path in dirs), msg
AssertionError: libcuda.so cannot found!

2023-12-11T16:23:43.338120Z ERROR warmup{max_input_length=32767 max_prefill_tokens=32767 max_total_tokens=32768}:warmup: text_generation_client: router/client/src/lib.rs:33: Server error: libcuda.so cannot found!

Error: Warmup(Generation("libcuda.so cannot found!\n"))

Expected behavior
I'd expect the model to load correctly

Can you run --env ?

That seems to be an issue with Triton.
Maybe this comment can help?

Yeah, something fishy is going on here.
The container is built with triton 2.1.0
root@mixtral:~# pip freeze | grep "triton"
triton==2.1.0

So then I can go look at that code in the triton repo:
https://github.com/openai/triton/blob/v2.1.0/python/triton/common/build.py#L30
If I execute this function on its own directly on the node's output for ldconfig -p, the assertion doesn't fail.
It looks like what's happening is that even though LD_LIBRARY_PATH is set at the root process for text-generation-launcher, it's not propagating to the subprocess that's being ran as part of the ldconfig -p, which is causing ldconfig -p to not return the location of libcuda.so. Hmm.

I found a solution. If you're running in Kubernetes, you need to re-run ldconfig before text-generation-inference runs.
  - command:
    - bash
    - -c
    - |
      ldconfig
      text-generation-launcher --model-id mistralai/Mixtral-8x7B-Instruct-v0.1 --sharded "true" --num-shard "2"

This works. I'm not sure why ldconfig needs to be reran for this but not for others.

We've run into this issue as well. On a cluster environment, ldconfig would typically access root-owned directories. I'm still interested in finding a fix that doesn't require escalated privileges.

It looks like in the latest version of triton, that there's a different env variable that you can set to specify where to find libcuda.so:
https://github.com/openai/triton/blob/720d12c1433e5b13eb3a18d1e065c1d3d25a32f1/python/triton/common/build.py#L21-L23

Weird. We run all our deployments in k8s and don't run into this issue. I will have a look.

@OlivierDehaene could you share a typical manifest that's used?

Still present in 1.3.3. I tested out adding a RUN ldconfig step to the docker build, but I wasn't able to resolve the issue.

Do you guys deploy in EKS, GKE, something else?
Do you use the Nvidia Operator, Nvidia device plugin?
Do you overwrite the NVIDIA_DRIVER_CAPABILITIES, or LD_LIBRARY_PATH env var for some reason?

We aren't using Kupernetes; we convert the public docker image to singularity to run on our HPC system.
Triton looks for libcuda.so using /sbin/ldconfig -p. This searches for the shared libraries included in /etc/ld.so.conf, which includes all the conf files in /etc/ld.so.conf.d/. If we take a look at /etc/ld.so.conf.d, we can see that several cuda paths are included, but none points to libcuda.so:
In /etc/ld.so.conf.d/000_cuda.conf:
/usr/local/cuda/targets/x86_64-linux/lib
Which contains a cuda runtime libcudart.so.12, libcudart.so.12.1.55
/etc/ld.so.conf.d/988_cuda-12.conf points to:
/usr/local/cuda-12/targets/x86_64-linux/lib
Which also contains libcudart.so.12 and libcudart.so.12.1.55
Finally /etc/ld.so.conf.d/nvidia.conf points to:
/usr/local/nvidia/lib
/usr/local/nvidia/lib64

Which don't exist.
libcuda.so exists in:
/usr/local/cuda/compat/
/usr/local/cuda-12/compat/
/usr/local/cuda-12.1/compat/

I was able to solve the issue locally. There's currently no .conf file in /etc/ld.so.conf.d/ which points to one of the locations of libcuda.so. To solve this, you need to add a .conf file pointing to the directory of a libcuda.so, and then run ldconfig to update the ld cache with the new search location.
First I created a new conf file in /etc/ld.so.conf.d:
echo "/usr/local/cuda-12.1/compat" > /etc/ld.so.conf.d/libcuda.conf

Then I updated the ldcache:
ldconfig

In singularity, this required a temporary writable file system, binding a local version of libcuda.conf into the container's /etc/ld.so.conf.d, and then running ldconfig && text-generation-launcher
I'll see if I can update the dockerfile to address this issue and submit a PR for others to test.

We aren't using Kupernetes; we convert the public docker image to singularity to run on our HPC system.

I think the original issue came from trouble running the image in GKE though. @abatilo do you still have issues?

Triton looks for libcuda.so using /sbin/ldconfig -p. [...] we can see that several cuda paths are included, but none points to libcuda.so

Yes, the nvidia container toolkit mounts this shared object. The runtime makes sure that the node .so is used inside the container then updates the conf.
I think the nvidia-container-cli equivalent in singularity is missing part/all this logic.

In GKE driver installs have been a mess for at least 3 months.  I don't know where I got the daemonset that is working but the instructions point to this:
kubectl apply -f https://raw.githubusercontent.com/GoogleCloudPlatform/container-engine-accelerators/master/nvidia-driver-installer/cos/daemonset-preloaded-latest.yaml
However that is missing this block from a daemonset that I have working on another node group
      echo "Waiting for GPU driver libraries to be available."

      while ! [[ -f /usr/local/nvidia/lib64/libcuda.so ]]; do

        sleep 5

      done

      echo "GPU driver is installed."

Judging by the fact that the node group that has this sleep works, I'm guessing there's a race condition when bootstrapping the node with the init container for the nvidia installer.

Hi,
I've successfully deployed Mistral-7B on GKE by following this guide: https://medium.com/google-cloud/serving-mistral-7b-on-l4-gpus-running-on-gke-25c6041dff27. The guide uses 2 L4 GPUs, each with 24GB of RAM, so a total of 48GB is available.
However, when only changing 1 line in the YAML file (namely mistralai/Mistral-7B-Instruct-v0.1 by mistralai/Mixtral-8x7B-Instruct-v0.1):
containers:
      - name: mixtral-8x7b
        image: ghcr.io/huggingface/text-generation-inference:1.3.4
        resources:
          limits:
            nvidia.com/gpu: 1
        ports:
        - name: server-port
          containerPort: 8080
        env:
        - name: MODEL_ID
          value: mistralai/mixtral-8x7b-Instruct-v0.1
        - name: NUM_SHARD
          value: "1"
        - name: PORT
          value: "8080"
        - name: QUANTIZE
          value: bitsandbytes-nf4
        volumeMounts:
          - mountPath: /dev/shm
            name: dshm
          - mountPath: /data
            name: data

, I get CUDA OOMs:
ile \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/flash_mistral.py\", line 333, in __init__\n    model = model_cls(config, weights)\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py\", line 812, in __init__\n    self.model = MixtralModel(config, weights)\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py\", line 749, in __init__\n    [\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py\", line 750, in <listcomp>\n    MixtralLayer(\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py\", line 689, in __init__\n    self.moe = moe_cls(f\"{prefix}.block_sparse_moe\", config, weights)\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py\", line 615, in __init__\n    self.w1 = [\n\n  File \"/opt/conda/lib/python3.10/site-
packages/text_generation_server/models/custom_modeling/flash_mixtral_modeling.py\", line 616, in <listcomp>\n    TensorParallelColumnLinear.load(\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/layers.py\", line 456, in load\n    return cls.load_multi(config, [prefix], weights, bias, dim=0)\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/layers.py\", line 460, in load_multi\n    weight = weights.get_multi_weights_col(\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/weights.py\", line 224, in get_multi_weights_col\n    weight = torch.cat(w, dim=dim)\n\ntorch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 112.00 MiB. GPU 0 has a total capacty of 21.99 GiB of which 5.69 MiB is free. Process 33090 has 21.98 GiB memory in use. Of the allocated memory 20.60 GiB is allocated by PyTorch, and 390.84 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF\n"},"target":"text_generation_launcher","span":{"rank":0,"name":"shard-manager"},"spans":[{"rank":0,"name":"shard-manager"}]}

I assume this is because one should provide an already quantized model and add the QUANTIZE flag to tell TGI you're using a quantized model? The guide above written by Google does not provide a quantized model and adds the QUANTIZE flag. @OlivierDehaene could you clarify this?
Next I tried this:
containers:
      - name: mixtral-8x7b-gptq
        image: ghcr.io/huggingface/text-generation-inference:1.3.4
        resources:
          limits:
            nvidia.com/gpu: 1
        ports:
        - name: server-port
          containerPort: 8080
        env:
        - name: MODEL_ID
          value: ybelkada/mixtral-8x7b-gptq-Instruct-v0.1-AWQ
        - name: NUM_SHARD
          value: "1"
        - name: PORT
          value: "8080"
        - name: QUANTIZE
          value: gptq
        volumeMounts:
          - mountPath: /dev/shm
            name: dshm
          - mountPath: /data
            name: data

Since people reported succcessfully deploying this model using TGI. This model is about 25GB in size so this should work. But this errors with:
Error: DownloadError
{"timestamp":"2024-01-12T10:17:24.249139Z","level":"ERROR","fields":{"message":"Download encountered an error: Traceback (most recent call last):\n\n  File \"/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py\", line 270, in hf_raise_for_status\n    response.raise_for_status()\n\n  File \"/opt/conda/lib/python3.10/site-packages/requests/models.py\", line 1021, in raise_for_status\n    raise HTTPError(http_error_msg, response=self)\n\nrequests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://huggingface.co/api/models/ybelkada/mixtral-8x7b-gptq-Instruct-v0.1-AWQ\n\n\nThe above exception was the direct cause of the following exception:\n\n\nTraceback (most recent call last):\n\n  File \"/opt/conda/bin/text-generation-server\", line 8, in <module>\n    sys.exit(app())\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/cli.py\", line 128, in download_weights\n    utils.weight_files(model_id, revision, extension)\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/hub.py\", line 149, in weight_files\n    filenames = weight_hub_files(model_id, revision, extension)\n\n  File \"/opt/conda/lib/python3.10/site-packages/text_generation_server/utils/hub.py\", line 108, in weight_hub_files\n    info = api.model_info(model_id, revision=revision)\n\n  File \"/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_validators.py\", line 118, in _inner_fn\n    return fn(*args, **kwargs)\n\n  File \"/opt/conda/lib/python3.10/site-packages/huggingface_hub/hf_api.py\", line 1922, in model_info\n    hf_raise_for_status(r)\n\n  File \"/opt/conda/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py\", line 320, in hf_raise_for_status\n    raise RepositoryNotFoundError(message, response) from e\n\nhuggingface_hub.utils._errors.RepositoryNotFoundError: 401 Client Error. (Request ID: Root=1-65a111b3-37bfef2214bb472c74c7f872;0bd22834-7a6f-461b-8752-408d121e1d8e)\n\nRepository Not Found for url: https://huggingface.co/api/models/ybelkada/mixtral-8x7b-gptq-Instruct-v0.1-AWQ.\nPlease make sure you specified the correct `repo_id` and `repo_type`.\nIf you are trying to access a private or gated repo, make sure you are authenticated.\nInvalid username or password.\n\n"},"target":"text_generation_launcher","span":{"name":"download"},"spans":[{"name":"download"}]}

This is odd since the model is public. There's also https://huggingface.co/ybelkada/Mixtral-8x7B-Instruct-v0.1-bnb-4bit (same model but quantized using bitsandbytes rather than GPTQ) but since 4-bit serialization is brand new I'm not sure this is already supported.

Hello, was anyone able to fix the issue or to find a workaround?
I'm also trying to deploy mistralai/Mixtral-8x7B-v0.1 with TGI on GKE and I also get AssertionError: libcuda.so cannot found! despite adding the ldconfig command before launching the server

My workaround was to deploy https://huggingface.co/casperhansen/mixtral-instruct-awq on GKE, which only takes about 27GB of RAM, hence it can be deployed on 2 L4 GPUs. Do not that you then also need to specify quantize: awq in the GKE yaml file.


Fix small typo in the README.md

Why you made the change:
I did this so that people wouldn't accidentally copy and paste a broken
example.

Thanks!


Fix Bray-Curtis formula in pdist docstring

The formula listed in the braycurtis docstring was correct,
but the one for pdist was not.

@bsmith89 thanks, good catch. Note that the cdist docstring has the same issue, could you fix that as well?

Do the formula really need to be written out in three different places in the same module?  Perhaps the docstrings for pdist/cdist should follow DRY?

Merged, thanks @bsmith89

Do the formula really need to be written out in three different places in the same module? Perhaps the docstrings for pdist/cdist should follow DRY?

I agree, it's a bit much. At least one of pdist/cdist could refer to the other docstring. Having one overview of all 23 metrics, and the formula for a single metric in the individual function docstring may still make sense.
Separate PR for that very welcome I'd say.


[SPARK-40949][CONNECT][PYTHON] Implement DataFrame.sortWithinPartitions

What changes were proposed in this pull request?
Implement DataFrame.sortWithinPartitions
Why are the changes needed?
for api coverage
Does this PR introduce any user-facing change?
yes, new method
How was this patch tested?
added UT

the 3 force pushes only resolved conflicts in generated files, let me merge it now

merged into master, thanks @HyukjinKwon

Late LGTM thanks


Add phpstan and phpunit files to be export-ignored

Coverage remained the same at 100.0% when pulling 149c32bf66355d85da8ee9df092be8fed91cf51e on adriansuter:patch-1 into e129bd555e9ab0072b7b64686826843c65a2f6b5 on slimphp:master.


Add support for memories

Hi, thank you so much for making this, it's very well written! I'd been searching for soemthing like this for a while and yours was the best one I've found. I noticed there was an endpoint not covered by your script: https://mobile.bereal.com/api/feeds/memories. I was wondering if you were willing to add support for this? I would love to download all of my memories. Thank you!

You actually only need to change the endpoint at line 70 from this:
response = requests.get('https://mobile.bereal.com/api/feeds/friends', headers=headers, params=params, verify=False)
to this
response = requests.get('https://mobile.bereal.com/api/feeds/memories', headers=headers, params=params, verify=False)
And it will work perfectly fine :)

Amazing, thank you!

Sorry to bother you, but do you have the SECURE_TOKEN value or is it different for each user? If so, could you send it to me by chance, I kind of want to avoid paying for Charles Proxy 😅

Sorry for the late answer, I didn’t have time to reply earlier. The SECURE_TOKEN is not private, but since Github wouldn’t be happy about me posting some sort of token, i'll just send it to your E-mail! 💯

Got it, thank you so much :) Starred the repo as well!


Initial TrustSec member profile

I made some changes, the profile would like this:

Closing in favor of local branch #17


Merges can trick us into finding wrong tag

The current algorithm is to find the most recent tagged commit in the current commit's history. But that is not always what you want.
Consider:
004 * (master) Merge from release branch
    |\
003 | * (release) [1.0] Fix on release branch
    | |
002 * | [1.1] Commit on release branch for new version
    |/
001 * Pre-release commit

Commit 004 should take tag 1.1 from commit 002 on the master branch, not tag 1.0 from more recent commit 003 on the release branch.

Of course there is really no good way to tell that 002 or 003 formerly belonged to one branch or another. It's not how git thinks.
To support this use case it may be necessary for the master branch to not be in hideBranches. So that you can always tell that you are X commits away from the last tagged release on the master branch (as opposed to X commits away on the release branch, which would look the same if master didn't appear in the version name).


Question: How to get rid of unnecessary libraries.

Hello,  I have a question. My project is simple Tkinter GUI exe with no extra packages and I noticed when using --standalone and --onefile options Nuitka packs libraries like "libcrypto-1_1.dll", "comctl32.dll", "libffi-7.dll", "libssl-1_1.dll" into my project. Is there a way not to use these libraries in my project?
Info:
0.7.6
Commercial: None
Python: 3.10.4 (tags/v3.10.4:9d38120, Mar 23 2022, 23:13:41) [MSC v.1929 64 bit (AMD64)]
Flavor: Unknown
OS: Windows
Arch: x86_64
WindowsRelease: 10
I installed Nuitka by using pip.
Nuitka==0.7.6
zstandard==0.17.0
Nuitka options:
python -m nuitka --standalone --enable-plugin=tk-inter  --disable-plugin=implicit-imports --windows-disable-console main.py

Using a virtualenv can help a lot, to not have them installed. You can always delete things you believe are not used from your Python installation, but you better make sure that the Python is still running it. There will be options coming to suppress inclusion of data files and DLL files, but they do not exist yet. Data files will come soon, DLLs after that.
Keeping the question open, because deletion is one way of doing it, suppressing will be another, but when it then doesn't work, you cannot test if that's a bug of Nuitka, so in a sense that's necessary at some point to decide that.

I tried virtualenv, but the result is the same. Thanks for answer. Looking forward for new features.

Do you happen to know if files like "comctl32.dll" are allowed for redistribution by Microsoft ?

@kayhayen thanks. I have been trying to find a reference to "comctl32.dll" in the windows redist list (for example, https://docs.microsoft.com/en-us/legal/windows-sdk/redist ) and haven't found it. It seems it's not licensed for redistribution.

I think, this was from before Nuitka stopped including SxS libraries, and as such should be resolved.


Conversation View

I checked the box on the admin but nothing happend - it's a bug?

Where did you find the checkbox? Could you make screenshot and upload it here?

That's the problem.
I find it on the admin...and it's not there...also I find it on the settings of my account (Yahoo) and it's not  there....
where I can find it?

any update?

I do not quite understand what you mean.
RainLoop supports threaded view only if your mail server supports IMAP threads.
For example: gmail does not support it (their webmail - yes, but not IMAP).

@RainLoop I believe, @ammoss meant to use "search" instead of "find". Thus, the question was whether there is a way to enable Conversation View for his Yahoo e-mail.
Is there any update on Gmail Conversation View support? Any luck?


Validate cupsoda init kwargs and integrator opts

Previously, unrecognised kwargs and integrator options were
silently ignored. Now a ValueError is raised if they are not
recognised.

Coverage increased (+0.7%) to 79.126% when pulling 6b822ed18495c52546f2390e8d414f88d3a0cac5 on alubbock:cupsoda_kwargs into<PHONE_NUMBER>6b6df74872f1ebf94a1ef148775a63 on pysb:master.

Coverage increased (+0.7%) to 79.126% when pulling 6b822ed18495c52546f2390e8d414f88d3a0cac5 on alubbock:cupsoda_kwargs into<PHONE_NUMBER>6b6df74872f1ebf94a1ef148775a63 on pysb:master.


Performance issues

Problem
I was testing the performance issues we talked about and came to the following conclusion:
Commenting the following line of code out will increase the performance of the copy process by about 15x
https://github.com/norpba/PyARR/blob/0a2d46970190748708512529db01f16a17eae6d3/src/sorter.py#L241
I tested with 3,2GiB of files (3031 files, 3 sub-folders) and got these results:
current:
Sorting completed in 31.56443762779236 seconds.
with the line 241 commented out:
Sorting completed in 2.088543653488159 seconds.
This makes sense since we are literally updating the GUI every single time we check a file.
(Possible) Solution
I made a simple (and buggy) test version that checks it in only 0.01 increments which got me to 2.7 seconds,
so that would certainly be one option.
t. thiif

Hi Tiif.
I see, that definitely has a huge impact on the performance. I'm going to try and find a solution where I can have a nice visual representation of the sorting progress without losing too much performance. Although for me, visuals are more important than literal performance, but comparing the completion times that you got (~31 seconds to about 2 seconds) tells me that I need to optimize it.
Anyway thanks for opening this issue, going to def work on it later.

visuals are more important than literal performance
Certainly, especially for a program that you're not going to be running all the time anyway.
I just found this interesting enough so I looked into it and wanted to report my findings.
happy hacking


Add: Pattern48.js

Related Issue
Closes: #184
Describe the changes you've made ✍
This code shows how I have solved issue #184 using JavaScript.
Screenshots (if any) 📸

@OkelloSam21 getting undefined in the last row

How can I fix this. Need some help with it if you don't mind.

The code is fine now

working on it


Add ability to override bucket name and set deploy as default command

Added ability to override the bucket name by passing an option
-b or --bucket

Also set deploy as default command so you can run
gatsby-plugin-s3

Example
gatsby-plugin-s3 -b BUCKET -y

Not sure about the default command but let me know.


Documentation fixes

In-house version of #518

Codecov Report

Merging #533 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #533   +/-   ##
======================================
  Coverage    99.8%   99.8%
======================================
  Files          28      28
  Lines        2511    2511
======================================
  Hits         2506    2506
  Misses          5       5

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 69364c2...8c0ef3f. Read the comment docs.

@jameshensman merge?


Defined new revisions for golang dep: github.com/mohae/deepcopy

Ran component through the scanners since I noticed it had not been harvested yet and it correctly declared the license. Closing PR as it is no longer needed.


Hold Music Size Limitation

To the best of my knowledge, the largest size for custom hold music file is 5mb. We should add this to the documentation. Thoughts?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 416f3cdb-ca75-8224-bc04-985e5f7ea9dd
Version Independent ID: 6e8c6f33-8043-e367-b44b-74b5f5ee96f2
Content: Music on Hold - Microsoft Teams
Content Source: Teams/music-on-hold.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@jstrong013 thank you for reaching out and helping improve MS Docs. Do you have any official documentation confirming this? Please advise and I'll add the info to the article. I'm also doing some research to see if I can find any article confirming this.

@lindspea nothing to reference from official public channels. Thanks for considering

Please ask @JensTrier.

It is already documented including supported file types under Import-CsOnlineAudioFile, which is the cmd that actually uploads the audio file

Thanks @JensTrier.  Because it's already documented, let's not add it to the topic in question.  Duplicated information often gets out of sync.  I'm closing this issue.


can't run newest version

after install and run it.
got this error:

This seems to have been fixed w/ a commit per: https://github.com/chidiwilliams/buzz/issues/221
However the downloadable files haven't been updated.
I'm getting an error on launch also.

@CCpt5 are you still getting the same "NoneType object has no attribute flush" error?

Do any of these builds work for you?

https://github.com/chidiwilliams/buzz/suites/9740554266/artifacts/467501581
https://github.com/chidiwilliams/buzz/suites/9764831284/artifacts/469159039

Not sure I'll be able to try those tonight, but this is the error I am receiving. I also randomly tried GPTChat to see what it though and for kicks I'll attach that:
Traceback (most recent call last):   File "main.py", line 37, in <module>     os.makedirs(log_dir, exist_ok=True)   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "buzz\gui.py", line 21, in <module>     from whisper import tokenizer   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "whisper\__init__.py", line 12, in <module>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "whisper\decoding.py", line 11, in <module>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "whisper\tokenizer.py", line 8, in <module>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "transformers\__init__.py", line 30, in <module>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "transformers\dependency_versions_check.py", line 17, in <module>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "transformers\utils\__init__.py", line 34, in <module>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "transformers\utils\generic.py", line 29, in <module>   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load   File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 688, in _load_unlocked   File "PyInstaller\loader\pyimod02_importers.py", line 499, in exec_module   File "transformers\utils\import_utils.py", line 37, in <module>   File "transformers\utils\logging.py", line 125, in get_logger   File "transformers\utils\logging.py", line 88, in _configure_library_root_logger AttributeError: 'NoneType' object has no attribute 'flush'
`Based on the code snippet you provided, it looks like the log_dir variable is defined by calling the user_log_dir function and passing in appname='Buzz' as an argument. This function should return the path to a directory where the logs should be saved.
However, if the user_log_dir function is not defined or is not returning a valid directory path, then the log_dir variable will not be defined correctly and the os.makedirs call on line 37 will fail with the error you are seeing.
To fix this issue, you need to make sure that the user_log_dir function is defined correctly and is returning a valid directory path. You can do this by checking the code of the user_log_dir function and making sure that it is defined correctly and is returning a valid directory path.
I hope this helps! Let me know if you have any other questions.`
This error is caused by trying to create a directory that already exists. The os.makedirs() function will attempt to create all of the necessary directories in the specified path, but if the directory already exists, it will raise a FileExistsError. To fix this error, you can simply change the line of code that is causing the error from this:
It looks like the issue is with the line os.makedirs(user_log_dir, exist_ok=True). The user_log_dir variable is not defined at this point in the code, so os.makedirs doesn't know what directory to create. You should change that line to os.makedirs(log_dir, exist_ok=True), since log_dir is defined earlier and contains the directory you want to create.

Ok, so the one timestamped 12/9/22 opens w/o an error. I don't have time to test beyond that (almost midnight GF will kill me), but seems good.
Thanks!

Great, thanks

Do any of these builds work for you?

https://github.com/chidiwilliams/buzz/suites/9740554266/artifacts/467501581
https://github.com/chidiwilliams/buzz/suites/9764831284/artifacts/469159039

the first one crashes with same error as before.
the second one works.
BUT: the new very high v2 model dont work. it tries to download the model but only dl a 0 byte file and then the program crash close


Max size for curl response?

Tim,
First of all - great tool!  Overall, I'm using it for a simple API query that returns a single line result of the following basic form and it is working well:
"results":[{"timeMs":1455152400000,"series":[0,40,40,null,null,null,null,null]},{"timeMs":1455152410000,"series":[0,40,40,null,null,null,null,null]},{"timeMs":1455152420000,"series":[0,40,40,null,null,null,null,null]},{"timeMs":1455152430000,"series":[0,40,40,null,null,null,null,null]},{"timeMs":1455757190000,"series":[0,136668,141900,77625000,960000000,133650000,12500000,2709375000]}]}
The problem I have it that the dataset can get quite large and it appears to be breaking excel.  A curl request on the command line with the equivalent of ~60,000 rows (imagine in the above query that each "timeMs" entry equals a row) takes about 4 seconds to complete.  Using VBA-WEB in Excel results in a query that hangs Excel and many times crashes Excel.
Using various debug commands, it appears to be hanging on the process of getting / reading the curl output (at first I thought it might be when i was post-processing the data to put results into the excel sheet, but it appears to be well before that).
I'm trying to dissect the WebResponse module to see if there are any parameters I can tweak (i.e. read larger chunks at a time, etc.) but I've come up empty so far.
Are there any tweaks that can be made to deal with large, single line, JSON outputs?
Thank you!

Update: By writing debug info to a file (since I could not see the immediate window after Excel crashed), I can actually see that the curl response is being read and populating WebResponse.Content.  Excel then crashes when the function tries to return with that WebResponse.  I'll close for now and reopen after investigating further.  Apologies for the noise.

@GTKnight Thanks for the update, please keep me posted as you debug. My guess would be JSON parsing is running out of memory or some similar issue, but let me know what you find.

Thanks Tim - embarrassingly enough, it appears the issue was actually a Debug.Print I had put in to show the raw JSON output.  As soon as I removed that, the crashing stopped, so it appears there was some limit reached there. Ugh :)

Oops, that's kinda funny (and unexpected). Glad it's working now!

Thanks Tim.  I can open a new issue on this, but I do have one question
still lingering.  I have had to basically build in logic to "batch" API /
curl queries because if I get an overly large response (e.g. the equivalent
of a 100,000+ row / 7 column output), it simply grinds excel to a halt.  I
experimented with changing the value in the below loop in the WebHelpers
module, which has some effect, but doesn't solve for the huge data set.
I'm curious if you are aware of any ways to improve this or other helpers
that would be more suited towards reading in a large curl response.
Do While web_feof(web_File) = 0
web_Chunk = VBA.Space$(1000)  <- changed this value from the
original "50", but it only seems to help up to a certain point
web_Read = web_fread(web_Chunk, 1, Len(web_Chunk) - 1, web_File)
If web_Read > 0 Then
web_Chunk = VBA.Left$(web_Chunk, web_Read)
ExecuteInShell.Output = ExecuteInShell.Output & web_Chunk
End If
Loop
If I run an equivalent curl from the CLI, it completes in a matter of
seconds.
Thanks!
Scott
On Thu, Feb 25, 2016 at 2:08 PM, Tim Hall<EMAIL_ADDRESS>wrote:

Oops, that's kinda funny (and unexpected). Glad it's working now!
—
Reply to this email directly or view it on GitHub
https://github.com/VBA-tools/VBA-Web/issues/195#issuecomment-188934020.

Hmm, there are some manual memory techniques that I've applied in VBA-JSON (see here), but they are Windows-only. I'll look into and see what I can find.


Added ExtendedAttributes

Docs Build status updates of commit 7355a23:
:warning: Validation status: warnings

File
Status
Preview URL
Details

academic-services/graph/reference-data-schema.md
:warning:Warning

Details

academic-services/graph/reference-data-schema.md

Line 20: [Warning] Invalid file link:(~/graph/media/erd/entity-relationship-diagram.png).
Line 20: [Warning] Invalid file link:(~/graph/media/erd/entity-relationship-diagram-thumbnail.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e54927d:
:warning: Validation status: warnings

File
Status
Preview URL
Details

academic-services/graph/reference-data-schema.md
:warning:Warning

Details

academic-services/graph/media/erd/a.txt
:white_check_mark:Succeeded

academic-services/graph/reference-data-schema.md

Line 20: [Warning] Invalid file link:(~/graph/media/erd/entity-relationship-diagram.png).
Line 20: [Warning] Invalid file link:(~/graph/media/erd/entity-relationship-diagram-thumbnail.png).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit 65ad056:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

academic-services/graph/media/entity-relationship-diagram-thumbnail.png
:white_check_mark:Succeeded

academic-services/graph/media/erd/a.txt
:white_check_mark:Succeeded

academic-services/graph/media/erd/entity-relationship-diagram-thumbnail.png
:white_check_mark:Succeeded

academic-services/graph/media/erd/entity-relationship-diagram.png
:white_check_mark:Succeeded

academic-services/graph/reference-data-schema.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit ffb0ed6:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

academic-services/graph/media/entity-relationship-diagram-thumbnail.png
:white_check_mark:Succeeded

academic-services/graph/media/entity-relationship-diagram.png
:white_check_mark:Succeeded

academic-services/graph/media/erd/a.txt
:white_check_mark:Succeeded

academic-services/graph/media/erd/entity-relationship-diagram-thumbnail.png
:white_check_mark:Succeeded

academic-services/graph/media/erd/entity-relationship-diagram.png
:white_check_mark:Succeeded

academic-services/graph/reference-data-schema.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e2e0e17:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

academic-services/graph/media/entity-relationship-diagram-thumbnail.png
:white_check_mark:Succeeded

academic-services/graph/media/entity-relationship-diagram.png
:white_check_mark:Succeeded

academic-services/graph/media/erd/entity-relationship-diagram-thumbnail.png
:white_check_mark:Succeeded

academic-services/graph/media/erd/entity-relationship-diagram.png
:white_check_mark:Succeeded

academic-services/graph/reference-data-schema.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Is there a way to have this tied to onContextMenu instead of onClick?

Just found this library today and I'm really impressed with how easy it was to add it into my game. I'm wondering if there's already a way to specify which event will call the menu up, or if it's hard coded to use onClick.
I'll dive a bit deeper and see if I can spot this myself but I figured I would go ahead and ask.
Thanks!

That's a very interesting use-case. I didn't write this with that kind of usage in mind, so the CircleMenu handles all the menu toggling logic inside it.
However, I think it should be simple if I introduce a prop named active and use it to decide if the menu toggle is active or not. That way, the prop can be used as state outside the component and updated accordingly.

A new prop open is added to the CircleMenu component.
https://github.com/9inpachi/react-circular-menu#open-boolean

Awesome! I'll have a look. Thanks for working on it!


feat: ✨ add setup script

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Roll engine 2db327657369..72fe227a50d9 (42 commits)

https://github.com/flutter/engine/compare/2db327657369...72fe227a50d9
git log 2db327657369..72fe227a50d9 --first-parent --oneline
2020-05-01<EMAIL_ADDRESS>Update Fuchsia ComponentContext constructor call to renamed, but equvalent, method (flutter/engine#18067)
2020-05-01<EMAIL_ADDRESS>Reland "Remove layer integral offset snapping" (flutter/engine#17915)
2020-05-01<EMAIL_ADDRESS>Roll src/third_party/skia e55e56038cf4..5443bb32a2ad (1 commits) (flutter/engine#18091)
2020-05-01<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from 2VquQ... to ByAMa... (flutter/engine#18090)
2020-05-01<EMAIL_ADDRESS>Revert "Remove Samsung workarounds (#17612)" (flutter/engine#18081)
2020-05-01<EMAIL_ADDRESS>Don't depend on an implicit transaction when presenting drawables on the raster thread. (flutter/engine#18076)
2020-05-01<EMAIL_ADDRESS>Roll src/third_party/skia 5ba50afeed4c..e55e56038cf4 (26 commits) (flutter/engine#18088)
2020-05-01<EMAIL_ADDRESS>Introduce TaskRunnerChecker, TaskRunnerAffineWeakPtr (flutter/engine#17649)
2020-05-01<EMAIL_ADDRESS>Introduce runtime check that it is root isolate that makes UI native calls. (flutter/engine#18050)
2020-05-01<EMAIL_ADDRESS>[fuchsia] set vsync_offset based on config file (flutter/engine#18006)
2020-05-01<EMAIL_ADDRESS>Add an API for resyncing output streams (flutter/engine#18070)
2020-05-01<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from KcV-O... to cIjMH... (flutter/engine#18083)
2020-05-01<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from rxvhs... to 2VquQ... (flutter/engine#18079)
2020-04-30<EMAIL_ADDRESS>[web] Add TargetPlatform tests (flutter/engine#18065)
2020-04-30<EMAIL_ADDRESS>Bundle the validation layers and enable them if --enable-vulkan-validation-layers is specified to gn (flutter/engine#17854)
2020-04-30<EMAIL_ADDRESS>[fuchsia] Log unregistered platform channels only once (flutter/engine#18064)
2020-04-30<EMAIL_ADDRESS>[fuchsia] Use dart::ComponentContext() (flutter/engine#17876)
2020-04-30<EMAIL_ADDRESS>[web] First batch of unit tests for line breaker (flutter/engine#18034)
2020-04-30<EMAIL_ADDRESS>RendererContextManager (flutter/engine#17941)
2020-04-30<EMAIL_ADDRESS>make "flutter run --trace-systrace" work. (flutter/engine#18052)
2020-04-30<EMAIL_ADDRESS>Roll src/third_party/skia 21d1720203f4..5ba50afeed4c (1 commits) (flutter/engine#18056)
2020-04-30<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from WqvOR... to rxvhs... (flutter/engine#18055)
2020-04-30<EMAIL_ADDRESS>Roll src/third_party/skia 8a6f2ed4ffd4..21d1720203f4 (24 commits) (flutter/engine#18053)
2020-04-30<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from sKCYL... to KcV-O... (flutter/engine#18051)
2020-04-30<EMAIL_ADDRESS>soften shadows even more; fix shadow alpha (flutter/engine#18029)
2020-04-30<EMAIL_ADDRESS>Fix method handler control flow in Windows and Linux text input plugins (flutter/engine#17964)
2020-04-30<EMAIL_ADDRESS>Populate window.locale in Dart (flutter/engine#18043)
2020-04-30<EMAIL_ADDRESS>[web] Use correct shell operator to compare file limits (flutter/engine#18032)
2020-04-29<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from 6VJ1C... to WqvOR... (flutter/engine#18038)
2020-04-29<EMAIL_ADDRESS>remove linux-chrome unit tests from cirrus CI (flutter/engine#18035)
2020-04-29<EMAIL_ADDRESS>[Metal] On context loss with a paused texture source, preserve external pixel buffer. (flutter/engine#18022)
2020-04-29<EMAIL_ADDRESS>Replace usage of NULL with nullptr to match coding style (flutter/engine#18023)
2020-04-29<EMAIL_ADDRESS>Roll src/third_party/dart 05b7f49c7267..53601ecc18e5 (15 commits) (flutter/engine#18036)
2020-04-29<EMAIL_ADDRESS>Revert all build changes made to test the Dart NNBD unfork CL. (flutter/engine#18033)
2020-04-29<EMAIL_ADDRESS>use clang on Windows (flutter/engine#17407)
2020-04-29<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from NeQ_8... to sKCYL... (flutter/engine#18026)
2020-04-29<EMAIL_ADDRESS>Roll src/third_party/dart 207953f367e6..05b7f49c7267 (3 commits) (flutter/engine#18025)
2020-04-29<EMAIL_ADDRESS>Roll src/third_party/skia a50ce3c98357..8a6f2ed4ffd4 (3 commits) (flutter/engine#18024)
2020-04-29<EMAIL_ADDRESS>Use g_warning instead of stderr (flutter/engine#17994)
2020-04-29<EMAIL_ADDRESS>Roll src/third_party/dart 726d3c772554..207953f367e6 (79 commits) (flutter/engine#18021)
2020-04-29<EMAIL_ADDRESS>Roll fuchsia/sdk/core/mac-amd64 from arZdZ... to 6VJ1C... (flutter/engine#18018)
2020-04-29<EMAIL_ADDRESS>Roll src/third_party/skia 4baa7326ccfb..a50ce3c98357 (18 commits) (flutter/engine#18017)
If this roll has caused a breakage, revert this CL and stop the roller
...

Gold has detected one or more untriaged digests on patchset 14.
Please triage them at https://flutter-gold.skia.org/search?issue=56162.


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
10 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
16 seconds
sanity-inspect-image

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
19 seconds
clair-scan

✅ Succeeded
56 seconds
clamav-scan

✅ Succeeded
15 seconds
sbom-json-check

✅ Succeeded
8 seconds
sanity-optional-label-check

✅ Succeeded
8 seconds
sanity-label-check

✅ Succeeded
6 seconds
show-summary


Couldn't switch to stacking or tabbed layout

Hello, I found I couldn't switch to stacking or tabbed layout when I enabled autotiling-rs.

It's an unfortunate sideeffect of using an autotiling script. If it suits your workflow you can disable autotiling on specific workspaces like so: autotiling-rs —workspaces 1 3 5


fix(asyncstatemachine): fixes not awaiting or asyncSpawning futures

adds a break in scheduler when CancelledError is caught
tracks asyncSpawned state.run, so that it can be cancelled during stop
removes usages of then
ensures that no exceptions are leaked from async procs

Notes

Based on https://github.com/codex-storage/nim-codex/pull/1024
This PR is part of a larger set of fixes to the codebase that removes usage of a faulty pattern of not awaiting or asyncSpawning futures.

Closing in favour of https://github.com/codex-storage/nim-codex/pull/1033 (changed remote branch name)


Update helm chart  to version 0.1.11 for aws-for-fluent-bit

Update helm chart  to version 0.1.11 for aws-for-fluent-bit

Merged  PR #11

Merged PR #11

New Pull request shall be raised from Forked repo

PR#12 Merged to main


Thumbnails for chapters

It would be nice to have thumbnails for chapters so that users can preview.
Example with YouTube:

YouTube takes a screenshot of the starting time.

This will require https://github.com/Chocobozzz/PeerTube/pull/2315 and maybe some more changes. I'll try to look into it when finishing #7, not sure how much effort is needed. Will require PeerTube release after merged, so I'll publish a version with #7 first.

Closing as chapters are now on the PeerTube 2023 roadmap https://joinpeertube.org/news/roadmap-v6


Implement audio for macOS

#221 was split off for macOS due to SDL2_mixer difficulties. This PR gets audio working for macOS.
Will rebase on top of master when #221 is merged.
TODO

[x] Resolve macOS SDL2-mixer dependency

I can confirm audio is working on Linux

It's taken some time, but I've finally managed to create an archive of OpenLoco's dependencies with vcpkg, and gotten Travis to use this archive whilst compiling and linking macOS builds.
I've not been able to get vcpkg-generated Boost libraries to link properly, however. Therefore, I've left the brew approach to boost as-is, for now.

@AaronVanGeffen Can you link to some logs where you were having trouble with boost? Or even better, open an issue on https://github.com/Microsoft/vcpkg with them and a repro :D

@ras0219-msft Thank you for reaching out once more! I've filed https://github.com/Microsoft/vcpkg/issues/4437 to discuss the Boost issue.
For now, with @marijnvdwerf's blessing, I'll merge this, so we finally have audio on macOS at least. :)


RVGL for Re-Volt

Project Link
https://gitlab.com/re-volt/rvgl-base
Project License
Unknown
Steam App Ids

https://steamdb.info/app/287310/

Additional Context
Official websites:

https://rvgl.org/
https://re-volt.io/downloads/game

@NerosTie Thanks for the request, I've implemented this and it should also work on the steam deck.

The main download link for this now 404s, as the game itself has been updated from 21.0930a-1 to 23.0602a1. This particular link will change every time the game updates.
A more durable way to take care of it would be to use the rvgl_linux and rvgl_assets downloads from distribute.re-volt.io: those are the same downloads rvgl's official launcher uses, and the only difference between the two of those together and the versioned links used currently in luxtorpeda are four empty folders which are created automatically when the game is run.
$ diff -qr 'versioned link' 'from dist'
Only in versioned link: cache
Only in versioned link: profiles
Only in versioned link: replays
Only in versioned link: times

@Gotolei Thanks for the heads up, I've updated it to use those downloads, so it should work now.
https://github.com/luxtorpeda-dev/packages/commit/6fdfb126652ed1e41f4b0e20a6046309b4403f1c
https://github.com/luxtorpeda-dev/packages/commit/60d9cb9dcf51c3b903703d1b6e779374221c6fcd