This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
scisharp
/
LLamaSharp
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
17
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Merge pull request
#145
from martindevans/disable_test_parallel
Disable test parallelism
tags/v0.5.1
Martin Evans
GitHub
2 years ago
parent
4a53cdc56b
21cbecb82d
commit
74c19b10af
No known key found for this signature in database
GPG Key ID:
4AEE18F83AFDEB23
1 changed files
with
5 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
LLama.Unittest/AssemblyAttributes.cs
+ 5
- 0
LLama.Unittest/AssemblyAttributes.cs
View File
@@ -0,0 +1,5 @@
// Disable running tests in parallel. Some tests load language models and try to and
// this can cause a lockup due to memory thrashing and terrible performance.
// e.g. 7GB model loaded by 10 different tests and trying to evaluate prompts
[assembly: CollectionBehavior(DisableTestParallelization = true)]
Write
Preview
Loading…
Cancel
Save