"Invalid manifest" when installing via Xcode 15.0 beta and SPM

Description
I can install other packages without a problem, but for some reason it's only firebase-ios-sdk that's giving me this invalid manifest issue. I've tried resetting package caches and clearing derived data and that didn't work.
Here's the error message:
Invalid manifest (compiled with: ["/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/cx/3mbml2912n5c6qvxvsmn8xnc0000gn/T/TemporaryDirectory.Mj1VfT/vfs.yaml", "-L", "/Applications/Xcode-beta.app/Contents/PlugIns/IDESwiftPackageCore.framework/Versions/A/Frameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-beta.app/Contents/PlugIns/IDESwiftPackageCore.framework/Versions/A/Frameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-target", "arm64-apple-macos13.0", "-sdk", "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-swift-version", "5", "-I", "/Applications/Xcode-beta.app/Contents/PlugIns/IDESwiftPackageCore.framework/Versions/A/Frameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-sdk", "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-package-description-version", "5.6.0", "-Xfrontend", "-serialize-diagnostics-path", "-Xfrontend", "/Users/adamvnovak/Library/Caches/org.swift.swiftpm/manifests/ManifestLoading/firebase-ios-sdk.dia", "/Package.swift", "-disallow-use-new-driver", "-o", "/var/folders/cx/3mbml2912n5c6qvxvsmn8xnc0000gn/T/TemporaryDirectory.zdDp1k/firebase-ios-sdk-manifest"])
In the Xcode 15.0 beta notes 4, Apple says that "Macros are implemented in separate programs, which are executed by the Swift compiler. The Swift Package Manager’s manifest provides a new macro target type to describe macros." Could this be why?
Reproducing the issue
Create new Xcode project with Xcode 15.0 beta.
Add Firebase packages via Swift Package Manager.
Firebase SDK Version
10.12.0
Xcode Version
15.0 beta
Installation Method
Swift Package Manager
Firebase Product(s)
All
Targeted Platforms
iOS
Relevant Log Output
Invalid manifest (compiled with: ["/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc", "-vfsoverlay", "/var/folders/cx/3mbml2912n5c6qvxvsmn8xnc0000gn/T/TemporaryDirectory.Mj1VfT/vfs.yaml", "-L", "/Applications/Xcode-beta.app/Contents/PlugIns/IDESwiftPackageCore.framework/Versions/A/Frameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-lPackageDescription", "-Xlinker", "-rpath", "-Xlinker", "/Applications/Xcode-beta.app/Contents/PlugIns/IDESwiftPackageCore.framework/Versions/A/Frameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-target", "arm64-apple-macos13.0", "-sdk", "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-swift-version", "5", "-I", "/Applications/Xcode-beta.app/Contents/PlugIns/IDESwiftPackageCore.framework/Versions/A/Frameworks/SwiftPM.framework/SharedSupport/ManifestAPI", "-sdk", "/Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.0.sdk", "-package-description-version", "5.6.0", "-Xfrontend", "-serialize-diagnostics-path", "-Xfrontend", "/Users/adamvnovak/Library/Caches/org.swift.swiftpm/manifests/ManifestLoading/firebase-ios-sdk.dia", "/Package.swift", "-disallow-use-new-driver", "-o", "/var/folders/cx/3mbml2912n5c6qvxvsmn8xnc0000gn/T/TemporaryDirectory.zdDp1k/firebase-ios-sdk-manifest"])

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet

{
  "pins" : [
    {
      "identity" : "abseil-cpp-swiftpm",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/abseil-cpp-SwiftPM.git",
      "state" : {
        "revision" : "583de9bd60f66b40e78d08599cc92036c2e7e4e1",
        "version" : "0.20220203.2"
      }
    },
    {
      "identity" : "boringssl-swiftpm",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/boringssl-SwiftPM.git",
      "state" : {
        "revision" : "dd3eda2b05a3f459fc3073695ad1b28659066eab",
        "version" : "0.9.1"
      }
    },
    {
      "identity" : "firebase-ios-sdk",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/firebase-ios-sdk",
      "state" : {
        "revision" : "5c4893c55f9d6114e2bb7c691d7ffd81208ac713",
        "version" : "10.0.0"
      }
    },
    {
      "identity" : "googleappmeasurement",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleAppMeasurement.git",
      "state" : {
        "revision" : "e3dd02f390cae79a7073b46dfb0cb6b60c48401b",
        "version" : "10.0.0"
      }
    },
    {
      "identity" : "googledatatransport",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleDataTransport.git",
      "state" : {
        "revision" : "98a00258d4518b7521253a70b7f70bb76d2120fe",
        "version" : "9.2.4"
      }
    },
    {
      "identity" : "googleutilities",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/GoogleUtilities.git",
      "state" : {
        "revision" : "58d03d22beae762eaddbd30cb5a61af90d4b309f",
        "version" : "7.11.3"
      }
    },
    {
      "identity" : "grpc-ios",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/grpc/grpc-ios.git",
      "state" : {
        "revision" : "8440b914756e0d26d4f4d054a1c1581daedfc5b6",
        "version" : "1.44.3-grpc"
      }
    },
    {
      "identity" : "gtm-session-fetcher",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/gtm-session-fetcher.git",
      "state" : {
        "revision" : "5ccda3981422a84186387dbb763ba739178b529c",
        "version" : "2.3.0"
      }
    },
    {
      "identity" : "leveldb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/leveldb.git",
      "state" : {
        "revision" : "0706abcc6b0bd9cedfbb015ba840e4a780b5159b",
        "version" : "1.22.2"
      }
    },
    {
      "identity" : "nanopb",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/firebase/nanopb.git",
      "state" : {
        "revision" : "819d0a2173aff699fb8c364b6fb906f7cdb1a692",
        "version" : "2.30909.0"
      }
    },
    {
      "identity" : "phonenumberkit",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/marmelroy/PhoneNumberKit",
      "state" : {
        "revision" : "9bc965a326df8d5115f0b7bb77f09c542b8ec417",
        "version" : "3.6.6"
      }
    },
    {
      "identity" : "promises",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/google/promises.git",
      "state" : {
        "revision" : "ec957ccddbcc710ccc64c9dcbd4c7006fcf8b73a",
        "version" : "2.2.0"
      }
    },
    {
      "identity" : "swift-protobuf",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/apple/swift-protobuf.git",
      "state" : {
        "revision" : "f25867a208f459d3c5a06935dceb9083b11cd539",
        "version" : "1.22.0"
      }
    },
    {
      "identity" : "swiftmessages",
      "kind" : "remoteSourceControl",
      "location" : "https://github.com/SwiftKickMobile/SwiftMessages",
      "state" : {
        "revision" : "b29dd21090b708aa0ae9ecbaf6e2d0487028dc3f",
        "version" : "9.0.6"
      }
    }
  ],
  "version" : 2
}

If using CocoaPods, the project's Podfile.lock
No response

Swift Packages -> Update to latest Package Versions might help.
Firebase is currently at 10.12.0 and the Package.resolved is showing 10.0.0

Ah I should have mentioned—at that moment the version was 10.0.0 because I was experimenting with different versions, seeing if 10.12.0 was the problem.
The same problem occurs for me when I use "Up to Next Major Version" which refers to 10.12.0.

Hmm, I'm not sure if this is it or not but Firebase requires at least Xcode 15 Beta 2. See https://firebase.google.com/support/release-notes/ios

This was the solution. Thank you!


"New -> Module..." menu not saving the new module file to the disk

Description
What steps will reproduce the problem?

In the Project explorer or File explorer, right click to pop up the context menu, and then select menu "New -> Module...".
The "New module" dialog shows up for the user to input the module file name, say "a.py". After clicking the Save button on the dialog, the module file "a.py" is not saved to the disk. Also, in the Editor, a new tab is opened for the new module with the default name "untitled0.py", rather than "a.py".
If you edit and try to save the new module, the "Save file" dialog pops up and requires to input the module name again.

What is the expected output? What do you see instead?
I would expect that the new module to be saved to the disk, and the Editor shows the new module with the correct name.
Please provide any additional information below
It seems this problem exists for other versions of Spyder as well.
Version and main components

Spyder Version: 3.0.0dev
Python Version: 2.7.11
Qt Versions: 5.5.1, PyQt5 5.5.1 on Darwin

Dependencies
pyflakes >=0.5.0:  1.0.0 (OK)
pep8 >=0.6      :  1.7.0 (OK)
pygments >=1.6  :  2.1 (OK)
qtconsole >=4.0 :  4.1.1 (OK)
nbconvert >=4.0 :  4.1.0 (OK)
pandas >=0.13.1 :  0.17.1 (OK)
numpy >=1.7     :  1.11.0 (OK)
sphinx >=0.6.6  :  1.3.3 (OK)
rope >=0.9.4    :  0.9.4-1 (OK)
jedi >=0.8.1    :  0.8.1 (OK)
psutil >=0.3    :  3.4.2 (OK)
matplotlib >=1.0:  1.5.1 (OK)
sympy >=0.7.3   :  <IP_ADDRESS> (OK)
pylint >=0.25   :  1.5.2 (OK)

Thanks for the reports.
Please note that the status of Projects in spyder is a bit chaotic, we planned to remake it for 3.0 but it looks like it won't be ready.


python39Packages.sentry-sdk build failure on x86_64-linux as of 4c344da2

Issue description
Build of python39Packages.sentry-sdk failed on x86_64-linux as of 4c344da29a5b46caadb87df1d194082a190e1199. This is currently breaking python3Packages.wandb.
error: builder for '/nix/store/vmz9ai13bas7bd96644m7fl26n9wwkix-python3.9-sentry-sdk-1.5.8.drv' failed with exit code 1;
       last 10 log lines:
       > ERROR tests/integrations/flask/test_flask.py::test_errors_not_reported_twice[integrations0]
       > ERROR tests/integrations/flask/test_flask.py::test_errors_not_reported_twice[integrations1]
       > ERROR tests/integrations/flask/test_flask.py::test_logging - werkzeug.excepti...
       > ERROR tests/integrations/flask/test_flask.py::test_500 - werkzeug.exceptions....
       > ERROR tests/integrations/flask/test_flask.py::test_error_in_errorhandler - we...
       > ERROR tests/integrations/flask/test_flask.py::test_tracing_success - werkzeug...
       > ERROR tests/integrations/flask/test_flask.py::test_tracing_error - werkzeug.e...
       > ERROR tests/integrations/flask/test_flask.py::test_class_based_views - werkze...
       > ERROR tests/integrations/flask/test_flask.py::test_sentry_trace_context - wer...
       > = 37 failed, 563 passed, 32 skipped, 18 deselected, 2 xfailed, 17 warnings, 38 errors in 80.04s (0:01:20) =
       For full logs, run 'nix log /nix/store/vmz9ai13bas7bd96644m7fl26n9wwkix-python3.9-sentry-sdk-1.5.8.drv'.
error: 1 dependencies of derivation '/nix/store/a9qj61agsq4gnrsamsg62bkzy289ps2g-python3.9-wandb-0.12.14.drv' failed to build

full build log
python3Packages.wandb maintainers cc: @samuela
python39Packages.sentry-sdk maintainers cc: @fabaff @gebner
Other cc: n/a
Steps to reproduce

Checkout nixpkgs at commit 4c344da29a5b46caadb87df1d194082a190e1199
Run nix-build -A python39Packages.sentry-sdk

Technical details
 - system: `"x86_64-linux"`
 - host os: `Linux 5.13.0-1021-azure, Ubuntu, 20.04.4 LTS (Focal Fossa), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.8.0`
 - nixpkgs: `/nix/store/r902mrj2iwsjhy8gs6y0rbr9nada0z4z-source`

Misc.
This issue was automatically generated by nixpkgs-upkeep.

CI workflow that created this issue.
Internal tag: -1137150796892799897

dup of https://github.com/NixOS/nixpkgs/issues/169130


在微服务中配置了请求头部，网关聚合后，调试中请求头部的缺失

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

version？

knife4j-openapi3-jakarta-spring-boot-starter  使用这个请求头出不来，请求头配置方式如下：
@Bean
public OpenAPI openAPI() {
return new OpenAPI().info(apiInfo())
.externalDocs(new ExternalDocumentation() // 外部文档
.description("SpringDoc Wiki Documentation")
.url("https://springdoc.org/v2")).addSecurityItem(new SecurityRequirement().addList(HttpHeaders.AUTHORIZATION))
.components(new Components().addSecuritySchemes(HttpHeaders.AUTHORIZATION,new SecurityScheme()
.name(HttpHeaders.AUTHORIZATION).type(SecurityScheme.Type.HTTP).scheme("bearer")));
}


ShaderBytecode.Compile AccessViolationException

I have downloaded SharpDX.D3DCompile using NuGet and made sure I have statisfied all prerequisites, however when I call ShaderBytecode.Compile, or ShaderBytecode.CompileFromFile it is giving me an AccessViolationException.
My computer is running Windows 8.1 Pro, but I also tried installing DirectX Redistributable 2010.
CompilationResult result = ShaderBytecode.CompileFromFile(fileName, "ps_4_0_level_9_1");

Changing the shader profile does not fix the issue.

There is no known issue with this method. Maybe check the file (an UTF8 encoding messing the compiler?) or check to run in process x86...

This issue does reproduce when using DX11 assemblies, however when I use the DX11.2 assemblies - I get the following error: D3DCompile: pEntrypoint pointer is invalid. Therefore, the AccessViolationException is specific to older d3d compiler implementation from d3dcompiler_43.dll.
It works fine, however, if I provide the entry point name:
CompilationResult result = ShaderBytecode.CompileFromFile(fileName, "main", "ps_4_0_level_9_1");

AFAIK, the entry point can be null only for 'effect' profiles - that begin with fx_... - for anything else the entry point name is mandatory.
We could add a check in SharpDX to provide a more meaningful error message if entry point is not provided, however I am not sure how future-proof it is. Something like this can do the trick if inserted after ShaderBytecode.cs, line 654:
if (string.IsNullOrWhiteSpace(profile))
    throw new ArgumentNullException("profile");

if (!profile.ToUpperInvariant().StartsWith("FX_") && string.IsNullOrWhiteSpace(entryPoint))
    throw new ArgumentNullException("entryPoint");

What do you think?

Excuse me for responding so late, I've not been at work since reporting this. It problably has to do with not giving an entry point to the method, as @ArtiomCiumac suggested. If not running in process x86, as suggested by @xoofx, causes any issues that may be part of the problem as well. Reporting a better error message would have been really helpful indeed!
I'll report back when I verify whether any of these suggestions fixes my application.

This should be fixed by the commit above.


Allow parfor with the OpenDSS engine

Allowing parfor with OpenDSS is something that has been asked several times in the official forum and through personal requests.
DSS C-API v0.12 allows creating multiple independent DSS instances. We should try to add an example with parfor if everything works as expected.

This probably also depends on #13. For thread pools, calllib is not supported.
Looks like MATLAB is still very primitive for threads.


Added explicit SIMD implementation to comparison compute (2x-3.5x)

By operating over groups of 8 and applying the relevant conversions with native packed_simd2 apis, we gain 2-3.5x in performance.
cargo bench --no-default-features --features benchmarks,compute --bench comparison_kernels
cargo bench --no-default-features --features benchmarks,compute,simd --bench comparison_kernels

eq Float32              time:   [20.098 us 20.165 us 20.254 us]
                        change: [-70.761% -70.532% -70.316%] (p = 0.00 < 0.05)

eq scalar Float32       time:   [22.373 us 22.432 us 22.505 us]
                        change: [-41.359% -41.127% -40.874%] (p = 0.00 < 0.05)

lt Float32              time:   [28.481 us 28.571 us 28.690 us]
                        change: [-53.527% -52.955% -52.525%] (p = 0.00 < 0.05)

lt scalar Float32       time:   [22.264 us 22.335 us 22.429 us]
                        change: [-41.580% -41.353% -41.087%] (p = 0.00 < 0.05)

There is no difference in performance over the non-simd implementation; it was just written in a more abstract fashion to allow the simd version to be plugged in.

There is an extra optimization in using the more natural md representation of the native types, but it requires a bit more work on the MutableBitmap to be safely constructed from u8-u64 chunks


[aws-ecs] Add warning about hosted Scope not being covered until we update the guide

@kpoplin @abuehrle PTAL

The asterisks dont do it for me.

I still find a notice like this at the beginning of an article a bit confusing.

This is good to go @2opremio

@davkal Thanks a lot. How do you test the guides locally?


TypeError: ord() expected string of length 1, but int found

Code:
evtx_filename = r"c:\tmp\Microsoft-Windows-TerminalServices-RemoteConnectionManager%4Operational.evtx"
for node, err in xml_records(evtx_filename):
    if err is not None:
        continue
    sys = get_child(node, "System")
    if args.eid == int(get_child(sys, "EventID").text):
        print(etree.tostring(node, pretty_print=True))
```

Error:
```
File "C:\Users\hanans\AppData\Local\Continuum\Anaconda3\lib\site-packages\Evtx\Views.py", line 205, in evtx_file_xml_view
    record_str = _build_record_xml(record, cache=cache)
  File "C:\Users\hanans\AppData\Local\Continuum\Anaconda3\lib\site-packages\Evtx\Views.py", line 155, in _build_record_xml
    xml = rec(record.root())
  File "C:\Users\hanans\AppData\Local\Continuum\Anaconda3\lib\site-packages\Evtx\Views.py", line 145, in rec
    for sub in root_node.fast_substitutions():
  File "C:\Users\hanans\AppData\Local\Continuum\Anaconda3\lib\site-packages\Evtx\BinaryParser.py", line 145, in __call__
    res = cache[key] = self.func(*args, **kw)
  File "C:\Users\hanans\AppData\Local\Continuum\Anaconda3\lib\site-packages\Evtx\Nodes.py", line 1015, in fast_substitutions
    value += "%02x" % ord(c)
TypeError: ord() expected string of length 1, but int found
```

is there any chance you can share the evtx file thats causing this issue?

It's a 10MB file.
HS
On Fri, Jul 24, 2015 at 12:03 AM, Willi Ballenthin<EMAIL_ADDRESS>
wrote:

is there any chance you can share the evtx file thats causing this issue?
—
Reply to this email directly or view it on GitHub
https://github.com/williballenthin/python-evtx/issues/16#issuecomment-124239440
.


Add support for Yarn 2 Pnp

This plugin is awesome but it is missing support for Yarn 2 Pnp. I have created a PR #103 for this. Let me know what you think (PR itself contains technical details).

I was able to glean the settings changes from @alexkuc 's PR to form a temporary workaround.
Modify .vscode/settings.json with the following options to get PnP support:
"jestrunner.jestCommand": "yarn jest",
  "jestrunner.jestPath": "`yarn bin jest`",
  "jestrunner.debugOptions": {
    "runtimeArgs": ["--require", "./.pnp.js"]
  }

Hopefully the PR gets merged quickly; posting just in case someone needs it in the meantime.

available in version 0.4.24


dashes in routeros_command problem

Hi, I'm faced with problem when I try to configure snmpv3 settings fro example using routeros_command
 task.run(
        task=routeros_command,
        path="/snmp/community",
        command="add",
        addresses="<IP_ADDRESS>",
        name="snmpv3user",
        read_access="yes",
        write_access="no",
        security="private",
        authentication-protocol="SHA1",
        authentication-password="auth_string",
        encryption-protocol="AES",
        encryption-password="encr_string"
)

As I understand, I can not use property names in task.run, that containes dash("-") symbol
But ROS command parameters are containes dashes
So how can I overcome this limitation?
Can you clarify this moment please?

Hi, I'm faced with problem when I try to configure snmpv3 settings fro example using routeros_command

I think the routeros_config_item task is better suited for this use case.

So how can I overcome this limitation?

If you really want to use routeros_command, I think the following should work:
 task.run(
        task=routeros_command,
        path="/snmp/community",
        command="add",
        addresses="<IP_ADDRESS>",
        name="snmpv3user",
        read_access="yes",
        write_access="no",
        security="private",
        **{"authentication-protocol": "SHA1"},
)


ollama generate incorrect answer when it run glm-4-9b-chat model

When ollama create glm-4-9b-chat model and inference, it always gives a random and incorrect response from second round, like below:

The complete log of curl command is folded at here
```
# curl http://localhost:11434/api/chat -d '{
  "model": "glm4",
  "messages": [
    {
      "role": "user",
      "content": "介绍一下上海的著名景点"
    }
  ]
}'
{"model":"glm4","created_at":"2024-10-14T14:02:34.047484624Z","message":{"role":"assistant","content":"\""},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.083040067Z","message":{"role":"assistant","content":"东方"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.117628086Z","message":{"role":"assistant","content":"明珠"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.152355197Z","message":{"role":"assistant","content":"塔"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.186764637Z","message":{"role":"assistant","content":"”："},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.221193975Z","message":{"role":"assistant","content":"作为"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.255737188Z","message":{"role":"assistant","content":"上海的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.290304743Z","message":{"role":"assistant","content":"标志性"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.324637153Z","message":{"role":"assistant","content":"建筑"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.359387512Z","message":{"role":"assistant","content":"，"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.394246012Z","message":{"role":"assistant","content":"它"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.429042753Z","message":{"role":"assistant","content":"融合"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.463491151Z","message":{"role":"assistant","content":"了"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.498027441Z","message":{"role":"assistant","content":"现代"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.532440349Z","message":{"role":"assistant","content":"城市"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.567029853Z","message":{"role":"assistant","content":"美"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.601535756Z","message":{"role":"assistant","content":"学的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.636126708Z","message":{"role":"assistant","content":"精华"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.670677665Z","message":{"role":"assistant","content":"。\n\n"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.705137513Z","message":{"role":"assistant","content":"\""},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.739545318Z","message":{"role":"assistant","content":"外"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.774045714Z","message":{"role":"assistant","content":"滩"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.808468877Z","message":{"role":"assistant","content":"”："},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.842924158Z","message":{"role":"assistant","content":"这里"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.877376785Z","message":{"role":"assistant","content":"被誉为"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.91187573Z","message":{"role":"assistant","content":"“"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.946337116Z","message":{"role":"assistant","content":"万"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:34.980840121Z","message":{"role":"assistant","content":"国"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.015301191Z","message":{"role":"assistant","content":"建筑"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.049693979Z","message":{"role":"assistant","content":"博览"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.084161034Z","message":{"role":"assistant","content":"群"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.118586049Z","message":{"role":"assistant","content":"”，"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.153068224Z","message":{"role":"assistant","content":"是"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.187589385Z","message":{"role":"assistant","content":"上海"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.222024104Z","message":{"role":"assistant","content":"近代"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.256522112Z","message":{"role":"assistant","content":"历史的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.291032609Z","message":{"role":"assistant","content":"见证"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.325573882Z","message":{"role":"assistant","content":"。\n\n"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.360055075Z","message":{"role":"assistant","content":"\""},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.394575517Z","message":{"role":"assistant","content":"豫"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.429031499Z","message":{"role":"assistant","content":"园"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.463573883Z","message":{"role":"assistant","content":"及"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.498206243Z","message":{"role":"assistant","content":"商城"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.532779767Z","message":{"role":"assistant","content":"”："},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.567530373Z","message":{"role":"assistant","content":"豫"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.601984238Z","message":{"role":"assistant","content":"园"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.636503015Z","message":{"role":"assistant","content":"始建于"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.671091827Z","message":{"role":"assistant","content":"明代"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.705748153Z","message":{"role":"assistant","content":"，"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.74030126Z","message":{"role":"assistant","content":"是中国"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.77489374Z","message":{"role":"assistant","content":"南方"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.809531759Z","message":{"role":"assistant","content":"园林"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.844077845Z","message":{"role":"assistant","content":"建筑的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.878674749Z","message":{"role":"assistant","content":"代表"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.913122158Z","message":{"role":"assistant","content":"。"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.947790869Z","message":{"role":"assistant","content":"豫"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:35.982317741Z","message":{"role":"assistant","content":"园"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.017024209Z","message":{"role":"assistant","content":"商城"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.051508233Z","message":{"role":"assistant","content":"则"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.08601788Z","message":{"role":"assistant","content":"是一个"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.12060447Z","message":{"role":"assistant","content":"集"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.155157966Z","message":{"role":"assistant","content":"购物"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.189693696Z","message":{"role":"assistant","content":"、"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.224233101Z","message":{"role":"assistant","content":"餐饮"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.258778113Z","message":{"role":"assistant","content":"、"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.293408116Z","message":{"role":"assistant","content":"娱乐"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.327981817Z","message":{"role":"assistant","content":"为一体的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.362561936Z","message":{"role":"assistant","content":"商业"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.397029822Z","message":{"role":"assistant","content":"区"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.431596919Z","message":{"role":"assistant","content":"。\n\n"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.466154337Z","message":{"role":"assistant","content":"\""},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.500694428Z","message":{"role":"assistant","content":"田"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.535199046Z","message":{"role":"assistant","content":"子"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.569816106Z","message":{"role":"assistant","content":"坊"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.604400786Z","message":{"role":"assistant","content":"”："},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.639096194Z","message":{"role":"assistant","content":"它"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.673737633Z","message":{"role":"assistant","content":"是一个"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.708318353Z","message":{"role":"assistant","content":"充满"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.742884497Z","message":{"role":"assistant","content":"艺术"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.777447721Z","message":{"role":"assistant","content":"气息"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.812018152Z","message":{"role":"assistant","content":"的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.846584797Z","message":{"role":"assistant","content":"创意"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.881128177Z","message":{"role":"assistant","content":"产业"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.915641048Z","message":{"role":"assistant","content":"聚集"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.950315734Z","message":{"role":"assistant","content":"区"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:36.984804477Z","message":{"role":"assistant","content":"。\n\n"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.019346375Z","message":{"role":"assistant","content":"这些"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.053957696Z","message":{"role":"assistant","content":"著名"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.08845107Z","message":{"role":"assistant","content":"景点"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.123007248Z","message":{"role":"assistant","content":"不仅"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.157571509Z","message":{"role":"assistant","content":"展示了"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.192129579Z","message":{"role":"assistant","content":"上海的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.226633234Z","message":{"role":"assistant","content":"悠久"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.261219964Z","message":{"role":"assistant","content":"历史"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.295772792Z","message":{"role":"assistant","content":"和"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.330232997Z","message":{"role":"assistant","content":"独特的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.364854404Z","message":{"role":"assistant","content":"文化"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.399489432Z","message":{"role":"assistant","content":"底蕴"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.434011916Z","message":{"role":"assistant","content":"，"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.468651895Z","message":{"role":"assistant","content":"同时也"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.503276169Z","message":{"role":"assistant","content":"吸引了"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.537887437Z","message":{"role":"assistant","content":"世界"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.572501397Z","message":{"role":"assistant","content":"各地的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.607259788Z","message":{"role":"assistant","content":"游客"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.641892547Z","message":{"role":"assistant","content":"前来"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.676499929Z","message":{"role":"assistant","content":"观光"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.71112524Z","message":{"role":"assistant","content":"游览"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.745736113Z","message":{"role":"assistant","content":"。"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:37.780498755Z","message":{"role":"assistant","content":""},"done_reason":"stop","done":true,"total_duration":9999226996,"load_duration":6054386923,"prompt_eval_count":10,"prompt_eval_duration":210537000,"eval_count":109,"eval_duration":3733003000}
# curl http://localhost:11434/api/chat -d '{
  "model": "glm4",
  "messages": [
    {
      "role": "user",
      "content": "介绍一下你自己"
    }
  ]
}'
{"model":"glm4","created_at":"2024-10-14T14:02:52.654030893Z","message":{"role":"assistant","content":"\""},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.694561966Z","message":{"role":"assistant","content":"如果"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.72306927Z","message":{"role":"assistant","content":"电磁"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.757496305Z","message":{"role":"assistant","content":"动态"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.792244873Z","message":{"role":"assistant","content":"和"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.826882222Z","message":{"role":"assistant","content":" "},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.861382188Z","message":{"role":"assistant","content":"申"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.895900925Z","message":{"role":"assistant","content":"玖"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.930406102Z","message":{"role":"assistant","content":" At"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.965083325Z","message":{"role":"assistant","content":"-"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:52.999605626Z","message":{"role":"assistant","content":" ►"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.034098069Z","message":{"role":"assistant","content":"ite"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.06854197Z","message":{"role":"assistant","content":"Bo"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.103194578Z","message":{"role":"assistant","content":"le"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.1378153Z","message":{"role":"assistant","content":" ever"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.172248342Z","message":{"role":"assistant","content":"\u003c/"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.206666723Z","message":{"role":"assistant","content":"eu"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.241183897Z","message":{"role":"assistant","content":" \n"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.275647604Z","message":{"role":"assistant","content":" Итал"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.310238486Z","message":{"role":"assistant","content":"’on"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.344762065Z","message":{"role":"assistant","content":"ibo"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.379315067Z","message":{"role":"assistant","content":" is"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.413705128Z","message":{"role":"assistant","content":"myp"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.448166387Z","message":{"role":"assistant","content":"ot"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.48250088Z","message":{"role":"assistant","content":".isDefined"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.517030324Z","message":{"role":"assistant","content":" "},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.551511697Z","message":{"role":"assistant","content":"6"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.585989644Z","message":{"role":"assistant","content":"25"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.620472775Z","message":{"role":"assistant","content":" a"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.654947054Z","message":{"role":"assistant","content":" E"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.68938128Z","message":{"role":"assistant","content":"_"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.723968144Z","message":{"role":"assistant","content":"...\n"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.758586713Z","message":{"role":"assistant","content":"卢"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.792985133Z","message":{"role":"assistant","content":"煜"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.827508001Z","message":{"role":"assistant","content":" E"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.861950884Z","message":{"role":"assistant","content":" _"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.896446482Z","message":{"role":"assistant","content":"Y"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.93097066Z","message":{"role":"assistant","content":"K"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:53.965436419Z","message":{"role":"assistant","content":"字"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.000019662Z","message":{"role":"assistant","content":"001"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.034540788Z","message":{"role":"assistant","content":"草"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.069032218Z","message":{"role":"assistant","content":"cos"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.103580788Z","message":{"role":"assistant","content":"K"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.13808331Z","message":{"role":"assistant","content":"_s"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.172515329Z","message":{"role":"assistant","content":" mos"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.207046631Z","message":{"role":"assistant","content":"pi"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.241586674Z","message":{"role":"assistant","content":"qm"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.276187563Z","message":{"role":"assistant","content":" A"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.310726205Z","message":{"role":"assistant","content":":semicolon"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.345260325Z","message":{"role":"assistant","content":"_EDEFAULT"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.379758056Z","message":{"role":"assistant","content":"ully"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.414314672Z","message":{"role":"assistant","content":" I"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.448885458Z","message":{"role":"assistant","content":"atchet"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.483470421Z","message":{"role":"assistant","content":" （"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.518406906Z","message":{"role":"assistant","content":"大"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.553149503Z","message":{"role":"assistant","content":"_console"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.587833797Z","message":{"role":"assistant","content":"/\n"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.622409599Z","message":{"role":"assistant","content":"COD"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.656863626Z","message":{"role":"assistant","content":" Ghost"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.691364169Z","message":{"role":"assistant","content":")"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.725771183Z","message":{"role":"assistant","content":"Highest"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.760400666Z","message":{"role":"assistant","content":" Check"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.794754518Z","message":{"role":"assistant","content":","},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.89839946Z","message":{"role":"assistant","content":" �."},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.933003312Z","message":{"role":"assistant","content":" 用户"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:54.967530848Z","message":{"role":"assistant","content":":"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.001969948Z","message":{"role":"assistant","content":"�真"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.036494328Z","message":{"role":"assistant","content":"个"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.071003108Z","message":{"role":"assistant","content":"�c"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.105533176Z","message":{"role":"assistant","content":"搜"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.140175282Z","message":{"role":"assistant","content":"行"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.174770388Z","message":{"role":"assistant","content":"\u003e="},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.20928064Z","message":{"role":"assistant","content":"-"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.243859118Z","message":{"role":"assistant","content":"106"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.278338777Z","message":{"role":"assistant","content":"K"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.312866693Z","message":{"role":"assistant","content":"YO"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.347278353Z","message":{"role":"assistant","content":"OW"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.381757985Z","message":{"role":"assistant","content":"LL"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.416375562Z","message":{"role":"assistant","content":"100"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.450901017Z","message":{"role":"assistant","content":"_t"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.485449013Z","message":{"role":"assistant","content":".fb"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.519997854Z","message":{"role":"assistant","content":"Pay"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.554507412Z","message":{"role":"assistant","content":" audi"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.589001463Z","message":{"role":"assistant","content":"ocommerce"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.6235425Z","message":{"role":"assistant","content":"HEMA"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.658033266Z","message":{"role":"assistant","content":" списк"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.692470904Z","message":{"role":"assistant","content":"201"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.72705665Z","message":{"role":"assistant","content":"号"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.761593663Z","message":{"role":"assistant","content":"，"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.796110808Z","message":{"role":"assistant","content":" And"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.83070236Z","message":{"role":"assistant","content":"yalty"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.865214288Z","message":{"role":"assistant","content":"pbs"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.89982706Z","message":{"role":"assistant","content":"参"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.934387743Z","message":{"role":"assistant","content":"为"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:55.968842486Z","message":{"role":"assistant","content":"保护"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.003398197Z","message":{"role":"assistant","content":"�c"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.037931096Z","message":{"role":"assistant","content":"  \n"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.072475939Z","message":{"role":"assistant","content":"Im"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.107027308Z","message":{"role":"assistant","content":"refer"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.141598037Z","message":{"role":"assistant","content":"-m"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.176067668Z","message":{"role":"assistant","content":"oi"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.210628073Z","message":{"role":"assistant","content":" 自"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.245100112Z","message":{"role":"assistant","content":"带的"},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.279576845Z","message":{"role":"assistant","content":"["},"done":false}
{"model":"glm4","created_at":"2024-10-14T14:02:56.314205225Z","message":{"role":"assistant","content":""},"done_reason":"stop","done":true,"total_duration":4021640842,"load_duration":9962400,"prompt_eval_count":8,"prompt_eval_duration":309739000,"eval_count":107,"eval_duration":3660121000}
```

The modelfile is:
FROM /home/ollama/AI-models/LLM/ollama-model/glm-4-9b-chat.Q4_K_S.gguf
TEMPLATE """[gMASK]<sop>{{ if .System }}<|system|>
{{ .System }}{{ end }}{{ if .Prompt }}<|user|>
{{ .Prompt }}{{ end }}<|assistant|>
{{ .Response }}"""
PARAMETER stop "<|system|>"
PARAMETER stop "<|user|>"
PARAMETER stop "<|assistant|>"

These are the pip list in my container:
Package                       Version
----------------------------- --------------
accelerate                    0.33.0
bigdl-core-cpp                2.6.0b20240919
blinker                       1.4
certifi                       2024.8.30
charset-normalizer            3.4.0
cryptography                  3.4.8
dbus-python                   1.2.18
distro                        1.7.0
distro-info                   1.1+ubuntu0.2
einops                        0.8.0
filelock                      3.16.1
fsspec                        2024.9.0
gguf                          0.10.0
httplib2                      0.20.2
huggingface-hub               0.25.2
idna                          3.10
importlib-metadata            4.6.4
ipex-llm                      2.2.0b20240919
jeepney                       0.7.1
Jinja2                        3.1.4
keyring                       23.5.0
launchpadlib                  1.10.16
lazr.restfulclient            0.14.4
lazr.uri                      1.0.6
MarkupSafe                    3.0.1
more-itertools                8.10.0
mpmath                        1.3.0
networkx                      3.4.1
numpy                         1.26.4
nvidia-cublas-cu12            <IP_ADDRESS>
nvidia-cuda-cupti-cu12        12.1.105
nvidia-cuda-nvrtc-cu12        12.1.105
nvidia-cuda-runtime-cu12      12.1.105
nvidia-cudnn-cu12             <IP_ADDRESS>
nvidia-cufft-cu12             <IP_ADDRESS>
nvidia-curand-cu12            <IP_ADDRESS>
nvidia-cusolver-cu12          <IP_ADDRESS>
nvidia-cusparse-cu12          <IP_ADDRESS>
nvidia-nccl-cu12              2.19.3
nvidia-nvjitlink-cu12         12.6.77
nvidia-nvtx-cu12              12.1.105
oauthlib                      3.2.0
packaging                     24.1
pip                           24.2
protobuf                      4.25.5
psutil                        6.0.0
PyGObject                     3.42.1
PyJWT                         2.3.0
pyparsing                     2.4.7
python-apt                    2.4.0+ubuntu4
PyYAML                        6.0.2
regex                         2024.9.11
requests                      2.32.3
safetensors                   0.4.5
SecretStorage                 3.3.1
sentencepiece                 0.1.99
setuptools                    59.6.0
six                           1.16.0
ssh-import-id                 5.11
sympy                         1.13.3
tiktoken                      0.8.0
tokenizers                    0.15.2
torch                         2.2.0
tqdm                          4.66.5
transformers                  4.36.2
transformers-stream-generator 0.0.5
triton                        2.2.0
typing_extensions             4.12.2
unattended-upgrades           0.1
urllib3                       2.2.3
wadllib                       1.3.6
wheel                         0.37.1
zipp                          1.0.0

The start script of ollama is:
#!/bin/bash

llm_model_name=${LLM_MODEL_NAME}
model="/home/ollama/AI-models/ollama-model/${llm_model_name}"
served_model_name=${llm_model_name}

export PATH=$PATH:/opt/python-3.11.9/bin
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/python-3.11.9/lib/
export OLLAMA_NUM_GPU=999
export ZES_ENABLE_SYSMAN=1
source /opt/intel/oneapi/setvars.sh
export SYCL_CACHE_PERSISTENT=1
# [optional] under most circumstances, the following environment variable may improve performance, but sometimes this may also cause performance degradation
export SYCL_PI_LEVEL_ZERO_USE_IMMEDIATE_COMMANDLISTS=1
# [optional] if you want to run on single GPU, use below command to limit GPU may improve performance
export ONEAPI_DEVICE_SELECTOR=level_zero:0

# expose the service in <IP_ADDRESS>
export OLLAMA_HOST=<IP_ADDRESS>

# init ollama first
if [ ! -d "/home/${USERNAME}/WorkSpace/ollama" ]; then
  mkdir -p "/home/${USERNAME}/WorkSpace/ollama"
fi

cd /home/${USERNAME}/WorkSpace/ollama
init-ollama

nohup ./ollama serve > ./ollama.log 2>&1 &

# Wait a few seconds to ensure that the serve command has started
echo "=====ollama serve starting====="
sleep 5
echo "=====ollama serve started!====="
echo "=====ollama model creating====="
# create the model
./ollama create glm4 -f /home/ollama/AI-models/ollama-model/glm4_modelfile
echo "=====ollama model created!====="
tail -f ollama.log

Related issues:

https://github.com/THUDM/GLM-4/issues/521
https://github.com/THUDM/GLM-4/issues/333
https://github.com/ollama/ollama/issues/5719

Is it because of the wrong version of ollama installed to run glm4, or the format of modelfile is incorrect, which may leads to the wrong answer?

Hi @junruizh2021 , could you please provide more information from the Ollama Server side and details about your device?

Thanks for your reply. My platform detail info is:

CPU: 13th Gen Intel(R) Core(TM) i5-13600HRE
dGPU: Intel Arc A770 16G

Sorry, the image is deleted. I downgraded the ipex-llm[cpp] to 2.2.0b20240910 and it worked again.
Can you paste your pip list at here? Maybe the transformers should be upgraded to 4.37.0 and newer version?

Hi @junruizh2021 , we have reproduced your issue on Ubuntu Arc770 device, we are looking for a solution and will reply to you soon.

@sgwhat Thanks. Looking forward to your feedback.

Hi @junruizh2021 , you may try our latest version of ipex-llm ollama to run glm4-9b with pip install --pre --upgrade ipex-llm[cpp]


Tithe Farm 20x5 tiles

Added tiles I made for 20x5 Tithe Farm method

I made the tiles myself, and couldn't find a guide showing the 20x5 method, so I just recorded myself doing a couple laps using the method, and uploaded it to my youtube. Hopefully that works!


Fix clang warnings

total_clusters_processed and total_selector_clusters aren't used in the lambda; total_clusters_processed is never used in general.

Got it - thank you!


Dynamic buffer descriptors

Add support for dynamic uniform buffers and dynamic storage buffers.
Implementation:

Vulkan: obvious
DX12: Descriptor + Root constant for offset maybe? Separate root constant space for all dynamic descriptor offset and updated on BindDescriptorSet. Further limits the available place in the root signature (32 root constants, 8 descriptor sets (2 slots due to sampler separation),  8 + 4 root constants for dynamic, 3 root constants for workgroup size, 1 spare for now). Other ideas?
Metal: No idea

Edit: Update dx12 root signature split up

The current status is - the feature is implemented and working well on Vulkan and Metal.
DX12/11 needs this covered as well, as it's blocking rx and potentially Amethyst from using the backend. See code.

Note: Using root descriptors for implementing it in DX12 should be the easier approach compared to the one outlined. It should occupy the same space in the root signature.

With the implementation of uniform buffers as root descriptors we end up with a root signature layout (64slots):

32 root constants -> 128bytes (Vulkan minimum)
8 descriptor tables for 4 descriptor sets (CBV/SRV/UAV and Sampler tables split)
8 root descriptors for dynamic uniform buffers -> 2x8 slots (Vulkan Minimum)

This leafs us with 8 slots for dynamic storage buffers, https://github.com/gfx-rs/gfx/issues/2604/ and https://github.com/gfx-rs/gfx/issues/2589
Root descriptors for SRV and UAV are different which would require us to know which resource type is used on the shader side. We don't have this information in the host side API (see https://github.com/gfx-rs/gfx/issues/2933).
In case we assume 4 slots for the https://github.com/gfx-rs/gfx/issues/2604/ and https://github.com/gfx-rs/gfx/issues/2589, we end up with 4 slots -> 2 root descriptors for storage buffers. As we would have to bind both SRV and UAV if we follow the approach used for descriptor tables, it would end up with 1 storage buffer max which would not fit the vulkan minimum.
As storage buffers are translated to the R/WByteAddressBuffers, we actually can make use of the descriptor table + push constant approach proposed initially. Therefore we only need one push constant for each storage buffer and we would fit in the limit. This requires a few changes to spirv-cross tho to properly offset the address buffers with the push constant value, along with injecting these in the shaders.


sendrawtransaction

When I used this method sendrawtransaction, I made the mistake. What is the reason for this?

Hi @ALiIsReal,
could it be you used very, very low output values or a too tiny transaction fee?

hi, I have encountered the same problem. How do you solve it?


rslint_parser does not allow eval methods on classes

I tried this code:
class Foo {
  eval() {}
}

I expected this to happen: linting passes
Instead this happened::
error[SyntaxError]: Illegal use of `eval` as an identifier in strict mode
  ┌─ tests\main.js:2:3
  │
2 │   eval() {}
  │   ^^^^

Outcome: 1 fail, 0 warn, 0 success

Meta
rslint -V: rslint 0.1.0
If building from source:
rustc --version --verbose:
rustc 1.48.0-nightly (f68e08933 2020-09-19)
binary: rustc
commit-hash: f68e08933d8f519a9655934fedebbc509661b219
commit-date: 2020-09-19
host: x86_64-pc-windows-msvc
release: 1.48.0-nightly
LLVM version: 11.0

Additional context
This is caused by implicit strict mode in class bodies and the way method parses prop keys (the keys for method), although im not quite sure how to fix it currently since i have not looked into it deeply and have been working on much more major bugs in the parser

Fixed in rslint_parser v0.1.2


Issue Noted: Menus don't appear unless you run  php acacia:seed Twice

Noted that the first acacia:seed run does not assign appropriate permissions to the user, hence the user cannot see sidebar menus
Second run of acacia:seed assigns the permissions and the user can see the menu.

This could be due to the fact that other modules are seeded before the Users module (in alphabetical order), yet the Users module is the one that seeds the initial admin user. Hence by the time the modules are seeding, there is no user to assign the admin permissions to.
Possible Solution: Ensure the initial admin user is seeded even before all the other modules begin seeding.


Adding README section in tests folder to list unit and integration tests

…ation tests

Some of the integration tests listed may not be necessary considering people using the protocol actually test it already


Repro for #147

First I started building a separate project, but then I realized you had examples already. So I just upgraded your repo instead to the latest build tools and SDK, enabled ProGuard for example's release builds and then manually added a dependency higher than what Nucleus is built with to repro #147.
(Note: the upgrade is not fully complete, there are some warnings as build (Jack, Android deprecations and Gradle deprecations), but everything seems to work for now.)

I couldn't merge it because of irrelevant modifications, but thanks for the reproducible example anyway!

I can drop last commit, or the mods that you think are irrelevant, just comment which ones.

Ah, I see, proguard :)

There were also gradle script changes, okhttp, apt, and the PR didn't solve the problem :) I needed it to be solved for both - master and rx2 branches.


calling mixing twice with weird behavior: First mixing call uses vars from the second mixing call

when calling the mixing on a second element, the first element uses the arguments given by the second mixing call.
Example:
.rs-btn--primary,
.rs-btn--secondary {
  &.rs-btn--spinner {
    text-indent: -99999px;

    &:after {
      @include loader07($size: 6px, $duration: 1s, $align: middle, $color: white);
      content: "";
      position: absolute;
      margin: -3px auto 0 -3px;
      left: 50%;
      top: 50%;
    }

    > * {
      display: none;
    }
  }
}

.rs-btn--secondary {
  &.rs-btn--spinner:after {
    @include loader07($size: 6px, $duration: 1s, $align: middle, $color: green);
    margin: -3px auto 0 -3px;
    left: 50%;
    top: 50%;
  }
}

I want the button ".rs-btn--primary" with a white spinner and the second button ".rs-btn--secondary" with a green color.
But both buttons (".rs-btn--primary" and ".rs-btn--secondary") result in a spinner with a green color.
I guess this is a SASS bug?

Hi, this isn't SASS bug, there is a problem with @keyframe names because they are always using same name, so when you call same mixin twice it's always using same @keyframe name. I'll try to fix this by end of the week, I'm probably going to try to generate random id on mixin call or add some parameter for animation name.

I See. I trink adding a Name to the Mixing call would be the best solution avoiding misunderstandings or surprises ;-)


Added male/futa support

One thought I had since writing this code is that the use of generics isn't necessary and might not be a great idea for runtime compiled code in regards to load times. It might not make a meaningful difference, though.
We could change move from _motionSource = new CompositeMotionSource<MaleActor, FemaleTarget>();
to _motionSource = new CompositeMotionSource(new MaleActor(), new FemaleTarget());
with a little less sugary CompositeMotionSource.


Add export_day pipeline

Add rclone singularity recipe
Add convert file extension option

I'll take a look at this more closely if you still think it is relevant here; but I'd recommend you move this into the Bitbucket repo for the processing of the DHS rig content. This library is supposed to be a generic python library and should not have pipelines or the like. @pcvisagie should be able to point you at the repositories. Bitbucket because this was originally desired by the PFR Data science team.
Happy for you to merge this here if you don't want to move it, but this is a public repo and should stay that way with generic machine vision acquisition code rather :)

Sorry, I missed your comment. Good points, it doesn't belong here. I'll move it over


Alternative attempted fix for the shorts containers still showing up

Alternative fix for #248, in case #249 isn't validated.
This selects the div element with id 'content', which seems to be the container holding the shorts.

Merged #249 instead. Closing this one.


How to scroll the container?

Default methods
container.scrollToPosition(0);
container.smoothScrollToPosition(0);
is not work

@vsevolod-sp What do you want to do? Scroll it to specific position? What is your LayoutManager? When you call the method?

@eneim
My xml struct:
<RelativeLayout>

    <CoordinatorLayout>

        <AppBarLayout />

        <RelativeLayout>
            <im.ene.toro.widget.Container />
            <LinearLayout />
        </RelativeLayout>

    </CoordinatorLayout>

    <LinearLayout />

</RelativeLayout>

Container setup
container = getView().findViewById(R.id.containerToro);
container.setLayoutManager(new LinearLayoutManager(getContext()));
container.setAdapter(adapter);

@vsevolod-sp Does it work if you replace the Container by a normal RecyclerView? Can you share the code where you call the method?
-- For your information, if you call container.scrollToPosition(pos) right after setting the Adapter or LayoutManager, it may not work, because the RecyclerView need to be laid out first. You can try to put the call inside a block like this:
container.post(() -> {
    container.scrollToPosition(0);
})

@thiagoricieri It worked, thank you!


No data context for bindings in "each X in Y"

{{#each document in documents}}
<button {{b "click: delete(document._id)"}}>
{{/each}}

Where documents is an array of objects. When I do that, the argument passed do the delete function is undefined for viewmodel, as if document from the each ... in never existed.
Works well with each without in (and passing this._id) since it changes data context locally.
There may be the same thing when using let instead of with on templates.

ViewModel doesn't work with each in. The reason is that Blaze doesn't
provide the context for me to use it.
On Feb 17, 2016 3:57 AM, "Jean-Elie Barjonet"<EMAIL_ADDRESS>wrote:

{{#each document in documents}}
<button {{b "click: delete(document._id)"}}>
{{/each}}
Where documents is an array of objects. When I do that, the argument
passed do the delete function is undefined for viewmodel, as if document
from the each ... in never existed.
Works well with each without in (and passing this._id) since it changes
data context locally.
There may be the same thing when using let instead of with on templates.
—
Reply to this email directly or view it on GitHub
https://github.com/ManuelDeLeon/viewmodel/issues/189.

This might be worth adding to the documentation. I just made a repro of the issue  and was about to post the same problem.

I added https://viewmodel.meteor.com/docs/viewmodels#each to the documentation.


Fix for WebKit bad CTM when zoom != 1

Fixes these:
#668
https://groups.google.com/d/topic/d3-js/tqJ_V7cV7Eg/discussion
A good place to test to see the diff is the mouse example.
Also I ran make so it changed d3.v2.js and the min... not sure what the pull request equate is for those files.
All the 'real' changes are in core/mouse.js
I refactored your code a little bit so that there is a d3_mouse_getScreenCTM function that just returns the 'fixed' CTM.
I added some extra code to set the html and body position to 'static' before doing the bug test. This is so that the test is more robust - an insane person might have body or html not be at (0,0) and have position not static.
Example:
d3.select('body')
  .style('position', 'absolute')
  .style('left', 0)
  .style('top', '10px');

window.scrollTo(0, 10);

Add this to your code and it would trick the regular d3.mouse function to think that bug44083 exists when it might not.

As far as I can tell, this has been fixed in current browsers. However, it is related to d3/d3-selection#67.


Fix JMXFetch jar permissions

What does this PR do?
Modify the permissions of JMXFetch jar from 0600 to 0644.
Motivation
For some reason JMXFetch jar permissions were set to 0600. On mac osx a standard install will result in all files in /opt/datadog-agent being owned by root. Under these conditions it was not possible for the agent to read the jar file.

https://github.com/DataDog/dd-agent/issues/3512
Seems like this is also the case on A5.


Use gradle to detect java

Fixes https://github.com/aspnet/Coherence-Signed/issues/1004

Weird. I rebuilt it: https://dotnet.visualstudio.com/public/public Team/_build/results?buildId=16505 and it didn't update the GitHub status.


created team details

Mention which issue this PR solves.
You can do that by typing #issue_number.


Ability to specify file size in MB, GB and KB when splitting on exporting results

Describe the solution you'd like
Please add ability to specify file size in MB, GB and KB when splitting on exporting results, not only in bytes
I'm talking about this window: https://imgur.com/a/qARh3tw

Thank you for the suggestion


Prioritize query stats in RequestLogLine.getNativeQueryLine

Description
This change switches the order of query vs stats in getNativeQueryLine to keep it consistent with getSqlQueryLine.
It happens on non-trivial occasions when a long list of intervals.segments in the query object exceeds the max cut-off of whichever logging system is deployed by the user and makes the stats unavailable for subsequent log searches. In those situations, we prefer to have the more important stats logged first and sacrifice the list of intervals.
The same change should be applied to the order of fields in the native query object, moving intervals to the last. However, that's a bigger change.
Release note

Key changed/added classes in this PR

RequestLogLine

This PR has:

[x] been self-reviewed.

[ ] using the concurrency checklist (Remove this item if the PR doesn't have any relation to concurrency.)

[ ] added documentation for new or modified features or behaviors.
[ ] a release note entry in the PR description.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added or updated version, license, or notice information in licenses.yaml
[x] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
[ ] added integration tests.
[ ] been tested in a test Druid cluster.

@Zeyu-Chen-SFDC Could you please fix CI ?

@cryptoe
Rebasing fixed the static check CI error. The errors from "standard-its / integration-index-tests-middleManager (ldap-security) / ldap-security integration test (Compile=jdk17, Run=jdk17, Indexer=middleManager, Mysql=com.mysql.jdbc.Driver)" does not appear to be related to the PR.

@Zeyu-Chen-SFDC Thanks for the contribution to Apache Druid. Looking forward to many more 🚀


Timeout

I'm using portainer with self-built image of this repo.
Everything works but its always wait for so long until timeout when running any nodes
Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. NodeOperationError: Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.     at ExecuteContext.handleError (/opt/n8n-custom-nodes/node_modules/n8n-nodes-puppeteer/nodes/Puppeteer/Puppeteer.node.ts:113:8)     at processItem (/opt/n8n-custom-nodes/node_modules/n8n-nodes-puppeteer/nodes/Puppeteer/Puppeteer.node.ts:589:24)     at runNextTicks (node:internal/process/task_queues:60:5)     at listOnTimeout (node:internal/timers:545:9)     at processTimers (node:internal/timers:519:7)     at async Promise.all (index 0)     at ExecuteContext.execute (/opt/n8n-custom-nodes/node_modules/n8n-nodes-puppeteer/nodes/Puppeteer/Puppeteer.node.ts:610:21)     at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:741:19)     at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:724:51     at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1155:20

Can you share some details of what you are running?


IntelliSense ANSI Colors

VSCode Version: Stable
OS Version: Windows 10

Steps to Reproduce:

??
??

Does this issue occur when all extensions are disabled?: Yes/No Yes
Why does ANSI Colors don't work on IntelliSense?

It's actually not specific per extension, i even disabled all my extensions. I added Yes because it both happens with or without extensions.